CIB Core Module Database API.
This class presents a OOP interface to the common queries needed by CIB Core functionality.
Located in /include/classes/database/CIB_DB.inc (line 24)
DB | --CIB_DB
CIB_DB Constructor.
Simply call the parent constructor.
Adds a user request for increased permissions
Check if a given username is available
Deny a pending permission request and notify user.
Deletes the pending permission request and emails the user.
Update Keys to include TeamNames.
Adds a team name to each Team Key in the list of $keys
Return a list of approved non-hosted competitions.
List of email addresses Generates a list of email address for users meeting $type and $level requirements.
Most common usage is $type="Team", $level="Affiliation Captain/Owner"
List of other known CIB servers.
It was initially envisioned that each region of the country would have their own CIB server or that schools would want to run their own, etc. I won't call this deprecated, but its currently unsused.
Return a list of closed competitions hosted by this server Returns a list of closed, hosted competitions. This was needed because the general getHostedComps() couldn't get multiple statuses as once.
Return a list of Competition Announcements.
Returns a a list of approved competition announcements, by default returns all the announcements, but a $limit can be provided with an optional offset for pagination of announcements.
Return a list of competition between a given date range
Return an list of configured competition types
Returns the list of "competition types" such as "US Collegiate", "USA Dance, Inc","NDCA", etc. These categories are used for pre-configuring expected divisions in the Result Tracker and in PrepStep.
Return a list of competition's a user is configuring.
Return an list of documents Designed for returning lists of HowTos's and Help docuemnts, currently unused and probably broken.
Return a list of competitions being hosted by this server Returns a list of hosted competitions having a given $status, normally ordered by date (default value of $order) and a full unlimited/offset list.
Return a list of outside competition advertisements pending approval.
In order to help make CIB a "first stop" on a ballroom competitor's registration process, we want to provide calendar listings of non-hosted events. It also assists with organizer planning, etc. However, as non-users are allowed to post eveents, a more strict approval process was needed.
Retrieve key information from a row identifier
Retrieve pending key information for a given user
Fetch the list of pending permission requests that $user may approve.
Return a list of Site Level Announcements.
Returns a a list of site announcements, by default returns all the announcements, but a $limit can be provided with an optional offset for pagination of announcements.
Retrieve status of requests to sync records
If a user is created after his "person" is already in the database (normally because of imported results) the user can request a synchronization of his two identities. This function returns the status of such requests.
Return a list of teams to which $user can administer.
Return a list of teams to which $user belongs.
Retrieve status of requests for team membership Requests can go either way, a user can "petition" to join a team, requiring team admin approval, or a team admin can "invite" a user to join their team, pending user approval.
List of all known teams
Get a user's hased password.
Why is this in this class. This should be in User.
List of user access levels
Grat a pending permission request and notify user.
Inserts new permission, deletes the pending permission request, and emails the user.
Inherited From DB
DB::DB()
DB::commit()
DB::getDBName()
DB::getDBpass()
DB::getDBuser()
DB::getLastOID()
DB::helper_limitOffset()
DB::helper_queryToArray()
DB::helper_queryToArrayCategories()
DB::helper_queryToSimpleArray()
DB::helper_singleValueQuery()
DB::query()
DB::rollback()
DB::startTransaction()
Documentation generated on Tue, 25 Apr 2006 12:59:32 -0400 by phpDocumentor 1.3.0RC3