Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitViewXHtmlTemplateFunctions

Core::View::arbitViewXHtmlTemplateFunctions

Class arbitViewXHtmlTemplateFunctions

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

Template override paths

Method Summary

public static string dumpModel( $content , [ $maxDepth = 5] , [ $depth = 0] )
Dump any object Dump any object for debuggin purpose. models.
public static ezcTemplateCustomFunctionDefinition getCustomFunctionDefinition( $name )
Return function definition for function name
public static string simpleMarkup( $text )
Simple markup Simple markup used for user constributed stuff. introduce any XSS, as it returns raw HTML.

Methods

dumpModel

static string dumpModel( mixed $content , [int $maxDepth = 5] , [int $depth = 0] )

Dump any object Dump any object for debuggin purpose. models.

Dump any object Dump any object for debuggin purpose. Especially usefull for the view models. Does not work with recursive structures yet. Returns a formatted HTML block.

Parameters:
Name Type Description
$content mixed
$maxDepth int
$depth int

getCustomFunctionDefinition

static ezcTemplateCustomFunctionDefinition getCustomFunctionDefinition( string $name )

Return function definition for function name

Return function definition for function name

Parameters:
Name Type Description
$name string

simpleMarkup

static string simpleMarkup( string $text )

Simple markup Simple markup used for user constributed stuff. introduce any XSS, as it returns raw HTML.

Simple markup Simple markup used for user constributed stuff. Should ensure not to introduce any XSS, as it returns raw HTML.

Parameters:
Name Type Description
$text string
Documentation generated on Mon, 05 Apr 2010 14:01:56 +0200 by phpDocumentor 1.4.3