

appendProperty($property, $content, $modifiers).The following methods are also supported with XHTML1_RDFA doctype set with the Doctype helper: setHttpEquiv($keyValue, $content, $modifiers).prependHttpEquiv($keyValue, $content, $conditionalHttpEquiv).offsetSetHttpEquiv($index, $keyValue, $content, $conditionalHttpEquiv).appendHttpEquiv($keyValue, $content, $conditionalHttpEquiv).setName($keyValue, $content, $modifiers).prependName($keyValue, $content, $conditionalName).offsetSetName($index, $keyValue, $content, $conditionalName).appendName($keyValue, $content, $conditionalName).The HeadMeta helper supports the following methods for setting and adding meta tags: Meta tags may be either of the ‘http-equiv’ or ‘name’ types, mustĬontain a ‘content’ attribute, and can also have either of the ‘lang’ or ‘scheme’ modifier attributes. The HTML element is used to provide meta information about your HTML document – typically keywords,ĭocument character set, caching pragmas, etc. In your layout script, in the section, you will Typically, you will specify global links in your layout script, andĪpplication specific links in your application view scripts. The HeadLink helper is a concrete implementation of the Placeholder helper. You to also specify placement – whether the new element replaces all others, prepends (top of stack), or appends The headLink() helper method allows specifying all attributes necessary for a element, and allows setAlternate($href, $type, $title, $extras).prependAlternate($href, $type, $title, $extras).offsetSetAlternate($index, $href, $type, $title, $extras).appendAlternate($href, $type, $title, $extras).$extras is an array of any extra values that you wantĪdditionally, the HeadLink helper has special methods for adding ‘alternate’ links to its stack: Prevent loading of the stylesheet on certain platforms. Or boolean FALSE, and will be used at rendering time to determine if special comments should be included to The $media value defaults to ‘screen’, but may be any valid media value. setStylesheet($href, $media, $conditionalStylesheet, $extras).offsetSetStylesheet($index, $href, $media, $conditionalStylesheet, $extras).appendStylesheet($href, $media, $conditionalStylesheet, $extras).The HeadLink helper has special methods for adding stylesheet links to its stack:

The HeadLink helper provides a simple interface for creating andĪggregating these elements for later retrieval and output in your layout script. The HTML element is increasingly used for linking a variety of resources for your site: stylesheets,įeeds, favicons, trackbacks, and more.
