Zend_View_Helper_Navigation_LinksHelper for printing <link> elements
Located in /View/Helper/Navigation/Links.php (line 37)
Zend_View_Helper_Abstract | --Zend_View_Helper_HtmlElement | --Zend_View_Helper_Navigation_HelperAbstract | --Zend_View_Helper_Navigation_Links
static array
$_RELATIONS
= array(Maps render constants to W3C link types
int
$_renderFlag
= self::RENDER_ALL (line 94)
The helper's render flag
Zend_Navigation_Container
$_root
(line 106)
Root container
Used for preventing methods to traverse above the container given to the render() method.
Inherited from Zend_View_Helper_Navigation_HelperAbstract
Zend_View_Helper_Navigation_HelperAbstract::$_acl
Zend_View_Helper_Navigation_HelperAbstract::$_container
Zend_View_Helper_Navigation_HelperAbstract::$_defaultAcl
Zend_View_Helper_Navigation_HelperAbstract::$_defaultRole
Zend_View_Helper_Navigation_HelperAbstract::$_indent
Zend_View_Helper_Navigation_HelperAbstract::$_maxDepth
Zend_View_Helper_Navigation_HelperAbstract::$_minDepth
Zend_View_Helper_Navigation_HelperAbstract::$_renderInvisible
Zend_View_Helper_Navigation_HelperAbstract::$_role
Zend_View_Helper_Navigation_HelperAbstract::$_translator
Zend_View_Helper_Navigation_HelperAbstract::$_useAcl
Zend_View_Helper_Navigation_HelperAbstract::$_useTranslator
Inherited from Zend_View_Helper_HtmlElement
Zend_View_Helper_HtmlElement::$_closingBracket
Inherited from Zend_View_Helper_Abstract
Zend_View_Helper_Abstract::$view
findAllRelations (line 225)
Finds all relations (forward and reverse) for the given $page
The form of the returned array:
findRelation (line 270)
Finds relations of the given $rel=$type from $page
This method will first look for relations in the page instance, then by searching the root container if nothing was found in the page.
getRenderFlag (line 195)
Returns the helper's render flag
links (line 117)
View helper entry point: Retrieves helper and optionally sets container to operate on
render (line 750)
Renders helper
Implements Zend_View_Helper_Navigation_Helper::render().
renderLink (line 709)
Renders the given $page as a link element, with $attrib = $relation
searchRelChapter (line 446)
Searches the root container for forward 'chapter' relations of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to a document serving as a chapter in a collection of documents.
searchRelNext (line 381)
Searches the root container for the forward 'next' relation of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to the next document in a linear sequence of documents. User agents may choose to preload the "next" document, to reduce the perceived load time.
searchRelPrev (line 414)
Searches the root container for the forward 'prev' relation of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to the previous document in an ordered series of documents. Some user agents also support the synonym "Previous".
searchRelSection (line 488)
Searches the root container for forward 'section' relations of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to a document serving as a section in a collection of documents.
searchRelStart (line 354)
Searches the root container for the forward 'start' relation of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to the first document in a collection of documents. This link type tells search engines which document is considered by the author to be the starting point of the collection.
searchRelSubsection (line 522)
Searches the root container for forward 'subsection' relations of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to a document serving as a subsection in a collection of documents.
searchRevSection (line 560)
Searches the root container for the reverse 'section' relation of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to a document serving as a section in a collection of documents.
searchRevSubsection (line 585)
Searches the root container for the reverse 'section' relation of the given $page
From http://www.w3.org/TR/html4/types.html#type-links: Refers to a document serving as a subsection in a collection of documents.
setRenderFlag (line 184)
Sets the helper's render flag
The helper uses the bitwise '&' operator against the hex values of the render constants. This means that the flag can is "bitwised" value of the render constants. Examples:
Note that custom relations can also be rendered directly using the renderLink() method.
_convertToPages (line 645)
Converts a $mixed value to an array of pages
_findFromProperty (line 297)
Finds relations of given $type for $page by checking if the relation is specified as a property of $page
_findFromSearch (line 328)
Finds relations of given $rel=$type for $page by using the helper to search for the relation in the root container
_findRoot (line 617)
Returns the root container of the given page
When rendering a container, the render method still store the given container as the root container, and unset it when done rendering. This makes sure finder methods will not traverse above the container given to the render method.
__call (line 141)
Magic overload: Proxy calls to findRelation() or container
Examples of finder calls:
Inherited From Zend_View_Helper_Navigation_HelperAbstract
Zend_View_Helper_Navigation_HelperAbstract::accept()
Zend_View_Helper_Navigation_HelperAbstract::findActive()
Zend_View_Helper_Navigation_HelperAbstract::getAcl()
Zend_View_Helper_Navigation_HelperAbstract::getContainer()
Zend_View_Helper_Navigation_HelperAbstract::getIndent()
Zend_View_Helper_Navigation_HelperAbstract::getMaxDepth()
Zend_View_Helper_Navigation_HelperAbstract::getMinDepth()
Zend_View_Helper_Navigation_HelperAbstract::getRenderInvisible()
Zend_View_Helper_Navigation_HelperAbstract::getRole()
Zend_View_Helper_Navigation_HelperAbstract::getTranslator()
Zend_View_Helper_Navigation_HelperAbstract::getUseAcl()
Zend_View_Helper_Navigation_HelperAbstract::getUseTranslator()
Zend_View_Helper_Navigation_HelperAbstract::hasAcl()
Zend_View_Helper_Navigation_HelperAbstract::hasContainer()
Zend_View_Helper_Navigation_HelperAbstract::hasRole()
Zend_View_Helper_Navigation_HelperAbstract::hasTranslator()
Zend_View_Helper_Navigation_HelperAbstract::htmlify()
Zend_View_Helper_Navigation_HelperAbstract::setAcl()
Zend_View_Helper_Navigation_HelperAbstract::setContainer()
Zend_View_Helper_Navigation_HelperAbstract::setDefaultAcl()
Zend_View_Helper_Navigation_HelperAbstract::setDefaultRole()
Zend_View_Helper_Navigation_HelperAbstract::setIndent()
Zend_View_Helper_Navigation_HelperAbstract::setMaxDepth()
Zend_View_Helper_Navigation_HelperAbstract::setMinDepth()
Zend_View_Helper_Navigation_HelperAbstract::setRenderInvisible()
Zend_View_Helper_Navigation_HelperAbstract::setRole()
Zend_View_Helper_Navigation_HelperAbstract::setTranslator()
Zend_View_Helper_Navigation_HelperAbstract::setUseAcl()
Zend_View_Helper_Navigation_HelperAbstract::setUseTranslator()
Zend_View_Helper_Navigation_HelperAbstract::_acceptAcl()
Zend_View_Helper_Navigation_HelperAbstract::_getWhitespace()
Zend_View_Helper_Navigation_HelperAbstract::_htmlAttribs()
Zend_View_Helper_Navigation_HelperAbstract::_normalizeId()
Zend_View_Helper_Navigation_HelperAbstract::__call()
Zend_View_Helper_Navigation_HelperAbstract::__toString()
Inherited From Zend_View_Helper_HtmlElement
Zend_View_Helper_HtmlElement::getClosingBracket()
Zend_View_Helper_HtmlElement::_htmlAttribs()
Zend_View_Helper_HtmlElement::_isXhtml()
Zend_View_Helper_HtmlElement::_normalizeId()
Inherited From Zend_View_Helper_Abstract
Zend_View_Helper_Abstract::direct()
Zend_View_Helper_Abstract::setView()
RENDER_ALL
= 0xffff
(line 61)
Constants used for specifying which link types to find and render
RENDER_ALTERNATE
= 0x0001
(line 45)
Constants used for specifying which link types to find and render
RENDER_APPENDIX
= 0x1000
(line 57)
Constants used for specifying which link types to find and render
RENDER_BOOKMARK
= 0x4000
(line 59)
Constants used for specifying which link types to find and render
RENDER_CHAPTER
= 0x0200
(line 54)
Constants used for specifying which link types to find and render
RENDER_CONTENTS
= 0x0020
(line 50)
Constants used for specifying which link types to find and render
RENDER_COPYRIGHT
= 0x0100
(line 53)
Constants used for specifying which link types to find and render
RENDER_CUSTOM
= 0x8000
(line 60)
Constants used for specifying which link types to find and render
RENDER_GLOSSARY
= 0x0080
(line 52)
Constants used for specifying which link types to find and render
RENDER_HELP
= 0x2000
(line 58)
Constants used for specifying which link types to find and render
RENDER_INDEX
= 0x0040
(line 51)
Constants used for specifying which link types to find and render
RENDER_NEXT
= 0x0008
(line 48)
Constants used for specifying which link types to find and render
RENDER_PREV
= 0x0010
(line 49)
Constants used for specifying which link types to find and render
RENDER_SECTION
= 0x0400
(line 55)
Constants used for specifying which link types to find and render
RENDER_START
= 0x0004
(line 47)
Constants used for specifying which link types to find and render
RENDER_STYLESHEET
= 0x0002
(line 46)
Constants used for specifying which link types to find and render
RENDER_SUBSECTION
= 0x0800
(line 56)
Constants used for specifying which link types to find and render
Inherited from Zend_View_Helper_HtmlElement
Zend_View_Helper_HtmlElement::EOL
Documentation generated on Mon, 21 Jun 2010 15:31:07 -0400 by phpDocumentor 1.4.3