1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Updated some doc blocks

This commit is contained in:
zYne 2006-11-16 13:25:45 +00:00
parent caf4185955
commit 69a97d13be

View File

@ -42,11 +42,22 @@ abstract class Doctrine_Configurable {
*/ */
private $parent; private $parent;
/** /**
* setAttribute
* sets a given attribute * sets a given attribute
* *
* <code>
* $manager->setAttribute(Doctrine::ATTR_PORTABILITY, Doctrine::PORTABILITY_ALL);
*
* // or
*
* $manager->setAttribute('portability', Doctrine::PORTABILITY_ALL);
* </code>
*
* @param mixed $attribute either a Doctrine::ATTR_* integer constant or a string
* corresponding to a constant
* @param mixed $value the value of the attribute
* @see Doctrine::ATTR_* constants
* @throws Doctrine_Exception if the value is invalid * @throws Doctrine_Exception if the value is invalid
* @param integer $attribute
* @param mixed $value
* @return void * @return void
*/ */
public function setAttribute($attribute,$value) { public function setAttribute($attribute,$value) {