Example #1
0
 /**
  * @param           $objPDO
  * @param null      $ID_Data
  * @param bool|true $ResultSet
  */
 public function __construct($objPDO, $ID_Data, $ResultSet = true)
 {
     parent::__construct($objPDO, $ID_Data, $ResultSet);
     $this->ControllerType = $this->defineControllerType();
     $this->View = [];
 }
Example #2
0
 /**
  * Language constructor
  *
  * @param DatabaseHandler $objPDO
  * @param mixed           $ID_Data
  * @param bool|true       $ResultSet
  */
 public function __construct($objPDO, $ID_Data, $ResultSet = true)
 {
     parent::__construct($objPDO, $ID_Data, $ResultSet);
     $this->arImportedFiles = [];
     $this->arStrings = [];
 }
Example #3
0
 /**
  * @param           $objPDO
  * @param null      $ID_Data
  * @param bool|true $ResultSet
  */
 public function __construct($objPDO, $ID_Data, $ResultSet = true)
 {
     parent::__construct($objPDO, $ID_Data, $ResultSet);
     $this->StyleSheets = [];
     $this->JavaScripts = [];
     $this->Positions = [];
     $this->DefaultTemplate = $this->defineDefaultTemplate();
     $this->DefaultXHRTemplate = $this->defineDefaultXHRTemplate();
     $this->setLanguageFile();
 }
Example #4
0
 public function __destruct()
 {
     if ($this->blForDeletion && $this->get('ID') == Factory::getUser()->get('ID')) {
         throw new PDOException('Cannot Delete User if current session active');
     } elseif ($this->blForDeletion) {
         $this->deleteUserGroupMap();
     }
     parent::__destruct();
 }