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
This commit is contained in:
phpnut 2005-05-17 21:47:59 +00:00
parent ce08562f5d
commit d84575c565
7 changed files with 30 additions and 42 deletions

View file

@ -23,30 +23,30 @@
* Example usage: * Example usage:
* *
* <code> * <code>
require('dbo_mysql.php'); // or 'dbo_postgres.php' * require('dbo_mysql.php'); // or 'dbo_postgres.php'
*
// create and connect the object * // create and connect the object
$db = new DBO_MySQL(array( // or 'DBO_Postgres' * $db = new DBO_MySQL(array( // or 'DBO_Postgres'
'host'=>'localhost', * 'host'=>'localhost',
'login'=>'username', * 'login'=>'username',
'password'=>'password', * 'password'=>'password',
'database'=>'database')); * 'database'=>'database'));
*
// read the whole query result array (of rows) * // read the whole query result array (of rows)
$all_rows = $db->all("SELECT a,b,c FROM table"); * $all_rows = $db->all("SELECT a,b,c FROM table");
*
// read the first row with debugging on * // read the first row with debugging on
$first_row_only = $db->one("SELECT a,b,c FROM table WHERE a=1", TRUE); * $first_row_only = $db->one("SELECT a,b,c FROM table WHERE a=1", TRUE);
*
// emulate the usual way of reading query results * // emulate the usual way of reading query results
if ($db->query("SELECT a,b,c FROM table")) { * if ($db->query("SELECT a,b,c FROM table")) {
while ( $row = $db->farr() ) { * while ( $row = $db->farr() ) {
print $row['a'].$row['b'].$row['c']; * print $row['a'].$row['b'].$row['c'];
} * }
} * }
*
// show a log of all queries, sorted by execution time * // show a log of all queries, sorted by execution time
$db->showLog(TRUE); * $db->showLog(TRUE);
* </code> * </code>
* *
* @filesource * @filesource

View file

@ -17,9 +17,7 @@
* Purpose: Error Messages Defines * Purpose: Error Messages Defines
* *
* @filesource * @filesource
* @author Michal Tatarynowicz <tatarynowicz@gmail.com> * @author Cake Authors/Developers
* @author Larry E. Masters aka PhpNut <nut@phpnut.com>
* @author Kamil Dzielinski aka Brego <brego.dk@gmail.com>
* @copyright Copyright (c) 2005, Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
* @package cake * @package cake

View file

@ -20,9 +20,7 @@
* Test with $flay = new Flay(); $flay->test(); * Test with $flay = new Flay(); $flay->test();
* *
* @filesource * @filesource
* @author Michal Tatarynowicz <tatarynowicz@gmail.com> * @author Cake Authors/Developers
* @author Larry E. Masters aka PhpNut <nut@phpnut.com>
* @author Kamil Dzielinski aka Brego <brego.dk@gmail.com>
* @copyright Copyright (c) 2005, Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
* @package cake * @package cake

View file

@ -25,9 +25,7 @@
* - schema-related cross-table ($has_one, $has_many, $belongs_to) * - schema-related cross-table ($has_one, $has_many, $belongs_to)
* *
* @filesource * @filesource
* @author Michal Tatarynowicz <tatarynowicz@gmail.com> * @author Cake Authors/Developers
* @author Larry E. Masters aka PhpNut <nut@phpnut.com>
* @author Kamil Dzielinski aka Brego <brego.dk@gmail.com>
* @copyright Copyright (c) 2005, Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
* @package cake * @package cake

View file

@ -18,9 +18,7 @@
* Parses the request URL into controller, action, and params * Parses the request URL into controller, action, and params
* *
* @filesource * @filesource
* @author Michal Tatarynowicz <tatarynowicz@gmail.com> * @author Cake Authors/Developers
* @author Larry E. Masters aka PhpNut <nut@phpnut.com>
* @author Kamil Dzielinski aka Brego <brego.dk@gmail.com>
* @copyright Copyright (c) 2005, Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
* @package cake * @package cake

View file

@ -18,9 +18,7 @@
* Templating for Controller class. * Templating for Controller class.
* *
* @filesource * @filesource
* @author Michal Tatarynowicz <tatarynowicz@gmail.com> * @author Cake Authors/Developers
* @author Larry E. Masters aka PhpNut <nut@phpnut.com>
* @author Kamil Dzielinski aka Brego <brego.dk@gmail.com>
* @copyright Copyright (c) 2005, Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
* @package cake * @package cake

View file

@ -18,9 +18,7 @@
* The main "loop" * The main "loop"
* *
* @filesource * @filesource
* @author Michal Tatarynowicz <tatarynowicz@gmail.com> * @author Cake Authors/Developers
* @author Larry E. Masters aka PhpNut <nut@phpnut.com>
* @author Kamil Dzielinski aka Brego <brego.dk@gmail.com>
* @copyright Copyright (c) 2005, Cake Authors/Developers * @copyright Copyright (c) 2005, Cake Authors/Developers
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
* @package cake * @package cake