TokenRow
class TokenRow
Class TokenRow
Properties
TokenProcessor | $tokenProcessor | ||
$tokenRow | |||
$format | |||
array|ArrayAccess | $tokens | ||
array|ArrayAccess | $context |
Methods
tokens(string|array $a = NULL, string|array $b = NULL, mixed $c = NULL)
Update the value of a token.
customToken(string $entity, int $customFieldID, int $entityID)
Update the value of a custom field token.
dbToken(string $tokenEntity, string $tokenField, string $baoName, array $baoField, mixed $fieldValue)
Update the value of a token. Apply formatting based on DB schema.
string
render(string $name)
Render a message.
Details
at line 65
__construct(TokenProcessor $tokenProcessor, $key)
at line 77
TokenRow
format(string $format)
at line 90
TokenRow
context(string|array $a = NULL, mixed $b = NULL)
Update the value of a context element.
at line 111
TokenRow
tokens(string|array $a = NULL, string|array $b = NULL, mixed $c = NULL)
Update the value of a token.
at line 138
TokenRow
customToken(string $entity, int $customFieldID, int $entityID)
Update the value of a custom field token.
at line 165
TokenRow
dbToken(string $tokenEntity, string $tokenField, string $baoName, array $baoField, mixed $fieldValue)
Update the value of a token. Apply formatting based on DB schema.
at line 203
TokenRow
fill(string $format = NULL)
Auto-convert between different formats
at line 269
string
render(string $name)
Render a message.