コード例 #1
0
ファイル: JavascriptMail.php プロジェクト: 4app/zuniphp
 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;
 }
コード例 #2
0
ファイル: Tr.php プロジェクト: 4app/zuniphp
 public function th($value)
 {
     $e = new Th($value);
     parent::add($e);
     return $e;
 }
コード例 #3
0
ファイル: LiAbstract.php プロジェクト: 4app/zuniphp
 private function item($value)
 {
     $e = new Li($value);
     parent::add($e);
     return $e;
 }
コード例 #4
0
ファイル: Anchor.php プロジェクト: 4app/zuniphp
 public function __construct($href, $name)
 {
     parent::__construct('a');
     parent::attr('href', $href);
     parent::add($name);
 }
コード例 #5
0
ファイル: Th.php プロジェクト: 4app/zuniphp
 public function __construct($value)
 {
     parent::__construct('th');
     parent::add($value);
 }
コード例 #6
0
ファイル: Thead.php プロジェクト: 4app/zuniphp
 public function __construct()
 {
     parent::__construct('thead');
 }