Overview

Namespaces

  • Deimos
    • Flow
      • Extension
        • TBlock
        • TFor
        • TForeach
        • TIF
        • TLiteral
        • TPHP
        • TSimple
        • TTry
        • TWhile
      • Traits
  • PHP

Classes

  • Block
  • Configure
  • DefaultConfig
  • DefaultContainer
  • Flow
  • FlowForeach
  • FlowFunction
  • ForeachState
  • Lexer
  • LexerConst
  • Tokenizer
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class FlowFunction

Direct known subclasses

Deimos\Flow\Extension\TBlock\TBlockStart, Deimos\Flow\Extension\TBlock\TEndBlock, Deimos\Flow\Extension\TIF\TIF, Deimos\Flow\Extension\TLiteral\TLiteral, Deimos\Flow\Extension\TPHP\TEndPHP, Deimos\Flow\Extension\TPHP\TPHP, Deimos\Flow\Extension\TSimple\TAssign, Deimos\Flow\Extension\TSimple\TBreak, Deimos\Flow\Extension\TSimple\TContinue, Deimos\Flow\Extension\TSimple\TExtends, Deimos\Flow\Extension\TSimple\TInclude, Deimos\Flow\Extension\TSimple\TPartial, Deimos\Flow\Extension\TFor\TEndFor, Deimos\Flow\Extension\TSimple\TVariable, Deimos\Flow\Extension\TTry\TCatch, Deimos\Flow\Extension\TTry\TEndTry, Deimos\Flow\Extension\TTry\TFinally, Deimos\Flow\Extension\TTry\TTry, Deimos\Flow\Extension\TWhile\TEndWhile, Deimos\Flow\Extension\TWhile\TWhile, Deimos\Flow\Extension\TFor\TFor, Deimos\Flow\Extension\TForeach\TElseForeach, Deimos\Flow\Extension\TForeach\TEndForeach, Deimos\Flow\Extension\TForeach\TForeach, Deimos\Flow\Extension\TIF\TELSE, Deimos\Flow\Extension\TIF\TELSEIF, Deimos\Flow\Extension\TIF\TEndIF
Abstract
Namespace: Deimos\Flow
Located at Flow/FlowFunction.php
Methods summary
public
# __construct( Deimos\Flow\Flow $flow, Deimos\Flow\Configure $configure, array $data )

FlowFunction constructor.

FlowFunction constructor.

Parameters

$flow
$configure
$data
protected string
# variable( $variable )

Parameters

$variable

Returns

string
public integer
# random( )

Returns

integer
abstract public
# view( )
Constants summary
string REGEXP_CALLBACK
# '[\w"\[\]\(\)\$-\>]+'
string REGEXP_VARIABLE
# '\$[\w"\'\[\]\(\)\$-\>]+'
Properties summary
public array $data
#
public Deimos\Flow\Flow $flow
#
public Deimos\Flow\Configure $configure
#
API documentation generated by ApiGen