@@ -176,6 +176,10 @@ discard block |
||
| 176 | 176 | return $ids; |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | + /** |
|
| 180 | + * @param string $field |
|
| 181 | + * @param string $value |
|
| 182 | + */ |
|
| 179 | 183 | public function set($field, $value) |
| 180 | 184 | { |
| 181 | 185 | if ($field == 'pre_populate_source' && !is_array($value)) { |
@@ -413,6 +417,9 @@ discard block |
||
| 413 | 417 | return self::__OK__; |
| 414 | 418 | } |
| 415 | 419 | |
| 420 | + /** |
|
| 421 | + * @param integer $entry_id |
|
| 422 | + */ |
|
| 416 | 423 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 417 | 424 | { |
| 418 | 425 | $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(); |
@@ -392,6 +395,9 @@ discard block |
||
| 392 | 395 | return self::__OK__; |
| 393 | 396 | } |
| 394 | 397 | |
| 398 | + /** |
|
| 399 | + * @param integer $entry_id |
|
| 400 | + */ |
|
| 395 | 401 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 396 | 402 | { |
| 397 | 403 | $status = self::__OK__; |
@@ -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 | */ |
@@ -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__; |
@@ -72,6 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * Overrides the default `initialiseLog()` method and writes |
| 74 | 74 | * logs to manifest/logs/install |
| 75 | + * @param string $filename |
|
| 75 | 76 | */ |
| 76 | 77 | public static function initialiseLog($filename = null){ |
| 77 | 78 | if(is_dir(INSTALL_LOGS) || General::realiseDirectory(INSTALL_LOGS, self::Configuration()->get('write_mode', 'directory'))) { |
@@ -384,6 +385,8 @@ discard block |
||
| 384 | 385 | * If something went wrong, the `__abort` function will write an entry to the Log |
| 385 | 386 | * file and display the failure page to the user. |
| 386 | 387 | * @todo: Resume installation after an error has been fixed. |
| 388 | + * @param string $message |
|
| 389 | + * @param integer $start |
|
| 387 | 390 | */ |
| 388 | 391 | protected static function __abort($message, $start){ |
| 389 | 392 | $result = Symphony::Log()->pushToLog($message, E_ERROR, true); |
@@ -420,6 +420,9 @@ |
||
| 420 | 420 | $this->Form->appendChild($Submit); |
| 421 | 421 | } |
| 422 | 422 | |
| 423 | + /** |
|
| 424 | + * @param string $message |
|
| 425 | + */ |
|
| 423 | 426 | private function __appendError(array $codes, XMLElement &$element, $message = null){ |
| 424 | 427 | if(is_null($message)) { |
| 425 | 428 | $message = __('The following errors have been reported:'); |
@@ -8,6 +8,9 @@ |
||
| 8 | 8 | |
| 9 | 9 | Class UpdaterPage extends InstallerPage { |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param string $template |
|
| 13 | + */ |
|
| 11 | 14 | public function __construct($template, $params = array()) { |
| 12 | 15 | parent::__construct($template, $params); |
| 13 | 16 | |