going thru trunk and cleaning up the file headers so API docs can be created properly

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@311 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2005-07-04 01:24:13 +00:00
parent ec53963d40
commit 3b3a47e3f0
7 changed files with 102 additions and 18 deletions

View file

@ -8,6 +8,16 @@
// + Licensed under The MIT License + //
//////////////////////////////////////////////////////////////////////////
/**
*
* @filesource
* @package cake
* @subpackage cake.app
* @version $Revision:$
* @modifiedby $LastChangedBy:$
* @lastmodified $Date:$
*/
/**
* This file is application-wide controller file. You can put all
* application-wide controller-related methods here.

View file

@ -8,6 +8,16 @@
// + Licensed under The MIT License + //
//////////////////////////////////////////////////////////////////////////
/**
*
* @filesource
* @package cake
* @subpackage cake.app
* @version $Revision:$
* @modifiedby $LastChangedBy:$
* @lastmodified $Date:$
*/
/**
* This file is application-wide model file. You can put all
* application-wide model-related methods here.

View file

@ -8,23 +8,54 @@
// + Licensed under The MIT License + //
//////////////////////////////////////////////////////////////////////////
class PagesController extends PagesHelper
{
/**
*
* @filesource
* @package cake
* @subpackage cake.app.controllers
* @version $Revision:$
* @modifiedby $LastChangedBy:$
* @lastmodified $Date:$
*/
/**
* This file is application-wide controller file. You can put all
* application-wide controller-related methods here.
*
* Add your application-wide methods in the class below, your controllers
* will inherit them.
*
* @package cake
* @subpackage cake.app.controllers
*/
class PagesController extends PagesHelper{
/**
* Enter description here...
*
* @var unknown_type
*/
var $helpers = array('html', 'ajax');
/**
* Displays a view
*
* @package cake
* @subpackage cake.app
*/
/**
* Displays a view
*
*/
function display()
{
if (!func_num_args())
{
$this->redirect('/');
}
$path = func_get_args();
if (!count($path))
{
$this->redirect('/');
}
$this->set('page', $path[0]);
$this->set('subpage', empty($path[1])? null: $path[1]);

View file

@ -8,13 +8,26 @@
// + Licensed under The MIT License + //
//////////////////////////////////////////////////////////////////////////
/**
*
* @filesource
* @package cake
* @subpackage cake.app.controllers
* @version $Revision:$
* @modifiedby $LastChangedBy:$
* @lastmodified $Date:$
*/
/**
*
* @package cake
* @subpackage cake.app.controllers
*/
class TestsController extends TestsHelper {
/**
* Runs all library and application tests
*
* @package cake
* @subpackage cake.app
*/
function test_all ()
{

View file

@ -8,11 +8,21 @@
// + Licensed under The MIT License + //
//////////////////////////////////////////////////////////////////////////
/**
*
* @filesource
* @package cake
* @subpackage cake.app.helpers
* @version $Revision:$
* @modifiedby $LastChangedBy:$
* @lastmodified $Date:$
*/
/**
* In this file you can extend the PagesController.
*
* @package cake
* @subpackage cake.app
* @subpackage cake.app.helpers
*/
class PagesHelper extends AppController

View file

@ -8,11 +8,21 @@
// + Licensed under The MIT License + //
//////////////////////////////////////////////////////////////////////////
/**
*
* @filesource
* @package cake
* @subpackage cake.app.helpers
* @version $Revision:$
* @modifiedby $LastChangedBy:$
* @lastmodified $Date:$
*/
/**
* In this file you can extend the TestsController.
*
* @package cake
* @subpackage cake.app
* @subpackage cake.app.helpers
*/
class TestsHelper extends AppController

View file

@ -54,12 +54,12 @@ function make_clean_css ($path, $name)
}
/**
* Enter description here...
*
* @param unknown_type $path
* @param unknown_type $content
* @return unknown
*/
* Enter description here...
*
* @param unknown_type $path
* @param unknown_type $content
* @return unknown
*/
function write_css_cache ($path, $content)
{
if (!is_dir(dirname($path)))