public function confirmDeleteequip($id_equip) { $equipements = new Model_Equipement(); $viewEquipement = $equipements->viewEquipement($id_equip); if (!empty($viewEquipement)) { require_once $_SERVER['DOCUMENT_ROOT'] . "IMIE/Equipedia/views/admins/deleteequipement.php"; } }
public function viewEquipement($id) { $equipements = new Model_Equipement(); $equipementDetails = $equipements->viewEquipement($id); require_once $_SERVER['DOCUMENT_ROOT'] . "IMIE/Equipedia/views/articles/equipement2.php"; }