/**
  * Constructor
  *
  * @access public
  * 
  */
 public function __construct($a_ref_id, $a_type = self::EXPORT_CSV)
 {
     global $ilObjDataCache, $lng;
     $this->lng = $lng;
     $this->export_type = $a_type;
     $this->ref_id = $a_ref_id;
     $this->obj_id = $ilObjDataCache->lookupObjId($this->ref_id);
     $this->type = ilObject::_lookupType($this->obj_id);
     $this->initMembers();
     $this->agreement = ilMemberAgreement::_readByObjId($this->obj_id);
     $this->settings = new ilUserFormSettings('memexp');
     $this->privacy = ilPrivacySettings::_getInstance();
 }