41 $this->db = $DIC->database();
57 $this->obj_id = $a_obj_id;
109 $this->profiles = array();
111 "SELECT spr.profile_id, spr.role_id, sp.title FROM skl_profile_role spr INNER JOIN skl_profile sp " .
112 " ON spr.profile_id = sp.id " .
113 " WHERE sp.ref_id <> 0 " .
114 " AND role_id = " .
$db->quote($this->getMemberRoleId(),
"integer")
116 while ($rec =
$db->fetchAssoc($set)) {
117 $this->profiles[$rec[
"profile_id"]] = $rec;
setObjId(int $a_obj_id)
Set object id.
getMemberRoleId()
Get member role id of object.
getProfiles()
Get profiles.
static getDefaultMemberRole($a_ref_id)
static _getAllReferences($a_id)
get all reference ids of object
__construct(int $a_obj_id)
Constructor.
Local competence profiles of a container.
setMemberRoleId()
Set member role id of object.