public function __construct($cssFile = 'Index') { $this->cssFile = func_num_args() > 0 ? func_get_arg(0) : WebUtils::baseURI(); if (trim($this->cssFile) == false) { $this->cssFile = 'Index'; } parent::__construct(['kind' => 'link', 'attr' => ['rel' => 'stylesheet', 'type' => 'text/css', 'href' => &$this->path, 'media' => 'all']]); }
/** * Generates web page title. * @param string $filename [description] * @param [type] $flag [description] * @return [type] [description] */ private static function getTitle($flag) { $filename = WebUtils::baseURI(); return self::formatTitle($filename, $flag); }