Open GoogleCodeExporter opened 8 years ago
thanks for the feedback. checking this issue.
Original comment by kfirufk@gmail.com
on 10 Apr 2010 at 4:03
Modify templates/mapper.tpl toArray() function as follows
public function toArray($cls) {
<?foreach ($this->_columns as $column):?>if($cls->get<?=$column['capital']?>() !== null) $result['<?=$column['field']?>'] = $cls->get<?=$column['capital']?>();
<?endforeach;?>
return $result;
}
Find attachment for updated mapper.tpl file
Original comment by naseemka...@gmail.com
on 28 Jun 2011 at 11:16
Attachments:
Original issue reported on code.google.com by
j...@james-thomson.net
on 3 Apr 2010 at 4:52