Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Ctype

Fonctions membres publiques statiques

static ctype_alnum ($text)
 
static ctype_alpha ($text)
 
static ctype_cntrl ($text)
 
static ctype_digit ($text)
 
static ctype_graph ($text)
 
static ctype_lower ($text)
 
static ctype_print ($text)
 
static ctype_punct ($text)
 
static ctype_space ($text)
 
static ctype_upper ($text)
 
static ctype_xdigit ($text)
 

Fonctions membres privées statiques

static convert_int_to_char_for_ctype ($int, $function)
 

Description détaillée

Ctype implementation through regex.

Documentation des fonctions membres

◆ convert_int_to_char_for_ctype()

static convert_int_to_char_for_ctype (   $int,
  $function 
)
staticprivate

Converts integers to their char versions according to normal ctype behaviour, if needed.

If an integer between -128 and 255 inclusive is provided, it is interpreted as the ASCII value of a single character (negative values have 256 added in order to allow characters in the Extended ASCII range). Any other integer is interpreted as a string containing the decimal digits of the integer.

Paramètres
mixed$int
string$function
Renvoie
mixed

Références $function.

◆ ctype_alnum()

static ctype_alnum (   $text)
static

Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.

Voir également
https://php.net/ctype-alnum
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_alpha()

static ctype_alpha (   $text)
static

Returns TRUE if every character in text is a letter, FALSE otherwise.

Voir également
https://php.net/ctype-alpha
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_cntrl()

static ctype_cntrl (   $text)
static

Returns TRUE if every character in text is a control character from the current locale, FALSE otherwise.

Voir également
https://php.net/ctype-cntrl
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_digit()

static ctype_digit (   $text)
static

Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.

Voir également
https://php.net/ctype-digit
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_graph()

static ctype_graph (   $text)
static

Returns TRUE if every character in text is printable and actually creates visible output (no white space), FALSE otherwise.

Voir également
https://php.net/ctype-graph
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_lower()

static ctype_lower (   $text)
static

Returns TRUE if every character in text is a lowercase letter.

Voir également
https://php.net/ctype-lower
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_print()

static ctype_print (   $text)
static

Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.

Voir également
https://php.net/ctype-print
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_punct()

static ctype_punct (   $text)
static

Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise.

Voir également
https://php.net/ctype-punct
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_space()

static ctype_space (   $text)
static

Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters.

Voir également
https://php.net/ctype-space
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_upper()

static ctype_upper (   $text)
static

Returns TRUE if every character in text is an uppercase letter.

Voir également
https://php.net/ctype-upper
Paramètres
mixed$text
Renvoie
bool

Références $text.

◆ ctype_xdigit()

static ctype_xdigit (   $text)
static

Returns TRUE if every character in text is a hexadecimal 'digit', that is a decimal digit or a character from [A-Fa-f] , FALSE otherwise.

Voir également
https://php.net/ctype-xdigit
Paramètres
mixed$text
Renvoie
bool

Références $text.


La documentation de cette classe a été générée à partir du fichier suivant :