I thought I've read somewhere that this parameter is going to be removed in future editions of Symphony.

Is this true (hope not) or is it still safe (and futureproof) to use $this->_env in my custom datasources?

If not, what's the alternative? I've tried Frontend::instance()->Page()->Env() but that doesn't give all the results that $this->_env does.

Ah wait, I found Frontend::instance()->Page()->Params(). Is this the new way to go on this one?

Yes it is.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details