@@ -201,6 +201,9 @@ |
||
| 201 | 201 | return self::__OK__; |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | + /** |
|
| 205 | + * @param integer $entry_id |
|
| 206 | + */ |
|
| 204 | 207 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 205 | 208 | { |
| 206 | 209 | $status = self::__OK__; |
@@ -519,6 +519,9 @@ discard block |
||
| 519 | 519 | return self::__OK__; |
| 520 | 520 | } |
| 521 | 521 | |
| 522 | + /** |
|
| 523 | + * @param integer $entry_id |
|
| 524 | + */ |
|
| 522 | 525 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 523 | 526 | { |
| 524 | 527 | $status = self::__OK__; |
@@ -696,6 +699,10 @@ discard block |
||
| 696 | 699 | Filtering: |
| 697 | 700 | -------------------------------------------------------------------------*/ |
| 698 | 701 | |
| 702 | + /** |
|
| 703 | + * @param string $joins |
|
| 704 | + * @param string $where |
|
| 705 | + */ |
|
| 699 | 706 | public function buildDSRetrievalSQL($data, &$joins, &$where, $andOperation = false) |
| 700 | 707 | { |
| 701 | 708 | if (self::isFilterRegex($data[0])) { |
@@ -78,6 +78,9 @@ discard block |
||
| 78 | 78 | return ($rule ? General::validateString($data, $rule) : true); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string $value |
|
| 83 | + */ |
|
| 81 | 84 | private function __replaceAmpersands($value) |
| 82 | 85 | { |
| 83 | 86 | return preg_replace('/&(?!(#[0-9]+|#x[0-9a-f]+|amp|lt|gt);)/i', '&', trim($value)); |
@@ -169,6 +172,9 @@ discard block |
||
| 169 | 172 | return self::__OK__; |
| 170 | 173 | } |
| 171 | 174 | |
| 175 | + /** |
|
| 176 | + * @param integer $entry_id |
|
| 177 | + */ |
|
| 172 | 178 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 173 | 179 | { |
| 174 | 180 | $status = self::__OK__; |
@@ -357,6 +357,9 @@ |
||
| 357 | 357 | return Field::checkPostFieldData($data, $message, $entry_id); |
| 358 | 358 | } |
| 359 | 359 | |
| 360 | + /** |
|
| 361 | + * @param integer $entry_id |
|
| 362 | + */ |
|
| 360 | 363 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
| 361 | 364 | { |
| 362 | 365 | $status = self::__OK__; |
@@ -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__; |
@@ -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 |
@@ -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__; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * |
| 74 | 74 | * @param string $name |
| 75 | 75 | * The name of the value to retrieve |
| 76 | - * @return mixed |
|
| 76 | + * @return string |
|
| 77 | 77 | * The value, is it exists |
| 78 | 78 | */ |
| 79 | 79 | function server_safe($name) |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * |
| 107 | 107 | * @param string $action (optional) |
| 108 | 108 | * @param integer $start_time (optional) |
| 109 | - * @return integer |
|
| 109 | + * @return double |
|
| 110 | 110 | */ |
| 111 | 111 | function precision_timer($action = 'start', $start_time = null) |
| 112 | 112 | { |
@@ -126,12 +126,10 @@ |
||
| 126 | 126 | * The from string. Should have the following format: [email protected] |
| 127 | 127 | * @param string $to |
| 128 | 128 | * The email address to send the email to. |
| 129 | - * @param string $subject |
|
| 130 | - * The subject to send the email to. |
|
| 131 | 129 | * @param string $message |
| 132 | 130 | * @throws SMTPException |
| 133 | 131 | * @throws Exception |
| 134 | - * @return boolean |
|
| 132 | + * @return boolean|null |
|
| 135 | 133 | */ |
| 136 | 134 | public function sendMail($from, $to, $message) |
| 137 | 135 | { |