Skip to content

Instantly share code, notes, and snippets.

@govaniso
Created October 21, 2012 04:18
Show Gist options
  • Save govaniso/3925701 to your computer and use it in GitHub Desktop.
Save govaniso/3925701 to your computer and use it in GitHub Desktop.
Router::get('route');//Ruta pasada en el GET
Router::get('module'); //Nombre del modulo actual
Router::get('controller');//Nombre del controlador actual
Router::get('action' =>); 'index', //Nombre de la acción actual, por defecto index
Router::get('parameters'); => array(), //Lista los parametros adicionales de la URL
Router::get('routed'); FALSE, //Indica si esta pendiente la ejecución de una ruta por parte del dispatcher
Router::get('controller_path');//Contiene el modulo y controlador en el formato: modulo/controlador
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment