Parameter | Type | Description |
---|
$name | string | |
$value | mixed | |
$args | mixed | |
public capitalize({Array})
Parameter | Type | Description |
---|
$string | string | |
public count_characters({Array})
Parameter | Type | Description |
---|
$string | string | |
$include_whitespace | bool | |
public count_paragraphs({Array})
Parameter | Type | Description |
---|
$string | string | |
Counts the number of sentences in a given string.
public count_sentences({Array})
Parameter | Type | Description |
---|
$string | string | the input string to count sentences from |
Counts the number of words in a string.
public count_words({Array})
Parameter | Type | Description |
---|
$string | string | the input string |
Formats a date using the specified format.
public date_format({Array})
Parameter | Type | Description |
---|
$item | mixed | The date to format. Can be a string, integer, or DateTime object. |
$format | string | The format to use for the date. If not provided, the default format '%c' will be used. |
Parameter | Type | Description |
---|
$value | mixed | |
$default | mixed | |
Parameter | Type | Description |
---|
$value | mixed | |
Parameter | Type | Description |
---|
$value | mixed | |
Parameter | Type | Description |
---|
$value | mixed | |
Parameter | Type | Description |
---|
$value | mixed | |
Parameter | Type | Description |
---|
$string | string | |
$format | string | |
$character_encoding | string | |
Parameter | Type | Description |
---|
$string | string | |
$length | int | |
$pad_string | string | |
Parameter | Type | Description |
---|
$string | string | |
Parameter | Type | Description |
---|
$string | string | |
public number_format({Array})
Parameter | Type | Description |
---|
$string | string | |
$decimals | int | |
$dec_point | string | |
$thousands_sep | string | |
public regex_replace({Array})
Parameter | Type | Description |
---|
$string | string | |
$pattern | string | |
$replacement | string | |
Parameter | Type | Description |
---|
$string | string | |
$search | string | |
$replace | string | |
Parameter | Type | Description |
---|
$string | string | |
$replacement | string | |
public string_format({Array})
Parameter | Type | Description |
---|
$string | string | |
$format | string | |
Parameter | Type | Description |
---|
$string | string | |
$replacement | string | |
public strip_tags({Array})
Parameter | Type | Description |
---|
$string | string | |
Parameter | Type | Description |
---|
$string | string | |
$chars | int | |
$text | string | |
$cut | bool | |
$middle | bool | |
Parameter | Type | Description |
---|
$string | string | |
Parameter | Type | Description |
---|
$string | string | |
$width | int | |
$break | string | |
$cut | bool | |
Parameter | Type | Description |
---|
$array | mixed | |
$glue | string | |
Generated by Hazaar API Doc Generator