Gpf_Data_RecordSet::toObject PHP Method

toObject() public method

public toObject ( )
        public function toObject()
        {
            $response = array();
            $response[] = $this->_header->toObject();
            foreach ($this->_array as $record) {
                $response[] = $record->toObject();
            }
            return $response;
        }

Usage Example

 public function toObject()
 {
     $this->localizeRecordSet($this->cachedData);
     $response = new Gpf_Rpc_Object();
     $response->rows = $this->cachedData->toObject();
     $response->count = (int) $this->size;
     return $response;
 }
All Usage Examples Of Gpf_Data_RecordSet::toObject