public function setAutoescape($state)
    {
        if (!$state) {
            user_error(__CLASS__ . '::' . __FUNCTION__ . '(false) is deprecated since Grav 1.5', E_USER_DEPRECATED);
        }

        $this->autoescape = (bool) $state;
    }
public function setAutoescape($state)
    {
        if (!$state) {
            user_error(__CLASS__ . '::' . __FUNCTION__ . '(false) is deprecated since Grav 1.5', E_USER_DEPRECATED);
        }

        $this->autoescape = (bool) $state;
    }
public function setAutoescape ( $ state ) { if ( ! $ state ) { user_error ( __CLASS__ . '::' . __FUNCTION__ . '(false) is deprecated since Grav 1.5' , E_USER_DEPRECATED ) ; } $ this -> autoescape = ( bool ) $ state ; }
Overrides the autoescape setting

@param bool $state
@deprecated 1.5 Auto-escape should always be turned on to protect against XSS issues (can be disabled per template file).
Overrides the autoescape setting