Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
design_area_datetime_management.inc
1
<?php
19
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
20
31
class
Design_Area_DateTime_Management
extends
Asset_Management
32
{
33
34
39
function
__construct
(
Package_Manager
$pm)
40
{
41
Asset_Management::__construct($pm);
42
43
$this->vars = Array(
44
'format'
=> Array(
45
'added'
=>
'0.0.1'
,
46
'type'
=>
'text'
,
47
'default'
=>
'h:ia d/m/Y'
,
48
'description'
=>
'Format of the datetime field, see PHP\'s date fn for format specifications <a href="http://www.php.net/date">http://www.php.net/date</a>'
,
49
),
50
'datetime'
=> Array(
51
'added'
=>
'0.0.1'
,
52
'type'
=>
'selection'
,
53
'default'
=>
'now'
,
54
'parameters'
=> Array(
55
'options'
=> Array(
56
'now'
=>
'When the page is loaded'
,
57
'updated'
=>
'When the page was last modified'
,
58
'created'
=>
'When the page was first created'
,
59
'published'
=>
'When the page was published'
,
60
),
61
'multiple'
=> FALSE,
62
'allow_empty'
=> FALSE,
63
),
64
'description'
=>
'The value to be used'
,
65
),
66
);
67
68
}
//end constructor
69
70
71
}
//end class
72
?>
squiz_matrix
core
assets
designs
design_areas
design_area_datetime
design_area_datetime_management.inc
Generated on Tue Jan 29 2013 14:04:36 for Squiz Matrix by
1.8.3.1