Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
image_variety_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Image_Variety_Management
extends
Asset_Management
31
{
32
33
38
function
Image_Variety_Management
(&$pm)
39
{
40
$this->
Asset_Management
($pm);
41
42
$this->vars = Array(
43
'name'
=> Array(
44
'added'
=>
'0.0.1'
,
45
'type'
=>
'text'
,
46
'default'
=>
''
,
47
),
48
'filename'
=> Array(
49
'added'
=>
'0.0.1'
,
50
'type'
=>
'text'
,
51
'default'
=>
''
,
52
'description'
=>
'Holds the current filename, because when the filename changes we need to know what the old extension was.'
,
53
),
54
'variety_type'
=> Array(
55
'added'
=>
'0.0.1'
,
56
'type'
=>
'selection'
,
57
'default'
=>
'resize'
,
58
'parameters'
=> Array(
59
'options'
=> Array(
60
'resize'
=>
'Resize Current Image'
,
61
'upload'
=>
'Upload Alternate Image'
,
62
),
63
'multiple'
=> FALSE,
64
'allow_empty'
=> FALSE,
65
),
66
'description'
=>
''
,
67
),
68
'constrain'
=> Array(
69
'added'
=>
'0.0.1'
,
70
'type'
=>
'selection'
,
71
'default'
=>
'width'
,
72
'parameters'
=> Array(
73
'options'
=> Array(
74
'width'
=>
'Width'
,
75
'height'
=>
'Height'
,
76
'dimension'
=>
'Both'
,
77
'none'
=>
'Neither'
,
78
),
79
'multiple'
=> FALSE,
80
'allow_empty'
=> FALSE,
81
),
82
'description'
=>
''
,
83
),
84
'width'
=> Array(
85
'added'
=>
'0.0.1'
,
86
'type'
=>
'int'
,
87
'default'
=> 0,
88
),
89
'height'
=> Array(
90
'added'
=>
'0.0.1'
,
91
'type'
=>
'int'
,
92
'default'
=> 0,
93
),
94
'dimension'
=> Array(
95
'added'
=>
'0.0.1'
,
96
'type'
=>
'int'
,
97
'default'
=> 0,
98
),
99
);
100
101
}
//end constructor
102
103
104
}
//end class
105
?>
squiz_matrix
core
assets
files
image_variety
image_variety_management.inc
Generated on Tue Jan 29 2013 14:04:37 for Squiz Matrix by
1.8.3.1