Overview

Namespaces

  • RM
    • AssetsCollector
      • Compilers

Classes

  • AssetsCollector
  • Header
  • Overview
  • Namespace
  • Class
  • Tree

Class Header

Header This renderable component is ultimate solution for valid and complete HTML headers.

Nette\Application\UI\Control
Extended by RM\Header
Namespace: RM
Package: Header
Copyright: (c) Ondřej Mirtes 2009, 2010
Copyright: (c) Roman Mátyus 2012
License: MIT
Author: Ondřej Mirtes
Located at Header.php
Methods summary
public
# __construct( RM\IComponentContainer $parent = NULL, mixed $name = NULL )
public
# setDocType( mixed $docType )
public
# getDocType( )
public
# isXml( )
public
# setLanguage( mixed $language )
public
# getLanguage( )
public
# setTitle( mixed $title )
public
# getTitle( mixed $index = 0 )
public
# addTitle( mixed $title )
public
# getTitles( )
public
# setTitleSeparator( mixed $separator )
public
# getTitleSeparator( )
public
# setTitlesReverseOrder( mixed $reverseOrder )
public
# isTitlesOrderReversed( )
public
# getTitleString( )
public
# addRssChannel( mixed $title, mixed $link )
public
# getRssChannels( )
public
# setContentType( mixed $contentType, mixed $force = FALSE )
public
# getContentType( )
public
# isContentTypeForced( )
public
# setFavicon( mixed $filename )
public
# getFavicon( )
public
# setMetaTag( mixed $name, mixed $value )
public
# getMetaTag( mixed $name )
public
# getMetaTags( )
public
# setAuthor( mixed $author )
public
# getAuthor( )
public
# setDescription( mixed $description )
public
# getDescription( )
public
# addKeywords( mixed $keywords )
public
# getKeywords( )
public
# setRobots( mixed $robots )
public
# getRobots( )
public
# setHtmlTag( Nette\Utils\Html $htmlTag )
public
# getHtmlTag( )
public
# render( )
public
# renderCss( )
public
# renderJs( )
public
# renderBegin( )
public
# renderEnd( )
public
# renderRss( mixed $channels = NULL )
public this
# addCss( file $file )

Add CSS files to header. Using \RM\AssetsCollector

Add CSS files to header. Using \RM\AssetsCollector

Parameters

$file
file
string|array

Returns

this
public this
# addJs( file $file )

Add JS files to header. Using \RM\AssetsCollector

Add JS files to header. Using \RM\AssetsCollector

Parameters

$file
file
string|array

Returns

this
public this
# addCssContent( content $content )

Add CSS files to header from plain entry. Using \RM\AssetsCollector

Add CSS files to header from plain entry. Using \RM\AssetsCollector

Parameters

$content
content
string

Returns

this
public this
# addJsContent( content $content )

Add JS files to header from plain entry. Using \RM\AssetsCollector

Add JS files to header from plain entry. Using \RM\AssetsCollector

Parameters

$content
content
string

Returns

this
public
# setAssetsCollector( RM\AssetsCollector $assetsCollector )
public
# injectAssetsCollector( RM\AssetsCollector $assetsCollector )
Constants summary
string HTML_4 RM\Header::HTML_4_STRICT
#

doctypes

doctypes

string HTML_4_STRICT 'html4_strict'
#
string HTML_4_TRANSITIONAL 'html4_transitional'
#
string HTML_4_FRAMESET 'html4_frameset'
#
string HTML_5 'html5'
#
string XHTML_1 RM\Header::XHTML_1_STRICT
#
string XHTML_1_STRICT 'xhtml1_strict'
#
string XHTML_1_TRANSITIONAL 'xhtml1_transitional'
#
string XHTML_1_FRAMESET 'xhtml1_frameset'
#
string CZECH 'cs'
#

languages

languages

string SLOVAK 'sk'
#
string ENGLISH 'en'
#
string GERMAN 'de'
#
string TEXT_HTML 'text/html'
#

content types

content types

string APPLICATION_XHTML 'application/xhtml+xml'
#
API documentation generated by ApiGen 2.8.0