Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
report_asset_statuses_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
32 {
33 
34 
39  function __construct(&$pm)
40  {
41  $this->Asset_Management($pm);
42 
43  require_once SQ_INCLUDE_PATH.'/general_occasional.inc';
44 
45  $this->vars = Array(
46  'search_status' => Array(
47  'added' => '0.1',
48  'type' => 'selection',
49  'default' => SQ_STATUS_LIVE,
50  'description' => 'The statuses we are interested in',
51  'parameters' => Array(
52  'options' => get_status_names(),
53  'multiple' => TRUE,
54  'allow_empty' => FALSE,
55  ),
56  ),
57  'status_change_comparator_more_than' => Array(
58  'added' => '0.1',
59  'type' => 'boolean',
60  'default' => 0,
61  'description' => 'Are we interested in status changes before or after the time specified?',
62  'parameters' => Array(
63  'allow_empty' => FALSE,
64  ),
65  ),
66  'status_change_period' => Array(
67  'added' => '0.1',
68  'type' => 'duration',
69  'default' => 0,
70  'description' => 'Number of seconds in the past that we want to compare status change time to',
71  ),
72  );
73 
74  }//end constructor
75 
76 
77 }//end class
78 
79 ?>