Files
giacomo 922c75589f Refactor licensing section to enhance consistency and functionality
Updated resource name capitalization and added a new form for licenses. Improved modal UI to replace text inputs with a dropdown for 'Disattivo'. Adjusted backend to ensure proper data retrieval and display alignment.
2025-04-30 09:47:40 +02:00

39 lines
1008 B
PHP

<?php
class Application_ControllerSection_Admin_Index_Licenze extends App_Controller_Sections_AbstractSection
{
public function __construct(App_Controller_Sections_Section $controller)
{
// $this->_moduleName = 'admin';
$this->_resourceName = 'Licenze';
//Usato per abilitare la sezione filtri
$this->_enableModalFilter = false;
//Disable new insert of element
$this->_enableNewInsert = false;
parent::__construct($controller);
}
public function lista()
{
parent::lista();
$this->_controller->_MENUITEM = "licenze";
$this->_controller->_EVENTLOADER = $this->_controller->getRequest()->getActionName();
$this->_controller->_PAGETITLE = 'Elenco Licenze';
$this->_controller->_ICONTITLE = 'fa-key';
}
//Personalizzazione della funzione di delete Elemento singolo
/*protected function deleteElement($id){
$this->_model->delete($this->_resourceName,$id);
}*/
}