function &offsetget($key) { if (Base::instance()->visible($this, $key)) { $val =& $this->{$key}; } else { $val =& $this->get($key); } return $val; }