|
|
@@ -53,7 +53,7 @@ abstract class Zend_Navigation_Page extends Zend_Navigation_Container
|
|
|
*
|
|
|
* @var string|null
|
|
|
*/
|
|
|
- protected $_fragmentIdentifier;
|
|
|
+ protected $_fragment;
|
|
|
|
|
|
/**
|
|
|
* Page id
|
|
|
@@ -358,19 +358,19 @@ abstract class Zend_Navigation_Page extends Zend_Navigation_Container
|
|
|
/**
|
|
|
* Sets a fragment identifier
|
|
|
*
|
|
|
- * @param string $fragmentIdentifier new fragment identifier
|
|
|
+ * @param string $fragment new fragment identifier
|
|
|
* @return Zend_Navigation_Page fluent interface, returns self
|
|
|
* @throws Zend_Navigation_Exception if empty/no string is given
|
|
|
*/
|
|
|
- public function setFragmentIdentifier($fragmentIdentifier)
|
|
|
+ public function setFragment($fragment)
|
|
|
{
|
|
|
- if (null !== $fragmentIdentifier && !is_string($fragmentIdentifier)) {
|
|
|
+ if (null !== $fragment && !is_string($fragment)) {
|
|
|
require_once 'Zend/Navigation/Exception.php';
|
|
|
throw new Zend_Navigation_Exception(
|
|
|
- 'Invalid argument: $fragmentIdentifier must be a string or null');
|
|
|
+ 'Invalid argument: $fragment must be a string or null');
|
|
|
}
|
|
|
|
|
|
- $this->_fragmentIdentifier = $fragmentIdentifier;
|
|
|
+ $this->_fragment = $fragment;
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
@@ -379,9 +379,9 @@ abstract class Zend_Navigation_Page extends Zend_Navigation_Container
|
|
|
*
|
|
|
* @return string|null fragment identifier
|
|
|
*/
|
|
|
- public function getFragmentIdentifier()
|
|
|
+ public function getFragment()
|
|
|
{
|
|
|
- return $this->_fragmentIdentifier;
|
|
|
+ return $this->_fragment;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -1183,7 +1183,7 @@ abstract class Zend_Navigation_Page extends Zend_Navigation_Container
|
|
|
$this->getCustomProperties(),
|
|
|
array(
|
|
|
'label' => $this->getlabel(),
|
|
|
- 'fragmentIdentifier' => $this->getFragmentIdentifier(),
|
|
|
+ 'fragment' => $this->getFragment(),
|
|
|
'id' => $this->getId(),
|
|
|
'class' => $this->getClass(),
|
|
|
'title' => $this->getTitle(),
|