Commit 69a97d13 authored by zYne's avatar zYne

Updated some doc blocks

parent caf41859
...@@ -42,11 +42,22 @@ abstract class Doctrine_Configurable { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment