Public Member Functions | |
__construct ($name, $value, $operation) | |
createConditionValue () | |
getType () | |
setColumnType ($column_type) | |
Public Member Functions inherited from Argument | |
__construct ($name, $value) | |
getType () | |
setColumnType ($value) | |
setColumnOperation ($operation) | |
getName () | |
getValue () | |
getPureValue () | |
getColumnOperation () | |
getEscapedValue () | |
getUnescapedValue () | |
toString ($value) | |
escapeValue ($value) | |
_escapeStringValue ($value) | |
utf8Replacer ($captures) | |
isValid () | |
isColumnName () | |
getErrorMessage () | |
ensureDefaultValue ($default_value) | |
checkFilter ($filter_type) | |
checkMaxLength ($length) | |
checkMinLength ($length) | |
checkNotNull () | |
Public Attributes | |
$operation | |
Public Attributes inherited from Argument | |
$value | |
$name | |
$type | |
$isValid | |
$errorMessage | |
$column_operation | |
$uses_default_value | |
$_value | |
Definition at line 10 of file ConditionArgument.class.php.
ConditionArgument::__construct | ( | $name, | |
$value, | |||
$operation | |||
) |
constructor
string | $name | |
mixed | $value | |
string | $operation |
Definition at line 26 of file ConditionArgument.class.php.
ConditionArgument::createConditionValue | ( | ) |
create condition value. set $this->value
Definition at line 43 of file ConditionArgument.class.php.
ConditionArgument::getType | ( | ) |
Since ConditionArgument is used in WHERE clause, where the argument value is compared to a table column, it is assumed that all arguments have type. There are cases though where the column does not have any type - if it was removed from the XML schema for example - see the is_secret column in xe_documents table. In this case, the column type is retrieved according to argument value type (using the PHP function is_numeric).
Definition at line 121 of file ConditionArgument.class.php.
ConditionArgument::setColumnType | ( | $column_type | ) |
Definition at line 137 of file ConditionArgument.class.php.
ConditionArgument::$operation |
Definition at line 17 of file ConditionArgument.class.php.