|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| Calendar_Event_Edit_Fns () | |
| paintStartEndChooser (&$asset, $prefix, $attributes=Array()) | |
| _validateDateTimeFields ($prefix, $component) | |
| processStartEndChooser (&$asset, &$o, $prefix) | |
| getStartEndChooserResult ($prefix) | |
| printDateChooser ($prefix, $timestamp=0, $attributes=Array()) | |
| printTimeChooser ($prefix, $timestamp, $attributes=Array(), $checkbox_attributes=Array()) | |
Public Member Functions inherited from Asset_Edit_Fns | |
| Asset_Edit_Fns () | |
| paintPaths (&$asset, &$o, $prefix) | |
| paintEditRemapURLs (&$asset, &$o, $prefix) | |
| processPaths (&$asset, &$o, $prefix) | |
| processEditRemapURLs (&$asset, &$o, $prefix) | |
| paintURLs (&$asset, &$o, $prefix) | |
| paintAddRemapURLs (&$asset, &$o, $prefix) | |
| processAddRemapURLs (&$asset, &$o, $prefix) | |
| isWorkflowComplete (&$asset) | |
| paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE) | |
| processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE) | |
| isSearchInstalled (&$asset, $prefix) | |
| isBeingCreated (&$asset) | |
| isNotBeingCreated (&$asset) | |
| paintAutomaticRemapSetting (&$asset, &$o, $prefix) | |
| paintCreateLink (&$asset, &$o, $prefix) | |
Public Member Functions inherited from MySource_Object | |
| MySource_Object () | |
| __sleep () | |
| __wakeup () | |
Additional Inherited Members | |
Data Fields inherited from Asset_Edit_Fns | |
| $static_screens | |
Definition at line 31 of file calendar_event_edit_fns.inc.
| _validateDateTimeFields | ( | $prefix, | |
| $component | |||
| ) |
Check all the date/time components are present and correct, and convert to 24hr format
| string | $prefix | The form field prefix |
| string | $component | Which component of the start/end we are checking |
Definition at line 139 of file calendar_event_edit_fns.inc.
Constructor
Definition at line 39 of file calendar_event_edit_fns.inc.
| getStartEndChooserResult | ( | $prefix | ) |
Get the result of a start/end chooser fieldset
It returns FALSE on failure, array('start'=>iso, 'end'=>iso) on success
| string | $prefix | the prefix to use for form field names |
Definition at line 224 of file calendar_event_edit_fns.inc.
| paintStartEndChooser | ( | & | $asset, |
| $prefix, | |||
$attributes = Array() |
|||
| ) |
Paint a form for entering the start/end date/time for an event, including javascript validation functions
| object | &$asset | the event to print the form for |
| string | $prefix | the prefix to use for form field names |
| string | $attributes | extra attributes to print for each input field name=>val |
Definition at line 57 of file calendar_event_edit_fns.inc.
| printDateChooser | ( | $prefix, | |
$timestamp = 0, |
|||
$attributes = Array() |
|||
| ) |
Print form fields for choosing a date
| string | $prefix | the prefix to use on field names |
| int | $timestamp | a default value, or 0 to use today's date, or FALSE to disable the field |
| array | $attributes | array of attributes for the input tags, eg 'onclick'=>'alert("hi")' |
Definition at line 305 of file calendar_event_edit_fns.inc.
| printTimeChooser | ( | $prefix, | |
| $timestamp, | |||
$attributes = Array(), |
|||
$checkbox_attributes = Array() |
|||
| ) |
Print form fields for choosing a date, including a checkbox to enable or disable the time fields
| string | $prefix | the prefix to use on field names |
| int | $timestamp | a default value, or 0 to use today's date, or FALSE to disable the field |
| array | $attributes | Attributes to put in the field tags, eg 'onclick'=>'alert()' |
| array | $checkbox_attributes | Attributes to put in the field tags, eg 'onclick'=>'alert()' for checkbox |
Definition at line 349 of file calendar_event_edit_fns.inc.
| processStartEndChooser | ( | & | $asset, |
| & | $o, | ||
| $prefix | |||
| ) |
Process the start/end date/time entry form fields for an event
It returns TRUE if the update was successful
| object | &$asset | the event to process the form for |
| object | &$o | the outputter class (not used here) |
| string | $prefix | the prefix to use for form field names |
Definition at line 197 of file calendar_event_edit_fns.inc.