@@ -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__; |
@@ -341,6 +341,10 @@ |
||
| 341 | 341 | return $file; |
| 342 | 342 | } |
| 343 | 343 | |
| 344 | + /** |
|
| 345 | + * @param string $class |
|
| 346 | + * @param string $ext |
|
| 347 | + */ |
|
| 344 | 348 | private function findFileWithExtension($class, $ext) |
| 345 | 349 | { |
| 346 | 350 | // PSR-4 lookup |
@@ -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__; |
@@ -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__; |
@@ -632,7 +632,7 @@ discard block |
||
| 632 | 632 | * This methods sets the `GenericExceptionHandler::$enabled` value to `true`. |
| 633 | 633 | * |
| 634 | 634 | * @see core.SymphonyErrorPage |
| 635 | - * @param string|XMLElement $message |
|
| 635 | + * @param string $message |
|
| 636 | 636 | * A description for this error, which can be provided as a string |
| 637 | 637 | * or as an XMLElement. |
| 638 | 638 | * @param string $heading |
@@ -890,7 +890,7 @@ discard block |
||
| 890 | 890 | * is not found, `false` is returned |
| 891 | 891 | * |
| 892 | 892 | * @since Symphony 2.3 |
| 893 | - * @return mixed |
|
| 893 | + * @return string|false |
|
| 894 | 894 | * String, which is the path to the template if the template is found, |
| 895 | 895 | * false otherwise |
| 896 | 896 | */ |
@@ -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 | */ |