public function __construct()
{
trigger_error(__CLASS__ . ' is deprecated, use Latte\\Engine.', E_USER_DEPRECATED);
if (method_exists('Latte\\Engine', '__construct')) {
parent::__construct();
}
$this->getParser()->shortNoEscape = TRUE;
$this->addFilter('url', 'rawurlencode');
foreach (array('normalize', 'toAscii', 'webalize', 'padLeft', 'padRight', 'reverse') as $name) {
$this->addFilter($name, 'Nette\\Utils\\Strings::' . $name);
}
}