@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | * - castingHelper: the casting helper for casting the field (e.g. "return new Varchar($fieldName)") |
234 | 234 | * |
235 | 235 | * @param string $field |
236 | - * @return array |
|
236 | + * @return string |
|
237 | 237 | */ |
238 | 238 | public function castingHelperPair($field) { |
239 | 239 | Deprecation::notice('2.5', 'use castingHelper() instead'); |
@@ -485,6 +485,7 @@ discard block |
||
485 | 485 | |
486 | 486 | /** |
487 | 487 | * Return the value of a field in an SQL-safe format. |
488 | + * @param string $field |
|
488 | 489 | */ |
489 | 490 | public function SQL_val($field, $arguments = null, $cache = true) { |
490 | 491 | return Convert::raw2sql($this->RAW_val($field, $arguments, $cache)); |
@@ -492,6 +493,7 @@ discard block |
||
492 | 493 | |
493 | 494 | /** |
494 | 495 | * Return the value of a field in a JavaScript-save format. |
496 | + * @param string $field |
|
495 | 497 | */ |
496 | 498 | public function JS_val($field, $arguments = null, $cache = true) { |
497 | 499 | return Convert::raw2js($this->RAW_val($field, $arguments, $cache)); |
@@ -499,6 +501,7 @@ discard block |
||
499 | 501 | |
500 | 502 | /** |
501 | 503 | * Return the value of a field escaped suitable to be inserted into an XML node attribute. |
504 | + * @param string $field |
|
502 | 505 | */ |
503 | 506 | public function ATT_val($field, $arguments = null, $cache = true) { |
504 | 507 | return Convert::raw2att($this->RAW_val($field, $arguments, $cache)); |
@@ -509,7 +512,6 @@ discard block |
||
509 | 512 | /** |
510 | 513 | * Get an array of XML-escaped values by field name |
511 | 514 | * |
512 | - * @param array $elements an array of field names |
|
513 | 515 | * @return array |
514 | 516 | */ |
515 | 517 | public function getXMLValues($fields) { |