Class Research_Archon

Description
  • abstract:

Located in /packages/research/lib/core/archon.inc.php (line 2)


	
			
Method Summary
array createCartFromArray (array $arrEntries)
AppointmentPurpose[] getAllAppointmentPurposes ()
Appointment[] getAllAppointments ([$PreviousAppointments[optional] $PreviousAppointments = true])
Researcher[] getAllResearchers ()
ResearcherType[] getAllResearcherTypes ()
integer getResearcherIDFromEmail ( $Email, string $Login)
void initialize ()
AppointmentPurpose[] searchAppointmentPurposes (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
Classification[] searchAppointments (string $SearchQuery, [ $ArrivalTimeStartLimit = 0], [ $ArrivalTimeEndLimit = 0], [ $PreviousAppointments = true], [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $ParentID[optional], integer $Limit[optional])
Researcher[] searchResearchers (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
ResearcherType[] searchResearcherTypes (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
Methods
createCartFromArray (line 10)

Creates Researcher Cart array of CollectionIDs and CollectionContentIDs

  • access: public
array createCartFromArray (array $arrEntries)
  • array $arrEntries
getAllAppointmentPurposes (line 136)

Retrieves all AppointmentPurposes from the database

The returned array of AppointmentPurpose objects is sorted by AppointmentPurpose and has IDs as keys.

  • access: public
AppointmentPurpose[] getAllAppointmentPurposes ()
getAllAppointments (line 158)

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.

  • access: public
Appointment[] getAllAppointments ([$PreviousAppointments[optional] $PreviousAppointments = true])
  • $PreviousAppointments[optional] $PreviousAppointments
getAllResearchers (line 199)

Retrieves all Researchers from the database

The returned array of Researchers objects is sorted by Researchers and has IDs as keys.

  • access: public
Researcher[] getAllResearchers ()
getAllResearcherTypes (line 183)

Retrieves all ResearcherTypes from the database

The returned array of ResearcherType objects is sorted by Name and has IDs as keys.

  • access: public
ResearcherType[] getAllResearcherTypes ()
getResearcherIDFromEmail (line 216)

Returns ResearcherID value when passed the researcher's login string.

  • access: public
integer getResearcherIDFromEmail ( $Email, string $Login)
  • string $Login
  • $Email
initialize (line 238)

Initializes Archon for use

  • access: public
void initialize ()
searchAppointmentPurposes (line 270)

Searches the AppointmentPurpose database

  • access: public
AppointmentPurpose[] searchAppointmentPurposes (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
  • string $SearchQuery
  • integer $Limit[optional]
  • $Limit
searchAppointments (line 286)

Searches the Appointments database

  • access: public
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
searchResearchers (line 327)

Searches the Researcher database

  • access: public
Researcher[] searchResearchers (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
  • string $SearchQuery
  • integer $Limit[optional]
  • $Limit
searchResearcherTypes (line 342)

Searches the ResearcherType database

  • access: public
ResearcherType[] searchResearcherTypes (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], integer $Limit[optional])
  • string $SearchQuery
  • integer $Limit[optional]
  • $Limit

Documentation generated on Wed, 05 Mar 2008 16:45:25 -0600 by phpDocumentor 1.3.1