예제 #1
0
파일: Javascript.php 프로젝트: 4app/zuniphp
 private function _script($src)
 {
     $js = new Element('script');
     $js->attr('type', 'text/javascript');
     $js->attr('src', $src);
     $js->add('');
     $this->_js = $js;
     return $this;
 }
예제 #2
0
파일: ulist.php 프로젝트: stgnet/pui
 public function addObject($thing)
 {
     $item = new Element('li');
     $item->add($thing);
     return $item;
 }
예제 #3
0
파일: Paragraph.php 프로젝트: 4app/zuniphp
 public function __construct($content)
 {
     parent::__construct('p');
     parent::add($content);
 }