Syncing files between app directory and bake skeleton

This commit is contained in:
ADmad 2011-11-14 02:32:59 +05:30
parent 87f12de1ab
commit 233a63366f
7 changed files with 16 additions and 18 deletions

View file

@ -15,7 +15,7 @@
* *
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project * @link http://cakephp.org CakePHP(tm) Project
* @package Cake.Controller * @package app.Controller
* @since CakePHP(tm) v 0.2.9 * @since CakePHP(tm) v 0.2.9
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/ */
@ -23,14 +23,13 @@
App::uses('Controller', 'Controller'); App::uses('Controller', 'Controller');
/** /**
* This is a placeholder class. * Application Controller
* Create the same file in app/Controller/AppController.php
* *
* Add your application-wide methods in the class below, your controllers * Add your application-wide methods in the class below, your controllers
* will inherit them. * will inherit them.
* *
* @package Cake.Controller * @package app.Controller
* @link http://book.cakephp.org/view/957/The-App-Controller * @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
*/ */
class AppController extends Controller { class AppController extends Controller {
} }

View file

@ -14,7 +14,7 @@
* *
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project * @link http://cakephp.org CakePHP(tm) Project
* @package Cake.Controller * @package app.Controller
* @since CakePHP(tm) v 0.2.9 * @since CakePHP(tm) v 0.2.9
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/ */
@ -26,7 +26,7 @@ App::uses('AppController', 'Controller');
* *
* Override this controller by placing a copy in controllers directory of an application * Override this controller by placing a copy in controllers directory of an application
* *
* @package Cake.Controller * @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers/pages-controller.html * @link http://book.cakephp.org/2.0/en/controllers/pages-controller.html
*/ */
class PagesController extends AppController { class PagesController extends AppController {

View file

@ -15,7 +15,7 @@
* *
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project * @link http://cakephp.org CakePHP(tm) Project
* @package Cake.Model * @package app.Model
* @since CakePHP(tm) v 0.2.9 * @since CakePHP(tm) v 0.2.9
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/ */
@ -25,11 +25,10 @@ App::uses('Model', 'Model');
/** /**
* Application model for Cake. * Application model for Cake.
* *
* This is a placeholder class. * Add your application-wide methods in the class below, your models
* Create the same file in app/Model/AppModel.php * will inherit them.
* Add your application-wide methods to the class, your models will inherit them.
* *
* @package Cake.Model * @package app.Model
*/ */
class AppModel extends Model { class AppModel extends Model {
} }

View file

@ -15,20 +15,19 @@
* *
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project * @link http://cakephp.org CakePHP(tm) Project
* @package Cake.View.Helper * @package app.View.Helper
* @since CakePHP(tm) v 0.2.9 * @since CakePHP(tm) v 0.2.9
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/ */
App::uses('Helper', 'View'); App::uses('Helper', 'View');
/** /**
* This is a placeholder class. * Application helper
* Create the same file in app/View/Helper/AppHelper.php
* *
* Add your application-wide methods in the class below, your helpers * Add your application-wide methods in the class below, your helpers
* will inherit them. * will inherit them.
* *
* @package Cake.View.Helper * @package app.View.Helper
*/ */
class AppHelper extends Helper { class AppHelper extends Helper {
} }

View file

@ -29,6 +29,7 @@ App::uses('Controller', 'Controller');
* will inherit them. * will inherit them.
* *
* @package app.Controller * @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
*/ */
class AppController extends Controller { class AppController extends Controller {
} }

View file

@ -25,6 +25,7 @@
* Override this controller by placing a copy in controllers directory of an application * Override this controller by placing a copy in controllers directory of an application
* *
* @package app.Controller * @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers/pages-controller.html
*/ */
class PagesController extends AppController { class PagesController extends AppController {

View file

@ -22,8 +22,7 @@
App::uses('Helper', 'View'); App::uses('Helper', 'View');
/** /**
* This is a placeholder class. * Application helper
* Create the same file in app/View/Helper/AppHelper.php
* *
* Add your application-wide methods in the class below, your helpers * Add your application-wide methods in the class below, your helpers
* will inherit them. * will inherit them.