コード例 #1
0
 public function __construct()
 {
     $this->request = new PMSERequest();
     $this->request->setType('cron');
     $this->request->setElements(array());
     $this->preProcessor = PMSEPreProcessor::getInstance();
 }
コード例 #2
0
 /**
  * Class Constructor
  */
 public function __construct()
 {
     $this->request = new PMSERequest();
     $this->logger = PMSELogger::getInstance();
     $this->request->setType('direct');
     $this->preProcessor = PMSEPreProcessor::getInstance();
 }
コード例 #3
0
 /**
  *
  * @return type
  * @codeCoverageIgnore
  */
 public static function getInstance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new PMSEPreProcessor();
     }
     return self::$instance;
 }
コード例 #4
0
 /**
  *
  */
 public function __construct()
 {
     global $db;
     $this->request = new PMSERequest();
     $this->request->setType('hook');
     $this->preProcessor = PMSEPreProcessor::getInstance();
     $this->logger = PMSELogger::getInstance();
     $this->dbHandler = $db;
 }
コード例 #5
0
 /**
  * Prepare Pre-Processor
  * Cannot be tested since the PMSEPreProcessor uses an static method call
  * @codeCoverageIgnore
  */
 public function preparePreProcessor()
 {
     // preprocessor required initialization
     $this->request = new PMSERequest();
     $this->request->setType('queue');
     $this->preProcessor = PMSEPreProcessor::getInstance();
 }