public function getAddonObj($id) { $data = $this->getAddon($id); if ($data) { $this->_getFileAddons(); return $this->fileAddons[$data['name']]; } return false; }