public function __construct($data = null, $attributes = null, $childNodes = null, $parentNode = null) { parent::__construct('table', $attributes, $childNodes, $parentNode); if (isset($data)) { $this->body($data); } }
public function __construct($tagName = 'style', $attributes = array(), $childNodes = null, $parentNode = null) { $this->rules = new ar_cssRules($this); if (!$attributes) { $attributes = array(); } if (!$attributes['type']) { $attributes['type'] = 'text/css'; } parent::__construct($tagName, $attributes, null, $parentNode); }
public function toString($indent = '', $current = 0) { if (!$this->filled) { // do a default menu. $this->bar(); } if ($this->stripeOptions) { $this->stripe($this->stripeOptions); } if ($this->levelOptions) { $this->levels($this->levelOptions); } if ($this->autoIDOptions) { $this->autoID($this->autoIDOptions); } return parent::toString($indent, $current); }