getCurrentBlock()

getCurrentBlock() – Returns the current block name

Synopsis

require_once 'HTML/Template/Sigma.php';

string HTML_Template_Sigma::getCurrentBlock ( void )

Description

Returns the current block name (set by HTML_Template_Sigma::setCurrentBlock())

Return value

return block name

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Returns a list of blocks within a template. (Previous) Returns a list of placeholders within a block. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.