public function getRequestedAction($default = 'index')
	{
		if (property_exists($this, 'app') && is_object($this->app) && property_exists($this->app, 'action')) {
			return $this->app->action;
		} else {
			return $default;
		}
	}
public function getRequestedAction($default = 'index')
	{
		if (property_exists($this, 'app') && is_object($this->app) && property_exists($this->app, 'action')) {
			return $this->app->action;
		} else {
			return $default;
		}
	}
public function getRequestedAction ( $ default = 'index' ) { if ( property_exists ( $ this , 'app' ) && is_object ( $ this -> app ) && property_exists ( $ this -> app , 'action' ) ) { return $ this -> app -> action ; } else { return $ default ; } }
Which action was requested?

@param string $default
@return string
Which action was requested?