Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/db/i_db_connection.php
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | |||||
public function GetColIterator($sql, $key_field = null); | public function GetColIterator($sql, $key_field = null); | ||||
/** | /** | ||||
* Queries db with $sql query supplied and returns rows selected if any, false otherwise. | * Queries db with $sql query supplied and returns rows selected if any, false otherwise. | ||||
* | * | ||||
* Optional parameter $key_field allows to set one of the query fields value as key in string array. | * Optional parameter $key_field allows to set one of the query fields value as key in string array. | ||||
* | * | ||||
* @param string $sql | * @param string $sql | ||||
* @param string $key_field | * @param string $key_field | ||||
Lint: CodingStandard.Commenting.DocComment.TagValueIndent: Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 | |||||
Expected 7 spaces after parameter type; 1 found Lint: CodingStandard.Commenting.FunctionComment.SpacingAfterParamType: Expected 7 spaces after parameter type; 1 found | |||||
Missing parameter comment Lint: CodingStandard.Commenting.FunctionComment.MissingParamComment: Missing parameter comment | |||||
* @param bool $no_debug | * @param boolean|null $no_debug | ||||
Missing parameter comment Lint: CodingStandard.Commenting.FunctionComment.MissingParamComment: Missing parameter comment | |||||
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 Lint: CodingStandard.Commenting.DocComment.TagValueIndent: Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 | |||||
* @return Array | * @return Array | ||||
Expected "array" but found "Array" for function return type Lint: CodingStandard.Commenting.FunctionComment.InvalidReturn: Expected "array" but found "Array" for function return type | |||||
Tag @return cannot be grouped with parameter tags in a doc comment Lint: CodingStandard.Commenting.DocComment.NonParamGroup: Tag @return cannot be grouped with parameter tags in a doc comment | |||||
* @access public | * @access public | ||||
*/ | */ | ||||
public function Query($sql, $key_field = null, $no_debug = false); | public function Query($sql, $key_field = null, $no_debug = null); | ||||
/** | /** | ||||
* Returns iterator to a recordset, produced from running $sql query. | * Returns iterator to a recordset, produced from running $sql query. | ||||
* | * | ||||
* Queries db with $sql query supplied and returns kMySQLQuery iterator or false in case of error. | * Queries db with $sql query supplied and returns kMySQLQuery iterator or false in case of error. | ||||
* Optional parameter $key_field allows to set one of the query fields value as key in string array. | * Optional parameter $key_field allows to set one of the query fields value as key in string array. | ||||
* | * | ||||
* @param string $sql | * @param string $sql | ||||
* @param string $key_field | * @param string $key_field | ||||
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 Lint: CodingStandard.Commenting.DocComment.TagValueIndent: Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 | |||||
Expected 7 spaces after parameter type; 1 found Lint: CodingStandard.Commenting.FunctionComment.SpacingAfterParamType: Expected 7 spaces after parameter type; 1 found | |||||
Missing parameter comment Lint: CodingStandard.Commenting.FunctionComment.MissingParamComment: Missing parameter comment | |||||
* @param bool $no_debug | * @param boolean|null $no_debug | ||||
Expected 1 spaces after parameter type; 3 found Lint: CodingStandard.Commenting.FunctionComment.SpacingAfterParamType: Expected 1 spaces after parameter type; 3 found | |||||
Missing parameter comment Lint: CodingStandard.Commenting.FunctionComment.MissingParamComment: Missing parameter comment | |||||
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 Lint: CodingStandard.Commenting.DocComment.TagValueIndent: Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 | |||||
* @param string $iterator_class | * @param string $iterator_class | ||||
Missing parameter comment Lint: CodingStandard.Commenting.FunctionComment.MissingParamComment: Missing parameter comment | |||||
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 Lint: CodingStandard.Commenting.DocComment.TagValueIndent: Tag value for @param tag indented incorrectly; expected 2 spaces but found 1 | |||||
Expected 7 spaces after parameter type; 1 found Lint: CodingStandard.Commenting.FunctionComment.SpacingAfterParamType: Expected 7 spaces after parameter type; 1 found | |||||
* @return kMySQLQuery|bool | * @return kMySQLQuery|bool | ||||
* @access public | * @access public | ||||
*/ | */ | ||||
public function GetIterator($sql, $key_field = null, $no_debug = false, $iterator_class = 'kMySQLQuery'); | public function GetIterator($sql, $key_field = null, $no_debug = null, $iterator_class = 'kMySQLQuery'); | ||||
/** | /** | ||||
* Free memory used to hold recordset handle. | * Free memory used to hold recordset handle. | ||||
* | * | ||||
* @access public | * @access public | ||||
*/ | */ | ||||
public function Destroy(); | public function Destroy(); | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1