public function __construct($iterator, $sortByName, $sortByReverse = false, $valueAccessor = null) { parent::__construct(); $this->iterator = $iterator; $this->sortByName = $sortByName; $this->sortByReverse = $sortByReverse; $this->valueAccessor = $valueAccessor; }
public function __construct(IPieCrust $pieCrust, $blogKey, array $dataSource) { parent::__construct(); $this->pieCrust = $pieCrust; $this->blogKey = $blogKey; $this->iterator = new WrapperIterator($dataSource); $this->gotSorter = false; $this->isLocked = false; $this->page = null; $this->previousPost = null; $this->nextPost = null; $this->paginationSlicer = null; }
public function __construct(IPieCrust $pieCrust, $blogKey, array $dataSource) { parent::__construct(); $this->pieCrust = $pieCrust; $this->dataSource = $dataSource; $this->blogKey = $blogKey; $this->modifierChain = array(); $this->page = null; $this->previousPost = null; $this->nextPost = null; $this->hasMorePosts = false; $this->totalPostCount = 0; }
public function __construct($iterator) { parent::__construct(); $this->iterator = $iterator; }