Class _Cmd_TableDisplay

Description

Gibt zu einem Key aus einer Tabelle (flip_table_*) den Display-Wert aus.

   {#TABLEDISPLAY table=tablename key=key [param1=xx ...]}

Der Befehl kann und soll auch in Schleifen verwendet werden, da er seine Rückgabewerte cached. Für jede Tabelle entsteht maximal ein Datenbankquery pro Seitenaufruf.

table ist der Name der Tabelle zu welcher der Key gehört.

key idetifiziert den Display-Wert.

param1 usw. werden dem Display-Wert übergebn, wenn dieser Templatecode enthält.

Located in /web/mod/mod.template.flipcompiler.php (line 1259)

_Cmd
   |
   --_Cmd_TableDisplay
Variable Summary
mixed $_Key
mixed $_Table
mixed $_Vars
Method Summary
void compile ( $NSIndex,  $Depth)
void init ( $param)
Variables
mixed $_Key = '' (line 1262)
mixed $_Table = '' (line 1261)
mixed $_Vars = array() (line 1263)
Methods
compile (line 1277)
void compile ( $NSIndex,  $Depth)
  • $NSIndex
  • $Depth

Redefinition of:
_Cmd::compile()
init (line 1265)
void init ( $param)
  • $param

Redefinition of:
_Cmd::init()

Inherited Methods

Inherited From _Cmd

_Cmd::_Cmd()
_Cmd::compile()
_Cmd::getName()
_Cmd::init()
_Cmd::isBlock()
_Cmd::isValidParent()

Documentation generated on Mon, 22 Oct 2007 17:17:28 +0200 by phpDocumentor 1.3.1