Omeka_Navigation_Page_Uri¶
- class Omeka_Navigation_Page_Uri¶
Package: Navigation
Customized subclass of Zend Framework’s Zend_Navigation_Page_Uri class.
- isActive($recursive =)¶
Returns whether page should be considered active or not
Parameters: - $recursive (unknown) –
Returns: bool whether page should be considered active
- setHref($href)¶
Sets page href. It will parse the href and update the uri and fragment properties.
Parameters: - $href (unknown) –
Returns: Omeka_Navigation_Page_Uri fluent interface, returns self
- _normalizeHref(String $href)¶
Normalizes a string href for a navigation page and returns an array with the following keys: ‘uri’ => the uri of the href. ‘fragment’ => the fragment of the href If the $href is a relative path, then it must be a root path. If the $href is a relative path then the value for the ‘uri’ key will be a relative path. If $href is an invalid uri, then return null.
Parameters: - $href (String) –
Returns: array