private function _script() { if (!$this->_s->isEmail()) { throw new Exception('Email invalid.' . "\n"); } $js = new Element('script'); $js->attr('type', 'text/javascript'); $script = sprintf($this->_s->getSprintfScript(), $this->_s->getUser(), $this->_s->getDomain(), $this->_s->getUserAtDomain()); $js->add($script); $this->_js = $js; return $this; }
public function th($value) { $e = new Th($value); parent::add($e); return $e; }
private function item($value) { $e = new Li($value); parent::add($e); return $e; }
public function __construct($href, $name) { parent::__construct('a'); parent::attr('href', $href); parent::add($name); }
public function __construct($value) { parent::__construct('th'); parent::add($value); }
public function __construct() { parent::__construct('thead'); }