Tag Archives: funny

Extract from Doctrine_Record

/** * returns an array of modified fields and associated values * @return array * @todo What about a better name? getModifiedFields? */ public function getModified() { $a = array();   foreach ($this->_modified as $k => $v) { $a[$v] = $this->_data[$v]; } return $a; }   /** * REDUNDANT? */ public function modifiedFields() { $a […]

Posted in PHP, Symfony | Also tagged , | 2 Comments