IMP_Ftree::subscribe PHP Method

subscribe() public method

Subscribe an element to the tree.
public subscribe ( mixed $id )
$id mixed The element name or an array of element names.
    public function subscribe($id)
    {
        foreach (is_array($id) ? $id : array($id) as $val) {
            $this->setAttribute('subscribed', $val, true);
            $this->setAttribute('container', $val, false);
        }
    }