public function getSize() { return count($this->_array); }
private function setData(Gpf_Data_RecordSet $recordSet, $totalCount = null) { $this->cachedData = $recordSet; if ($totalCount == null) { $this->size = $this->cachedData->getSize(); return; } $this->size = $totalCount; }