PHP Класс Prado\Data\SqlMap\DataMapper\TLazyLoadList

С версии: 3.1
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
hasMethod ( $method ) : boolean Try to fetch the data when any of the proxy collection method is called.
intercept ( $method, $arguments ) Relay the method call to the underlying collection.
newInstance ( $mappedStatement, $param, $target, $propertyName ) : TObjectProxy Create a new instance of a lazy collection.

Защищенные методы

Метод Описание
__construct ( $mappedStatement, $param, $target, $propertyName ) Create a new proxy list that will execute the mapped statement when any of the list's method are accessed for the first time.
fetchListData ( ) Load the data by executing the mapped statement.

Описание методов

__construct() защищенный Метод

Create a new proxy list that will execute the mapped statement when any of the list's method are accessed for the first time.
protected __construct ( $mappedStatement, $param, $target, $propertyName )

fetchListData() защищенный Метод

Load the data by executing the mapped statement.
protected fetchListData ( )

hasMethod() публичный Метод

Try to fetch the data when any of the proxy collection method is called.
public hasMethod ( $method ) : boolean
Результат boolean true if the underlying collection has the corresponding method name.

intercept() публичный Метод

Relay the method call to the underlying collection.
public intercept ( $method, $arguments )

newInstance() публичный статический Метод

Create a new instance of a lazy collection.
public static newInstance ( $mappedStatement, $param, $target, $propertyName ) : TObjectProxy
Результат TObjectProxy proxied collection object.