Gpf_Data_RecordSet::getSize PHP Method

getSize() public method

Return number of rows in recordset
public getSize ( ) : integer
return integer
        public function getSize()
        {
            return count($this->_array);
        }

Usage Example

コード例 #1
0
 private function setData(Gpf_Data_RecordSet $recordSet, $totalCount = null)
 {
     $this->cachedData = $recordSet;
     if ($totalCount == null) {
         $this->size = $this->cachedData->getSize();
         return;
     }
     $this->size = $totalCount;
 }
All Usage Examples Of Gpf_Data_RecordSet::getSize