private function getActionFromDynamicMatch($match)
    {
        if (array_key_exists("action", $match["params"])) {
            return $this->getActionFromParam($match["params"]["action"]);
        }

        if (array_key_exists("controller", $match["params"]) && !array_key_exists("action", $match["params"])) {
            return "index";
        }

        return "noActionMatch";
    }
private function getActionFromDynamicMatch($match)
    {
        if (array_key_exists("action", $match["params"])) {
            return $this->getActionFromParam($match["params"]["action"]);
        }

        if (array_key_exists("controller", $match["params"]) && !array_key_exists("action", $match["params"])) {
            return "index";
        }

        return "noActionMatch";
    }
private function getActionFromDynamicMatch ( $ match ) { if ( array_key_exists ( "action" , $ match [ "params" ] ) ) { return $ this -> getActionFromParam ( $ match [ "params" ] [ "action" ] ) ; } if ( array_key_exists ( "controller" , $ match [ "params" ] ) && ! array_key_exists ( "action" , $ match [ "params" ] ) ) { return "index" ; } return "noActionMatch" ; }
Gets the action from the dynamic match.
@param  array $match An AltoRouter answer
@return string
Gets the action from the dynamic match .