3 * Defines a set of specialized string functions.
5 * @package PhpMyAdmin-String
9 * Defines a set of specialized string functions.
11 * @package PhpMyAdmin-String
13 interface PMA_StringType
16 * Checks if a character is an alphanumeric one
18 * @param string $c character to check for
20 * @return boolean whether the character is an alphanumeric one or not
22 public function isAlnum($c);
25 * Checks if a character is an alphabetic one
27 * @param string $c character to check for
29 * @return boolean whether the character is an alphabetic one or not
31 public function isAlpha($c);
34 * Checks if a character is a digit
36 * @param string $c character to check for
38 * @return boolean whether the character is a digit or not
40 public function isDigit($c);
43 * Checks if a character is an upper alphabetic one
45 * @param string $c character to check for
47 * @return boolean whether the character is an upper alphabetic one or not
49 public function isUpper($c);
53 * Checks if a character is a lower alphabetic one
55 * @param string $c character to check for
57 * @return boolean whether the character is a lower alphabetic one or not
59 public function isLower($c);
62 * Checks if a character is a space one
64 * @param string $c character to check for
66 * @return boolean whether the character is a space one or not
68 public function isSpace($c);
71 * Checks if a character is an hexadecimal digit
73 * @param string $c character to check for
75 * @return boolean whether the character is an hexadecimal digit or not
77 public function isHexDigit($c);
80 * Checks if a number is in a range
82 * @param integer $num number to check for
83 * @param integer $lower lower bound
84 * @param integer $upper upper bound
86 * @return boolean whether the number is in the range or not
88 public function numberInRangeInclusive($num, $lower, $upper);