public function addCss($asset)
{
if (is_array($asset)) {
foreach ($asset as $a) {
$this->addCss($a);
}
return $this;
}
if (!$this->isRemoteLink($asset)) {
$asset = $this->buildLocalLink($asset, $this->css_dir);
}
if (!in_array($asset, $this->css)) {
$this->css[] = $asset;
}
return $this;
}