Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
design_area_asset_lineage_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Design_Area_Asset_Lineage_Management
extends
Asset_Management
31
{
32
33
38
function
__construct
(
Package_Manager
$pm)
39
{
40
Asset_Management::__construct($pm);
41
42
$this->vars = Array(
43
'divider_contents'
=> Array(
44
'added'
=>
'0.0.1'
,
45
'type'
=>
'serialise'
,
46
'default'
=> Array(),
47
'description'
=>
'The contents that divides the asset info in the output'
,
48
),
49
'asset_contents'
=> Array(
50
'added'
=>
'0.0.1'
,
51
'type'
=>
'serialise'
,
52
'default'
=> Array(),
53
'description'
=>
'The contents that prints the asset info in the output'
,
54
),
55
'prefix_with_home_link'
=> Array(
56
'added'
=>
'0.0.1'
,
57
'type'
=>
'boolean'
,
58
'default'
=> FALSE,
59
'description'
=>
'whether or not to start the list with a link to the site\'s index'
,
60
'parameters'
=> Array(
61
'allow_empty'
=> FALSE,
62
),
63
),
64
'suffix_with_current_link'
=> Array(
65
'added'
=>
'0.0.1'
,
66
'type'
=>
'boolean'
,
67
'default'
=> FALSE,
68
'description'
=>
'whether or not to end the list with a link to the current page'
,
69
'parameters'
=> Array(
70
'allow_empty'
=> FALSE,
71
),
72
),
73
'prefix_with_divider'
=> Array(
74
'added'
=>
'0.0.1'
,
75
'type'
=>
'boolean'
,
76
'default'
=> FALSE,
77
'description'
=>
'whether or not to start the list with a divider'
,
78
'parameters'
=> Array(
79
'allow_empty'
=> FALSE,
80
),
81
),
82
'suffix_with_divider'
=> Array(
83
'added'
=>
'0.0.1'
,
84
'type'
=>
'boolean'
,
85
'default'
=> TRUE,
86
'description'
=>
'whether or not to end the list with a divider'
,
87
'parameters'
=> Array(
88
'allow_empty'
=> FALSE,
89
),
90
),
91
'show_hidden_links'
=> Array(
92
'added'
=>
'0.0.1'
,
93
'type'
=>
'boolean'
,
94
'default'
=> TRUE,
95
'description'
=>
'whether or not to show TYPE_2 links as well as TYPE_1'
,
96
'parameters'
=> Array(
97
'allow_empty'
=> FALSE,
98
),
99
),
100
'levels_to_print'
=> Array(
101
'added'
=>
'0.0.1'
,
102
'type'
=>
'int'
,
103
'default'
=> 0,
104
'description'
=>
'How many levels deep to print, (zero, blank, empty means print all)'
,
105
),
106
'start_at_level'
=> Array(
107
'added'
=>
'0.0.1'
,
108
'type'
=>
'int'
,
109
'default'
=> NULL,
110
'description'
=>
'At what level to start printing'
,
111
'parameters'
=> Array(
112
'allow_empty'
=> TRUE,
113
),
114
),
115
'reverse_lineage'
=> Array(
116
'added'
=>
'0.2'
,
117
'type'
=>
'boolean'
,
118
'default'
=> FALSE,
119
'description'
=>
'If true, reverse how the lineage is printed (ie. nearest asset first)'
,
120
),
121
'unwanted_asset_types'
=> Array(
122
'added'
=>
'0.3'
,
123
'type'
=>
'serialise'
,
124
'default'
=> Array(),
125
'description'
=>
'List of asset types to exclude from the lineage'
,
126
),
127
);
128
129
}
//end constructor
130
131
132
}
//end class
133
?>
squiz_matrix
core
assets
designs
design_areas
design_area_asset_lineage
design_area_asset_lineage_management.inc
Generated on Tue Jan 29 2013 14:04:36 for Squiz Matrix by
1.8.3.1