Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
design_area_datetime_management.inc
1 <?php
19 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
20 
32 {
33 
34 
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 ?>