setAttribute() public method

Change an attribute value.
public setAttribute ( string $type, string $elt, boolean $bool )
$type string The attribute type.
$elt string The element name.
$bool boolean The boolean value.
Ejemplo n.º 1
0
 /**
  */
 public function __set($name, $value)
 {
     switch ($name) {
         case 'container':
         case 'needsort':
         case 'open':
         case 'polled':
         case 'subscribed':
             $this->_tree->setAttribute($name, $this->_id, $value);
             break;
     }
 }