| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 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 20 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::__construct | ( | ilDBInterface | $db | ) | 
Definition at line 25 of file class.ilOrgUnitAuthorityDBRepository.php.
References $db.
| ilOrgUnitAuthorityDBRepository::create | ( | ) | 
Implements OrgUnitAuthorityRepository.
Definition at line 50 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::delete | ( | int | $id | ) | 
Implements OrgUnitAuthorityRepository.
Definition at line 100 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::deleteByPositionId | ( | int | $position_id | ) | 
Deletes all authorities for a position.
Implements OrgUnitAuthorityRepository.
Definition at line 111 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::deleteLeftoverAuthorities | ( | array | $ids, | 
| int | $position_id | ||
| ) | 
Deletes orphaned authorities on position save.
Implements OrgUnitAuthorityRepository.
Definition at line 122 of file class.ilOrgUnitAuthorityDBRepository.php.
| ilOrgUnitAuthorityDBRepository::get | ( | int | $id, | 
| string | $field | ||
| ) | 
Implements OrgUnitAuthorityRepository.
Definition at line 30 of file class.ilOrgUnitAuthorityDBRepository.php.
References $res, ilOrgUnitAuthority\FIELD_OVER, and ilOrgUnitAuthority\POSITION_ID.
      
  | 
  private | 
Definition at line 66 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 55 of file class.ilOrgUnitAuthorityDBRepository.php.
References ilOrgUnitAuthority\getId(), insert(), and update().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 87 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 23 of file class.ilOrgUnitAuthorityDBRepository.php.
Referenced by __construct().
| const ilOrgUnitAuthorityDBRepository::TABLE_NAME = 'il_orgu_authority' | 
Definition at line 22 of file class.ilOrgUnitAuthorityDBRepository.php.