/** * Constructor... * * @param String $tag The tag this instance represents * @param String $content Any content for this instance * @param Array $attrs Any attributes to load in */ public function __construct($tag, $content = null, $attrs = array()) { parent::__construct($content); $this->setTag($tag); $this->importAttrs($attrs); }
/** * Constructor... * * @param String $condition The condition this instance represents * @param String $content Any content for this instance */ public function __construct($condition, $content = null) { parent::__construct($content); $this->setCondition($condition); }