Lines Matching refs:value
42 * filled up with the $default value. If the input string contains more elements, the last
48 * @param mixed $default The value to use when filling up missing elements
63 * with a NULL value without warning.
149 $ret = '<div class="no"><input type="hidden" name="sectok" value="' . getSecurityToken() . '" /></div>' . "\n";
349 * @param array $params array with key-value pairs
374 * @param array $params array with (attribute name-attribute value) pairs
1341 * @param string[] $replace Additional string substitutions, @KEY@ to be replaced by value
1485 * strftime - %f can be used to get the value from datetime_h()
1573 * @param string $value PHP size shorthand
1576 function php_to_byte($value)
1578 switch (strtoupper(substr($value, -1))) {
1580 $ret = (int) substr($value, 0, -1) * 1024 * 1024 * 1024;
1583 $ret = (int) substr($value, 0, -1) * 1024 * 1024;
1586 $ret = (int) substr($value, 0, -1) * 1024;
1589 $ret = (int) $value;
1888 * Validate a value using a set of valid values
1890 * This function checks whether a specified value is set and in the array
1891 * $valid_values. If not, the function returns a default value or, if no
1897 * @param array $array The array containing the value (typically $_POST
1921 * @param mixed $default value returned when preference not found
1922 * @return string preference value
1948 * @param string $val preference value