Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
design_area_request_vars.inc
1
<?php
18
require_once SQ_CORE_PACKAGE_PATH.
'/designs/design_area/design_area.inc'
;
19
31
class
Design_Area_Request_Vars
extends
Design_Area
32
{
33
34
41
function
__construct
($assetid=0)
42
{
43
parent::__construct($assetid);
44
45
}
//end constructor
46
47
57
public
function
printVar
($var, Array $args)
58
{
59
switch
($this->vars[
'method'
][
'value'
]) {
60
case
'get'
:
61
$target_vars =
'$_GET'
;
62
break
;
63
64
case
'post'
:
65
$target_vars =
'$_POST'
;
66
break
;
67
68
case
'request'
:
69
default
:
70
$target_vars =
'$_REQUEST'
;
71
break
;
72
73
}
74
75
echo
'<?php echo array_get_index('
.$target_vars.
', \''
.addslashes($var).
'\'
, \
'\'
) ?>
';
76
77
}//end printVar()
78
79
80
}//end class
81
?>
squiz_matrix
core
assets
designs
design_areas
design_area_request_vars
design_area_request_vars.inc
Generated on Tue Jan 29 2013 14:04:36 for Squiz Matrix by
1.8.3.1