TYPO3-v6-1-whats-new
TYPO3-v6-1-whats-new
TYPO3-v6-1-whats-new
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Extbase and Fluid<br />
Extbase – <strong>TYPO3</strong>_MODE detection:<br />
● New service class to determine if FE or BE context<br />
\<strong>TYPO3</strong>\CMS\Extbase\Service\EnvironmentService<br />
public function isEnvironmentInFrontendMode() {<br />
return (defined('<strong>TYPO3</strong>_MODE') && <strong>TYPO3</strong>_MODE === 'FE') ? : FALSE;<br />
}<br />
public function isEnvironmentInBackendMode() {<br />
return (defined('<strong>TYPO3</strong>_MODE') && <strong>TYPO3</strong>_MODE === 'BE') ? : FALSE;<br />
}<br />
<strong>TYPO3</strong> CMS 6.1 - What's New