Initial Commit

This commit is contained in:
GiacomoHome
2021-09-17 12:41:45 +02:00
commit 9001e4656e
570 changed files with 31013 additions and 0 deletions
@@ -0,0 +1,38 @@
<?php
class Application_ControllerSection_Admin_Index_Emailtemplate extends App_Controller_Sections_AbstractSection
{
public function __construct(App_Controller_Sections_Section $controller){
$this->_resourceName = 'EmailTemplate';
//Usato per abilitare la sezione filtri
$this->_enableModalFilter = true;
//Disable new insert of element
//$this->_enableNewInsert = false;
parent::__construct($controller);
}
public function lista(){
parent::lista();
$this->_controller->_MENUITEM = "emailtemplate";
$this->_controller->_EVENTLOADER = $this->_controller->getRequest()->getActionName();
$this->_controller->_PAGETITLE = 'Elenco Template Email';
$this->_controller->_ICONTITLE = 'fa-envelope';
$this->_controller->view->popover_default_param_content = $this->_controller->getDefaultParamsPopoverTemplate();
}
//Personalizzazione della funzione di delete Elemento singolo
/*protected function deleteElement($id){
$this->_model->delete($this->_resourceName,$id);
}*/
}
@@ -0,0 +1,38 @@
<?php
class Application_ControllerSection_Admin_Index_Generic extends App_Controller_Sections_AbstractSection
{
public function __construct(App_Controller_Sections_Section $controller){
$this->_moduleName = 'admin';
$this->_resourceName = 'NomeDellaRisorsa';
//Usato per abilitare la sezione filtri
$this->_enableModalFilter = true;
//Disable new insert of element
//$this->_enableNewInsert = false;
parent::__construct($controller);
}
public function lista(){
parent::lista();
$this->_controller->_MENUITEM = "nodellarisorsa";
$this->_controller->_EVENTLOADER = $this->_controller->getRequest()->getActionName();
$this->_controller->_PAGETITLE = 'Elenco Template ...';
$this->_controller->_ICONTITLE = 'fa-';
}
//Personalizzazione della funzione di delete Elemento singolo
/*protected function deleteElement($id){
$this->_model->delete($this->_resourceName,$id);
}*/
}