2017 © Pedro Peláez
 

cakephp-plugin controller_prefix

`Controller name prefix' custom route plugin for CakePHP

image

k1low/controller_prefix

`Controller name prefix' custom route plugin for CakePHP

  • Friday, October 24, 2014
  • by k1LoW
  • Repository
  • 2 Watchers
  • 11 Stars
  • 4,176 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Controller prefix plugin for CakePHP

`Controller name prefix' custom route plugin for CakePHP, (*1)

Build Status, (*2)

Background

This custom route class prove controller name prefix route., (*3)

ex. /admin/users/edit => AdminUsersController::edit(), (*4)

Installation

  1. Download this: http://github.com/k1LoW/controller_prefix/zipball/master
  2. Unzip that download.
  3. Copy the resulting folder to app/plugins
  4. Rename the folder you just copied to controller_prefix

Usage

Add the following code in routes.php, (*5)

App::import('Lib', 'ControllerPrefix.ControllerPrefixRoute');
Router::connect('/admin/:controller/:action/*',
                array('controllerPrefix' => 'admin'), array('routeClass' => 'ControllerPrefixRoute'));

License

under MIT Lisence, (*6)

The Versions

24/10 2014

2.0.x-dev

2.0.9999999.9999999-dev https://github.com/k1LoW/controler_prefix

`Controller name prefix' custom route plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp route

24/10 2014

2.5.5

2.5.5.0 https://github.com/k1LoW/controler_prefix

`Controller name prefix' custom route plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp route