$href, 'media' => 'screen', 'type' => 'text/css', 'rel' => 'stylesheet', ); if (null === $name) { if (strncmp($href, 'css/', 4) == 0) { $name = substr($href, 4); $name = str_replace('.css', '', $name); } else { $name = $href; } } if (isset($this->_content['head']['stylesheet'][$name])) { return $this; } $this->_content['head']['stylesheet'][$name] = array_merge($attribs, $_attribs); return $this; } }