/** * Get Category model instance * @return plugin_featurebox_category */ public function getCategory() { if (null === $this->_category) { $this->_category = new plugin_featurebox_category(); $this->_category->load($this->get('fb_category')); } return $this->_category; }