/**
  * call the (empty) parent constructor
  * initialise the campaign class
  *
  * @access protected
  * @author Joel Bout, <*****@*****.**>
  * @return mixed
  */
 protected function __construct()
 {
     parent::__construct();
     // ensure the taoCampaign extension is loaded, since it can be called from taoDelivery
     common_ext_ExtensionsManager::singleton()->getExtensionById('taoCampaign')->load();
     $this->campaignClass = new core_kernel_classes_Class(TAO_DELIVERY_CAMPAIGN_CLASS);
 }
 /**
  * Short description of method __construct
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @return core_view_classes_
  */
 protected function __construct()
 {
     $returnValue = null;
     parent::__construct();
     $this->testClass = new core_kernel_classes_Class(TAO_TEST_CLASS);
     return $returnValue;
 }
 /**
  * Short description of method __construct
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @return void
  */
 protected function __construct()
 {
     parent::__construct();
     $this->itemClass = new core_kernel_classes_Class(TAO_ITEM_CLASS);
     $this->itemModelProperty = new core_kernel_classes_Property(TAO_ITEM_MODEL_PROPERTY);
     $this->itemContentProperty = new core_kernel_classes_Property(TAO_ITEM_CONTENT_PROPERTY);
 }
 /**
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @return mixed
  */
 public function __construct()
 {
     parent::__construct();
     $this->resultServerClass = new core_kernel_classes_Class(TAO_RESULTSERVER_CLASS);
 }
 /**
  * TestTakerService constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->subjectClass = new \core_kernel_classes_Class(TAO_SUBJECT_CLASS);
 }
示例#6
0
 /**
  * WebBrowserService constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->rootClass = new core_kernel_classes_Class(static::ROOT_CLASS);
     $this->makeClass = new core_kernel_classes_Class(static::MAKE_CLASS);
 }