public function out() { $result = ''; foreach ($this->files as $file) { $result .= \HTML::script($file . '.js'); } return $result; }
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>'; }