@@ -289,7 +289,7 @@ |
||
| 289 | 289 | } |
| 290 | 290 | |
| 291 | 291 | /** |
| 292 | - * @return Iterator iterator |
|
| 292 | + * @return \ArrayIterator iterator |
|
| 293 | 293 | */ |
| 294 | 294 | public function getIterator() |
| 295 | 295 | { |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | - * @return TActiveRecord current Active Record instance |
|
| 107 | + * @return \Prado\Data\ActiveRecord\TActiveRecord current Active Record instance |
|
| 108 | 108 | */ |
| 109 | 109 | protected function getCurrentRecord() |
| 110 | 110 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * Instantiate the external edit renderer. |
| 136 | - * @param TActiveRecord $record record to be edited |
|
| 136 | + * @param \Prado\Data\ActiveRecord\TActiveRecord $record record to be edited |
|
| 137 | 137 | * @param string $classPath external edit renderer class name. |
| 138 | 138 | * @throws TConfigurationException raised when renderer is not an |
| 139 | 139 | * instance of IScaffoldEditRenderer. |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | |
| 262 | 262 | /** |
| 263 | 263 | * Create the default scaffold editor control factory. |
| 264 | - * @param TActiveRecord $record record instance. |
|
| 264 | + * @param \Prado\Data\ActiveRecord\TActiveRecord $record record instance. |
|
| 265 | 265 | * @return TScaffoldInputBase scaffold editor control factory. |
| 266 | 266 | */ |
| 267 | 267 | protected function getScaffoldInputBuilder($record) |
@@ -259,6 +259,9 @@ |
||
| 259 | 259 | return $this->getCommand($record)->findAllBySql($criteria); |
| 260 | 260 | } |
| 261 | 261 | |
| 262 | + /** |
|
| 263 | + * @param TActiveRecordCriteria $criteria |
|
| 264 | + */ |
|
| 262 | 265 | public function findRecordsByIndex(TActiveRecord $record, $criteria, $fields, $values) |
| 263 | 266 | { |
| 264 | 267 | return $this->getCommand($record)->findAllByIndex($criteria, $fields, $values); |
@@ -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) |
@@ -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) |
@@ -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 | */ |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | - * @param string|TSqlMapCacheKey $key cache key |
|
| 155 | + * @param string $key cache key |
|
| 156 | 156 | * @return mixed cached value. |
| 157 | 157 | */ |
| 158 | 158 | public function get($key) |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | /** |
| 174 | - * @param string|TSqlMapCacheKey $key cache key |
|
| 174 | + * @param string $key cache key |
|
| 175 | 175 | * @param mixed $value value to be cached. |
| 176 | 176 | */ |
| 177 | 177 | public function set($key, $value) |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | - * @return float cache hit ratio. |
|
| 189 | + * @return integer cache hit ratio. |
|
| 190 | 190 | */ |
| 191 | 191 | public function getHitRatio() |
| 192 | 192 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | - * @param TStaticSql $value sql text container. |
|
| 180 | + * @param \Prado\Data\SqlMap\Statements\TStaticSql $value sql text container. |
|
| 181 | 181 | */ |
| 182 | 182 | public function setSqlText($value) |
| 183 | 183 | { |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | } |
| 237 | 237 | |
| 238 | 238 | /** |
| 239 | - * @param TInlineParameterMap $map parameter extracted from the sql text. |
|
| 239 | + * @param TParameterMap $map parameter extracted from the sql text. |
|
| 240 | 240 | */ |
| 241 | 241 | public function setInlineParameterMap($map) |
| 242 | 242 | { |