コード例 #1
0
 /**
  * Costruttore
  */
 public function __construct(SQLIImportHandlerOptions $options = null)
 {
     $this->curLog = ObjectController::get();
     try {
         parent::__construct($options);
         $this->curLog->ocLoggerUtil->addInfoMessage('---------------------------');
         $this->curLog->ocLoggerUtil->addInfoMessage('ITTematicaSyncHandler - Enter');
         $this->controller = new ITTematicaSyncController($options);
         $this->curLog->ocLoggerUtil->writeLogs();
     } catch (Exception $ex) {
         $this->curLog->ocLoggerUtil->addErrorMessage('Error in ITTematicaSyncHandler - construct: ' . $ex->getMessage());
         $this->curLog->ocLoggerUtil->writeLogs();
         echo 'Got Exception on ITTematicaSyncHandler - initialize: ' . $ex->getMessage() . "\n";
     }
 }