public function eTag($var = null)
    {
        if ($var !== null) {
            $this->etag = $var;
        }
        if (!isset($this->etag)) {
            $this->etag = (bool)Grav::instance()['config']->get('system.pages.etag');
        }

        return $this->etag;
    }
public function eTag($var = null)
    {
        if ($var !== null) {
            $this->etag = $var;
        }
        if (!isset($this->etag)) {
            $this->etag = (bool)Grav::instance()['config']->get('system.pages.etag');
        }

        return $this->etag;
    }
public function eTag ( $ var = null ) { if ( $ var !== null ) { $ this -> etag = $ var ; } if ( ! isset ( $ this -> etag ) ) { $ this -> etag = ( bool ) Grav :: instance ( ) [ 'config' ] -> get ( 'system.pages.etag' ) ; } return $ this -> etag ; }
Gets and sets the option to show the etag header for the page.

@param  bool $var show etag header

@return bool      show etag header
Gets and sets the option to show the etag header for the page .