Returns all of the parameters converted into an array. Named parameters result in appropriate array keys, while unnamed parameters result in appropriate array indexes.
Returns either 0 or 1, each time returning the opposite of the value returned from the prior call. The first call will return 0, the second returns 1, and third returns 0, and so on.
This is most useful when printing rows of data that should be displayed in alternating colors use CSS. Example: <tr class="row0">
Calling this function results in unescaped output, allowing the template author to print variables and strings that contain HTML tags without any transformations.
Given a list of named parameters, return the parameter with the name equal to the $value parameter. If no such parameter is found, return the $default parameter, or the value of $value itself if $default is not set.
String to append after truncation. (default '...')
Return Value:
return → string
The truncated string
Description:
Truncates the input string to a maximum of $length characters. If the string requires truncation, the value of $end will be appended to the truncated string. The length of $end is taken into account to ensure that the result will never be more than $length characters.
Converts an input string into a URL-encoded string. If the input value is an array, the result is a URL-encoded string of each key/value pair separated by ampersands (&).
This returns the value of the requested variable. This function is useful when the name of a variable required is known only by the value of another variable.