Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
form_question_rule.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset.inc'
;
19
32
class
Form_Question_Rule
extends
Asset
33
{
34
35
42
function
__construct
($assetid=0)
43
{
44
$this->
Asset
($assetid);
45
46
}
//end constructor
47
48
55
public
static
function
isValidationRule
()
56
{
57
return
TRUE;
58
59
}
//end isValidationRule()
60
61
68
public
static
function
isSelectiveEmailRule
()
69
{
70
return
TRUE;
71
72
}
//end isSelectiveEmailRule()
73
74
84
public
static
function
getOperators
()
85
{
86
return
Array();
87
88
}
//end getOperators()
89
90
102
function
evaluate
($answer, $rule_data)
103
{
104
return
TRUE;
105
106
}
//end evaluate()
107
108
120
function
generateJSCode
(&$q_asset, $rule_data)
121
{
122
return
''
;
123
124
}
//end generateJSCode()
125
126
138
function
defaultError
(&$q_asset, $rule_data)
139
{
140
return
$this->
ruleDescription
($q_asset, $rule_data);
141
142
}
//end defaultError()
143
144
156
function
ruleDescription
(&$q_asset, $rule_data)
157
{
158
return
''
;
159
160
}
//end ruleDescription()
161
162
163
}
//end class
164
165
?>
squiz_matrix
core
assets
form
form_question_rule
form_question_rule.inc
Generated on Tue Jan 29 2013 14:04:37 for Squiz Matrix by
1.8.3.1