roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve_script.php
public function get_var($name)
    {
        // Check if variable exists
        for ($i=0, $len=count($this->vars); $i<$len; $i++) {
            if ($this->vars[$i]['name'] == $name) {
                return $this->vars[$i]['name'];
            }
        }
    }
public function get_var($name)
    {
        // Check if variable exists
        for ($i=0, $len=count($this->vars); $i<$len; $i++) {
            if ($this->vars[$i]['name'] == $name) {
                return $this->vars[$i]['name'];
            }
        }
    }
public function get_var ( $ name ) { // Check if variable exists for ( $ i = 0 , $ len = count ( $ this -> vars ) ; $ i < $ len ; $ i ++ ) { if ( $ this -> vars [ $ i ] [ 'name' ] == $ name ) { return $ this -> vars [ $ i ] [ 'name' ] ; } } }
Gets the value of  "global" variable

@param string $name  Variable name

@return string Variable value
Gets the value of global variable