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], [ $Offset = 0], integer $Limit[optional], integer $Offset[optional])
Classification[] searchAppointments (string $SearchQuery, [ $ArrivalTimeStartLimit = 0], [ $ArrivalTimeEndLimit = 0], [ $PreviousAppointments = true], [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], [ $Offset = 0], integer $ParentID[optional], integer $Limit[optional], integer $Offset[optional])
Researcher[] searchResearchers (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], [ $Offset = 0], integer $Limit[optional], integer $Offset[optional])
ResearcherType[] searchResearcherTypes (string $SearchQuery, [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT], [ $Offset = 0], integer $Limit[optional], integer $Offset[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 271)

Searches the AppointmentPurpose database

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

Searches the Appointments database

  • access: public
Classification[] searchAppointments (string $SearchQuery,  $ArrivalTimeStartLimit,  $ArrivalTimeEndLimit, [ $PreviousAppointments = true], [ $Limit = CONFIG_CORE_SEARCH_RESULTS_LIMIT],  $Offset, integer $ParentID[optional], integer $Limit[optional], integer $Offset[optional])
  • string $SearchQuery
  • integer $ParentID[optional]
  • integer $Limit[optional]
  • integer $Offset[optional]
  • $ArrivalTimeStartLimit
  • $ArrivalTimeEndLimit
  • $PreviousAppointments
  • $Limit
  • $Offset
searchResearchers (line 330)

Searches the Researcher database

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

Searches the ResearcherType database

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

Documentation generated on Thu, 14 Aug 2008 20:21:12 -0500 by phpDocumentor 1.3.1