Class _Cmd_Sub

Description

Kapselt eine Menge Code, welcher mit Parametern ausgeführt werden kann.

 {#SUB name=subname}
 {#END}

Ein Sub ist vergleichbar mit einer Funktion. Er enthält beliebigen Code, welcher ausgeführt wird, wenn der Sub mit {#VAR sub=subname} aufgerufen wird.

Located in /web/mod/mod.template.compiler.php (line 367)

_Cmd
   |
   --_CmdBlock
      |
      --_Cmd_Sub
Variable Summary
mixed $Name
mixed $_Code
Method Summary
void add ( $data)
void compile ( $NSIndex,  $Depth)
void compileToFile ( $aFileName)
void init ( $param)
void isValidParent ( $ParentClass)
Variables
mixed $Name (line 370)
mixed $_Code = array() (line 369)
Methods
add (line 381)
void add ( $data)
  • $data

Redefinition of:
_CmdBlock::add()
compile (line 393)
void compile ( $NSIndex,  $Depth)
  • $NSIndex
  • $Depth

Redefinition of:
_Cmd::compile()
compileToFile (line 398)
void compileToFile ( $aFileName)
  • $aFileName
init (line 372)
void init ( $param)
  • $param

Redefinition of:
_Cmd::init()
isValidParent (line 386)
void isValidParent ( $ParentClass)
  • $ParentClass

Redefinition of:
_Cmd::isValidParent()

Inherited Methods

Inherited From _CmdBlock

_CmdBlock::add()
_CmdBlock::finish()
_CmdBlock::isBlock()
_CmdBlock::isValidSection()
_CmdBlock::newSection()
_CmdBlock::_compileArray()

Inherited From _Cmd

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

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