1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Added a description to the Doctrine_Record::cleanData() method

This commit is contained in:
jackbravo 2007-11-30 23:49:46 +00:00
parent 9f20184fc4
commit 338bd78e66

View File

@ -424,10 +424,11 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
/** /**
* cleanData * cleanData
* leaves the $data array only with values whose key is a field inside this
* record and returns the values that where removed from $data.
* *
* @param array $data data array to be cleaned * @param array $data data array to be cleaned
* @return integer * @return array $tmp values cleaned from data
* @todo Better description. What exactly does this "cleaning" involve?
*/ */
public function cleanData(&$data) public function cleanData(&$data)
{ {