toObject() public method

public toObject ( )
 private function addFilteredByHeader(Gpf_Data_Record $record)
 {
     $newRecord = new Gpf_Data_Record($this->header);
     foreach ($this->header as $column) {
         $newRecord->set($column, $record->get($column));
     }
     $this->encode($newRecord->toObject());
 }
Beispiel #2
0
 /**
  * @param Gpf_Data_Record $record
  */
 public function writeRecord($record)
 {
     if ($record != null) {
         $this->encode($record->toObject());
     }
 }