Page::addFooter() 

\nn\t3::Page()->addFooter($str = ''); 

Append CSS or JS or HTML code to the footer. Decide for yourself which PageRender method to use.

\nn\t3::Page()->addFooter( 'fileadmin/style.css' );
\nn\t3::Page()->addFooter( ['fileadmin/style.css', 'js/script.js'] );
\nn\t3::Page()->addFooter( 'js/script.js' );
Copied!

| @return void

Source Code 

public function addFooter ( $str = '' ) {
	if (!is_array($str)) $str = [$str];
	foreach ($str as $n) {
		if (strpos($n, '<') !== false) {
			$this->addFooterData( $n );
		} else {
			$suffix = \nn\t3::File()->suffix($n);
			if ($suffix == 'js') {
				$this->addJsFooterFile( $n );
			} else {
				// addCssFooterFile() scheint nicht zu existieren
				$this->addCssLibrary( $n );
			}
		}
	}
}
Copied!