Add getter methods for original and action to the Page object. (#2005)

This commit is contained in:
Hydraner
2018-06-08 23:37:44 +02:00
committed by Andy Miller
parent f883820c6a
commit ab58cca3f7

View File

@@ -2955,4 +2955,26 @@ class Page
return $route;
}
}
/**
* Gets the Page Unmodified (original) version of the page.
*
* @return Page
* The original version of the page.
*/
public function getOriginal()
{
return $this->_original;
}
/**
* Gets the action.
*
* @return string
* The Action string.
*/
public function getAction()
{
return $this->_action;
}
}