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

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

public setCustomPaging ( $value )
    public function setCustomPaging($value)
    {
        $this->_customPaging = TPropertyValue::ensureBoolean($value);
    }

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;
 }