Example #1
0
 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;
 }
Example #2
0
File: Tr.php Project: 4app/zuniphp
 public function th($value)
 {
     $e = new Th($value);
     parent::add($e);
     return $e;
 }
Example #3
0
 private function item($value)
 {
     $e = new Li($value);
     parent::add($e);
     return $e;
 }
Example #4
0
 public function __construct($href, $name)
 {
     parent::__construct('a');
     parent::attr('href', $href);
     parent::add($name);
 }
Example #5
0
File: Th.php Project: 4app/zuniphp
 public function __construct($value)
 {
     parent::__construct('th');
     parent::add($value);
 }
Example #6
0
 public function __construct()
 {
     parent::__construct('thead');
 }