Lisphp_Scope::offsetGet PHP Method

offsetGet() public method

public offsetGet ( $symbol )
    public function offsetGet($symbol)
    {
        $sym = self::_symbol($symbol);
        if (array_key_exists($sym, $this->values)) {
            return $this->values[$sym];
        } else {
            if ($this->superscope) {
                return $this->superscope[$sym];
            }
        }
    }