* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 6844 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class AdminFeaturesValues extends AdminTab { public function __construct() { $this->table = 'feature_value'; $this->className = 'FeatureValue'; $this->lang = true; $this->edit = true; $this->delete = true; parent::__construct(); } /** * Display form */ public function displayForm($isMainTab = true) { if (!Feature::isFeatureActive()) { $this->displayWarning($this->l('This feature has been disabled, you can active this feature at this page:').' '.$this->l('Performances').''); return; } parent::displayForm(); if (!($obj = $this->loadObject(true))) return; echo '