Omeka_Navigation_Page_Uri
Package: Navigation
- class Omeka_Navigation_Page_Uri
extends Zend_Navigation_Page_Uri
Customized subclass of Zend Framework’s Zend_Navigation_Page_Uri class.
- Omeka_Navigation_Page_Uri::isActive($recursive = false)
Returns whether page should be considered active or not
- Parameters:
$recursive
- Returns:
bool whether page should be considered active
- Omeka_Navigation_Page_Uri::setHref($href)
Sets page href. It will parse the href and update the uri and fragment properties.
- Parameters:
$href
- Returns:
Omeka_Navigation_Page_Uri fluent interface, returns self
- Omeka_Navigation_Page_Uri::_normalizeHref($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