@@ -71,6 +71,7 @@ discard block |
||
| 71 | 71 | /** |
| 72 | 72 | * Overrides the default `initialiseLog()` method and writes |
| 73 | 73 | * logs to manifest/logs/install |
| 74 | + * @param string $filename |
|
| 74 | 75 | */ |
| 75 | 76 | public static function initialiseLog($filename = null) |
| 76 | 77 | { |
@@ -383,6 +384,8 @@ discard block |
||
| 383 | 384 | * If something went wrong, the `__abort` function will write an entry to the Log |
| 384 | 385 | * file and display the failure page to the user. |
| 385 | 386 | * @todo: Resume installation after an error has been fixed. |
| 387 | + * @param string $message |
|
| 388 | + * @param integer $start |
|
| 386 | 389 | */ |
| 387 | 390 | protected static function __abort($message, $start) |
| 388 | 391 | { |
@@ -6,6 +6,10 @@ |
||
| 6 | 6 | |
| 7 | 7 | class UpdaterPage extends InstallerPage |
| 8 | 8 | { |
| 9 | + |
|
| 10 | + /** |
|
| 11 | + * @param string $template |
|
| 12 | + */ |
|
| 9 | 13 | public function __construct($template, $params = array()) |
| 10 | 14 | { |
| 11 | 15 | parent::__construct($template, $params); |
@@ -65,6 +65,9 @@ discard block |
||
| 65 | 65 | return $association_id[0]; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @param string $search |
|
| 70 | + */ |
|
| 68 | 71 | private function getStatic($field_id, $search = null) |
| 69 | 72 | { |
| 70 | 73 | $options = array(); |
@@ -88,6 +91,10 @@ discard block |
||
| 88 | 91 | } |
| 89 | 92 | } |
| 90 | 93 | |
| 94 | + /** |
|
| 95 | + * @param string $search |
|
| 96 | + * @param string $max |
|
| 97 | + */ |
|
| 91 | 98 | private function get($database, $field_id, $search, $max) |
| 92 | 99 | { |
| 93 | 100 | // Get entries |
@@ -887,6 +887,9 @@ |
||
| 887 | 887 | } |
| 888 | 888 | } |
| 889 | 889 | |
| 890 | + /** |
|
| 891 | + * @param string $redirect |
|
| 892 | + */ |
|
| 890 | 893 | public function __actionDelete($pages, $redirect) |
| 891 | 894 | { |
| 892 | 895 | $success = true; |
@@ -117,6 +117,9 @@ discard block |
||
| 117 | 117 | $this->filteringForm->appendChild($div); |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | + /** |
|
| 121 | + * @param XMLElement $wrapper |
|
| 122 | + */ |
|
| 120 | 123 | private function createFieldFilters(&$wrapper, $section) |
| 121 | 124 | { |
| 122 | 125 | $filters = $_GET['filter']; |
@@ -256,6 +259,9 @@ discard block |
||
| 256 | 259 | return $comparisons; |
| 257 | 260 | } |
| 258 | 261 | |
| 262 | + /** |
|
| 263 | + * @param XMLElement $wrapper |
|
| 264 | + */ |
|
| 259 | 265 | private function createFilterSuggestions(&$wrapper, $data) |
| 260 | 266 | { |
| 261 | 267 | $ul = new XMLElement('ul'); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * |
| 135 | 135 | * @param string $data |
| 136 | 136 | * The data to compress |
| 137 | - * @return string|boolean |
|
| 137 | + * @return false|string |
|
| 138 | 138 | * The compressed data, or false if an error occurred |
| 139 | 139 | */ |
| 140 | 140 | public static function compressData($data) |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | * |
| 153 | 153 | * @param string $data |
| 154 | 154 | * The data to decompress |
| 155 | - * @return string|boolean |
|
| 155 | + * @return false|string |
|
| 156 | 156 | * The decompressed data, or false if an error occurred |
| 157 | 157 | */ |
| 158 | 158 | public static function decompressData($data) |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * Whether this cookie should only be sent on secure servers. By default this is |
| 47 | 47 | * false, which means the cookie can be sent over HTTP and HTTPS |
| 48 | 48 | * @throws Exception |
| 49 | - * @return string|boolean |
|
| 49 | + * @return false|string |
|
| 50 | 50 | * Returns the Session ID on success, or false on error. |
| 51 | 51 | */ |
| 52 | 52 | public static function start($lifetime = 0, $path = '/', $domain = null, $httpOnly = true, $secure = false) |
@@ -502,7 +502,7 @@ |
||
| 502 | 502 | * |
| 503 | 503 | * @throws EmailGatewayException |
| 504 | 504 | * @throws Exception |
| 505 | - * @return boolean |
|
| 505 | + * @return boolean|null |
|
| 506 | 506 | */ |
| 507 | 507 | protected function prepareMessageBody() |
| 508 | 508 | { |
@@ -580,7 +580,7 @@ discard block |
||
| 580 | 580 | * |
| 581 | 581 | * @param integer $entry_id |
| 582 | 582 | * The ID of the Entry to return it's section |
| 583 | - * @return integer |
|
| 583 | + * @return string|null |
|
| 584 | 584 | * The Section ID for this Entry's section |
| 585 | 585 | */ |
| 586 | 586 | public static function fetchEntrySectionID($entry_id) |
@@ -661,7 +661,7 @@ discard block |
||
| 661 | 661 | * by providing an array of field names. Defaults to null, which will load data |
| 662 | 662 | * from all fields in a section. |
| 663 | 663 | * @throws Exception |
| 664 | - * @return array |
|
| 664 | + * @return integer|null |
|
| 665 | 665 | * Either an array of Entry objects, or an associative array containing |
| 666 | 666 | * the total entries, the start position, the entries per page and the |
| 667 | 667 | * Entry objects |