Methods
All methods in the Solar_View_Helper_Head class.
Public
-
__construct() -
Constructor.
-
__destruct() -
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
addLink() -
Adds a <link> tag.
-
addMeta() -
Adds a <meta> tag.
-
addMetaHttp() -
Adds a
<meta http-equiv="" content="">tag. -
addMetaName() -
Adds a
<meta name="" content="">tag. -
addScript() -
Adds a <script> tag as part of the "additional" (override) scripts.
-
addScriptBase() -
Adds a <script> tag as part of the "baseline" (foundation) scripts.
-
addScriptInline() -
Adds a <script> tag with inline code.
-
addStyle() -
Adds a <link> tag as part of the "additional" (override) styles.
-
addStyleBase() -
Adds a <link> tag as part of the "baseline" (foundation) styles.
-
addTitle() -
Appends to the end of the current <title> string.
-
dump() -
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
fetch() -
Builds and returns all the tags for the <head> section.
-
getTitle() -
Returns the current title string.
-
head() -
Main helper method; fluent interface.
-
locale() -
Looks up class-specific locale strings based on a key.
-
preTitle() -
Prepends to the beginning of the current <title> string.
-
setBase() -
Sets the <base> URI string.
-
setIndent() -
Sets the indent string.
-
setTitle() -
Sets the <title> string.
-
setTitleRaw() -
Turn off/on escaping for the title.
Protected
-
_buildConfig() -
Builds and returns the default config for a class, including all configs inherited from its parents.
-
_exception() -
Convenience method for returning exceptions with localized text.
-
_fetchScriptInline() -
Support method to fetch inline scripts; child classes may wish to override this to wrap in a library-specific "when document is ready" logic.
-
_postConfig() -
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct() -
Post-construction tasks to complete object construction.
-
_preConfig() -
A hook that activates before _buildConfig() in the constructor.
Private
None.