private function jsHtml($uri) { if (preg_match("/\\.css\$/i", $uri)) { \CADB\View\Resource::addCssURI($uri, 0, array('compress' => true)); // return $this->cssHtml($uri); } \CADB\View\Resource::addJsURI($uri, 0, array('compress' => true)); // return "\t<script type=\"text/javascript\" src=\"$uri\"></script>\n"; }