k1low / ya
Ya: Yet Another **
Fund package maintenance!
k1LoW
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-12-06 10:03:22 UTC
README
Ya
Yet Another **
Setting
app/webroot/index.php
<?php ... // App::uses('Dispatcher', 'Routing'); // $Dispatcher = new Dispatcher(); App::uses('YaDispatcher', 'Ya.Routing'); $Dispatcher = new YaDispatcher(); $Dispatcher->dispatch( new CakeRequest(), new CakeResponse() );
Usage
Create YAPostsController.php
to prototype new feature of PostsController.
app/Ya/YAPostsController.php
<?php class YAPostsController extends PostsController { public add() { // override PostsController::add() } }