Zend_Navigation_PageBase class for Zend_Navigation_Page pages
Located in /Navigation/Page.php (line 35)
Zend_Navigation_Container | --Zend_Navigation_Page
| Class | Description |
|---|---|
Zend_Navigation_Page_Uri
|
Represents a page that is defined by specifying a URI |
Zend_Navigation_Page_Mvc
|
Represents a page that is defined using module, controller, action, route name and route params to assemble the href |
bool
$_active
= false (line 116)
Whether this page should be considered active
string|null
$_class
(line 56)
Style class for this page (CSS)
string|null
$_id
(line 49)
Page id
string|null
$_label
(line 42)
Page label
int|null
$_order
(line 95)
Page order used by parent container
Zend_Navigation_Container|null
$_parent
(line 130)
Parent container
string|null
$_privilege
(line 109)
ACL privilege associated with this page
array
$_properties
= array() (line 137)
Custom page properties, used by __set(), __get() and __isset()
array
$_rel
= array() (line 79)
Forward links to other pages
string|Zend_Acl_Resource_Interface|null
$_resource
(line 102)
ACL resource associated with this page
array
$_rev
= array() (line 88)
Reverse links to other pages
string|null
$_target
(line 70)
This page's target
string|null
$_title
(line 63)
A more descriptive title for this page
bool
$_visible
= true (line 123)
Whether this page should be considered visible
Inherited from Zend_Navigation_Container
Zend_Navigation_Container::$_dirtyIndex
Zend_Navigation_Container::$_index
Zend_Navigation_Container::$_pages
static factory (line 170)
Factory for Zend_Navigation_Page classes
A specific type to construct can be specified by specifying the key 'type' in $options. If type is 'uri' or 'mvc', the type will be resolved to Zend_Navigation_Page_Uri or Zend_Navigation_Page_Mvc. Any other value for 'type' will be considered the full name of the class to construct. A valid custom page class must extend Zend_Navigation_Page.
If 'type' is not given, the type of page to construct will be determined by the following rules:
static _normalizePropertyName (line 1106)
Normalizes a property name
Constructor __construct (line 235)
Page constructor
addRel (line 977)
Adds a forward relation to the page
addRev (line 993)
Adds a reverse relation to the page
get (line 859)
Returns the value of the given property
If the given property is native (id, class, title, etc), the matching get method will be used. Otherwise, it will return the matching custom property, or null if not found.
getActive (line 717)
Proxy to isActive()
getClass (line 376)
Returns page class (CSS)
getCustomProperties (line 1056)
Returns custom properties as an array
getDefinedRel (line 1036)
Returns an array containing the defined forward relations
getDefinedRev (line 1046)
Returns an array containing the defined reverse relations
getHref (line 1118)
Returns href for this page
getId (line 346)
Returns page id
getLabel (line 315)
Returns page label
getOrder (line 607)
Returns page order used in parent container
getPrivilege (line 669)
Returns ACL privilege associated with this page
getRel (line 493)
Returns the page's forward links to other pages
This method returns an associative array of forward links to other pages, where each element's key is the name of the relation (e.g. alternate, prev, next, help, etc), and the value is a mixed value that could somehow be considered a page.
getResource (line 645)
Returns ACL resource assoicated with this page
getRev (line 556)
Returns the page's reverse links to other pages
This method returns an associative array of forward links to other pages, where each element's key is the name of the relation (e.g. alternate, prev, next, help, etc), and the value is a mixed value that could somehow be considered a page.
getTarget (line 436)
Returns page target
getTitle (line 406)
Returns page title
getVisible (line 765)
Proxy to isVisible()
Returns a boolean value indicating whether the page is visible
hashCode (line 1066)
Returns a hash code value for the page
isActive (line 695)
Returns whether page should be considered active or not
isVisible (line 743)
Returns a boolean value indicating whether the page is visible
removeRel (line 1007)
Removes a forward relation from the page
removeRev (line 1022)
Removes a reverse relation from the page
set (line 828)
Sets the given property
If the given property is native (id, class, title, etc), the matching set method will be used. Otherwise, it will be set as a custom property.
setActive (line 681)
Sets whether page should be considered active or not
setClass (line 359)
Sets page CSS class
setConfig (line 263)
Sets page properties using a Zend_Config object
setId (line 328)
Sets page id
setLabel (line 298)
Sets page label
setOptions (line 280)
Sets page properties using options from an associative array
Each key in the array corresponds to the according set*() method, and each word is separated by underscores, e.g. the option 'target' corresponds to setTarget(), and the option 'reset_params' corresponds to the method setResetParams().
setOrder (line 576)
Sets page order to use in parent container
setParent (line 778)
Sets parent container
setPrivilege (line 658)
Sets ACL privilege associated with this page
setRel (line 453)
Sets the page's forward links to other pages
This method expects an associative array of forward links to other pages, where each element's key is the name of the relation (e.g. alternate, prev, next, help, etc), and the value is a mixed value that could somehow be considered a page.
setResource (line 625)
Sets ACL resource assoicated with this page
setRev (line 516)
Sets the page's reverse links to other pages
This method expects an associative array of reverse links to other pages, where each element's key is the name of the relation (e.g. alternate, prev, next, help, etc), and the value is a mixed value that could somehow be considered a page.
setTarget (line 419)
Sets page target
setTitle (line 389)
Sets page title
setVisible (line 729)
Sets whether the page should be visible or not
toArray (line 1076)
Returns an array representation of the page
_init (line 252)
Initializes page (used by subclasses)
__get (line 904)
Returns a property, or null if it doesn't exist
Magic overload for enabling
__isset (line 921)
Checks if a property is set
Magic overload for enabling
Returns true if the property is native (id, class, title, etc), and true or false if it's a custom property (depending on whether the property actually is set).
__set (line 890)
Sets a custom property
Magic overload for enabling
__toString (line 962)
Returns page label
Magic overload for enabling
__unset (line 940)
Unsets the given custom property
Magic overload for enabling
Inherited From Zend_Navigation_Container
Zend_Navigation_Container::addPage()
Zend_Navigation_Container::addPages()
Zend_Navigation_Container::count()
Zend_Navigation_Container::current()
Zend_Navigation_Container::findAllBy()
Zend_Navigation_Container::findBy()
Zend_Navigation_Container::findOneBy()
Zend_Navigation_Container::getChildren()
Zend_Navigation_Container::getPages()
Zend_Navigation_Container::hasChildren()
Zend_Navigation_Container::hasPage()
Zend_Navigation_Container::hasPages()
Zend_Navigation_Container::key()
Zend_Navigation_Container::next()
Zend_Navigation_Container::notifyOrderUpdated()
Zend_Navigation_Container::removePage()
Zend_Navigation_Container::removePages()
Zend_Navigation_Container::rewind()
Zend_Navigation_Container::setPages()
Zend_Navigation_Container::toArray()
Zend_Navigation_Container::valid()
Zend_Navigation_Container::_sort()
Zend_Navigation_Container::__call()
Documentation generated on Mon, 21 Jun 2010 15:37:10 -0400 by phpDocumentor 1.4.3