public function initDefaultRoles()
 {
     include_once './Services/AccessControl/classes/class.ilObjRole.php';
     $role = ilObjRole::createDefaultRole('il_xvit_admin_' . $this->getRefId(), "Admin of vitero obj_no." . $this->getId(), 'il_xvit_admin', $this->getRefId());
     $role = ilObjRole::createDefaultRole('il_xvit_member_' . $this->getRefId(), "Member of vitero obj_no." . $this->getId(), 'il_xvit_member', $this->getRefId());
     parent::initDefaultRoles();
 }
 /**
  * Constructor
  *
  * @access public
  * 
  */
 public function __construct($a_id = 0, $a_call_by_reference = true)
 {
     global $ilDB;
     parent::__construct($a_id, $a_call_by_reference);
     $this->db = $ilDB;
     $this->typedef = new ilExternalContentType();
 }
 /**
  * Create object
  *
  * @return integer with the pool_id
  */
 protected function doCreate()
 {
     parent::doCreate();
     $this->pool_id = $this->getId();
     $fields = $this->getDBFields();
     $fields["id"] = array("integer", $this->pool_id);
     $fields["max_book_time"] = array("timestamp", "1970-01-01 03:00:00");
     $fields["rooms_agreement"] = array("integer", "0");
     $this->ilDB->insert("rep_robj_xrs_pools", $fields);
     return parent::getId();
 }
 /**
  * Constructor
  *
  * @access	public
  */
 function __construct($a_ref_id = 0)
 {
     parent::__construct($a_ref_id);
 }
 /**
  * Constructor
  * @access    public
  */
 public function __construct($a_ref_id = 0)
 {
     /**
      * @var $ilCtrl ilCtrl
      */
     global $ilCtrl;
     parent::__construct($a_ref_id);
     $this->ref_id = $a_ref_id;
     $this->pluginObj = ilPlugin::getPluginObject('Services', 'Repository', 'robj', 'AdobeConnect');
     if (!$ilCtrl->isAsynch()) {
         $this->pluginObj->includeClass('class.ilAdobeConnectContents.php');
         $this->contents = new ilAdobeConnectContents();
     }
     $instance = ilAdobeConnectServer::_getInstance();
     $this->adminLogin = $instance->getLogin();
     $this->adminPass = $instance->getPasswd();
     $this->externalLogin = $this->checkExternalUser();
     $this->xmlApi = ilXMLApiFactory::getApiByAuthMode();
 }
 /**
  * @param int $a_ref_id
  */
 public function __construct($a_ref_id = 0)
 {
     $this->readIniFile();
     parent::__construct($a_ref_id);
 }
 /**
  * @param int $a_ref_id
  */
 public function __construct($a_ref_id = 0)
 {
     parent::__construct($a_ref_id);
     $this->groups = array();
     $this->mapper = new ilOverviewMapper();
 }