public function __get($name) { if ('col_info' == $name) { $this->load_col_info(); } if ('vp_id' == $name) { return $this->prefix . 'vp_id'; } return $this->{$name}; }