previousconstructor HTML_Template_IT::
HTML_Template_IT()
(Previous)
(Next) HTML_Template_IT::getGlobalvariables()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_Template_IT::get()

HTML_Template_IT::get() – Gibt einen Block nach allen Ersetzungen zurück

Synopsis

require_once 'HTML/Template/IT.php';

string HTML_Template_IT::get ( string $block = "__global__" )

Description

Die Methode nimmt alle Ersetzungen in einem Block vor und gibt das ihn zurück.

Parameter

  • string $block - Den Namen des Blocks, der bearbeitet werden soll. Falls block nicht angegeben wurde, wird das gesamte Template zurückgegeben.

Return value

string - Blockinhalt nachdem alle Ersetzungen durchgeführt wurden, oder IT_Error.

Throws

Possible PEAR_Error values
Error code Error message Reason Solution
IT_BLOCK_NOT_FOUND " Cannot find this block block . " Der angegebene Block existiert im geladenen Template nicht. Überprüfen Sie, ob der Blockname richtig geschrieben ist.

Note

This function can not be called statically.

previousconstructor HTML_Template_IT::
HTML_Template_IT()
(Previous)
(Next) HTML_Template_IT::getGlobalvariables()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.