Méthode |
Description |
|
__construct ( Jarves $jarves, Objects $objects, ACL $acl, ConditionOperator $conditionOperator ) |
|
|
add ( $values, $targetPk = null, $mode = 'first', $scope = null ) |
|
|
clear ( ) |
|
|
clearCache ( ) |
|
|
configure ( $objectKey, $definition ) |
|
|
export ( Condition $condition = null ) |
|
|
extractSelection ( $fields ) |
|
|
getBranch ( $pk = null, Condition $condition = null, $depth = 1, $scope = null, $options = null ) |
|
|
getBranchChildrenCount ( $pk = null, Condition $condition = null, $scope = null ) |
|
|
getCount ( Condition $condition = null ) |
|
|
getFields ( array | string $fields ) : array |
Returns all column names by allowed and extracted fields. |
|
getItem ( $pk, $options = [] ) |
{@inheritDoc} |
|
getItems ( array $filter = null, Condition $condition = null, $options = null ) |
{@inheritDoc} |
|
getNestedSubCondition ( Condition $condition ) : Condition |
Propel uses for his nested-set objects lft and rgt fields. |
|
getParent ( $pk, $options = null ) |
|
|
getParents ( $pk, $options = null ) |
|
|
getPhpName ( string $objectName = null ) : string |
Returns php class name. |
|
getPropelPk ( array $pk, string $objectKey = null ) : mixed |
Since the core provide the pk as array('id' => 123) and not as array(123) we have to convert it for propel orm. |
|
getQueryClass ( null $name = null ) : mixed |
Returns a new query class. |
|
getRoots ( Condition $condition = null, $options = null ) |
|
|
getStm ( Propel\Runtime\ActiveQuery\ModelCriteria $query, Condition $condition = null ) : PDOStatement |
|
|
getVersionDiff ( $pk, $options = null ) |
|
|
getVersions ( $pk, $options = null ) |
|
|
mapCondition ( Propel\Runtime\ActiveQuery\ModelCriteria $query, Condition $condition = null ) |
Adds $query->where() based on $condition. |
|
mapFilter ( mixed $query, array $filter ) |
|
|
mapOptions ( Propel\Runtime\ActiveQuery\ModelCriteria $query, array $options = [] ) |
Maps options like limit, offset, order |
|
mapPk ( mixed $query, array $pk ) |
Sets the filterBy by &$query from $pk. |
|
mapResult ( $result, callable $callback ) : array |
|
|
mapToOneRelationFields ( Propel\Runtime\ActiveQuery\ModelCriteria &$query, Propel\Runtime\Map\RelationMap[] $relations, string[][] $relationFields ) |
|
|
mapValues ( &$item, array &$values, boolean $ignoreNotExistingValues = false ) |
|
|
move ( $pk, $targetPk, $position = 'first', $targetObjectKey = null ) |
{@inheritDoc} |
|
onlyPrimaryKeySelected ( array $options ) : boolean |
Checks whether only primary key fields should be selected. |
|
patch ( $pk, $values ) |
|
|
pkFromRow ( $row ) |
|
|
populateRow ( $clazz, $row, $selects, $relations, $relationFields, boolean $permissionCheck = false ) : array |
Generates a row from the propel object using the get*() methods. Resolves *-to-many relations. |
|
remove ( $pk ) |
|
|
search ( $query, Condition $condition = null, $max = 20 ) |
|
|
update ( $pk, $values ) |
|
|