@@ -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__; |
@@ -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__; |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * @param string $message |
133 | 133 | * @throws SMTPException |
134 | 134 | * @throws Exception |
135 | - * @return boolean |
|
135 | + * @return boolean|null |
|
136 | 136 | */ |
137 | 137 | public function sendMail($from, $to, $subject, $message) |
138 | 138 | { |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * |
396 | 396 | * @param string $request |
397 | 397 | * @throws SMTPException |
398 | - * @return boolean|integer number of characters written. |
|
398 | + * @return integer number of characters written. |
|
399 | 399 | */ |
400 | 400 | protected function _send($request) |
401 | 401 | { |
@@ -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__; |