Inherits PntObject.
Inherited by PntSqlFilter, and PntSqlSort.
|
| __construct ($id=null) |
|
| getId () |
|
| getLabel () |
|
| getQueryHandler () |
|
| getDescription ($conv) |
|
| setDescription ($value) |
|
| getSqlForJoin () |
|
| generateSqlForJoins (&$aliasCount, &$paramCount, $backTrack=array()) |
|
| isJoinFilter () |
|
| where ($path, $comparatorId=null, $value1=null, $value2=null) |
|
| sortBy ($path, $direction='ASC') |
|
| retrieve () |
|
| retrieveFirst () |
|
| retrieveOne () |
|
| __construct () |
|
| copy () |
|
| getClass () |
|
| getClassDescriptor () |
|
| initPropertyDescriptors () |
|
| getOid () |
|
| addFieldProp ($name, $type, $readOnly=false, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null, $persistent=true) |
|
| addDerivedProp ($name, $type, $readOnly=true, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null) |
|
| addMultiValueProp ($name, $type, $readOnly=true, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null) |
|
| getPropertyDescriptor ($propertyName) |
|
| get ($propertyName, $filter=true) |
|
| set ($propertyName, $value) |
|
| getOptions ($name, $filter=true) |
|
| getValueValidator ($prop) |
|
| validateGetErrorString ($prop, $value, $validateReadOnly=true) |
|
| basicGetLabel () |
|
| getLabel () |
|
| __toString () |
|
| release () |
|
| getEditInfo () |
|
| toString () |
|
| _getValueValidator ($prop) |
|
__construct |
( |
|
$id = null | ) |
|
generateSqlForJoins |
( |
& |
$aliasCount, |
|
|
& |
$paramCount, |
|
|
|
$backTrack = array() |
|
) |
| |
Return a piece of SQL for extending the FROM clause with the tables to be joined
initPropertyDescriptors |
( |
| ) |
|
|
static |
- Returns
- String the name of the database table the instances are stored in - override for each subclass
retrieves specified peanuts,
- Returns
- array of PntObject of >>itemType
- Exceptions
-
PntEror | if a database error occurs |
retrieves specified peanuts,
- Returns
- PntObject of >>itemType first peanut or null
- Exceptions
-
PntEror | if a database error occurs |
retrieves specified peanuts,
- Returns
- PntObject of >>itemType a single peanut or null
- Exceptions
-
PntError | if if more then one peanut was retrieved, or if a database error occurred |
sortBy |
( |
|
$path, |
|
|
|
$direction = 'ASC' |
|
) |
| |
(Navigational query DSL)
- Parameters
-
string | $path | the path to sort by |
string | $direction | 'ASC' or 'DESC' |
- Returns
- PntSqlSort for sorting the results of this
- Exceptions
-
where |
( |
|
$path, |
|
|
|
$comparatorId = null , |
|
|
|
$value1 = null , |
|
|
|
$value2 = null |
|
) |
| |
(Navigational query DSL)
- Returns
- the specified PntSqlFilter for >>itemType
- Parameters
-
string | $path | the path to filter by |
string | $comparatorId | one id from PntComparator::getInstances |
mixed | $value1 | dynamically typed by >>valueType |
mixed | $value2 | dynamically typed by >>valueType |
- Returns
- PntSqlFilter $this
- Exceptions
-
The documentation for this class was generated from the following file: