table = 'webrotate360'; $this->className = 'WebRotate360'; $this->lang = false; $this->edit = true; $this->delete = true; $this->fieldsDisplay = array( 'id_product' => array( 'title' => $this->l('Product ID'), 'align' => 'center', 'width' => 25), 'view_name' => array( 'title' => $this->l('View Name'), 'align' => 'center', 'width' => 200), 'config_file_url' => array( 'title' => $this->l('Config File URL'), 'width' => 200), 'root_path' => array( 'title' => $this->l('Root Path'), 'width' => 200) ); $this->identifier = 'id_view'; parent::__construct(); } public function displayForm() { global $currentIndex; $defaultLanguageId = (int)(Configuration::get('PS_LANG_DEFAULT')); $products = ProductCore::getProducts($defaultLanguageId, 0, 0, "name", "ASC"); $obj = $this->loadObject(true); $idProduct = $this->getFieldValue($obj, "id_product"); echo '
'; } }