- <?php
- class UserAdminPrivileges extends BaseObject {
- var $admin_db;
- Function UserAdminPrivileges( $admin_db = '' ) {
- $this->BaseObject( 'UserAdminPrivileges' );
- if ( is_object( $admin_db ) ) {
- $this->admin_db = $admin_db;
- } else {
- $this->admin_db = AdminPrivileges_Db();
- }
- }
- Function Get( $user_id ) {
- return $this->admin_db->Get( $user_id );
- }
- }
- ?>