Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
design_area_custom_image_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Design_Area_Custom_Image_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
'image'
=> Array(
44
'added'
=>
'0.0.1'
,
45
'type'
=>
'text'
,
46
'default'
=>
''
,
47
),
48
'max_width'
=> Array(
49
'added'
=>
'0.0.1'
,
50
'type'
=>
'int'
,
51
'default'
=> 0,
52
'description'
=>
'The maximum width that the uploaded image can be'
,
53
),
54
'max_height'
=> Array(
55
'added'
=>
'0.0.1'
,
56
'type'
=>
'int'
,
57
'default'
=> 0,
58
'description'
=>
'The maximum height that the uploaded image can be'
,
59
),
60
'alt'
=> Array(
61
'added'
=>
'0.0.1'
,
62
'type'
=>
'text'
,
63
'default'
=>
''
,
64
'description'
=>
'The text that you want to appear in the alt attribute for this image'
,
65
),
66
'extra'
=> Array(
67
'added'
=>
'0.0.1'
,
68
'type'
=>
'text'
,
69
'default'
=>
''
,
70
'description'
=>
'Any extra HTML that you want to end up in the img tag'
,
71
),
72
'filename_only'
=> Array(
73
'added'
=>
'0.0.1'
,
74
'type'
=>
'boolean'
,
75
'default'
=> 0,
76
'description'
=>
'whether to print just the filename or the full img tag'
,
77
'parameters'
=> Array(
78
'allow_empty'
=> FALSE,
79
),
80
),
81
);
82
83
}
//end constructor
84
85
86
}
//end class
87
?>
squiz_matrix
core
assets
designs
design_areas
design_area_custom_image
design_area_custom_image_management.inc
Generated on Tue Jan 29 2013 14:04:36 for Squiz Matrix by
1.8.3.1