Find query object to be used with ezcPersistentSession.
An instance of this class is returned by ezcPersistentSession->createFindQuery() since PersistentObject 1.6, instead of a pure ezcQuerySelect object. This class deals as a decorator for ezcQuerySelect and offers the very same API. In addition, it allows PersistentObject to store and determine the class for objects to fetch from the query object. This deprecates the second parameter to ezcPersistentSession->find().
Source for this file: /PersistentObject/src/queries/find_query.php
Version: | //autogen// |
Child Class | Description |
---|---|
ezcPersistentFindWithRelationsQuery | Find query object for pre-fetching queries in ezcPersistentSessionIdentityDecorator. |
ezcPersistentRelationFindQuery | Find query object to be used with ezcPersistentSessionIdentityDecorator. |
protected array(string=>mixed) |
$properties
= array()
Properties. |
public ezcPersistentFindQuery |
__construct(
$query
, $className
)
Creates a new persistent find query. |
public mixed |
__call(
$methodName
, $arguments
)
Delegate to inner $query object. |
Creates a new persistent find query.
Creates a new persistent find query from the query object $q and the given $className.
Name | Type | Description |
---|---|---|
$query |
ezcQuerySelect | |
$className |
string |
Method | Description |
---|---|
ezcPersistentFindWithRelationsQuery::__construct() |
Creates a new persistent find query. |
ezcPersistentRelationFindQuery::__construct() |
Creates a new relation find query. |
Delegate to inner $query object.
Delegates calls to unknown methods to $query property.
Name | Type | Description |
---|---|---|
$methodName |
string | |
$arguments |
array |
Method | Description |
---|---|
ezcPersistentFindWithRelationsQuery::__call() |
Delegate to inner $query object. |