Inheritance diagram for personal_vircal_ardb:


This class is probably just a temporary solution to store some fixed prefabbed virtual_calendar definition in a repository.
0.9.36-a1 first release adapted for NAPI-3.1
version 0.9.36 initialize resources with hndarg3 set (NAPI-3.1)
Public Member Functions | |
| string | listing (int $detail=1) |
| Provide a html listing of all available personal calendars. | |
| personal_vircal_ardb (int $user_id=null) | |
| Constructor, overwrites superclass constructor A initialisation of all the $calendars member is done by calling the method rebuild_calendars(). | |
| int | rebuild_calendars (int $user_id) |
Initialize the storage in $calendars according to user settings Create all the defined standard virtual calendars for the user in $user_id The calendars defined are:
| |
Public Attributes | |
| VCalDefAR | $_calendar_proto = array() |
| Prototype of a calendar.ics: events and tasks calendar In this calendar a egw bocal is searched for events and an egw boinfolog resource is used for tasks Use rebuild_calendars() to initialize it. | |
| VCalDefAR | $_events_proto |
| Prototype of a events calendar. | |
| VCalDefAR | $_freebusy_proto |
| Prototype of a freebusy calendar. | |
| VCalDefAR | $_tasks_proto |
| Prototype of a tasks calendar. | |
| string | $user_id |
| The (numerical) egw user id to who these personal calendars belong This should be set by constructor. | |
|
|
Constructor, overwrites superclass constructor A initialisation of all the $calendars member is done by calling the method rebuild_calendars().
|
|
|
Provide a html listing of all available personal calendars.
|
|
|
Initialize the storage in $calendars according to user settings Create all the defined standard virtual calendars for the user in $user_id The calendars defined are:
|
|
|
Initial value: array('lpath' => '_s_calname',
'version' => 'vc-1.0',
'description' => 'a proto for a personal events calendar',
'enabled' => 1,
'auth' => ':basic',
'rscs' =>
array('calendar.bocalupdate' =>
array(
'hnd' => 'egwical.bocalupdate_vevents',
'owner_id' => '_fn_cal_owner_id()',
'qmeth' => 'search',
'qarg' =>
array(
'start' => '_fn_month_start()',
'end' => '_fn_month_end()',
'enum_recuring' => false,
'daywise' => false,
'users' => '_fn_cal_owner_id()',
'date_format' => 'server'
),
'access' => 'RW'
)
)
)
|
|
|
Initial value: array('lpath' => '_s_calname',
'version' => 'vc-1.0',
'description' => 'a proto for a personal freebusy calendar',
'enabled' => 1,
'auth' => ':basic',
'rscs' =>
array('calendar.bocalupdate' =>
array(
'hnd' => 'egwical.bocalupdate_vfreebusy',
'owner_id' => '_fn_cal_owner_id()',
'hndarg4' => array(
'url'=> '_s_calname',
'start' => '_fn_month_start()',
'end' => '_fn_month_end()'
),
'qmeth' => 'search',
'qarg' =>
array(
'start' => '_fn_month_start()',
'end' => '_fn_month_end()',
'enum_recuring' => true,
'daywise' => false,
'users' => '_fn_cal_owner_id()',
'date_format' => 'server'
),
'access' => 'R'
)
)
)
|
|
|
Initial value: array('lpath' => '_s_calname',
'version' => 'vc-1.0',
'description' => 'a proto for a personal tasks calendar',
'enabled' => 1,
'auth' => ':basic',
'rscs' =>
array('infolog.boinfolog' =>
array(
'hnd' => 'egwical.boinfolog_vtodos',
'owner_id' => '_fn_cal_owner_id()',
'qmeth' => 'search',
'qarg' =>
array(
'col_filter' =>
array('info_type' => 'task',
'info_status' => '',
'info_responsible' => '_fn_cal_owner_id()',
'info_owner' => '',
),
'filter' => 'own',
'order' => 'id_parent',
'subs' => true,
'sort' => 'DESC'
),
'access' => 'RW'
)
)
)
|
1.4.6