@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
77 | - * @param TDbConnection $conn default database connection |
|
77 | + * @param \Prado\Data\TDbConnection $conn default database connection |
|
78 | 78 | */ |
79 | 79 | public function setDbConnection($conn) |
80 | 80 | { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | - * @param null|mixed $self |
|
93 | + * @param \Prado\TComponent $self |
|
94 | 94 | * @return TActiveRecordManager static instance of record manager. |
95 | 95 | */ |
96 | 96 | public static function getInstance($self = null) |
@@ -263,7 +263,7 @@ |
||
263 | 263 | |
264 | 264 | /** |
265 | 265 | * @param string $columnId column name. |
266 | - * @param TPgsqlTableInfo $tableInfo table information. |
|
266 | + * @param TMssqlTableInfo $tableInfo table information. |
|
267 | 267 | * @return bool true if column is a foreign key. |
268 | 268 | */ |
269 | 269 | protected function isForeignKeyColumn($columnId, $tableInfo) |
@@ -385,7 +385,7 @@ |
||
385 | 385 | |
386 | 386 | /** |
387 | 387 | * @param string $columnId column name. |
388 | - * @param TPgsqlTableInfo $tableInfo table information. |
|
388 | + * @param TMysqlTableInfo $tableInfo table information. |
|
389 | 389 | * @return bool true if column is a foreign key. |
390 | 390 | */ |
391 | 391 | protected function isForeignKeyColumn($columnId, $tableInfo) |
@@ -45,7 +45,7 @@ |
||
45 | 45 | } |
46 | 46 | /** |
47 | 47 | * |
48 | - * @param mixed $column |
|
48 | + * @param \Prado\Data\Common\TDbTableColumn $column |
|
49 | 49 | * @return bool true if column can be used for LIKE searching. |
50 | 50 | */ |
51 | 51 | protected function isSearchableColumn($column) |
@@ -150,7 +150,7 @@ |
||
150 | 150 | /** |
151 | 151 | * @param string $schemaName table schema name |
152 | 152 | * @param string $tableName table name. |
153 | - * @return bool true if the table is a view. |
|
153 | + * @return integer true if the table is a view. |
|
154 | 154 | */ |
155 | 155 | protected function getIsView($schemaName, $tableName) |
156 | 156 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * @param TDbConnection $connection database connection. |
53 | - * @return TDbCommandBuilder new command builder |
|
53 | + * @return TOracleCommandBuilder new command builder |
|
54 | 54 | */ |
55 | 55 | public function createCommandBuilder($connection) |
56 | 56 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | /** |
61 | 61 | * @param string $name information array key name |
62 | - * @param mixed $default default value if information array value is null |
|
62 | + * @param boolean $default default value if information array value is null |
|
63 | 63 | * @return mixed information array value. |
64 | 64 | */ |
65 | 65 | public function getInfo($name, $default = null) |
@@ -257,7 +257,7 @@ |
||
257 | 257 | } |
258 | 258 | |
259 | 259 | /** |
260 | - * @param mixed $tableInfo |
|
260 | + * @param TPgsqlTableInfo $tableInfo |
|
261 | 261 | * @param mixed $src |
262 | 262 | * @return string serial name if found, null otherwise. |
263 | 263 | */ |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | /** |
311 | 311 | * Build sql command from the criteria. Limit, Offset and Ordering are applied if applicable. |
312 | 312 | * @param TSqlCriteria $criteria $criteria |
313 | - * @return TDbCommand command corresponding to the criteria. |
|
313 | + * @return TDataGatewayCommand command corresponding to the criteria. |
|
314 | 314 | */ |
315 | 315 | protected function getSqlCommand($criteria) |
316 | 316 | { |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | * @param string $method __call method name |
383 | 383 | * @param string $condition criteria conditions |
384 | 384 | * @param array $args method arguments |
385 | - * @return TActiveRecordCriteria criteria created from the method name and its arguments. |
|
385 | + * @return TSqlCriteria criteria created from the method name and its arguments. |
|
386 | 386 | */ |
387 | 387 | public function createCriteriaFromString($method, $condition, $args) |
388 | 388 | { |
@@ -222,7 +222,7 @@ |
||
222 | 222 | * $table->find($criteria); //the 2nd parameter for find() is ignored. |
223 | 223 | * </code> |
224 | 224 | * |
225 | - * @param string|TSqlCriteria $criteria SQL condition or criteria object. |
|
225 | + * @param TSqlCriteria $criteria SQL condition or criteria object. |
|
226 | 226 | * @param mixed $parameters parameter values. |
227 | 227 | * @return array matching record object. |
228 | 228 | */ |