src/UI/HTML/PageFrame.php
public function addStylesheet( $uri, $media = "all", $type = NULL )
	{
		$typeDefault	= 'text/css';
		if( isset( $this->metaTags["http-equiv:content-style-type"] ) )
			$typeDefault	= $this->metaTags["http-equiv:content-style-type"]['content'];
		$styleData	= array(
			'rel'		=> "stylesheet",
			'type'		=> $type ? $type : $typeDefault,
			'media'		=> $media,
			'href'		=> $uri,
		);
		$this->links[]	= $styleData;
	}
public function addStylesheet( $uri, $media = "all", $type = NULL )
	{
		$typeDefault	= 'text/css';
		if( isset( $this->metaTags["http-equiv:content-style-type"] ) )
			$typeDefault	= $this->metaTags["http-equiv:content-style-type"]['content'];
		$styleData	= array(
			'rel'		=> "stylesheet",
			'type'		=> $type ? $type : $typeDefault,
			'media'		=> $media,
			'href'		=> $uri,
		);
		$this->links[]	= $styleData;
	}
public function addStylesheet ( $ uri , $ media = "all" , $ type = NULL ) { $ typeDefault = 'text/css' ; if ( isset ( $ this -> metaTags [ "http-equiv:content-style-type" ] ) ) $ typeDefault = $ this -> metaTags [ "http-equiv:content-style-type" ] [ 'content' ] ; $ styleData = array ( 'rel' => "stylesheet" , 'type' => $ type ? $ type : $ typeDefault , 'media' => $ media , 'href' => $ uri , ) ; $ this -> links [ ] = $ styleData ; }
Adds a Stylesheet Link to Head.
@access		public
@param		string		$uri			URI to CSS File
@param		string		$media			Media Type (all|screen|print|...), default: screen
@param		string		$type			Content Type, by default 'text/css'
@return		void
@see		http://www.w3.org/TR/html4/types.html#h-6.13
Adds a Stylesheet Link to Head .