class OnDemandFormatter extends ObjectFormatter
Object formatter for Propel query format() returns a OnDemandCollection that hydrates objects as the use iterates on the collection This formatter consumes less memory than the ObjectFormatter, but doesn't use Instance Pool
Methods
format(DataFetcherInterface $dataFetcher = null) | ||
getCollectionClassName() | ||
formatOne(DataFetcherInterface $dataFetcher = null) | from ObjectFormatter | |
isObjectFormatter() | from ObjectFormatter | |
BaseObject |
getAllObjectsFromRow(array $row)
Hydrates a series of objects from a result row The first object to hydrate is the model of the Criteria The following objects (the ones added by way of ModelCriteria::with()) are linked to the first one |
|
init(BaseModelCriteria $criteria = null, DataFetcherInterface $dataFetcher = null) | ||
Collection | getCollection() |
Details
at line 37
public
format(DataFetcherInterface $dataFetcher = null)
at line 56
public
getCollectionClassName()
in ObjectFormatter at line 64
public
formatOne(DataFetcherInterface $dataFetcher = null)
in ObjectFormatter at line 82
public
isObjectFormatter()
at line 83
public BaseObject
getAllObjectsFromRow(array $row)
Hydrates a series of objects from a result row The first object to hydrate is the model of the Criteria The following objects (the ones added by way of ModelCriteria::with()) are linked to the first one