Updating doc blocks to improve API parsing.

This commit is contained in:
mark_story 2009-10-05 21:27:34 -04:00
parent a99d2ea821
commit 2d2e692b37
2 changed files with 14 additions and 8 deletions

View file

@ -757,10 +757,12 @@ class Model extends Overloadable {
$this->schema();
}
/**
* This function does two things: 1) it scans the array $one for the primary key,
* This function does two things:
*
* 1. it scans the array $one for the primary key,
* and if that's found, it sets the current id to the value of $one[id].
* For all other keys than 'id' the keys and values of $one are copied to the 'data' property of this object.
* 2) Returns an array with all of $one's keys and values.
* 2. Returns an array with all of $one's keys and values.
* (Alternative indata: two strings, which are mangled to
* a one-item, two-dimensional array using $one for a key and $two as its value.)
*
@ -1377,7 +1379,7 @@ class Model extends Overloadable {
*
* @param array $keys Optional foreign key data, defaults to the information $this->data
* @param boolean $created True if a new record was created, otherwise only associations with
* 'counterScope' defined get updated
* 'counterScope' defined get updated
* @return void
* @access public
*/