Push step-stack

@param   string $action
@return  \Grid\Core\Controller\AbstractWizardController
164956
protected function pushStepStack( $step )
    {
        $store = $this->getStore();
        $stack = $store['stack'];
        array_push( $stack, (string) $step );
        $store['stack'] = $stack;
        return $this;
    }
511579
public function RelativeLink($action = null)
    {
        return Controller::join_links(
            Director::baseURL(),
            $this->Link($action)
        );
    }
1315860
public function Link($action = null)
    {
        if (!$action) {
            $action = $this->sanitiseClassName($this->modelClass);
        }
        return parent::Link($action);
    }
1094752
public function withAction(string $action): self
    {
        $this->action = AuditActionEnum::ensureValid($action);
        return $this;
    }
353618
public function doAction($action)
    {
        $controller = $this->getOption('hooks-controller');
        $instance = $this->getControllerInstance($controller);

        if (is_object($instance) && method_exists($instance, $action)) {
            $response = call_user_func([$instance, $action]);
        }

        $this->setAction('');

        return isset($response);
    }
644077
protected function createView($action='view')
    {
        $controller = \Staq\Util::getStackSubQuery($this);
        $view = (new \Stack\View)->byName($action, $controller);
        $view['controller'] = $controller;
        $view['controllerAction'] = $action;
        return $view;
    }
584485
public function forward($action)
    {
        if (is_string($action)) {
            $parts = explode('/', ltrim($action, '/'));
            if (count($parts) == 1) {
                array_unshift($parts, $this->dispatcher->getControllerName());
            }
            $action = array('controller' => $parts[0], 'action' => $parts[1]);
        }
        return $this->dispatcher->forward($action);
    }
1180695
public function setAction($action)
    {
        if (!is_string($action) && !is_callable($action)) {
            throw new \LogicException(sprintf('Route action given "%s" is invalid. String or Callable expected.', gettype($action)));
        }
        $this->action = $action;
        
        return $this;
    }
930149
public function getActionRoute($action = null)
    {
        if (null === $action) {
            $action = $this->getEvent()
                ->getRouteMatch()
                ->getParam('action');
        }

        return $this->getRouteName().'/'.$action;
    }
769423
public function action($action, $task = null)
    {
        return $this->app->make(ResolverManagerInterface::class)->resolve(func_get_args());
    }
599565
public function addPostAction($action)
    {
        $mbAction = new MbAction($this->shortcodeAction()->getMbPage(), $this->getName());

        $mbAction->setShortcode(true)->actionResolver($action);

        $this->shortcodePostAction = $mbAction;

        return $this;
    }
1024730
public function addAction(ActionSchema $action) {
		$action->setPackage($this->package);
		$this->actions->set($action->getName(), $action);
		return $this;
	}
499993
protected function routingToController($action)
	{
		if ($action instanceof Closure) return false;

		return is_string($action) || is_string(array_get($action, 'uses'));
	}
75014
public function setAction(\BlackForest\PiwikBundle\Entity\PiwikAction $action = null)
    {
        $this->action = $action;

        return $this;
    }
107110
private function getControllerLogic($action)
    {
        list($class, $method) = getClassAndMethodFromString($action);
        $controllerClass = fixClassname(Router::$namespace, $class);

        //Todo: Dependency Injection
        /* @var $controller Controller */
        $controller = new $controllerClass();
        if (!$controller instanceof Controller) {
            throw new Exception("$class does not extend Controller");
        }
        $this->controllerMiddleware = $controller->getMiddlewares();
        return function ($request) use ($controller, $method) {
            //Todo: Dependency Injection
            return $controller->$method($request);
        };
    }
287438
public function notFound($action = null)
    {
        $methods = array("get", "post", "put", "delete", "ajax", "options", "head", "mobile");
        $route = new Route($methods, '*', $action, 'notFound');
        $this->container->addRoute($route);
        return $route;
    }
27166
protected function _forward($action)
    {
        $controller = $this->_request->getController();

        $viewPath = 'application/packages/' . str_replace('\\', DIRECTORY_SEPARATOR, $this->_package) . '/views/scripts/' . implode('/', array_slice(explode('\\', $this->_namespace), 1)) . '/';
        $this->_view->setFile($viewPath . $controller . DIRECTORY_SEPARATOR . $action . '.phtml');

        $actionName = $action . 'Action';

        return $this->$actionName();
    }