Login +

Documentation

SLS_FrontController::dispatch

Since SillySmart 1.0

Description

Dispatch the controller and the action within application's reloading
public dispatch ( string $controller, string $action, [ array $http ] );

Parameters

  • string $controller
    the generic name of the wanted controller
  • string $action
    the generic name of the wanted action
  • array $http
    set new params for $_GET and $_POST
     array(
     ||t||||t||"POST" ||t||=> array("key" => "value"),
     ||t||||t||"GET" ||t||=> array("key" => "value")
     )
     

Return

No return.
No exemples.

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.