/** * Constructor. Sets $this->abstractViewHelperReflectionClass * */ public function __construct() { Fluid::$debugMode = true; // We want ViewHelper argument documentation $this->abstractViewHelperReflectionClass = new ClassReflection(\TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::class); }
/** * Constructor. Sets $this->abstractViewHelperReflectionClass * */ public function __construct() { Fluid::$debugMode = TRUE; // We want ViewHelper argument documentation $this->abstractViewHelperReflectionClass = new ClassReflection('TYPO3\\Fluid\\Core\\ViewHelper\\AbstractViewHelper'); }
<?php define('FLUID_ROOT_PATH', realpath(__DIR__ . '/../') . '/'); require_once FLUID_ROOT_PATH . 'Classes/TYPO3/Fluid/Fluid.php'; \TYPO3\Fluid\Fluid::initialize();