interface TokenReplacerInterface in Forena Reports 8
Same name and namespace in other branches
- 7.5 src/Token/TokenReplacerInterface.php \Drupal\forena\Token\TokenReplacerInterface
Hierarchy
- interface \Drupal\forena\Token\TokenReplacerInterface
Expanded class hierarchy of TokenReplacerInterface
All classes that implement TokenReplacerInterface
File
- src/
Token/ TokenReplacerInterface.php, line 12
Namespace
Drupal\forena\TokenView source
interface TokenReplacerInterface {
/**
* @param $text
* @param bool $raw Raw=true skips the translation/formatting steps.
* @return mixed
* The replacer method replaces text.
*/
public function replace($text, $raw = FALSE);
/**
* @param $text
* @return mixed
* Return the tokens contained in the text.
*/
public function tokens($text);
/**
* @param $condition
* @return mixed
* Provides test replacement that lets us test whether an expression is true or false.
*/
public function test($condition);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TokenReplacerInterface:: |
public | function | 1 | |
TokenReplacerInterface:: |
public | function | 1 | |
TokenReplacerInterface:: |
public | function | 1 |