Skip to content

Pass more than one parameter #64

Open
@GuiHSilva

Description

@GuiHSilva

I know it is possible for me to pass a parameter to an action as follows:
$router->add('{controller}/{action}/{id:\d+}');

public function indexAction() { View::renderTemplate('Sobre/index.html'); }

But how can i pass, two or more parms to the router and get there parms into the action.

Sorry my bad english.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions