Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
design_area_access_history_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  'asset_types' => Array(
44  'added' => '0.1',
45  'type' => 'serialise',
46  'default' => Array(),
47  'description' => 'Asset types to track',
48  ),
49  'asset_count' => Array(
50  'added' => '0.1',
51  'type' => 'int',
52  'default' => '4',
53  'description' => 'How many assets to remember',
54  'parameters' => Array(
55  'allow_negative' => FALSE,
56  ),
57  ),
58  'asset_contents' => Array(
59  'added' => '0.1',
60  'type' => 'serialise',
61  'default' => Array(),
62  'description' => 'The contents that prints the asset info in the output',
63  ),
64  'time_format' => Array(
65  'added' => '0.1',
66  'type' => 'text',
67  'default' => 'G:i:s',
68  'description' => 'format string as specified by date() PHP function',
69  ),
70  'exclude_assets' => Array(
71  'added' => '0.1',
72  'type' => 'serialise',
73  'default' => Array(),
74  'description' => 'These assets are excluded from the asset history',
75  ),
76  'auto_access_history' => Array(
77  'added' => '0.2',
78  'type' => 'boolean',
79  'default' => TRUE,
80  'description' => 'If enabled then assets are added to the access history automaticaly',
81  'parameters' => Array( 'allow_empty' => FALSE,),
82  ),
83  'add_history_button_label' => Array(
84  'added' => '0.2',
85  'type' => 'text',
86  'default' => 'Add to Access History',
87  'description' => 'Text that will be displayed on the Add to Access History button',
88  ),
89  'remove_history_button_label' => Array(
90  'added' => '0.2',
91  'type' => 'text',
92  'default' => 'Remove from Access History',
93  'description' => 'Text that will be displayed on the Remove from Access History button',
94  ),
95  'add_history_button_image' => Array(
96  'added' => '0.2',
97  'type' => 'boolean',
98  'default' => FALSE,
99  'description' => 'If enabled then image used instead of form button',
100  'parameters' => Array( 'allow_empty' => FALSE,),
101  ),
102  'remove_history_button_image' => Array(
103  'added' => '0.2',
104  'type' => 'boolean',
105  'default' => FALSE,
106  'description' => 'If enabled then image used instead of form button',
107  'parameters' => Array( 'allow_empty' => FALSE,),
108  ),
109  'add_history_asset_types' => Array(
110  'added' => '0.2',
111  'type' => 'serialise',
112  'default' => Array(),
113  'description' => 'Add to Access History button will be printed for these asset types only',
114  ),
115  'remove_history_image' => Array(
116  'added' => '0.2',
117  'type' => 'assetid',
118  'default' => '',
119  'description' => 'Selected asset will be used as the Remove from History Button',
120  ),
121  'remove_history_image_small' => Array(
122  'added' => '0.2',
123  'type' => 'assetid',
124  'default' => '',
125  'description' => 'Selected asset will be used as the Remove from History Image which is displayed for each asset',
126  ),
127  'add_history_image' => Array(
128  'added' => '0.2',
129  'type' => 'assetid',
130  'default' => '',
131  'description' => 'Selected asset will be used as the Add to History Button',
132  ),
133 
134  'store_permanent' => Array(
135  'added' => '0.2',
136  'type' => 'boolean',
137  'default' => FALSE,
138  'description' => 'If enabled then access history will be stored in database permanently for logged in users. This will decrease performance slightly.',
139  'parameters' => Array( 'allow_empty' => FALSE,),
140  ),
141  );
142 
143  }//end constructor
144 
145 
146 }//end class
147 ?>