uiinfolog Class Reference

List of all members.

Detailed Description

This class is the UI-layer (user interface) of InfoLog.

Inpackage: infolog

Author:
Ralf Becker <RalfBecker@outdoor-training.de> (c) by Ralf Becker <RalfBecker@outdoor-training.de> http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License


Public Member Functions

 admin ()
 close ($values=0, $referer='')
 delete ($values=0, $referer='', $called_by='')
 edit ($content=null, $action= '', $action_id=0, $type='', $referer='')
 Edit/Create an InfoLog Entry.
 get_info ($info, &$readonlys, $action='', $action_id='', $show_links=false)
 get_rows ($query, &$rows, &$readonlys)
 hook_view ($args)
 shows infolog in other applications
 icon ($cat, $id, $status='')
 index ($values=0, $action='', $action_id='', $called_as=0, $extra_app_header=False, $return_html=False, $own_referer='')
 Shows the infolog list.
 menuaction ($action= 'get_list', $app='infolog')
 read_sessiondata ()
 save_sessiondata ($values)
 uiinfolog ()
 writeLangFile ()
 writes langfile with all templates and messages registered here

Public Attributes

boinfolog object $bo
string $duration_format = ','
 $icons
bolink object $link
 $prefs
 $public_functions


Constructor & Destructor Documentation

uiinfolog::uiinfolog  ) 
 


Member Function Documentation

uiinfolog::admin  ) 
 

uiinfolog::close values = 0,
referer = ''
 

uiinfolog::delete values = 0,
referer = '',
called_by = ''
 

uiinfolog::edit content = null,
action = '',
action_id = 0,
type = '',
referer = ''
 

Edit/Create an InfoLog Entry.

Parameters:
$content=null Content from the eTemplate Exec call or info_id on inital call
$action='' Name of an app of 'sp' for a infolog-sub
$action_id=0 Id of app-entry to which a link is created
$type='' Type of log-entry: note,todo,task
$referer='' array with param/get-vars of the refering page

uiinfolog::get_info info,
&$  readonlys,
action = '',
action_id = '',
show_links = false
 

uiinfolog::get_rows query,
&$  rows,
&$  readonlys
 

uiinfolog::hook_view args  ) 
 

shows infolog in other applications

Parameters:
$args['location'] location des hooks: {addressbook|projects|calendar}_view|infolog
$args['view'] menuaction to view, if location == 'infolog'
$args['app'] app-name, if location == 'infolog'
$args['view_id'] name of the id-var for location == 'infolog'
$args[$args['view_id']] id of the entry this function can be called for any app, which should include infolog: \ $GLOBALS['egw']->hooks->process(array( \ * 'location' => 'infolog', \ * 'app' => <your app>="">, \ * 'view_id' => <id name>="">, \ * <id name>=""> => <id value>="">, \ * 'view' => <menuaction to="" view="" an="" entry="" in="" your="" app>=""> \ ));

uiinfolog::icon cat,
id,
status = ''
 

uiinfolog::index values = 0,
action = '',
action_id = '',
called_as = 0,
extra_app_header = False,
return_html = False,
own_referer = ''
 

Shows the infolog list.

Parameters:
$values=null etemplate content
$action='' if set only entries liked to that $action:$action_id are shown
$action_id='' if set only entries liked to that $action:$action_id are shown
$called_as=0 this is how we got called, for a hook eg. the call-params of that page containing the hook
$extra_app_header=false 
$return_html=false 
$own_referer='' this is our own referer

uiinfolog::menuaction action = 'get_list',
app = 'infolog'
 

uiinfolog::read_sessiondata  ) 
 

uiinfolog::save_sessiondata values  ) 
 

uiinfolog::writeLangFile  ) 
 

writes langfile with all templates and messages registered here

called via [write Langfile] in the etemplate-editor or as http://domain/egroupware/index.php?menuaction=infolog.uiinfolog.writeLangFile


Member Data Documentation

boinfolog object uiinfolog::$bo
 

string uiinfolog::$duration_format = ','
 

uiinfolog::$icons
 

bolink object uiinfolog::$link
 

uiinfolog::$prefs
 

uiinfolog::$public_functions
 

Initial value:

 array
                (
                        'index'       => True,
                        'edit'        => True,
                        'delete'      => True,
                        'close'       => True,
                        'admin'       => True,
                        'hook_view'   => True,
                        'writeLangFile' => True
                )


The documentation for this class was generated from the following file:
Generated on Tue Apr 4 15:46:18 2006 for EgwIcal by  doxygen 1.4.6