@@ -123,6 +123,7 @@ |
||
| 123 | 123 | /** |
| 124 | 124 | * @param TMssqlTableInfo table information. |
| 125 | 125 | * @param array column information. |
| 126 | + * @param TMssqlTableInfo $tableInfo |
|
| 126 | 127 | */ |
| 127 | 128 | protected function processColumn($tableInfo, $col) |
| 128 | 129 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * Overrides parent implementation, returns PHP type from the db type. |
| 30 | - * @return boolean derived PHP primitive type from the column db type. |
|
| 30 | + * @return string derived PHP primitive type from the column db type. |
|
| 31 | 31 | */ |
| 32 | 32 | public function getPHPType() |
| 33 | 33 | { |
@@ -114,6 +114,7 @@ |
||
| 114 | 114 | /** |
| 115 | 115 | * @param TMysqlTableInfo table information. |
| 116 | 116 | * @param array column information. |
| 117 | + * @param TMysqlTableInfo $tableInfo |
|
| 117 | 118 | */ |
| 118 | 119 | protected function processColumn($tableInfo, $col) |
| 119 | 120 | { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | /** |
| 146 | 146 | * @param string table schema name |
| 147 | 147 | * @param string table name. |
| 148 | - * @return boolean true if the table is a view. |
|
| 148 | + * @return integer true if the table is a view. |
|
| 149 | 149 | */ |
| 150 | 150 | protected function getIsView($schemaName,$tableName) |
| 151 | 151 | { |
@@ -167,6 +167,7 @@ discard block |
||
| 167 | 167 | /** |
| 168 | 168 | * @param TOracleTableInfo table information. |
| 169 | 169 | * @param array column information. |
| 170 | + * @param TOracleTableInfo $tableInfo |
|
| 170 | 171 | */ |
| 171 | 172 | protected function processColumn($tableInfo, $col) |
| 172 | 173 | { |
@@ -322,6 +323,7 @@ discard block |
||
| 322 | 323 | /** |
| 323 | 324 | * @param string column name. |
| 324 | 325 | * @param TOracleTableInfo table information. |
| 326 | + * @param string $columnId |
|
| 325 | 327 | * @return boolean true if column is a foreign key. |
| 326 | 328 | */ |
| 327 | 329 | protected function isForeignKeyColumn($columnId, $tableInfo) |
@@ -53,6 +53,8 @@ |
||
| 53 | 53 | /** |
| 54 | 54 | * @param string information array key name |
| 55 | 55 | * @param mixed default value if information array value is null |
| 56 | + * @param string $name |
|
| 57 | + * @param boolean $default |
|
| 56 | 58 | * @return mixed information array value. |
| 57 | 59 | */ |
| 58 | 60 | public function getInfo($name,$default=null) |
@@ -204,6 +204,7 @@ |
||
| 204 | 204 | /** |
| 205 | 205 | * @param TPgsqlTableInfo table information. |
| 206 | 206 | * @param array column information. |
| 207 | + * @param TPgsqlTableInfo $tableInfo |
|
| 207 | 208 | */ |
| 208 | 209 | protected function processColumn($tableInfo, $col) |
| 209 | 210 | { |
@@ -159,6 +159,7 @@ |
||
| 159 | 159 | * |
| 160 | 160 | * |
| 161 | 161 | * @param string quoted table name. |
| 162 | + * @param string $table |
|
| 162 | 163 | * @return array foreign key details. |
| 163 | 164 | */ |
| 164 | 165 | protected function getForeignKeys($table) |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** |
| 68 | 68 | * Iterate through all the columns and returns the last insert id of the |
| 69 | 69 | * first column that has a sequence or serial. |
| 70 | - * @return mixed last insert id, null if none is found. |
|
| 70 | + * @return string|null last insert id, null if none is found. |
|
| 71 | 71 | */ |
| 72 | 72 | public function getLastInsertID() |
| 73 | 73 | { |
@@ -187,7 +187,6 @@ discard block |
||
| 187 | 187 | * array('col1' => 'NULL', '*') |
| 188 | 188 | * // SELECT `col1`, `col2`, `col3`, NULL AS `col1` FROM... |
| 189 | 189 | * </code> |
| 190 | - * @param mixed $value |
|
| 191 | 190 | * @return array of generated fields - use implode(', ', $selectfieldlist) to collapse field list for usage |
| 192 | 191 | * @since 3.1.7 |
| 193 | 192 | * @todo add support for table aliasing |
@@ -395,7 +394,7 @@ discard block |
||
| 395 | 394 | /** |
| 396 | 395 | * Returns a list of insert field name and a list of binding names. |
| 397 | 396 | * @param object array or object to be inserted. |
| 398 | - * @return array tuple ($fields, $bindings) |
|
| 397 | + * @return string[] tuple ($fields, $bindings) |
|
| 399 | 398 | */ |
| 400 | 399 | protected function getInsertFieldBindings($values) |
| 401 | 400 | { |
@@ -439,6 +438,7 @@ discard block |
||
| 439 | 438 | * Bind the name-value pairs of $values where the array keys correspond to column names. |
| 440 | 439 | * @param TDbCommand database command. |
| 441 | 440 | * @param array name-value pairs. |
| 441 | + * @param TDbCommand $command |
|
| 442 | 442 | */ |
| 443 | 443 | public function bindColumnValues($command, $values) |
| 444 | 444 | { |
@@ -455,6 +455,7 @@ discard block |
||
| 455 | 455 | /** |
| 456 | 456 | * @param TDbCommand database command |
| 457 | 457 | * @param array values for binding. |
| 458 | + * @param TDbCommand $command |
|
| 458 | 459 | */ |
| 459 | 460 | public function bindArrayValues($command, $values) |
| 460 | 461 | { |
@@ -127,8 +127,6 @@ discard block |
||
| 127 | 127 | /** |
| 128 | 128 | * Quotes a table name for use in a query. |
| 129 | 129 | * @param string $name table name |
| 130 | - * @param string $lft left delimiter |
|
| 131 | - * @param string $rgt right delimiter |
|
| 132 | 130 | * @return string the properly quoted table name |
| 133 | 131 | */ |
| 134 | 132 | public function quoteTableName($name) |
@@ -150,8 +148,6 @@ discard block |
||
| 150 | 148 | /** |
| 151 | 149 | * Quotes a column name for use in a query. |
| 152 | 150 | * @param string $name column name |
| 153 | - * @param string $lft left delimiter |
|
| 154 | - * @param string $rgt right delimiter |
|
| 155 | 151 | * @return string the properly quoted column name |
| 156 | 152 | */ |
| 157 | 153 | public function quoteColumnName($name) |
@@ -166,8 +162,6 @@ discard block |
||
| 166 | 162 | /** |
| 167 | 163 | * Quotes a column alias for use in a query. |
| 168 | 164 | * @param string $name column alias |
| 169 | - * @param string $lft left delimiter |
|
| 170 | - * @param string $rgt right delimiter |
|
| 171 | 165 | * @return string the properly quoted column alias |
| 172 | 166 | */ |
| 173 | 167 | public function quoteColumnAlias($name) |