$this-requestAction() might help here
look in manual
Sam D
On 4/9/06, Alexey Baranovskiy [EMAIL PROTECTED] wrote:
I need to change requested action.
For example: User requested this url - www.domain.com/articles/edit/1,
but he isn't authorised. I need to change action edit to action
...
function beforeFilter() {
if (!$this-Permission-checkPermission($this-name, $this-action))
{
return $this-denied();
}
...
function denied()
{
}
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On 09-Apr-2006, at 17.48, Larry E. Masters aka PhpNut wrote:
function beforeFilter() {
if (!$this-Permission-checkPermission($this-name, $this-action))
{
return $this-denied();
}
Perhaps
function beforeFilter()
{
if (!$this-Permission-checkPermission($this-name, $this-
action)) {