Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
design_area_show_if_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
31 {
32 
33 
39  {
40  Asset_Management::__construct($pm);
41 
42  $this->vars = Array(
43  'condition' => Array(
44  'added' => '0.1',
45  'type' => 'text',
46  'default' => '',
47  'description' => 'The condition to be evaluated.',
48  'parameters' => Array(
49  'allow_empty' => FALSE,
50  ),
51  ),
52  'condition_data' => Array(
53  'added' => '0.2',
54  'type' => 'serialise',
55  'default' => Array(),
56  'description' => 'Data passed to the condition to help in evaluation',
57  ),
58  'then_contents' => Array(
59  'added' => '0.1',
60  'type' => 'serialise',
61  'default' => Array(),
62  'description' => 'The contents displayed when the condition is true',
63  'parameters' => Array(
64  'allow_empty' => FALSE,
65  ),
66  ),
67  'else_contents' => Array(
68  'added' => '0.1',
69  'type' => 'serialise',
70  'default' => Array(),
71  'description' => 'The contents displayed when the condition is false',
72  'parameters' => Array(
73  'allow_empty' => FALSE,
74  ),
75  ),
76  );
77 
78  }//end constructor
79 
80 
81 }//end class
82 ?>