FC_FRONT
FC_FRONT
List of available front controllers types
addRoute(string $route_id, string $rule, string $controller, integer $id_lang = null, array $keywords = array(), array $params = array(), integer $id_shop = null)
string | $route_id | Name of the route (need to be uniq, a second route with same name will override the first) |
string | $rule | Url rule |
string | $controller | Controller to call if request uri match the rule |
integer | $id_lang | |
array | $keywords | |
array | $params | |
integer | $id_shop |
createUrl(string $route_id, integer $id_lang = null, array $params = array(), $force_routes = false, string $anchor = '', $id_shop = null)
Create an url from
string | $route_id | Name the route |
integer | $id_lang | |
array | $params | |
$force_routes | ||
string | $anchor | Optional anchor to add at the end of this url |
$id_shop |