see |
|
uses |
|
package |
Zend_View |
subpackage |
Helper |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_View_Helper_Placeholder_Container_Standalone |
Methods
$this appendAlternate($href, $type, $title, $extras)
() :
magic |
|
method |
$this appendAlternate($href, $type, $title, $extras) |
Returns
$this appendStylesheet($href, $media = 'screen', $conditionalStylesheet = false, array $extras = array())
() :
magic |
|
method |
$this appendStylesheet($href, $media = 'screen', $conditionalStylesheet = false, array $extras = array()) |
Returns
$this offsetSetAlternate($index, $href, $type, $title, $extras)
() :
magic |
|
method |
$this offsetSetAlternate($index, $href, $type, $title, $extras) |
Returns
$this offsetSetStylesheet($index, $href, $media = 'screen', $conditionalStylesheet = false, array $extras = array())
() :
magic |
|
method |
$this offsetSetStylesheet($index, $href, $media = 'screen', $conditionalStylesheet = false, array $extras = array()) |
Returns
$this prependAlternate($href, $type, $title, $extras)
() :
magic |
|
method |
$this prependAlternate($href, $type, $title, $extras) |
Returns
$this prependStylesheet($href, $media = 'screen', $conditionalStylesheet = false, array $extras = array())
() :
magic |
|
method |
$this prependStylesheet($href, $media = 'screen', $conditionalStylesheet = false, array $extras = array()) |
Returns
$this setAlternate($href, $type, $title, $extras)
() :
magic |
|
method |
$this setAlternate($href, $type, $title, $extras) |
Returns
$this setStylesheet($href, $media = 'screen', $conditionalStylesheet = false, array $extras = array())
() :
magic |
|
method |
$this setStylesheet($href, $media = 'screen', $conditionalStylesheet = false, array $extras = array()) |
Returns
Overload method access
__call(mixed $method, mixed $args) : void
Creates the following virtual methods:
- appendStylesheet($href, $media, $conditionalStylesheet, $extras)
- offsetSetStylesheet($index, $href, $media, $conditionalStylesheet, $extras)
- prependStylesheet($href, $media, $conditionalStylesheet, $extras)
- setStylesheet($href, $media, $conditionalStylesheet, $extras)
- appendAlternate($href, $type, $title, $extras)
- offsetSetAlternate($index, $href, $type, $title, $extras)
- prependAlternate($href, $type, $title, $extras)
- setAlternate($href, $type, $title, $extras)
Items that may be added in the future:
- Navigation? need to find docs on this
- public function appendStart()
- public function appendContents()
- public function appendPrev()
- public function appendNext()
- public function appendIndex()
- public function appendEnd()
- public function appendGlossary()
- public function appendAppendix()
- public function appendHelp()
- public function appendBookmark()
- Other?
- public function appendCopyright()
- public function appendChapter()
- public function appendSection()
- public function appendSubsection()
inherited_from |
\Zend_View_Helper_Placeholder_Container_Standalone::__call() |
Parameters
$method
mixed
$args
mixed
Overload
__call(string $method, array $args) : mixed
Inherited
Proxy to container methods
Parameters
$method
string
$args
array
Returns
mixed
Constructor
__construct() : void
inherited_from |
\Zend_View_Helper_Placeholder_Container_Standalone::__construct() |
Constructor
__construct() : void
Inherited
Overloading: retrieve property
__get(string $key) : mixed
Inherited
Parameters
$key
string
Returns
mixed
Overloading: check if property is set
__isset(string $key) : boolean
Inherited
Parameters
$key
string
Returns
boolean
Overloading: set property value
__set(string $key, mixed $value) : void
Inherited
Parameters
$key
string
$value
mixed
Cast to string representation
__toString() : string
Inherited
Overloading: unset property
__unset(string $key) : void
Inherited
append()
append(array $value) : void
Countable
count() : integer
Inherited
Create data item for stack
createData(array $attributes) : \stdClass
Parameters
$attributes
array
Returns
\stdClass
Create item for alternate link item
createDataAlternate(array $args) : \stdClass
Parameters
$args
array
Returns
\stdClass
Create item for stylesheet link item
createDataStylesheet(array $args) : \stdClass | false
Parameters
$args
array
Returns
\stdClass
false
Returns fals if stylesheet is a duplicate
Strategy pattern: currently unutilized
direct() : void
Inherited
inherited_from |
\Zend_View_Helper_Interface::direct() |
Return whether autoEscaping is enabled or disabled
getAutoEscape()
Inherited
Retrieve placeholder container
getContainer() : \Zend_View_Helper_Placeholder_Container_Abstract
Inherited
Returns
\Zend_View_Helper_Placeholder_Container_Abstract
IteratorAggregate: get Iterator
getIterator() : \Iterator
Inherited
Retrieve registry
getRegistry() : \Zend_View_Helper_Placeholder_Registry
Inherited
Returns
\Zend_View_Helper_Placeholder_Registry
headLink() - View Helper Method
headLink(array $attributes = null
, $placement = \Zend_View_Helper_Placeholder_Container_Abstract::APPEND
) : \Zend_View_Helper_HeadLink
Returns current object instance. Optionally, allows passing array of
values to build link.
Parameters
$attributes
$placement
Returns
\Zend_View_Helper_HeadLink
Create HTML link element from data item
itemToString(\stdClass $item) : string
Parameters
$item
\stdClass
Returns
string
ArrayAccess: offsetExists
offsetExists(string|integer $offset) : boolean
Inherited
Parameters
$offset
string
integer
Returns
boolean
ArrayAccess: offsetGet
offsetGet(string|integer $offset) : mixed
Inherited
Parameters
$offset
string
integer
Returns
mixed
offsetSet()
offsetSet(string|integer $index, array $value) : void
inherited_from |
\Zend_View_Helper_Placeholder_Container_Standalone::offsetSet() |
Parameters
$index
string
integer
$value
array
ArrayAccess: offsetSet
offsetSet(string|integer $offset, mixed $value) : void
Inherited
Parameters
$offset
string
integer
$value
mixed
ArrayAccess: offsetUnset
offsetUnset(string|integer $offset) : void
Inherited
Parameters
$offset
string
integer
prepend()
prepend(array $value) : \Zend_Layout_ViewHelper_HeadLink
Parameters
$value
array
Returns
\Zend_Layout_ViewHelper_HeadLink
set()
set(array $value) : \Zend_Layout_ViewHelper_HeadLink
Parameters
$value
array
Returns
\Zend_Layout_ViewHelper_HeadLink
Set whether or not auto escaping should be used
setAutoEscape(boolean $autoEscape = true
) : \Zend_View_Helper_Placeholder_Container_Standalone
Inherited
Parameters
$autoEscape
boolean
whether or not to auto escape output
Returns
\Zend_View_Helper_Placeholder_Container_Standalone
Set container on which to operate
setContainer(\Zend_View_Helper_Placeholder_Container_Abstract $container) : \Zend_View_Helper_Placeholder_Container_Standalone
Inherited
Parameters
$container
\Zend_View_Helper_Placeholder_Container_Abstract
Returns
\Zend_View_Helper_Placeholder_Container_Standalone
Set registry object
setRegistry(\Zend_View_Helper_Placeholder_Registry $registry) : \Zend_View_Helper_Placeholder_Container_Standalone
Inherited
Parameters
$registry
\Zend_View_Helper_Placeholder_Registry
Returns
\Zend_View_Helper_Placeholder_Container_Standalone
Set the View object
setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from |
\Zend_View_Helper_Interface::setView() |
Parameters
$view
\Zend_View_Interface
Returns
\Zend_View_Helper_Abstract
Render link elements as string
toString(string|integer $indent = null
) : string
inherited_from |
\Zend_View_Helper_Placeholder_Container_Standalone::toString() |
Parameters
$indent
string
integer
Returns
string
String representation
toString() : string
Inherited
Escape a string
_escape(string $string) : string
Inherited
Parameters
$string
string
Returns
string
Is the linked stylesheet a duplicate?
_isDuplicateStylesheet(string $uri) : boolean
Parameters
$uri
string
Returns
boolean
Check if value is valid
_isValid(mixed $value) : boolean
Parameters
$value
mixed
Returns
boolean
Properties
View object
$view : \Zend_View_Interface
Flag wheter to automatically escape output, must also be
enforced in the child class if __toString/toString is overriden
$_autoEscape : \book
$_container
$_container : \Zend_View_Helper_Placeholder_Container_Abstract
$_validAttributes
$_itemKeys : array
Default
array('charset', 'href', 'hreflang', 'id', 'media', 'rel', 'rev', 'type', 'title', 'extras', 'sizes')
Registry key under which container registers itself
$_regKey : string
Default
'Zend_View_Helper_HeadLink'
inherited_from |
\Zend_View_Helper_Placeholder_Container_Standalone::_regKey |
Registry key under which container registers itself
$_regKey : string
$_registry
$_registry : \Zend_View_Helper_Placeholder_Registry