XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Argument Class Reference
Inheritance diagram for Argument:
ConditionArgument SortArgument

Public Member Functions

 __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

 $value
 
 $name
 
 $type
 
 $isValid
 
 $errorMessage
 
 $column_operation
 
 $uses_default_value
 
 $_value
 

Detailed Description

Definition at line 10 of file Argument.class.php.

Constructor & Destructor Documentation

Argument::__construct (   $name,
  $value 
)

constructor

Parameters
string$name
mixed$value
Returns
void

Definition at line 67 of file Argument.class.php.

Member Function Documentation

Argument::_escapeStringValue (   $value)

escape string value

Parameters
string$value
Returns
string

Definition at line 222 of file Argument.class.php.

Argument::checkFilter (   $filter_type)

check filter by filter type

Parameters
string$filter_type
Returns
void

Definition at line 299 of file Argument.class.php.

Argument::checkMaxLength (   $length)

Definition at line 361 of file Argument.class.php.

Argument::checkMinLength (   $length)

Definition at line 372 of file Argument.class.php.

Argument::checkNotNull ( )

Definition at line 383 of file Argument.class.php.

Argument::ensureDefaultValue (   $default_value)

Definition at line 285 of file Argument.class.php.

Argument::escapeValue (   $value)

escape value

Parameters
mixed$value
Returns
mixed

Definition at line 164 of file Argument.class.php.

Argument::getColumnOperation ( )

Definition at line 118 of file Argument.class.php.

Argument::getErrorMessage ( )

Definition at line 280 of file Argument.class.php.

Argument::getEscapedValue ( )

Definition at line 123 of file Argument.class.php.

Argument::getName ( )

Definition at line 98 of file Argument.class.php.

Argument::getPureValue ( )

Definition at line 113 of file Argument.class.php.

Argument::getType ( )

Definition at line 74 of file Argument.class.php.

Argument::getUnescapedValue ( )

Definition at line 128 of file Argument.class.php.

Argument::getValue ( )

Definition at line 103 of file Argument.class.php.

Argument::isColumnName ( )

Definition at line 261 of file Argument.class.php.

Argument::isValid ( )

Definition at line 256 of file Argument.class.php.

Argument::setColumnOperation (   $operation)

Definition at line 93 of file Argument.class.php.

Argument::setColumnType (   $value)

Definition at line 88 of file Argument.class.php.

Argument::toString (   $value)

mixed value to string

Parameters
mixed$value
Returns
string

Definition at line 142 of file Argument.class.php.

Argument::utf8Replacer (   $captures)

Definition at line 233 of file Argument.class.php.

Member Data Documentation

Argument::$_value

Definition at line 58 of file Argument.class.php.

Argument::$column_operation

column operation

Definition at line 46 of file Argument.class.php.

Argument::$errorMessage

Definition at line 41 of file Argument.class.php.

Argument::$isValid

Definition at line 35 of file Argument.class.php.

Argument::$name

Definition at line 23 of file Argument.class.php.

Argument::$type

Definition at line 29 of file Argument.class.php.

Argument::$uses_default_value

Definition at line 52 of file Argument.class.php.

Argument::$value

Definition at line 17 of file Argument.class.php.


The documentation for this class was generated from the following file: