jDaoMethod
in package
containers for properties of dao method.
Tags
Table of Contents
- $distinct : mixed
- $eventAfterEnabled : mixed
- $eventBeforeEnabled : mixed
- $name : mixed
- $type : mixed
- $_attrcond : mixed
- $_body : mixed
- $_conditions : mixed
- $_limit : mixed
- $_op : mixed
- $_parameters : mixed
- $_parametersDefaultValues : mixed
- $_parser : mixed
- $_procstock : mixed
- $_values : mixed
- __construct() : mixed
- getBody() : mixed
- getConditions() : mixed
- getLimit() : mixed
- getParameters() : mixed
- getParametersDefaultValues() : mixed
- getProcStock() : mixed
- getValues() : mixed
- _addCondition() : mixed
- _addLimit() : mixed
- _addOrder() : mixed
- _addValue() : mixed
- _parseConditions() : mixed
Properties
$distinct
public
mixed
$distinct
= \false
Tags
$eventAfterEnabled
public
mixed
$eventAfterEnabled
= \false
Tags
$eventBeforeEnabled
public
mixed
$eventBeforeEnabled
= \false
Tags
$name
public
mixed
$name
Tags
$type
public
mixed
$type
Tags
$_attrcond
private
mixed
$_attrcond
= array('property', 'pattern', 'expr', 'operator', 'driver', 'dbtype')
Tags
$_body
private
mixed
$_body
Tags
$_conditions
private
mixed
$_conditions
Tags
$_limit
private
mixed
$_limit
Tags
$_op
private
mixed
$_op
= array('eq' => '=', 'neq' => '<>', 'lt' => '<', 'gt' => '>', 'lteq' => '<=', 'gteq' => '>=', 'like' => 'LIKE', 'notlike' => 'NOT LIKE', 'ilike' => 'ILIKE', 'isnull' => 'IS NULL', 'isnotnull' => 'IS NOT NULL', 'in' => 'IN', 'notin' => 'NOT IN', 'binary_op' => 'dummy')
Tags
$_parameters
private
mixed
$_parameters
= array()
Tags
$_parametersDefaultValues
private
mixed
$_parametersDefaultValues
= array()
Tags
$_parser
private
mixed
$_parser
Tags
$_procstock
private
mixed
$_procstock
Tags
$_values
private
mixed
$_values
= array()
Tags
Methods
__construct()
public
__construct(simpleXmlElement $method, jDaoParser $parser) : mixed
Parameters
- $method : simpleXmlElement
-
the xml element describing the method to generate
- $parser : jDaoParser
-
the parser on a dao file
Tags
Return values
mixed —getBody()
public
getBody() : mixed
Tags
Return values
mixed —getConditions()
public
getConditions() : mixed
Tags
Return values
mixed —getLimit()
public
getLimit() : mixed
Tags
Return values
mixed —getParameters()
public
getParameters() : mixed
Tags
Return values
mixed —getParametersDefaultValues()
public
getParametersDefaultValues() : mixed
Tags
Return values
mixed —getProcStock()
public
getProcStock() : mixed
Tags
Return values
mixed —getValues()
public
getValues() : mixed
Tags
Return values
mixed —_addCondition()
private
_addCondition(mixed $op, mixed $cond) : mixed
Parameters
- $op : mixed
- $cond : mixed
Tags
Return values
mixed —_addLimit()
private
_addLimit(mixed $limit) : mixed
Parameters
- $limit : mixed
Tags
Return values
mixed —_addOrder()
private
_addOrder(mixed $order) : mixed
Parameters
- $order : mixed
Tags
Return values
mixed —_addValue()
private
_addValue(mixed $attr) : mixed
Parameters
- $attr : mixed
Tags
Return values
mixed —_parseConditions()
private
_parseConditions(simpleXmlElement $conditions[, bool $subcond = true ]) : mixed
Parameters
- $conditions : simpleXmlElement
- $subcond : bool = true