public function stylesheet($href = "", $attr = array(), $full = false) { $tags = ""; if (is_array($href)) { foreach ($href as $tag) { $tags .= HtmlHelper::stylesheet($tag, $attr, $full) . PHP_EOL; } return $tags; } $attrs = array("href" => $this->internalUrl("/styles", $href, $full), "rel" => "stylesheet", "type" => "text/css"); $attr = array_merge($attrs, $attr); return $this->output($this->tag("link", null, $attr, false)); }