@@ -418,7 +418,7 @@ |
||
| 418 | 418 | * |
| 419 | 419 | * @param string $name |
| 420 | 420 | * Name of the template |
| 421 | - * @return mixed |
|
| 421 | + * @return string|false |
|
| 422 | 422 | * String, which is the path to the template if the template is found, |
| 423 | 423 | * false otherwise |
| 424 | 424 | */ |
@@ -289,7 +289,7 @@ |
||
| 289 | 289 | * function. |
| 290 | 290 | * |
| 291 | 291 | * @see toolkit.Field#commit() |
| 292 | - * @return boolean |
|
| 292 | + * @return boolean|null |
|
| 293 | 293 | * true if the commit was successful, false otherwise. |
| 294 | 294 | */ |
| 295 | 295 | public function commit() |
@@ -196,6 +196,9 @@ |
||
| 196 | 196 | return self::__OK__; |
| 197 | 197 | } |
| 198 | 198 | |
| 199 | + /** |
|
| 200 | + * @param integer $entry_id |
|
| 201 | + */ |
|
| 199 | 202 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 200 | 203 | { |
| 201 | 204 | $status = self::__OK__; |
@@ -196,6 +196,9 @@ |
||
| 196 | 196 | return self::__OK__; |
| 197 | 197 | } |
| 198 | 198 | |
| 199 | + /** |
|
| 200 | + * @param integer $entry_id |
|
| 201 | + */ |
|
| 199 | 202 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 200 | 203 | { |
| 201 | 204 | $status = self::__OK__; |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | * |
| 101 | 101 | * @param string $name |
| 102 | 102 | * The gateway to look for |
| 103 | - * @return string|boolean |
|
| 103 | + * @return string |
|
| 104 | 104 | * @todo fix return if gateway does not exist. |
| 105 | 105 | */ |
| 106 | 106 | public static function __getDriverPath($name) |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * Does not check if the gateway exists. |
| 114 | 114 | * |
| 115 | 115 | * @param string $filename |
| 116 | - * @return string|boolean |
|
| 116 | + * @return string |
|
| 117 | 117 | */ |
| 118 | 118 | public static function __getHandleFromFilename($filename) |
| 119 | 119 | { |
@@ -122,6 +122,9 @@ discard block |
||
| 122 | 122 | return true; |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | + /** |
|
| 126 | + * @param string $file |
|
| 127 | + */ |
|
| 125 | 128 | public static function getMetaInfo($file, $type) |
| 126 | 129 | { |
| 127 | 130 | $meta = array(); |
@@ -286,6 +289,9 @@ discard block |
||
| 286 | 289 | } |
| 287 | 290 | } |
| 288 | 291 | |
| 292 | + /** |
|
| 293 | + * @param string $file |
|
| 294 | + */ |
|
| 289 | 295 | public function validateFilename($file, &$message) |
| 290 | 296 | { |
| 291 | 297 | if ($this->get('validator') != null) { |
@@ -401,6 +407,9 @@ discard block |
||
| 401 | 407 | return $this->validateFilename($data['name'], $message); |
| 402 | 408 | } |
| 403 | 409 | |
| 410 | + /** |
|
| 411 | + * @param integer $entry_id |
|
| 412 | + */ |
|
| 404 | 413 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 405 | 414 | { |
| 406 | 415 | $status = self::__OK__; |
@@ -289,7 +289,7 @@ |
||
| 289 | 289 | * function. |
| 290 | 290 | * |
| 291 | 291 | * @see toolkit.Field#commit() |
| 292 | - * @return boolean |
|
| 292 | + * @return boolean|null |
|
| 293 | 293 | * true if the commit was successful, false otherwise. |
| 294 | 294 | */ |
| 295 | 295 | public function commit() |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | * Accessor for the current `$Flash` instance. |
| 351 | 351 | * |
| 352 | 352 | * @since 3.0.0 |
| 353 | - * @return SessionFlash |
|
| 353 | + * @return Session |
|
| 354 | 354 | */ |
| 355 | 355 | public static function Flash() |
| 356 | 356 | { |
@@ -732,7 +732,7 @@ discard block |
||
| 732 | 732 | * This methods sets the `GenericExceptionHandler::$enabled` value to `true`. |
| 733 | 733 | * |
| 734 | 734 | * @see core.SymphonyErrorPage |
| 735 | - * @param string|XMLElement $message |
|
| 735 | + * @param string $message |
|
| 736 | 736 | * A description for this error, which can be provided as a string |
| 737 | 737 | * or as an XMLElement. |
| 738 | 738 | * @param string $heading |
@@ -771,7 +771,7 @@ discard block |
||
| 771 | 771 | * Accessor for `self::$exception`. |
| 772 | 772 | * |
| 773 | 773 | * @since Symphony 2.3.2 |
| 774 | - * @return Exception|null |
|
| 774 | + * @return Exception |
|
| 775 | 775 | */ |
| 776 | 776 | public static function getException() |
| 777 | 777 | { |
@@ -990,7 +990,7 @@ discard block |
||
| 990 | 990 | * is not found, `false` is returned |
| 991 | 991 | * |
| 992 | 992 | * @since Symphony 2.3 |
| 993 | - * @return mixed |
|
| 993 | + * @return string|false |
|
| 994 | 994 | * String, which is the path to the template if the template is found, |
| 995 | 995 | * false otherwise |
| 996 | 996 | */ |
@@ -22,6 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * Constructor takes a message and an associative array to set to |
| 24 | 24 | * `$_error`. The message is passed to the default Exception constructor |
| 25 | + * @param string $message |
|
| 25 | 26 | */ |
| 26 | 27 | public function __construct($message, array $error=NULL, Exception $ex = null) |
| 27 | 28 | { |
@@ -463,7 +464,7 @@ discard block |
||
| 463 | 464 | * Returns the last insert ID from the previous query. This is |
| 464 | 465 | * the value from an auto_increment field. |
| 465 | 466 | * |
| 466 | - * @return integer |
|
| 467 | + * @return string |
|
| 467 | 468 | * The last interested row's ID |
| 468 | 469 | */ |
| 469 | 470 | public function getInsertID() |