Creates Researcher Cart array of CollectionIDs and CollectionContentIDs
array
createCartFromArray
(array $arrEntries)
Retrieves all AppointmentPurposes from the database
The returned array of AppointmentPurpose objects is sorted by AppointmentPurpose and has IDs as keys.
AppointmentPurpose[]
getAllAppointmentPurposes
()
Retrieves all Appointments from the database
The returned array of Appointment objects has IDs as keys. If PreviousAppointments is true the array will have upcoming appointments first, sorted by arrivaltime, followed by previous appointments, sorted in reverse by arrivaltime.
Appointment[]
getAllAppointments
([$PreviousAppointments[optional] $PreviousAppointments = true])
-
$PreviousAppointments[optional]
$PreviousAppointments
Retrieves all Researchers from the database
The returned array of Researchers objects is sorted by Researchers and has IDs as keys.
Researcher[]
getAllResearchers
()
Retrieves all ResearcherTypes from the database
The returned array of ResearcherType objects is sorted by Name and has IDs as keys.
ResearcherType[]
getAllResearcherTypes
()
Returns ResearcherID value when passed the researcher's login string.
integer
getResearcherIDFromEmail
( $Email, string $Login)
Initializes Archon for use
void
initialize
()
Searches the AppointmentPurpose database
AppointmentPurpose[]
searchAppointmentPurposes
(string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
-
string
$SearchQuery
-
integer
$Limit[optional]
-
$Limit
Searches the Appointments database
Classification[]
searchAppointments
(string $SearchQuery, $ArrivalTimeStartLimit, $ArrivalTimeEndLimit, [ $PreviousAppointments = true], [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $ParentID[optional], integer $Limit[optional])
-
string
$SearchQuery
-
integer
$ParentID[optional]
-
integer
$Limit[optional]
-
$ArrivalTimeStartLimit
-
$ArrivalTimeEndLimit
-
$PreviousAppointments
-
$Limit
Searches the Researcher database
Researcher[]
searchResearchers
(string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
-
string
$SearchQuery
-
integer
$Limit[optional]
-
$Limit
Searches the ResearcherType database
ResearcherType[]
searchResearcherTypes
(string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
-
string
$SearchQuery
-
integer
$Limit[optional]
-
$Limit