/**
  *
  * @author "Lionel Lecaque, <*****@*****.**>"
  * @param unknown $implementations            
  */
 public function __construct($implementations = array())
 {
     parent::__construct();
     foreach ($implementations as $key => $implementationParams) {
         $implementationClassName = $implementationParams["className"];
         $implementations[$key]["object"] = new $implementationClassName();
     }
     $this->implementations = $implementations;
     // retrieve implementations
 }
 /**
  * constructor: initialize the service and the default data
  * 
  * @return Delivery
  */
 public function __construct()
 {
     parent::__construct();
 }
 /**
  * Short description of method __construct
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @param  Resource process
  * @return mixed
  */
 public function __construct(core_kernel_classes_Resource $process)
 {
     $this->process = $process;
     $this->activityService = wfEngine_models_classes_ActivityService::singleton();
     $this->connectorService = wfEngine_models_classes_ConnectorService::singleton();
     $this->authoringService = wfAuthoring_models_classes_ProcessService::singleton();
     parent::__construct();
 }
 /**
  * Short description of method __construct
  *
  * @access public
  * @author Somsack Sipasseuth, <*****@*****.**>
  * @return mixed
  */
 public function __construct()
 {
     parent::__construct();
     $this->instancesCache = array();
     $this->cache = true;
     $this->instanceProcessFinished = new core_kernel_classes_Resource(INSTANCE_PROCESSSTATUS_FINISHED);
     $this->instanceProcessResumed = new core_kernel_classes_Resource(INSTANCE_PROCESSSTATUS_RESUMED);
     $this->processInstancesClass = new core_kernel_classes_Class(CLASS_PROCESSINSTANCES);
     $this->processInstancesStatusProp = new core_kernel_classes_Property(PROPERTY_PROCESSINSTANCES_STATUS);
     $this->processInstancesExecutionOfProp = new core_kernel_classes_Property(PROPERTY_PROCESSINSTANCES_EXECUTIONOF);
     $this->processInstancesCurrentActivityExecutionsProp = new core_kernel_classes_Property(PROPERTY_PROCESSINSTANCES_CURRENTACTIVITYEXECUTIONS);
     $this->processInstancesActivityExecutionsProp = new core_kernel_classes_Property(PROPERTY_PROCESSINSTANCES_ACTIVITYEXECUTIONS);
     $this->processVariablesCodeProp = new core_kernel_classes_Property(PROPERTY_PROCESSVARIABLES_CODE);
     $this->activityExecutionsClass = new core_kernel_classes_Class(CLASS_ACTIVITY_EXECUTION);
     $this->activityExecutionsProcessExecutionProp = new core_kernel_classes_Property(PROPERTY_ACTIVITY_EXECUTION_PROCESSEXECUTION);
     $this->activityExecutionService = wfEngine_models_classes_ActivityExecutionService::singleton();
 }
Ejemplo n.º 5
0
 /**
  * @inheritdoc
  */
 public function createInstance(core_kernel_classes_Class $clazz, $label = '')
 {
     $instance = parent::createInstance($clazz, $label);
     if ($instance) {
         $this->getEventManager()->trigger(new RoleCreatedEvent($instance->getUri()));
     }
     return $instance;
 }
 /**
  * @param string deliveryResultIdentifier if no such deliveryResult with this identifier exists a new one gets created
  */
 public function __construct()
 {
     parent::__construct();
     common_ext_ExtensionsManager::singleton()->getExtensionById("taoLtiBasicOutcome");
 }
 public function __construct()
 {
     parent::__construct();
     $this->persistence = $this->getPersistence();
 }
 /**
  * @param string deliveryResultIdentifier if no such deliveryResult with this identifier exists a new one gets created
  */
 public function __construct()
 {
     parent::__construct();
     common_ext_ExtensionsManager::singleton()->getExtensionById("taoResults");
     $this->taoResultsStorage = new taoResults_models_classes_ResultsService();
 }
Ejemplo n.º 9
0
 /**
  * Constructor, calls the initRole method.
  *
  * @access protected
  * @author Joel Bout, <*****@*****.**>
  */
 protected function __construct()
 {
     parent::__construct();
     $this->generisUserService = core_kernel_users_Service::singleton();
     $this->initRole();
 }
 /**
  * Short description of method __construct
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @return mixed
  */
 public function __construct()
 {
     parent::__construct();
     $this->processClass = new core_kernel_classes_Class(CLASS_PROCESS);
 }
 public function __construct()
 {
     parent::__construct();
     common_ext_ExtensionsManager::singleton()->getExtensionById("taoResultsUdp");
     $this->initSocket();
 }
 public function __construct()
 {
     parent::__construct();
     $this->persistence = $this->getPersistence();
     common_ext_ExtensionsManager::singleton()->getExtensionById("taoAltResultStorage");
 }