Esempio n. 1
0
 public function out()
 {
     $result = '';
     foreach ($this->files as $file) {
         $result .= \HTML::script($file . '.js');
     }
     return $result;
 }
Esempio n. 2
0
 public function out()
 {
     if ($this->divider) {
         return '<li class="divider"></li>';
     }
     if ($this->url) {
         return '<li>' . \HTML::link($this->url, $this->caption) . '</li>';
     }
     return '<li>' . $this->caption . '</li>';
 }