|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ilOrgUnitAuthorityDBRepository:
Collaboration diagram for ilOrgUnitAuthorityDBRepository:Public Member Functions | |
| __construct (ilDBInterface $db) | |
| get (int $id, string $field) | |
| create () | |
| store (ilOrgUnitAuthority $authority) | |
| delete (int $id) | |
| deleteByPositionId (int $position_id) | |
| Deletes all authorities for a position. More... | |
| deleteLeftoverAuthorities (array $ids, int $position_id) | |
| Deletes orphaned authorities on position save. More... | |
Data Fields | |
| const | TABLE_NAME = 'il_orgu_authority' |
Protected Attributes | |
| ilDBInterface | $db |
Private Member Functions | |
| insert (ilOrgUnitAuthority $authority) | |
| update (ilOrgUnitAuthority $authority) | |
Definition at line 21 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::__construct | ( | ilDBInterface | $db | ) |
Definition at line 26 of file class.ilOrgUnitAuthorityDBRepository.php.
References $db.
| ilOrgUnitAuthorityDBRepository::create | ( | ) |
Implements OrgUnitAuthorityRepository.
Definition at line 51 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::delete | ( | int | $id | ) |
Implements OrgUnitAuthorityRepository.
Definition at line 101 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::deleteByPositionId | ( | int | $position_id | ) |
Deletes all authorities for a position.
Implements OrgUnitAuthorityRepository.
Definition at line 112 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::deleteLeftoverAuthorities | ( | array | $ids, |
| int | $position_id | ||
| ) |
Deletes orphaned authorities on position save.
Implements OrgUnitAuthorityRepository.
Definition at line 123 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::get | ( | int | $id, |
| string | $field | ||
| ) |
Implements OrgUnitAuthorityRepository.
Definition at line 31 of file class.ilOrgUnitAuthorityDBRepository.php.
References $res, ilOrgUnitAuthority\FIELD_OVER, and ilOrgUnitAuthority\POSITION_ID.
|
private |
Definition at line 67 of file class.ilOrgUnitAuthorityDBRepository.php.
References $id, ilOrgUnitAuthority\getOver(), ilOrgUnitAuthority\getPositionId(), and ilOrgUnitAuthority\getScope().
Referenced by store().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitAuthorityDBRepository::store | ( | ilOrgUnitAuthority | $authority | ) |
Implements OrgUnitAuthorityRepository.
Definition at line 56 of file class.ilOrgUnitAuthorityDBRepository.php.
References ilOrgUnitAuthority\getId(), insert(), and update().
Here is the call graph for this function:
|
private |
Definition at line 88 of file class.ilOrgUnitAuthorityDBRepository.php.
References ilOrgUnitAuthority\getId(), ilOrgUnitAuthority\getOver(), ilOrgUnitAuthority\getPositionId(), and ilOrgUnitAuthority\getScope().
Referenced by store().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 24 of file class.ilOrgUnitAuthorityDBRepository.php.
Referenced by __construct().
| const ilOrgUnitAuthorityDBRepository::TABLE_NAME = 'il_orgu_authority' |
Definition at line 23 of file class.ilOrgUnitAuthorityDBRepository.php.