ePages 6.11.0 - DE_EPAGES/TLE/API/PerformanceHandler.pm

Package DE_EPAGES::TLE::API::PerformanceHandler

This tle handler provides functionalities around performance measurement.
This handler supports the following tle block:

Functions

TimeThis

TimeThis

this function takes the time of a specified block within a template

Syntax
#BLOCK("TimeThis", "Name")
    CONTENT
#ENDBLOCK
#BLOCK("TimeThis", "Name", 1)
    CONTENT
#ENDBLOCK
Input
$Processor (object)
tle processor
$raParameter (ref.array)
the object
  • Name - name of the block - string
  • 1 - display output in the template, not just in the html code - bit (optional)

$cTemplate (perl)
compiled template (template between #BLOCK() and #ENDBLOCK )
Return
$Value (string)
return value consisting of processed content and processing time