Html Head
It manage the <head> of html page
Located in /sylar/classes/presentation/html/HtmlHead.php (line 42)
Sylar_Format | --Sylar_Html | --Sylar_HtmlHead
Prepare <SCRIPT> Html tag from Application default repository it prepare the statment that includes js in html <script SRC='...'>...
The statment will be saved in the object. An example of statment is: <script src="app/javascript/mainGiano.js" type="text/javascript" charset="UTF-8"></script>
Prepare and store <Style> to include Application css It prepares and stores in the object the html tag needed to include a CSS file.
For example: <link rel="stylesheet" href="/app/layouts/default/css/mainGiano.css" type="text/css" charset="UTF-8">
it prepares floating JS script.
it prepares and stores in the object a js script to include between the tag <SCRIPT>. For example: <script> var i=100; for (j=0; j<i; j++){ etc... </script>
Prepare and store floating <Style>
It's used to include a style directly in the html page, for example: <style type="text/css" media="all"> #one { width: 981px; } #two { width: 9px; } </style>
Prepare <META> html Tag
it prepares and store in the object the tag HTML <META> with attributes value passed as parameters. Results is something like: <meta http-equiv="pragma" content="no-cache"> <meta name="Author" content="pippo">
Prepare <SCRIPT> Html tag from Sylar default repository it prepare the statment that includes js in html <script SRC='...'>...
The statment will be saved in the object. An example of statment is: <script src="sylar/javascript/mainGiano.js" type="text/javascript" charset="UTF-8"></script>
Prepare and store <Style> to include Sylar css It prepares and stores in the object the html tag needed to include a CSS file.
For example: <link rel="stylesheet" href="/sylar/layouts/default/css/mainGiano.css" type="text/css" charset="UTF-8">
return the Html source it return html code of entire object
Render <HEAD> html Tag using all information stored in the object, this method render and returns the <HEAD> html tag in a string.
Set the Title of HTML Page included html tag <TITLE>
Inherited From Sylar_Html
Sylar_Html::__construct()
Sylar_Html::fillTagAttributes()
Sylar_Html::__destruct()
Inherited From Sylar_Format
Sylar_Format::__construct()
Sylar_Format::__destruct()
Documentation generated on Thu, 24 Apr 2008 16:14:15 +0200 by phpDocumentor 1.3.0RC3