PHP Class Latte\Helpers

Afficher le fichier Open project: nette/latte Class Usage Examples

Méthodes publiques

Свойство Type Description
$emptyElements empty (void) HTML elements

Méthodes publiques

Méthode Description
checkCallback ( $callable ) : callable Checks callback.
getSuggestion ( array $items, $value ) : string | null Finds the best suggestion.
removeFilter ( &$modifier, $filter ) : boolean
startsWith ( $haystack, $needle ) : boolean Starts the $haystack string with the prefix $needle?

Method Details

checkCallback() public static méthode

Checks callback.
public static checkCallback ( $callable ) : callable
Résultat callable

getSuggestion() public static méthode

Finds the best suggestion.
public static getSuggestion ( array $items, $value ) : string | null
$items array
Résultat string | null

removeFilter() public static méthode

public static removeFilter ( &$modifier, $filter ) : boolean
Résultat boolean

startsWith() public static méthode

Starts the $haystack string with the prefix $needle?
public static startsWith ( $haystack, $needle ) : boolean
Résultat boolean

Property Details

$emptyElements public_oe static_oe property

empty (void) HTML elements
public static $emptyElements