Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
design_area_menu_type_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  'level' => Array(
44  'added' => '0.0.1',
45  'type' => 'int',
46  'default' => 0,
47  'description' => 'The level in the heirarchy that we want to print',
48  ),
49  'settings' => Array(
50  'added' => '0.0.1',
51  'type' => 'serialise',
52  'default' => Array(),
53  ),
54  'asset_contents' => Array(
55  'added' => '0.0.1',
56  'type' => 'serialise',
57  'default' => Array(),
58  'description' => 'The contents that prints the asset info in the output',
59  ),
60  'divider_contents' => Array(
61  'added' => '0.0.1',
62  'type' => 'serialise',
63  'default' => Array(),
64  'description' => 'The contents that divides the assets in the output',
65  ),
66  'prefix_with_divider' => Array(
67  'added' => '0.0.1',
68  'type' => 'boolean',
69  'default' => FALSE,
70  'description' => 'whether or not to start the list with a divider',
71  'parameters' => Array(
72  'allow_empty' => FALSE,
73  ),
74  ),
75  'suffix_with_divider' => Array(
76  'added' => '0.0.1',
77  'type' => 'boolean',
78  'default' => TRUE,
79  'description' => 'whether or not to end the list with a divider',
80  'parameters' => Array(
81  'allow_empty' => FALSE,
82  ),
83  ),
84  'show_subs' => Array(
85  'added' => '0.0.1',
86  'type' => 'selection',
87  'default' => 'on_current',
88  'parameters' => Array(
89  'options' => Array(
90  'on_current' => 'Only if in current lineage',
91  'always' => 'Always',
92  ),
93  'multiple' => FALSE,
94  'allow_empty' => FALSE,
95  ),
96  'description' => 'When and how to display any sub menus that this menu might have',
97  ),
98  'self_link' => Array(
99  'added' => '0.0.1',
100  'type' => 'boolean',
101  'default' => TRUE,
102  'description' => 'whether or not to add self-referential links',
103  'parameters' => Array(
104  'allow_empty' => FALSE,
105  ),
106  ),
107  'unwanted_asset_types' => Array(
108  'added' => '0.3',
109  'type' => 'serialise',
110  'default' => Array(),
111  'description' => 'List of asset types to exclude from the lineage',
112  ),
113  'wanted_asset_types' => Array(
114  'added' => '0.3',
115  'type' => 'serialise',
116  'default' => Array(),
117  'description' => 'List of asset types to include in the lineage',
118  ),
119  'ignore_permissions' => Array(
120  'added' => '0.3',
121  'type' => 'boolean',
122  'default' => FALSE,
123  'description' => 'Show all live assets in lineage, even if the current user does not have permission to view them',
124  'parameters' => Array(
125  'allow_empty' => FALSE,
126  ),
127  ),
128  );
129 
130  }//end constructor
131 
132 
133 }//end class
134 ?>