1. Check existence of mb_string, mysql and xml extensions before installation.
[openemr.git] / phpmyadmin / libraries / StringType.int.php
blob7e09bde4792ee82fead83bc0cb600b51493cf031
1 <?php
2 /**
3 * Defines a set of specialized string functions.
5 * @package PhpMyAdmin-String
6 */
8 /**
9 * Defines a set of specialized string functions.
11 * @package PhpMyAdmin-String
13 interface PMA_StringType
15 /**
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);
24 /**
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);
33 /**
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);
42 /**
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);
52 /**
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);
61 /**
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);
70 /**
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);
79 /**
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);