Prado\Collections\TPagedList::__construct PHP Метод

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

Constructor.
public __construct ( $data = null, $readOnly = false )
    public function __construct($data = null, $readOnly = false)
    {
        parent::__construct($data, true);
    }

Usage Example

Пример #1
0
 /**
  * Create a new SqlMap paged list.
  * @param IMappedStatement SqlMap statement.
  * @param mixed query parameters
  * @param int page size
  * @param mixed delegate for each data row retrieved.
  * @param int number of page to fetch on initialization
  */
 public function __construct(IMappedStatement $statement, $parameter, $pageSize, $delegate = null, $page = 0)
 {
     parent::__construct();
     parent::setCustomPaging(true);
     $this->initialize($statement, $parameter, $pageSize, $page);
     $this->_delegate = $delegate;
 }