@@ -25,6 +25,10 @@ discard block |
||
25 | 25 | Definition: |
26 | 26 | -------------------------------------------------------------------------*/ |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $field |
|
30 | + * @param string $value |
|
31 | + */ |
|
28 | 32 | public function set($field, $value) |
29 | 33 | { |
30 | 34 | if ($field === 'pre_populate_source' && !is_array($value)) { |
@@ -584,6 +588,9 @@ discard block |
||
584 | 588 | ); |
585 | 589 | } |
586 | 590 | |
591 | + /** |
|
592 | + * @param integer $entry_id |
|
593 | + */ |
|
587 | 594 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
588 | 595 | { |
589 | 596 | $status = self::__OK__; |
@@ -289,6 +289,9 @@ |
||
289 | 289 | ); |
290 | 290 | } |
291 | 291 | |
292 | + /** |
|
293 | + * @param integer $entry_id |
|
294 | + */ |
|
292 | 295 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
293 | 296 | { |
294 | 297 | $status = self::__OK__; |
@@ -374,6 +374,9 @@ discard block |
||
374 | 374 | return $this->validateFilename($data['name'], $message); |
375 | 375 | } |
376 | 376 | |
377 | + /** |
|
378 | + * @param string $file |
|
379 | + */ |
|
377 | 380 | public function validateFilename($file, &$message) |
378 | 381 | { |
379 | 382 | if ($this->get('validator') !== null) { |
@@ -506,6 +509,9 @@ discard block |
||
506 | 509 | Import: |
507 | 510 | -------------------------------------------------------------------------*/ |
508 | 511 | |
512 | + /** |
|
513 | + * @param integer $entry_id |
|
514 | + */ |
|
509 | 515 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
510 | 516 | { |
511 | 517 | $status = self::__OK__; |
@@ -666,6 +672,9 @@ discard block |
||
666 | 672 | ); |
667 | 673 | } |
668 | 674 | |
675 | + /** |
|
676 | + * @param string $file |
|
677 | + */ |
|
669 | 678 | public static function getMetaInfo($file, $type) |
670 | 679 | { |
671 | 680 | $meta = array(); |
@@ -452,7 +452,7 @@ |
||
452 | 452 | * |
453 | 453 | * @param string $name |
454 | 454 | * Name of the template |
455 | - * @return mixed |
|
455 | + * @return string|false |
|
456 | 456 | * String, which is the path to the template if the template is found, |
457 | 457 | * false otherwise |
458 | 458 | */ |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | * This methods sets the `GenericExceptionHandler::$enabled` value to `true`. |
305 | 305 | * |
306 | 306 | * @see core.SymphonyErrorPage |
307 | - * @param string|XMLElement $message |
|
307 | + * @param string $message |
|
308 | 308 | * A description for this error, which can be provided as a string |
309 | 309 | * or as an XMLElement. |
310 | 310 | * @param string $heading |
@@ -690,7 +690,7 @@ discard block |
||
690 | 690 | * Accessor for the current `$Flash` instance. |
691 | 691 | * |
692 | 692 | * @since 3.0.0 |
693 | - * @return SessionFlash |
|
693 | + * @return Session |
|
694 | 694 | */ |
695 | 695 | public static function Flash() |
696 | 696 | { |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | * Accessor for `self::$exception`. |
802 | 802 | * |
803 | 803 | * @since Symphony 2.3.2 |
804 | - * @return Exception|null |
|
804 | + * @return Exception |
|
805 | 805 | */ |
806 | 806 | public static function getException() |
807 | 807 | { |
@@ -293,7 +293,7 @@ |
||
293 | 293 | * function. |
294 | 294 | * |
295 | 295 | * @see toolkit.Field#commit() |
296 | - * @return boolean |
|
296 | + * @return boolean|null |
|
297 | 297 | * true if the commit was successful, false otherwise. |
298 | 298 | */ |
299 | 299 | public function commit() |
@@ -289,6 +289,9 @@ |
||
289 | 289 | ); |
290 | 290 | } |
291 | 291 | |
292 | + /** |
|
293 | + * @param integer $entry_id |
|
294 | + */ |
|
292 | 295 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
293 | 296 | { |
294 | 297 | $status = self::__OK__; |
@@ -289,6 +289,9 @@ |
||
289 | 289 | ); |
290 | 290 | } |
291 | 291 | |
292 | + /** |
|
293 | + * @param integer $entry_id |
|
294 | + */ |
|
292 | 295 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
293 | 296 | { |
294 | 297 | $status = self::__OK__; |
@@ -355,7 +355,7 @@ discard block |
||
355 | 355 | * Returns the last insert ID from the previous query. This is |
356 | 356 | * the value from an auto_increment field. |
357 | 357 | * |
358 | - * @return integer |
|
358 | + * @return string |
|
359 | 359 | * The last interested row's ID |
360 | 360 | */ |
361 | 361 | public function getInsertID() |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | * conflicts. By default this is set to false, which will not update the data and |
383 | 383 | * would return an SQL error |
384 | 384 | * @throws DatabaseException |
385 | - * @return boolean |
|
385 | + * @return PDOStatement |
|
386 | 386 | */ |
387 | 387 | public function insert(array $fields, $table, $updateOnDuplicate = false) |
388 | 388 | { |
@@ -445,7 +445,7 @@ discard block |
||
445 | 445 | * A WHERE statement for this UPDATE statement, defaults to null |
446 | 446 | * which will update all rows in the $table |
447 | 447 | * @param array $params |
448 | - * @return bool |
|
448 | + * @return PDOStatement |
|
449 | 449 | */ |
450 | 450 | public function update($fields, $table, $where = null, $params = array()) |
451 | 451 | { |
@@ -472,7 +472,7 @@ discard block |
||
472 | 472 | * which will delete all rows in the $table |
473 | 473 | * @param array $params |
474 | 474 | * @throws DatabaseException |
475 | - * @return boolean |
|
475 | + * @return PDOStatement |
|
476 | 476 | */ |
477 | 477 | public function delete($table, $where = null, array $params = array()) |
478 | 478 | { |