PHP Class Airship\Engine\Security\Filter\StringFilter

Inheritance: extends InputFilter
Afficher le fichier Open project: paragonie/airship

Protected Properties

Свойство Type Description
$default mixed
$pattern string
$type string

Méthodes publiques

Méthode Description
applyCallbacks ( mixed $data = null, integer $offset ) : mixed Apply all of the callbacks for this filter.
nonEmpty ( string $input ) : string
setPattern ( string $pattern = '' ) : self Set a regular expression pattern that the input string must match.

Method Details

applyCallbacks() public méthode

Apply all of the callbacks for this filter.
public applyCallbacks ( mixed $data = null, integer $offset ) : mixed
$data mixed
$offset integer
Résultat mixed

nonEmpty() public static méthode

public static nonEmpty ( string $input ) : string
$input string
Résultat string

setPattern() public méthode

Set a regular expression pattern that the input string must match.
public setPattern ( string $pattern = '' ) : self
$pattern string
Résultat self

Property Details

$default protected_oe property

protected mixed $default
Résultat mixed

$pattern protected_oe property

protected string $pattern
Résultat string

$type protected_oe property

protected string $type
Résultat string