Location: PHPKode > projects > Open Power Template > tests/Opt/feature/no_oop_3.txt
Check, if disabling the OOP completely actually works.

>>>>templates/test.tpl
<?xml version="1.0" ?>
<opt:root>
{$obj::foo}
</opt:root>

>>>>expected.txt
Opt_NotSupported_Exception

>>>>data.php
$std = new stdClass;
$std->foo = 'bar';
$view->obj = $std;
$this->tpl->basicOOP = false;
Return current item: Open Power Template