From f06f0dae8be7be2cf6ed571d5e46c58959814f53 Mon Sep 17 00:00:00 2001 From: predominant Date: Sun, 30 May 2010 01:10:48 +1000 Subject: [PATCH] Numerous "Enter description here" block comments updated to have meaningful descriptions. --- app/webroot/css.php | 10 ++-- cake/console/templates/skel/webroot/css.php | 6 +-- cake/libs/model/datasources/datasource.php | 2 +- cake/libs/model/datasources/dbo/dbo_mysql.php | 4 +- .../libs/model/datasources/dbo/dbo_mysqli.php | 4 +- .../libs/model/datasources/dbo/dbo_oracle.php | 46 +++++++++---------- .../libs/model/datasources/dbo/dbo_sqlite.php | 4 +- cake/libs/view/helpers/number.php | 2 +- 8 files changed, 40 insertions(+), 38 deletions(-) diff --git a/app/webroot/css.php b/app/webroot/css.php index 445b2fb2e..aae68cba8 100644 --- a/app/webroot/css.php +++ b/app/webroot/css.php @@ -1,6 +1,6 @@ array('name' => 'inet')); /** - * Enter description here... + * Connection object * - * @var unknown_type + * @var mixed * @access protected */ var $connection; /** - * Enter description here... + * Query limit * - * @var unknown_type + * @var int * @access protected */ var $_limit = -1; /** - * Enter description here... + * Query offset * - * @var unknown_type + * @var int * @access protected */ var $_offset = 0; @@ -109,25 +109,25 @@ class DboOracle extends DboSource { var $_map; /** - * Enter description here... + * Current Row * - * @var unknown_type + * @var mixed * @access protected */ var $_currentRow; /** - * Enter description here... + * Number of rows * - * @var unknown_type + * @var int * @access protected */ var $_numRows; /** - * Enter description here... + * Query results * - * @var unknown_type + * @var mixed * @access protected */ var $_results; @@ -378,9 +378,9 @@ class DboOracle extends DboSource { } /** - * Enter description here... + * Fetch result row * - * @return unknown + * @return array * @access public */ function fetchRow() { @@ -444,10 +444,10 @@ class DboOracle extends DboSource { } /** - * Enter description here... + * Create trigger * - * @param unknown_type $table - * @return unknown + * @param string $table + * @return mixed * @access public */ function createTrigger($table) { diff --git a/cake/libs/model/datasources/dbo/dbo_sqlite.php b/cake/libs/model/datasources/dbo/dbo_sqlite.php index 1fdba32a8..efc660f33 100644 --- a/cake/libs/model/datasources/dbo/dbo_sqlite.php +++ b/cake/libs/model/datasources/dbo/dbo_sqlite.php @@ -29,9 +29,9 @@ class DboSqlite extends DboSource { /** - * Enter description here... + * Datasource Description * - * @var unknown_type + * @var string */ var $description = "SQLite DBO Driver"; diff --git a/cake/libs/view/helpers/number.php b/cake/libs/view/helpers/number.php index da8a565a6..236732a92 100644 --- a/cake/libs/view/helpers/number.php +++ b/cake/libs/view/helpers/number.php @@ -69,7 +69,7 @@ class NumberHelper extends AppHelper { * * @param float $number A floating point number. * @param integer $precision The precision of the returned number. - * @return float Enter description here... + * @return float Formatted float. * @access public * @link http://book.cakephp.org/view/1454/precision */