/** * Link an external file into the final XHTML document * * The XHTML tag generated depends on the file extension. Javascript (.js) * needs the SCRIPT tag, External stylesheets (.css) a LINK tag. * * @api * @param string $fileName * @return Xhtml */ public function useFile($fileName) { $this->staticFiles->useFile($this->getPathUrl() . $fileName); return $this; }
private function getCode($ext) { return $this->staticFiles->getCode($ext); }