Method |
Description |
|
head ( $value, integer $limit = 100, string $end = '...' ) : string |
Returns the input string shrunk to the limit size, by cutting in the end (tail). |
|
head_and_tail ( $value, integer $limit = 100, string $mid = '...' ) : string |
Returns the input string shrunk to the limit size, by cutting in the middle. |
|
isBoolean ( $str ) : boolean |
Evaluate the input string and returns true if it can be converted to a boolean. |
|
isNullOrEmptyString ( $question ) : boolean |
Return true if the trim'ed value is unset, null or empty. |
|
tail ( $value, integer $limit = 100, string $start = '...' ) : string |
Returns the input string shrunk to the limit size, by cutting in the start (head). |
|
toBoolean ( $str ) : boolean |
Converts the input string to it's boolean representation. |
|