From d84575c565351028cdc47a19e229a62f95da3220 Mon Sep 17 00:00:00 2001 From: phpnut Date: Tue, 17 May 2005 21:47:59 +0000 Subject: [PATCH] modifying file headers removing tabs in file I found them in all code should use spaces If your editor allows set tabs to 4 spaces :) git-svn-id: https://svn.cakephp.org/repo/trunk/cake@132 3807eeeb-6ff5-0310-8944-8be069107fe0 --- libs/dbo.php | 48 ++++++++++++++++++++--------------------- libs/error_messages.php | 4 +--- libs/flay.php | 4 +--- libs/model.php | 4 +--- libs/router.php | 4 +--- libs/template.php | 4 +--- public/dispatch.php | 4 +--- 7 files changed, 30 insertions(+), 42 deletions(-) diff --git a/libs/dbo.php b/libs/dbo.php index 1bb4cd5fd..99341ad4e 100644 --- a/libs/dbo.php +++ b/libs/dbo.php @@ -23,30 +23,30 @@ * Example usage: * * - require('dbo_mysql.php'); // or 'dbo_postgres.php' - - // create and connect the object - $db = new DBO_MySQL(array( // or 'DBO_Postgres' - 'host'=>'localhost', - 'login'=>'username', - 'password'=>'password', - 'database'=>'database')); - - // read the whole query result array (of rows) - $all_rows = $db->all("SELECT a,b,c FROM table"); - - // read the first row with debugging on - $first_row_only = $db->one("SELECT a,b,c FROM table WHERE a=1", TRUE); - - // emulate the usual way of reading query results - if ($db->query("SELECT a,b,c FROM table")) { - while ( $row = $db->farr() ) { - print $row['a'].$row['b'].$row['c']; - } - } - - // show a log of all queries, sorted by execution time - $db->showLog(TRUE); + * require('dbo_mysql.php'); // or 'dbo_postgres.php' + * + * // create and connect the object + * $db = new DBO_MySQL(array( // or 'DBO_Postgres' + * 'host'=>'localhost', + * 'login'=>'username', + * 'password'=>'password', + * 'database'=>'database')); + * + * // read the whole query result array (of rows) + * $all_rows = $db->all("SELECT a,b,c FROM table"); + * + * // read the first row with debugging on + * $first_row_only = $db->one("SELECT a,b,c FROM table WHERE a=1", TRUE); + * + * // emulate the usual way of reading query results + * if ($db->query("SELECT a,b,c FROM table")) { + * while ( $row = $db->farr() ) { + * print $row['a'].$row['b'].$row['c']; + * } + * } + * + * // show a log of all queries, sorted by execution time + * $db->showLog(TRUE); * * * @filesource diff --git a/libs/error_messages.php b/libs/error_messages.php index 88774e499..70308327d 100644 --- a/libs/error_messages.php +++ b/libs/error_messages.php @@ -17,9 +17,7 @@ * Purpose: Error Messages Defines * * @filesource - * @author Michal Tatarynowicz - * @author Larry E. Masters aka PhpNut - * @author Kamil Dzielinski aka Brego + * @author Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @package cake diff --git a/libs/flay.php b/libs/flay.php index 455991c91..84f68d797 100644 --- a/libs/flay.php +++ b/libs/flay.php @@ -20,9 +20,7 @@ * Test with $flay = new Flay(); $flay->test(); * * @filesource - * @author Michal Tatarynowicz - * @author Larry E. Masters aka PhpNut - * @author Kamil Dzielinski aka Brego + * @author Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @package cake diff --git a/libs/model.php b/libs/model.php index 2fbac429a..5c4568d61 100644 --- a/libs/model.php +++ b/libs/model.php @@ -25,9 +25,7 @@ * - schema-related cross-table ($has_one, $has_many, $belongs_to) * * @filesource - * @author Michal Tatarynowicz - * @author Larry E. Masters aka PhpNut - * @author Kamil Dzielinski aka Brego + * @author Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @package cake diff --git a/libs/router.php b/libs/router.php index 6d319ae5a..7779fb61f 100644 --- a/libs/router.php +++ b/libs/router.php @@ -18,9 +18,7 @@ * Parses the request URL into controller, action, and params * * @filesource - * @author Michal Tatarynowicz - * @author Larry E. Masters aka PhpNut - * @author Kamil Dzielinski aka Brego + * @author Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @package cake diff --git a/libs/template.php b/libs/template.php index 950db5725..019bfd181 100644 --- a/libs/template.php +++ b/libs/template.php @@ -18,9 +18,7 @@ * Templating for Controller class. * * @filesource - * @author Michal Tatarynowicz - * @author Larry E. Masters aka PhpNut - * @author Kamil Dzielinski aka Brego + * @author Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @package cake diff --git a/public/dispatch.php b/public/dispatch.php index ff9cdc26a..d778467e5 100644 --- a/public/dispatch.php +++ b/public/dispatch.php @@ -18,9 +18,7 @@ * The main "loop" * * @filesource - * @author Michal Tatarynowicz - * @author Larry E. Masters aka PhpNut - * @author Kamil Dzielinski aka Brego + * @author Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @package cake