From 6319f8ea692aa1429ce00c405ae659ca6a8ee1ae Mon Sep 17 00:00:00 2001 From: "renan.saddam" Date: Sat, 8 Nov 2008 02:54:07 +0000 Subject: [PATCH] Removed trailing whitespaces from core. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/bootstrap.php | 2 +- cake/config/paths.php | 66 +++++++++--------- cake/console/libs/console.php | 2 +- cake/console/libs/i18n.php | 2 - cake/console/libs/tasks/model.php | 1 - cake/console/libs/tasks/plugin.php | 4 +- .../console/libs/templates/skel/app_model.php | 2 +- cake/libs/cache.php | 3 - cake/libs/configure.php | 2 +- cake/libs/debugger.php | 2 - cake/libs/error.php | 4 +- cake/libs/file.php | 3 +- cake/libs/flay.php | 6 +- cake/libs/folder.php | 6 +- cake/libs/http_socket.php | 17 +---- cake/libs/magic_db.php | 2 +- cake/libs/model/behavior.php | 1 - cake/libs/model/behaviors/acl.php | 1 - cake/libs/model/connection_manager.php | 7 +- cake/libs/model/datasources/dbo/dbo_adodb.php | 10 --- cake/libs/model/datasources/dbo/dbo_db2.php | 1 - .../model/datasources/dbo/dbo_firebird.php | 1 - cake/libs/model/datasources/dbo/dbo_mssql.php | 3 - cake/libs/model/datasources/dbo/dbo_mysql.php | 1 - .../libs/model/datasources/dbo/dbo_mysqli.php | 2 - cake/libs/model/datasources/dbo/dbo_odbc.php | 69 +++++-------------- .../libs/model/datasources/dbo/dbo_oracle.php | 33 ++++----- .../model/datasources/dbo/dbo_postgres.php | 5 -- .../libs/model/datasources/dbo/dbo_sqlite.php | 3 - .../libs/model/datasources/dbo/dbo_sybase.php | 1 - cake/libs/model/db_acl.php | 3 - cake/libs/model/model.php | 18 ++--- cake/libs/overloadable_php4.php | 22 +++--- cake/libs/overloadable_php5.php | 21 +++--- cake/libs/security.php | 1 - cake/libs/socket.php | 2 - cake/libs/validation.php | 2 +- cake/libs/view/elements/dump.ctp | 6 +- cake/libs/view/errors/error404.ctp | 2 +- cake/libs/view/errors/missing_table.ctp | 2 +- cake/libs/view/helper.php | 3 - cake/libs/view/helpers/ajax.php | 6 +- cake/libs/view/helpers/javascript.php | 3 - cake/libs/view/helpers/js.php | 6 -- cake/libs/view/helpers/number.php | 4 -- cake/libs/view/helpers/paginator.php | 1 - cake/libs/view/helpers/rss.php | 6 +- cake/libs/view/helpers/session.php | 8 +-- cake/libs/view/helpers/text.php | 6 -- cake/libs/view/helpers/time.php | 3 - cake/libs/view/helpers/xml.php | 2 - cake/libs/view/layouts/email/html/default.ctp | 4 +- cake/libs/view/layouts/rss/default.ctp | 1 - cake/libs/view/scaffolds/index.ctp | 2 +- cake/libs/view/theme.php | 2 - cake/libs/view/view.php | 1 - cake/libs/xml.php | 2 - 57 files changed, 127 insertions(+), 274 deletions(-) diff --git a/cake/bootstrap.php b/cake/bootstrap.php index bc9705b81..403ebdaf2 100644 --- a/cake/bootstrap.php +++ b/cake/bootstrap.php @@ -25,7 +25,7 @@ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ if (!defined('PHP5')) { - define ('PHP5', (PHP_VERSION >= 5)); + define('PHP5', (PHP_VERSION >= 5)); } /** * Configuration, directory layout and standard libraries diff --git a/cake/config/paths.php b/cake/config/paths.php index c4893ab7e..6a6449f0e 100644 --- a/cake/config/paths.php +++ b/cake/config/paths.php @@ -31,81 +31,81 @@ * here. */ if (!defined('ROOT')) { - define ('ROOT', '../'); + define('ROOT', '../'); } if (!defined('WEBROOT_DIR')) { - define ('WEBROOT_DIR', 'webroot'); + define('WEBROOT_DIR', 'webroot'); } /** * Path to the cake directory. */ - define ('CAKE', CORE_PATH.'cake'.DS); + define('CAKE', CORE_PATH.'cake'.DS); /** * Path to the application's directory. */ if (!defined('APP')) { - define ('APP', ROOT.DS.APP_DIR.DS); + define('APP', ROOT.DS.APP_DIR.DS); } /** * Path to the application's models directory. */ - define ('MODELS', APP.'models'.DS); + define('MODELS', APP.'models'.DS); /** * Path to model behaviors directory. */ - define ('BEHAVIORS', MODELS.'behaviors'.DS); + define('BEHAVIORS', MODELS.'behaviors'.DS); /** * Path to the application's controllers directory. */ - define ('CONTROLLERS', APP.'controllers'.DS); + define('CONTROLLERS', APP.'controllers'.DS); /** * Path to the application's components directory. */ - define ('COMPONENTS', CONTROLLERS.'components'.DS); + define('COMPONENTS', CONTROLLERS.'components'.DS); /** * Path to the application's views directory. */ - define ('VIEWS', APP.'views'.DS); + define('VIEWS', APP.'views'.DS); /** * Path to the application's helpers directory. */ - define ('HELPERS', VIEWS.'helpers'.DS); + define('HELPERS', VIEWS.'helpers'.DS); /** * Path to the application's view's layouts directory. */ - define ('LAYOUTS', VIEWS.'layouts'.DS); + define('LAYOUTS', VIEWS.'layouts'.DS); /** * Path to the application's view's elements directory. * It's supposed to hold pieces of PHP/HTML that are used on multiple pages * and are not linked to a particular layout (like polls, footers and so on). */ - define ('ELEMENTS', VIEWS.'elements'.DS); + define('ELEMENTS', VIEWS.'elements'.DS); /** * Path to the configuration files directory. */ if (!defined('CONFIGS')) { - define ('CONFIGS', APP.'config'.DS); + define('CONFIGS', APP.'config'.DS); } /** * Path to the libs directory. */ - define ('INFLECTIONS', CAKE.'config'.DS.'inflections'.DS); + define('INFLECTIONS', CAKE.'config'.DS.'inflections'.DS); /** * Path to the libs directory. */ - define ('LIBS', CAKE.'libs'.DS); + define('LIBS', CAKE.'libs'.DS); /** * Path to the public CSS directory. */ - define ('CSS', WWW_ROOT.'css'.DS); + define('CSS', WWW_ROOT.'css'.DS); /** * Path to the public JavaScript directory. */ - define ('JS', WWW_ROOT.'js'.DS); + define('JS', WWW_ROOT.'js'.DS); /** * Path to the public images directory. */ - define ('IMAGES', WWW_ROOT.'img'.DS); + define('IMAGES', WWW_ROOT.'img'.DS); /** * Path to the console libs direcotry. */ @@ -114,49 +114,49 @@ if (!defined('CONFIGS')) { * Path to the tests directory. */ if (!defined('TESTS')) { - define ('TESTS', APP.'tests'.DS); + define('TESTS', APP.'tests'.DS); } /** * Path to the core tests directory. */ if (!defined('CAKE_TESTS')) { - define ('CAKE_TESTS', CAKE.'tests'.DS); + define('CAKE_TESTS', CAKE.'tests'.DS); } /** * Path to the test suite. */ - define ('CAKE_TESTS_LIB', CAKE_TESTS.'lib'.DS); + define('CAKE_TESTS_LIB', CAKE_TESTS.'lib'.DS); /** * Path to the controller test directory. */ - define ('CONTROLLER_TESTS', TESTS.'cases'.DS.'controllers'.DS); + define('CONTROLLER_TESTS', TESTS.'cases'.DS.'controllers'.DS); /** * Path to the components test directory. */ - define ('COMPONENT_TESTS', TESTS.'cases'.DS.'components'.DS); + define('COMPONENT_TESTS', TESTS.'cases'.DS.'components'.DS); /** * Path to the helpers test directory. */ - define ('HELPER_TESTS', TESTS.'cases'.DS.'views'.DS.'helpers'.DS); + define('HELPER_TESTS', TESTS.'cases'.DS.'views'.DS.'helpers'.DS); /** * Path to the models' test directory. */ - define ('MODEL_TESTS', TESTS.'cases'.DS.'models'.DS); + define('MODEL_TESTS', TESTS.'cases'.DS.'models'.DS); /** * Path to the lib test directory. */ - define ('LIB_TESTS', CAKE_TESTS.'cases'.DS.'lib'.DS); + define('LIB_TESTS', CAKE_TESTS.'cases'.DS.'lib'.DS); /** * Path to the temporary files directory. */ if (!defined('TMP')) { - define ('TMP', APP.'tmp'.DS); + define('TMP', APP.'tmp'.DS); } /** * Path to the logs directory. */ - define ('LOGS', TMP.'logs'.DS); + define('LOGS', TMP.'logs'.DS); /** * Path to the cache files directory. It can be shared between hosts in a multi-server setup. */ @@ -165,14 +165,14 @@ if (!defined('TMP')) { * Path to the vendors directory. */ if (!defined('VENDORS')) { - define ('VENDORS', CAKE_CORE_INCLUDE_PATH.DS.'vendors'.DS); + define('VENDORS', CAKE_CORE_INCLUDE_PATH.DS.'vendors'.DS); } /** * Path to the Pear directory * The purporse is to make it easy porting Pear libs into Cake * without setting the include_path PHP variable. */ - define ('PEAR', VENDORS.'Pear'.DS); + define('PEAR', VENDORS.'Pear'.DS); /** * Full url prefix */ @@ -193,18 +193,18 @@ if (!defined('FULL_BASE_URL')) { * Web path to the public images directory. */ if (!defined('IMAGES_URL')) { - define ('IMAGES_URL', 'img/'); + define('IMAGES_URL', 'img/'); } /** * Web path to the CSS files directory. */ if (!defined('CSS_URL')) { - define ('CSS_URL', 'css/'); + define('CSS_URL', 'css/'); } /** * Web path to the js files directory. */ if (!defined('JS_URL')) { - define ('JS_URL', 'js/'); + define('JS_URL', 'js/'); } ?> \ No newline at end of file diff --git a/cake/console/libs/console.php b/cake/console/libs/console.php index bec6f5412..9d7f9aa49 100644 --- a/cake/console/libs/console.php +++ b/cake/console/libs/console.php @@ -318,7 +318,7 @@ class ConsoleShell extends Shell { */ function __loadRoutes() { $router =& Router::getInstance(); - + $router->reload(); extract($router->getNamedExpressions()); diff --git a/cake/console/libs/i18n.php b/cake/console/libs/i18n.php index 0158870fc..aa5fe8b8a 100644 --- a/cake/console/libs/i18n.php +++ b/cake/console/libs/i18n.php @@ -45,7 +45,6 @@ class I18nShell extends Shell { * @access public */ var $tasks = array('DbConfig', 'Extract'); - /** * Override startup of the Shell * @@ -127,5 +126,4 @@ class I18nShell extends Shell { $this->Extract->help(); } } - ?> \ No newline at end of file diff --git a/cake/console/libs/tasks/model.php b/cake/console/libs/tasks/model.php index 208021134..9f622c1ac 100644 --- a/cake/console/libs/tasks/model.php +++ b/cake/console/libs/tasks/model.php @@ -46,7 +46,6 @@ class ModelTask extends Shell { * @access public */ var $path = MODELS; - /** * tasks * diff --git a/cake/console/libs/tasks/plugin.php b/cake/console/libs/tasks/plugin.php index 72e05545a..1fc81374b 100644 --- a/cake/console/libs/tasks/plugin.php +++ b/cake/console/libs/tasks/plugin.php @@ -84,7 +84,7 @@ class PluginTask extends Shell { $this->__interactive($plugin); } } - + if (isset($this->args[0])) { $task = Inflector::classify($this->args[0]); $this->Dispatch->shiftArgs(); @@ -177,7 +177,7 @@ class PluginTask extends Shell { $this->out(sprintf(__("Created: %s in %s", true), $plugin, $this->path . $pluginPath)); $this->hr(); } - + return true; } /** diff --git a/cake/console/libs/templates/skel/app_model.php b/cake/console/libs/templates/skel/app_model.php index a474af123..80938823f 100644 --- a/cake/console/libs/templates/skel/app_model.php +++ b/cake/console/libs/templates/skel/app_model.php @@ -36,6 +36,6 @@ * @package cake * @subpackage cake.app */ -class AppModel extends Model{ +class AppModel extends Model { } ?> \ No newline at end of file diff --git a/cake/libs/cache.php b/cake/libs/cache.php index 4747333a6..bcbfc0c4b 100644 --- a/cake/libs/cache.php +++ b/cake/libs/cache.php @@ -23,9 +23,6 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ -/** - * Included libraries. - */ /** * Caching for CakePHP. * diff --git a/cake/libs/configure.php b/cake/libs/configure.php index 4e1e9be0d..c8ae0e31c 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -1155,7 +1155,7 @@ class App extends Object { * Object destructor. * * Writes cache file if changes have been made to the $__map or $__paths - * + * * @return void * @access private */ diff --git a/cake/libs/debugger.php b/cake/libs/debugger.php index 23f5b6c33..343adf6e6 100644 --- a/cake/libs/debugger.php +++ b/cake/libs/debugger.php @@ -44,7 +44,6 @@ * @link http://book.cakephp.org/view/460/Using-the-Debugger-Class */ class Debugger extends Object { - /** * A list of errors generated by the application. * @@ -565,5 +564,4 @@ class Debugger extends Object { if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) { Debugger::invoke(Debugger::getInstance()); } - ?> \ No newline at end of file diff --git a/cake/libs/error.php b/cake/libs/error.php index d6989643e..cd3d0985e 100644 --- a/cake/libs/error.php +++ b/cake/libs/error.php @@ -57,7 +57,7 @@ class CakeErrorController extends AppController { } } /** - * Error Handler. + * Error Handler. * * Captures and handles all cakeError() calls. * Displays helpful framework errors when debug > 1. @@ -83,7 +83,7 @@ class ErrorHandler extends Object { function __construct($method, $messages) { App::import('Core', 'Sanitize'); static $__previousError = null; - + if ($__previousError != array($method, $messages)) { $__previousError = array($method, $messages); $this->controller =& new CakeErrorController(); diff --git a/cake/libs/file.php b/cake/libs/file.php index 8c46b09d7..6dbdf8dab 100644 --- a/cake/libs/file.php +++ b/cake/libs/file.php @@ -27,9 +27,8 @@ * */ if (!class_exists('Object')) { - uses ('object'); + uses('object'); } - if (!class_exists('Folder')) { require LIBS . 'folder.php'; } diff --git a/cake/libs/flay.php b/cake/libs/flay.php index 3d1b43ef2..ed23cf7f4 100644 --- a/cake/libs/flay.php +++ b/cake/libs/flay.php @@ -28,9 +28,9 @@ * Included libraries. * */ - if (!class_exists('Object')) { - uses ('object'); - } +if (!class_exists('Object')) { + uses('object'); +} /** * Text-to-HTML parser. * diff --git a/cake/libs/folder.php b/cake/libs/folder.php index 786c4543c..4190d7873 100644 --- a/cake/libs/folder.php +++ b/cake/libs/folder.php @@ -26,9 +26,9 @@ * Included libraries. * */ - if (!class_exists('Object')) { - uses('object'); - } +if (!class_exists('Object')) { + uses('object'); +} /** * Folder structure browser, lists folders and files. * diff --git a/cake/libs/http_socket.php b/cake/libs/http_socket.php index 2ac658376..ecc6578d4 100644 --- a/cake/libs/http_socket.php +++ b/cake/libs/http_socket.php @@ -23,7 +23,6 @@ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ App::import('Core', array('Socket', 'Set', 'Router')); - /** * Cake network socket connection class. * @@ -40,7 +39,6 @@ class HttpSocket extends CakeSocket { * @access public */ var $description = 'HTTP-based DataSource Interface'; - /** * When one activates the $quirksMode by setting it to true, all checks meant to enforce RFC 2616 (HTTP/1.1 specs) * will be disabled and additional measures to deal with non-standard responses will be enabled. @@ -49,7 +47,6 @@ class HttpSocket extends CakeSocket { * @access public */ var $quirksMode = false; - /** * The default values to use for a request * @@ -103,9 +100,8 @@ class HttpSocket extends CakeSocket { ), 'header' => array(), 'body' => '', - 'cookies' => array(), + 'cookies' => array() ); - /** * Default configuration settings for the HttpSocket * @@ -129,10 +125,9 @@ class HttpSocket extends CakeSocket { 'user' => null, 'pass' => null ), - 'cookies' => array(), + 'cookies' => array() ) ); - /** * String that represents a line break. * @@ -158,7 +153,6 @@ class HttpSocket extends CakeSocket { } parent::__construct($this->config); } - /** * Issue the specified request. * @@ -265,7 +259,6 @@ class HttpSocket extends CakeSocket { return $this->response['body']; } - /** * Issues a GET request to the specified URI, query, and request. * @@ -303,7 +296,6 @@ class HttpSocket extends CakeSocket { $request = Set::merge(array('method' => 'POST', 'uri' => $uri, 'body' => $data), $request); return $this->request($request); } - /** * Issues a PUT request to the specified URI, query, and request. * @@ -317,7 +309,6 @@ class HttpSocket extends CakeSocket { $request = Set::merge(array('method' => 'PUT', 'uri' => $uri, 'body' => $data), $request); return $this->request($request); } - /** * Issues a DELETE request to the specified URI, query, and request. * @@ -366,7 +357,6 @@ class HttpSocket extends CakeSocket { } return $this->buildUri($url); } - /** * Parses the given message and breaks it down in parts. * @@ -746,7 +736,6 @@ class HttpSocket extends CakeSocket { } return $request['method'].' '.$request['uri'].' '.$versionToken.$this->lineBreak; } - /** * Serializes an array for transport. * @@ -935,7 +924,6 @@ class HttpSocket extends CakeSocket { $token = preg_replace($regex, '"\\1"', $token); return $token; } - /** * Gets escape chars according to RFC 2616 (HTTP 1.1 specs). * @@ -987,5 +975,4 @@ class HttpSocket extends CakeSocket { return true; } } - ?> \ No newline at end of file diff --git a/cake/libs/magic_db.php b/cake/libs/magic_db.php index f54241c47..73b16017c 100644 --- a/cake/libs/magic_db.php +++ b/cake/libs/magic_db.php @@ -23,7 +23,7 @@ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ if (!class_exists('File')) { - uses ('object', 'file'); + uses('object', 'file'); } /** * A class to parse and use the MagicDb for file type analysis diff --git a/cake/libs/model/behavior.php b/cake/libs/model/behavior.php index 86eea63f1..d3ae4cc24 100644 --- a/cake/libs/model/behavior.php +++ b/cake/libs/model/behavior.php @@ -1,6 +1,5 @@ 'adodb' . DS . 'adodb.inc.php')); - /** * AdoDB DBO implementation. * @@ -136,18 +133,12 @@ class DboAdodb extends DboSource { $ADODB_FETCH_MODE = ADODB_FETCH_ASSOC; return $this->_adodb->execute($sql); } -/** - * Returns a row from given resultset as an array . - * - * @return array The fetched row as an array - */ /** * Returns a row from current resultset as an array . * * @return array The fetched row as an array */ function fetchRow($sql = null) { - if (!empty($sql) && is_string($sql) && strlen($sql) > 5) { if (!$this->execute($sql)) { return null; @@ -443,7 +434,6 @@ class DboAdodb extends DboSource { } return $resultRow; } - /** * Generate a database-native column schema string * diff --git a/cake/libs/model/datasources/dbo/dbo_db2.php b/cake/libs/model/datasources/dbo/dbo_db2.php index 6d890dce3..fe3f0365e 100644 --- a/cake/libs/model/datasources/dbo/dbo_db2.php +++ b/cake/libs/model/datasources/dbo/dbo_db2.php @@ -248,7 +248,6 @@ class DboDb2 extends DboSource { * @return string Quoted and escaped * @todo Add logic that formats/escapes data based on column type */ - function value($data, $column = null, $safe = false) { $parent = parent::value($data, $column, $safe); diff --git a/cake/libs/model/datasources/dbo/dbo_firebird.php b/cake/libs/model/datasources/dbo/dbo_firebird.php index 1f32fcf3c..d02c45b76 100644 --- a/cake/libs/model/datasources/dbo/dbo_firebird.php +++ b/cake/libs/model/datasources/dbo/dbo_firebird.php @@ -117,7 +117,6 @@ class DboFirebird extends DboSource { 'commit' => 'COMMIT', 'rollback' => 'ROLLBACK' ); - /** * Connects to the database using options in the given configuration array. * diff --git a/cake/libs/model/datasources/dbo/dbo_mssql.php b/cake/libs/model/datasources/dbo/dbo_mssql.php index 49ff0adfd..df69dea2b 100644 --- a/cake/libs/model/datasources/dbo/dbo_mssql.php +++ b/cake/libs/model/datasources/dbo/dbo_mssql.php @@ -24,7 +24,6 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ - /** * Short description for class. * @@ -356,7 +355,6 @@ class DboMssql extends DboSource { } return $result; } - /** * Generates and executes an SQL UPDATE statement for given model, fields, and values. * Removes Identity (primary key) column from update data before returning to parent. @@ -683,5 +681,4 @@ class DboMssql extends DboSource { return $join; } } - ?> \ No newline at end of file diff --git a/cake/libs/model/datasources/dbo/dbo_mysql.php b/cake/libs/model/datasources/dbo/dbo_mysql.php index c3a4e2415..62c8f4759 100644 --- a/cake/libs/model/datasources/dbo/dbo_mysql.php +++ b/cake/libs/model/datasources/dbo/dbo_mysql.php @@ -24,7 +24,6 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ - /** * Short description for class. * diff --git a/cake/libs/model/datasources/dbo/dbo_mysqli.php b/cake/libs/model/datasources/dbo/dbo_mysqli.php index f1c3c89bb..6e51801e3 100644 --- a/cake/libs/model/datasources/dbo/dbo_mysqli.php +++ b/cake/libs/model/datasources/dbo/dbo_mysqli.php @@ -24,7 +24,6 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ - /** * Short description for class. * @@ -58,7 +57,6 @@ class DboMysqli extends DboSource { * @var array */ var $index = array('PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique'); - /** * Base configuration settings for Mysqli driver * diff --git a/cake/libs/model/datasources/dbo/dbo_odbc.php b/cake/libs/model/datasources/dbo/dbo_odbc.php index 9b05618f1..173f712d3 100644 --- a/cake/libs/model/datasources/dbo/dbo_odbc.php +++ b/cake/libs/model/datasources/dbo/dbo_odbc.php @@ -35,40 +35,36 @@ * @subpackage cake.cake.libs.model.datasources.dbo */ class DboOdbc extends DboSource { - /** * Driver description * * @var string */ var $description = "ODBC DBO Driver"; - /** * Table/column starting quote * * @var string */ var $startQuote = "`"; - /** * Table/column end quote * * @var string */ var $endQuote = "`"; - /** * Driver base configuration * * @var array */ - var $_baseConfig = array('persistent' => true, - 'login' => 'root', - 'password' => '', - 'database' => 'cake', - 'connect' => 'odbc_pconnect' + var $_baseConfig = array( + 'persistent' => true, + 'login' => 'root', + 'password' => '', + 'database' => 'cake', + 'connect' => 'odbc_pconnect' ); - /** * Enter description here... * @@ -87,7 +83,6 @@ class DboOdbc extends DboSource { // 'date' => array('name' => 'date', 'format' => 'Y-m-d', 'formatter' => 'date'), // 'binary' => array('name' => 'blob'), // 'boolean' => array('name' => 'tinyint', 'limit' => '1')); - /** * Connects to the database using options in the given configuration array. * @@ -106,7 +101,6 @@ class DboOdbc extends DboSource { return $this->connected; } - /** * Disconnects from database. * @@ -131,19 +125,11 @@ class DboOdbc extends DboSource { * @return array Array of tablenames in the database */ function listSources() { - $cache = parent::listSources(); if ($cache != null) { return $cache; } - /*$result = odbc_tables($this->connection); - if (function_exists('odbc_fetch_row')) { - echo 'GOOD'; - } else { - echo 'BAD'; - }*/ - $result = odbc_tables($this->connection); $tables = array(); @@ -185,29 +171,25 @@ class DboOdbc extends DboSource { $this->__cacheDescription($model->tablePrefix . $model->table, $fields); return $fields; } - /** * Name * - * @param string $data + * @param string $data * @access public * @return void */ function name($data) { if ($data == '*') { - return '*'; + return '*'; } - $pos = strpos($data, '`'); - - if ($pos === false) { - $data = '' . str_replace('.', '.', $data) . ''; - //$data = '`'. str_replace('.', '`.`', $data) .'`'; + if (strpos($data, '`') === false) { + $data = '' . str_replace('.', '.', $data) . ''; + //$data = '`'. str_replace('.', '`.`', $data) .'`'; } return $data; } - /** * Returns a quoted and escaped string of $data for use in an SQL statement. * @@ -235,7 +217,6 @@ class DboOdbc extends DboSource { return $return; } - /** * Not sure about this one, MySQL needs it but does ODBC? Safer just to leave it * Translates between PHP boolean values and MySQL (faked) boolean values @@ -256,7 +237,6 @@ class DboOdbc extends DboSource { return false; } } - /** * Begin a transaction * @@ -273,7 +253,6 @@ class DboOdbc extends DboSource { } return false; } - /** * Commit a transaction * @@ -291,7 +270,6 @@ class DboOdbc extends DboSource { } return false; } - /** * Rollback a transaction * @@ -307,7 +285,6 @@ class DboOdbc extends DboSource { } return false; } - /** * Returns a formatted error message from previous database operation. * @@ -319,7 +296,6 @@ class DboOdbc extends DboSource { } return null; } - /** * Returns number of affected rows in previous database operation. If no previous operation exists, * this returns false. @@ -332,7 +308,6 @@ class DboOdbc extends DboSource { } return false; } - /** * Returns number of rows in previous resultset. If no previous resultset exists, * this returns false. @@ -340,9 +315,9 @@ class DboOdbc extends DboSource { * @return int Number of rows in resultset */ function lastNumRows() { - if($this->hasResult()) { + if ($this->hasResult()) { $counter = 0; - if(@odbc_fetch_into($this->_result, $results)) { + if (@odbc_fetch_into($this->_result, $results)) { return count($results); } else { return null; @@ -350,8 +325,6 @@ class DboOdbc extends DboSource { } return null; } - - /** * Returns the ID generated from the previous INSERT operation. * @@ -359,10 +332,9 @@ class DboOdbc extends DboSource { * @return int */ function lastInsertId($source = null) { - $result=$this->fetchRow('SELECT @@IDENTITY'); + $result = $this->fetchRow('SELECT @@IDENTITY'); return $result[0]; } - /** * Enter description here... * @@ -378,7 +350,6 @@ class DboOdbc extends DboSource { } return $real; } - /** * Enter description here... * @@ -393,7 +364,7 @@ class DboOdbc extends DboSource { while($j < $num_fields) { $columnName = odbc_field_name($results, $j+1); - if(strpos($columnName, '_dot_') !== false) { + if (strpos($columnName, '_dot_') !== false) { $parts = explode('_dot_', $columnName); $this->map[$index++] = array($parts[0], $parts[1]); } else { @@ -402,9 +373,6 @@ class DboOdbc extends DboSource { $j++; } } - - - /** * Generates the fields list of an SQL query. * @@ -445,7 +413,7 @@ class DboOdbc extends DboSource { $fields[$i] = trim(r('DISTINCT', '', $fields[$i])); } - if(strrpos($fields[$i], '.') === false) { + if (strrpos($fields[$i], '.') === false) { $fields[$i] = $prepend . $this->name($alias) . '.' . $this->name($fields[$i]) . ' AS ' . $this->name($alias . '_dot_' . $fields[$i]); } else { $build = explode('.', $fields[$i]); @@ -456,15 +424,13 @@ class DboOdbc extends DboSource { } return $fields; } - - /** * Fetches the next row from the current result set * * @return unknown */ function fetchResult() { - if($row = odbc_fetch_row($this->results)) { + if ($row = odbc_fetch_row($this->results)) { $resultRow = array(); $numFields = odbc_num_fields($this->results); $i = 0; @@ -477,6 +443,5 @@ class DboOdbc extends DboSource { return false; } } - } ?> \ No newline at end of file diff --git a/cake/libs/model/datasources/dbo/dbo_oracle.php b/cake/libs/model/datasources/dbo/dbo_oracle.php index ab10f79a4..0a7b31932 100644 --- a/cake/libs/model/datasources/dbo/dbo_oracle.php +++ b/cake/libs/model/datasources/dbo/dbo_oracle.php @@ -56,7 +56,6 @@ class DboOracle extends DboSource { * @var boolean */ var $__transactionStarted = false; - /** * Enter description here... * @@ -126,14 +125,12 @@ class DboOracle extends DboSource { * @access protected */ var $_results; - /** * Last error issued by oci extension * * @var unknown_type */ var $_error; - /** * Base configuration settings for MySQL driver * @@ -148,7 +145,6 @@ class DboOracle extends DboSource { 'nls_sort' => '', 'nls_sort' => '' ); - /** * Table-sequence map * @@ -190,7 +186,6 @@ class DboOracle extends DboSource { } return $this->connected; } - /** * Keeps track of the most recent Oracle error * @@ -393,7 +388,11 @@ class DboOracle extends DboSource { $this->_currentRow++; return $resultRow; } - +/** + * Fetches the next row from the current result set + * + * @return unknown + */ function fetchResult() { return $this->fetchRow(); } @@ -618,7 +617,6 @@ class DboOracle extends DboSource { } return true; } - /** * Returns an array of the indexes in given table name. * @@ -628,7 +626,7 @@ class DboOracle extends DboSource { function index($model) { $index = array(); $table = $this->fullTableName($model, false); - if($table) { + if ($table) { $indexes = $this->query('SELECT cc.table_name, cc.column_name, @@ -646,11 +644,11 @@ class DboOracle extends DboSource { } else { continue; } - if(!isset($index[$key])) { + if (!isset($index[$key])) { $index[$key]['column'] = strtolower($idx['cc']['column_name']); $index[$key]['unique'] = intval($idx['i']['uniqueness'] == 'UNIQUE'); } else { - if(!is_array($index[$key]['column'])) { + if (!is_array($index[$key]['column'])) { $col[] = $index[$key]['column']; } $col[] = strtolower($idx['cc']['column_name']); @@ -660,7 +658,6 @@ class DboOracle extends DboSource { } return $index; } - /** * Generate a Oracle Alter Table syntax for the given Schema comparison * @@ -668,7 +665,7 @@ class DboOracle extends DboSource { * @return unknown */ function alterSchema($compare, $table = null) { - if(!is_array($compare)) { + if (!is_array($compare)) { return false; } $out = ''; @@ -682,7 +679,7 @@ class DboOracle extends DboSource { foreach($column as $field => $col) { $col['name'] = $field; $alter = 'ADD '.$this->buildColumn($col); - if(isset($col['after'])) { + if (isset($col['after'])) { $alter .= ' AFTER '. $this->name($col['after']); } $colList[] = $alter; @@ -696,7 +693,7 @@ class DboOracle extends DboSource { break; case 'change': foreach($column as $field => $col) { - if(!isset($col['name'])) { + if (!isset($col['name'])) { $col['name'] = $field; } $colList[] = 'CHANGE '. $this->name($field).' '.$this->buildColumn($col); @@ -709,7 +706,6 @@ class DboOracle extends DboSource { } return $out; } - /** * This method should quote Oracle identifiers. Well it doesn't. * It would break all scaffolding and all of Cake's default assumptions. @@ -922,7 +918,6 @@ class DboOracle extends DboSource { break; } } - /** * Enter description here... * @@ -938,9 +933,7 @@ class DboOracle extends DboSource { * @param array $stack */ function queryAssociation(&$model, &$linkModel, $type, $association, $assocData, &$queryData, $external = false, &$resultSet, $recursive, $stack) { - if ($query = $this->generateAssociationQuery($model, $linkModel, $type, $association, $assocData, $queryData, $external, $resultSet)) { - if (!isset($resultSet) || !is_array($resultSet)) { if (Configure::read() > 0) { e('
' . sprintf(__('SQL Error in model %s:', true), $model->alias) . ' '); @@ -1083,7 +1076,5 @@ class DboOracle extends DboSource { } } } - } - -?> +?> \ No newline at end of file diff --git a/cake/libs/model/datasources/dbo/dbo_postgres.php b/cake/libs/model/datasources/dbo/dbo_postgres.php index 196e49a22..15c405d2f 100644 --- a/cake/libs/model/datasources/dbo/dbo_postgres.php +++ b/cake/libs/model/datasources/dbo/dbo_postgres.php @@ -25,7 +25,6 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ - /** * PostgreSQL layer for DBO. * @@ -35,7 +34,6 @@ * @subpackage cake.cake.libs.model.datasources.dbo */ class DboPostgres extends DboSource { - /** * Driver description * @@ -178,7 +176,6 @@ class DboPostgres extends DboSource { return $tables; } } - /** * Returns an array of the fields in given table name. * @@ -307,7 +304,6 @@ class DboPostgres extends DboSource { $error = pg_last_error($this->connection); return ($error) ? $error : null; } - /** * Returns number of affected rows in previous database operation. If no previous operation exists, this returns false. * @@ -711,5 +707,4 @@ class DboPostgres extends DboSource { } } } - ?> \ No newline at end of file diff --git a/cake/libs/model/datasources/dbo/dbo_sqlite.php b/cake/libs/model/datasources/dbo/dbo_sqlite.php index 97aaf5b44..f301be136 100644 --- a/cake/libs/model/datasources/dbo/dbo_sqlite.php +++ b/cake/libs/model/datasources/dbo/dbo_sqlite.php @@ -1,6 +1,5 @@ \ No newline at end of file diff --git a/cake/libs/model/datasources/dbo/dbo_sybase.php b/cake/libs/model/datasources/dbo/dbo_sybase.php index d51652e54..9e2a11851 100644 --- a/cake/libs/model/datasources/dbo/dbo_sybase.php +++ b/cake/libs/model/datasources/dbo/dbo_sybase.php @@ -381,5 +381,4 @@ class DboSybase extends DboSource { } } } - ?> \ No newline at end of file diff --git a/cake/libs/model/db_acl.php b/cake/libs/model/db_acl.php index beb62ffc3..9546ca081 100644 --- a/cake/libs/model/db_acl.php +++ b/cake/libs/model/db_acl.php @@ -24,9 +24,6 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ -/** - * Set database config if not defined. - */ /** * Load Model and AppModel */ diff --git a/cake/libs/model/model.php b/cake/libs/model/model.php index f40dcec18..d0b91a5a8 100644 --- a/cake/libs/model/model.php +++ b/cake/libs/model/model.php @@ -66,7 +66,7 @@ class Model extends Overloadable { */ var $displayField = null; /** - * Value of the primary key ID of the record that this model is currently pointing to. + * Value of the primary key ID of the record that this model is currently pointing to. * Automatically set after database insertions. * * @var mixed @@ -247,7 +247,7 @@ class Model extends Overloadable { */ var $findQueryType = null; /** - * Number of associations to recurse through during find calls. Fetches only + * Number of associations to recurse through during find calls. Fetches only * the first level by default. * * @var integer @@ -256,8 +256,8 @@ class Model extends Overloadable { */ var $recursive = 1; /** - * The column name(s) and direction(s) to order find results by default. - * + * The column name(s) and direction(s) to order find results by default. + * * var $order = "Post.created DESC"; * var $order = array("Post.view_count DESC", "Post.rating DESC"); * @@ -1068,7 +1068,7 @@ class Model extends Overloadable { return $this->save(array($this->alias => array($this->primaryKey => $id, $name => $value)), $options); } /** - * Saves model data (based on white-list, if supplied) to the database. By + * Saves model data (based on white-list, if supplied) to the database. By * default, validation occurs before save. * * @param array $data Data to save. @@ -2623,7 +2623,7 @@ class Model extends Overloadable { } /** * Called after each find operation. Can be used to modify any results returned by find(). - * Return value should be the (modified) results. + * Return value should be the (modified) results. * * @param mixed $results The results of the find operation * @param boolean $primary Whether this model is being queried directly (vs. being queried as an association) @@ -2646,7 +2646,7 @@ class Model extends Overloadable { return true; } /** - * Called after each successful save operation. + * Called after each successful save operation. * * @param boolean $created True if this save created a new record * @access public @@ -2655,7 +2655,7 @@ class Model extends Overloadable { function afterSave($created) { } /** - * Called after every deletion operation. + * Called after every deletion operation. * * @param boolean $cascade If true records that depend on this record will also be deleted * @return boolean True if the operation should continue, false if it should abort @@ -2674,7 +2674,7 @@ class Model extends Overloadable { function afterDelete() { } /** - * Called during save operations, before validation. Please note that custom + * Called during save operations, before validation. Please note that custom * validation rules can be defined in $validate. * * @return boolean True if validate operation should continue, false to abort diff --git a/cake/libs/overloadable_php4.php b/cake/libs/overloadable_php4.php index eea35716c..b60411c53 100644 --- a/cake/libs/overloadable_php4.php +++ b/cake/libs/overloadable_php4.php @@ -25,16 +25,12 @@ /** * Overloadable class selector * + * Load the interface class based on the version of PHP. + * * @package cake * @subpackage cake.cake.libs */ - -/** - * Load the interface class based on the version of PHP. - * - */ class Overloadable extends Object { - /** * Constructor. * @@ -44,7 +40,6 @@ class Overloadable extends Object { $this->overload(); parent::__construct(); } - /** * Overload implementation. * @@ -85,8 +80,15 @@ class Overloadable extends Object { } Overloadable::overload('Overloadable'); +/** + * Overloadable2 class selector + * + * Load the interface class based on the version of PHP. + * + * @package cake + * @subpackage cake.cake.libs + */ class Overloadable2 extends Object { - /** * Constructor * @@ -96,7 +98,6 @@ class Overloadable2 extends Object { $this->overload(); parent::__construct(); } - /** * Overload implementation. * @@ -117,7 +118,6 @@ class Overloadable2 extends Object { } } } - /** * Magic method handler. * @@ -134,7 +134,6 @@ class Overloadable2 extends Object { $return = $this->call__($method, $params); return true; } - /** * Getter. * @@ -147,7 +146,6 @@ class Overloadable2 extends Object { $value = $this->get__($name); return true; } - /** * Setter. * diff --git a/cake/libs/overloadable_php5.php b/cake/libs/overloadable_php5.php index b940083f2..906b6b378 100644 --- a/cake/libs/overloadable_php5.php +++ b/cake/libs/overloadable_php5.php @@ -25,23 +25,18 @@ /** * Overloadable class selector * + * Load the interface class based on the version of PHP. + * * @package cake * @subpackage cake.cake.libs */ - -/** - * Load the interface class based on the version of PHP. - * - */ class Overloadable extends Object { - /** * Overload implementation. No need for implementation in PHP5. * * @access public */ function overload() { } - /** * Magic method handler. * @@ -58,15 +53,20 @@ class Overloadable extends Object { } } +/** + * Overloadable2 class selector + * + * Load the interface class based on the version of PHP. + * + * @package cake + */ class Overloadable2 extends Object { - /** * Overload implementation. No need for implementation in PHP5. * * @access public */ function overload() { } - /** * Magic method handler. * @@ -81,7 +81,6 @@ class Overloadable2 extends Object { } return $this->call__($method, $params); } - /** * Getter. * @@ -93,7 +92,6 @@ class Overloadable2 extends Object { function __get($name) { return $this->get__($name); } - /** * Setter. * @@ -106,5 +104,4 @@ class Overloadable2 extends Object { return $this->set__($name, $value); } } - ?> \ No newline at end of file diff --git a/cake/libs/security.php b/cake/libs/security.php index 9a18ea70d..15ec7c1bb 100644 --- a/cake/libs/security.php +++ b/cake/libs/security.php @@ -33,7 +33,6 @@ * @subpackage cake.cake.libs */ class Security extends Object { - /** * Default hash method * diff --git a/cake/libs/socket.php b/cake/libs/socket.php index bc0ea4b2d..fb50940d0 100644 --- a/cake/libs/socket.php +++ b/cake/libs/socket.php @@ -23,7 +23,6 @@ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ App::import('Core', 'Validation'); - /** * Cake network socket connection class. * @@ -279,5 +278,4 @@ class CakeSocket extends Object { return true; } } - ?> \ No newline at end of file diff --git a/cake/libs/validation.php b/cake/libs/validation.php index 0dbd63e10..e810eae44 100644 --- a/cake/libs/validation.php +++ b/cake/libs/validation.php @@ -73,7 +73,7 @@ class Validation extends Object { * * @var array * @access private - */ + */ var $__pattern = array( 'ip' => '(?:(?:25[0-5]|2[0-4][0-9]|(?:(?:1[0-9])?|[1-9]?)[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|(?:(?:1[0-9])?|[1-9]?)[0-9])', 'hostname' => '(?:[a-z0-9][-a-z0-9]*\.)*(?:[a-z0-9][-a-z0-9]{0,62})\.(?:(?:[a-z]{2}\.)?[a-z]{2,4}|museum|travel)' diff --git a/cake/libs/view/elements/dump.ctp b/cake/libs/view/elements/dump.ctp index 9578e3a66..54c59acf6 100644 --- a/cake/libs/view/elements/dump.ctp +++ b/cake/libs/view/elements/dump.ctp @@ -24,7 +24,7 @@ ?>

-
-			
-		
+
+		
+	
\ No newline at end of file diff --git a/cake/libs/view/errors/error404.ctp b/cake/libs/view/errors/error404.ctp index 509d0a430..b849db72f 100644 --- a/cake/libs/view/errors/error404.ctp +++ b/cake/libs/view/errors/error404.ctp @@ -26,4 +26,4 @@

: '{$message}'")?> -

+

\ No newline at end of file diff --git a/cake/libs/view/errors/missing_table.ctp b/cake/libs/view/errors/missing_table.ctp index 08c17aab0..341897680 100644 --- a/cake/libs/view/errors/missing_table.ctp +++ b/cake/libs/view/errors/missing_table.ctp @@ -30,4 +30,4 @@

: -

+

\ No newline at end of file diff --git a/cake/libs/view/helper.php b/cake/libs/view/helper.php index 18d787d49..9919b358a 100644 --- a/cake/libs/view/helper.php +++ b/cake/libs/view/helper.php @@ -1,6 +1,5 @@ url($url); @@ -614,7 +612,7 @@ class AjaxHelper extends AppHelper { * * @param string $id DOM ID of parent * @param array $options Array of options to control sort. - * @link http://github.com/madrobby/scriptaculous/wikis/sortable + * @link http://github.com/madrobby/scriptaculous/wikis/sortable */ function sortable($id, $options = array()) { if (!empty($options['url'])) { diff --git a/cake/libs/view/helpers/javascript.php b/cake/libs/view/helpers/javascript.php index 04cc8e933..acc9463ef 100644 --- a/cake/libs/view/helpers/javascript.php +++ b/cake/libs/view/helpers/javascript.php @@ -1,6 +1,5 @@ \ No newline at end of file diff --git a/cake/libs/view/helpers/number.php b/cake/libs/view/helpers/number.php index 2a444f4e2..e866e5a8b 100644 --- a/cake/libs/view/helpers/number.php +++ b/cake/libs/view/helpers/number.php @@ -1,6 +1,5 @@ \ No newline at end of file diff --git a/cake/libs/view/helpers/paginator.php b/cake/libs/view/helpers/paginator.php index bc4fa31bb..96541758c 100644 --- a/cake/libs/view/helpers/paginator.php +++ b/cake/libs/view/helpers/paginator.php @@ -31,7 +31,6 @@ * @subpackage cake.cake.libs.view.helpers */ class PaginatorHelper extends AppHelper { - /** * Helper dependencies * diff --git a/cake/libs/view/helpers/rss.php b/cake/libs/view/helpers/rss.php index 3e228db8d..827483a49 100644 --- a/cake/libs/view/helpers/rss.php +++ b/cake/libs/view/helpers/rss.php @@ -22,6 +22,8 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ +App::import('Helper', 'Xml'); + /** * XML Helper class for easy output of XML structures. * @@ -30,8 +32,6 @@ * @package cake * @subpackage cake.cake.libs.view.helpers */ -App::import('Helper', 'Xml'); - class RssHelper extends XmlHelper { /** * Helpers used by RSS Helper @@ -197,7 +197,7 @@ class RssHelper extends XmlHelper { unset($category['domain']); } $categories[] = $this->elem($key, $attrib, $category); - } + } $elements[$key] = join('', $categories); continue 2; } else if (is_array($val) && isset($val['domain'])) { diff --git a/cake/libs/view/helpers/session.php b/cake/libs/view/helpers/session.php index 8eedc0f68..adc0813dd 100644 --- a/cake/libs/view/helpers/session.php +++ b/cake/libs/view/helpers/session.php @@ -24,6 +24,10 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ +if (!class_exists('cakesession')) { + uses('session'); +} + /** * Session Helper. * @@ -33,10 +37,6 @@ * @subpackage cake.cake.libs.view.helpers * */ -if (!class_exists('cakesession')) { - uses('session'); -} - class SessionHelper extends CakeSession { /** * List of helpers used by this helper diff --git a/cake/libs/view/helpers/text.php b/cake/libs/view/helpers/text.php index 34e7b66de..d12a0396b 100644 --- a/cake/libs/view/helpers/text.php +++ b/cake/libs/view/helpers/text.php @@ -1,6 +1,5 @@ \ No newline at end of file diff --git a/cake/libs/view/helpers/xml.php b/cake/libs/view/helpers/xml.php index 1310d602d..14e97f3e3 100644 --- a/cake/libs/view/helpers/xml.php +++ b/cake/libs/view/helpers/xml.php @@ -33,7 +33,6 @@ App::import('Core', array('Xml', 'Set')); * @subpackage cake.cake.libs.view.helpers */ class XmlHelper extends AppHelper { - /** * Default document encoding * @@ -157,5 +156,4 @@ class XmlHelper extends AppHelper { return $data->toString(array_merge(array('header' => false), $options)); } } - ?> \ No newline at end of file diff --git a/cake/libs/view/layouts/email/html/default.ctp b/cake/libs/view/layouts/email/html/default.ctp index 1853a7b3a..a41315a3a 100644 --- a/cake/libs/view/layouts/email/html/default.ctp +++ b/cake/libs/view/layouts/email/html/default.ctp @@ -23,15 +23,13 @@ */ ?> - <?php echo $title_for_layout;?> -

This email was sent using the CakePHP Framework

- + \ No newline at end of file diff --git a/cake/libs/view/layouts/rss/default.ctp b/cake/libs/view/layouts/rss/default.ctp index 94067f2bf..518d97586 100644 --- a/cake/libs/view/layouts/rss/default.ctp +++ b/cake/libs/view/layouts/rss/default.ctp @@ -13,5 +13,4 @@ echo $rss->document( array(), $channel, $content_for_layout ) ); - ?> \ No newline at end of file diff --git a/cake/libs/view/scaffolds/index.ctp b/cake/libs/view/scaffolds/index.ctp index a95342fd7..4e77cb75a 100644 --- a/cake/libs/view/scaffolds/index.ctp +++ b/cake/libs/view/scaffolds/index.ctp @@ -26,7 +26,7 @@

counter(array( -'format' => 'Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%' + 'format' => 'Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%' )); ?>

diff --git a/cake/libs/view/theme.php b/cake/libs/view/theme.php index 4aa6c0590..97e2569a5 100644 --- a/cake/libs/view/theme.php +++ b/cake/libs/view/theme.php @@ -22,7 +22,6 @@ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ - /** * Theme view class * @@ -48,7 +47,6 @@ class ThemeView extends View { * @var string */ var $themePath = null; - /** * Enter description here... * diff --git a/cake/libs/view/view.php b/cake/libs/view/view.php index d35d17bf0..f321daa65 100644 --- a/cake/libs/view/view.php +++ b/cake/libs/view/view.php @@ -1,6 +1,5 @@