Core::View::arbitViewTextTemplateFunctions
Class arbitViewTextTemplateFunctions
Custom template helper functions used by the xhtml view handler. Custom template helper functions used by the xhtml view handler.
Author(s):
|
Version:
|
$Revision: 1236 $ |
|
License:
|
GPL |
Member Variables
|
protected static
array |
$overridePaths
Template override paths |
Method Summary
|
public static
ezcTemplateCustomFunctionDefinition |
getCustomFunctionDefinition(
$name
)
Return function definition for function name |
|
public static
string |
indentedWrap(
$text
, [ $indetation
= ''] , [ $width
= 78] )
Wrap text
Wrap text with an optional specified indentation string and a default wrapping width of 78. |
Methods
getCustomFunctionDefinition
static ezcTemplateCustomFunctionDefinition
getCustomFunctionDefinition(
string
$name
)
Return function definition for function name Return function definition for function name
Parameters:
| Name |
Type |
Description |
$name |
string |
|
indentedWrap
static string
indentedWrap(
string
$text
, [string
$indetation
= ''] , [int
$width
= 78] )
Wrap text
Wrap text with an optional specified indentation string and a default wrapping width of 78. Wrap text
Wrap text with an optional specified indentation string and a default wrapping width of 78.
Parameters:
| Name |
Type |
Description |
$text |
string |
|
$indetation |
string |
|
$width |
int |
|
|