PHP Class Latte\Helpers

Datei anzeigen Open project: nette/latte Class Usage Examples

Public Properties

Property Type Description
$emptyElements empty (void) HTML elements

Public Methods

Method 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 method

Checks callback.
public static checkCallback ( $callable ) : callable
return callable

getSuggestion() public static method

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

removeFilter() public static method

public static removeFilter ( &$modifier, $filter ) : boolean
return boolean

startsWith() public static method

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

Property Details

$emptyElements public_oe static_oe property

empty (void) HTML elements
public static $emptyElements