/** * Class Constructor */ public function __construct() { $this->request = new PMSERequest(); $this->logger = PMSELogger::getInstance(); $this->request->setType('direct'); $this->preProcessor = PMSEPreProcessor::getInstance(); }
/** * Pre Processor constructor method * @codeCoverageIgnore */ private function __construct() { $this->executer = new PMSEExecuter(); $this->validator = new PMSEValidator(); $this->caseFlowHandler = new PMSECaseFlowHandler(); $this->logger = PMSELogger::getInstance(); }
/** * Class Constructor * @global type $current_user * @codeCoverageIgnore */ public function __construct() { global $current_user; $this->schedulersJob = new SchedulersJob(); $this->sugarJobQueue = new SugarJobQueue(); $this->logger = PMSELogger::getInstance(); $this->currentUser = $current_user; }
/** * */ public function __construct() { global $db; $this->request = new PMSERequest(); $this->request->setType('hook'); $this->preProcessor = PMSEPreProcessor::getInstance(); $this->logger = PMSELogger::getInstance(); $this->dbHandler = $db; }
/** * * @global type $locale * @codeCoverageIgnore */ public function __construct() { global $locale; $this->locale = $locale; $this->beanUtils = new PMSEBeanHandler(); $this->logger = PMSELogger::getInstance(); $this->admin = new Administration(); $this->pmseRelatedModule = new PMSERelatedModule(); }
/** * Class constructor * @codeCoverageIgnore */ public function __construct() { global $db; $this->executionMode = 'DEFAULT'; $this->caseFlowHandler = new PMSECaseFlowHandler(); $this->userAssignmentHandler = new PMSEUserAssignmentHandler(); $this->beanHandler = new PMSEBeanHandler(); $this->emailHandler = new PMSEEmailHandler(); $this->dbHandler = $db; $this->logger = PMSELogger::getInstance(); }
/** * PMSEExecuter constructor * @codeCoverageIgnore */ public function __construct() { global $sugar_config; $this->caseFlowHandler = new PMSECaseFlowHandler(); $this->flowRouter = new PMSEFlowRouter(); $this->logger = PMSELogger::getInstance(); $settings = $sugar_config['pmse_settings_default']; $this->maxExecutionCycleNumber = (int) $settings['error_number_of_cycles']; $this->maxExecutionTimeout = (int) $settings['error_timeout']; $this->executedElements = array(); $this->executionTime = 0; }
/** * * @codeCoverageIgnore */ public function __construct() { $this->sugarQuery = new SugarQuery(); $this->logger = PMSELogger::getInstance(); }
/** * @codeCoverageIgnore */ public function __construct() { $this->logger = PMSELogger::getInstance(); $this->evaluator = new PMSEEvaluator(); $this->pmseRelatedModule = new PMSERelatedModule(); }
/** * * @param type $level * @codeCoverageIgnore */ public function __construct($level) { $this->level = $level; $this->logger = PMSELogger::getInstance(); }
/** * Class constructor * @codeCoverageIgnore */ public function __construct() { $this->logger = PMSELogger::getInstance(); $this->relationship = BeanFactory::getBean('Relationships'); $this->relatedModule = new PMSERelatedModule(); }
/** * Flow Router Constructor * @codeCoverageIgnore */ public function __construct() { $this->caseFlowHandler = new PMSECaseFlowHandler(); $this->jobQueueHandler = new PMSEJobQueueHandler(); $this->logger = PMSELogger::getInstance(); }
/** * * @param type $level * @codeCoverageIgnore */ public function __construct($level) { $this->level = $level; $this->logger = PMSELogger::getInstance(); $this->evaluator = new PMSEEvaluator(); }
/** * @codeCoverageIgnore */ public function __construct() { $this->relatedDependency = new PMSERelatedDependencyWrapper(); $this->logger = PMSELogger::getInstance(); }
/** * Class constructor. * Retrieving the logger instance from the singleton. * @codeCoverageIgnore */ public function __construct() { $this->logger = PMSELogger::getInstance(); }
public function __construct() { $this->logger = PMSELogger::getInstance(); $this->relatedRecordApi = new RelateRecordApi(); }
public function clearLog($api, $args) { $this->checkACL($api, $args); $logger = PMSELogger::getInstance(); $pmse = PMSE::getInstance(); global $current_user; if ($current_user->isDeveloperForModule('pmse_Inbox') || $current_user->isAdminForModule('pmse_Inbox')) { $pmse->clearLogFile($logger->getLogFileNameWithPath()); } else { return false; } return true; }
/** * * @global type $db * @codeCoverageIgnore */ public function __construct() { global $db; $this->dbHandler = $db; $this->logger = PMSELogger::getInstance(); }
/** * * Class constructor * @codeCoverageIgnore */ public function __construct() { $this->wrapper = new PMSEWrapper(); $this->logger = PMSELogger::getInstance(); }
/** * Class constructor * @codeCoverageIgnore */ public function __construct() { $this->logger = PMSELogger::getInstance(); $this->validators = array('direct' => array('terminate' => PMSEValidationLevel::NoValidation, 'concurrency' => PMSEValidationLevel::Simple, 'record' => PMSEValidationLevel::NoValidation, 'element' => PMSEValidationLevel::NoValidation, 'expression' => PMSEValidationLevel::NoValidation), 'hook' => array('terminate' => PMSEValidationLevel::Simple, 'concurrency' => PMSEValidationLevel::NoValidation, 'record' => PMSEValidationLevel::Simple, 'element' => PMSEValidationLevel::Simple, 'expression' => PMSEValidationLevel::Simple), 'engine' => array('terminate' => PMSEValidationLevel::NoValidation, 'concurrency' => PMSEValidationLevel::NoValidation, 'record' => PMSEValidationLevel::NoValidation, 'element' => PMSEValidationLevel::NoValidation, 'expression' => PMSEValidationLevel::NoValidation), 'queue' => array('terminate' => PMSEValidationLevel::NoValidation, 'concurrency' => PMSEValidationLevel::Simple, 'record' => PMSEValidationLevel::NoValidation, 'element' => PMSEValidationLevel::NoValidation, 'expression' => PMSEValidationLevel::NoValidation)); }