roundcubemail/program/include/rcmail_output_html.php
public function set_env($name, $value, $addtojs = true)
    {
        $this->env[$name] = $value;

        if ($addtojs || isset($this->js_env[$name])) {
            $this->js_env[$name] = $value;
        }
    }
public function set_env($name, $value, $addtojs = true)
    {
        $this->env[$name] = $value;

        if ($addtojs || isset($this->js_env[$name])) {
            $this->js_env[$name] = $value;
        }
    }
public function set_env ( $ name , $ value , $ addtojs = true ) { $ this -> env [ $ name ] = $ value ; if ( $ addtojs || isset ( $ this -> js_env [ $ name ] ) ) { $ this -> js_env [ $ name ] = $ value ; } }
Set environment variable

@param string  $name    Property name
@param mixed   $value   Property value
@param boolean $addtojs True if this property should be added
to client environment
Set environment variable