Class: iHRIS Applicant: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 9: Line 9:
This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]]
This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]]
==position==
==position==
The form field ''position'' is implemented by [[Class: I2CE_FormField_MAP_MULT |MAP_MULT ]]
The form field ''position'' is implemented by [[Class: I2CE_FormField_MAP_MULT |MAP_MULT ]]
==felony==
==felony==
The form field ''felony'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]]
The form field ''felony'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]]
==felony_circumstance==
==felony_circumstance==
The form field ''felony_circumstance'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
The form field ''felony_circumstance'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==other_info==
==other_info==
The form field ''other_info'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
The form field ''other_info'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==hear==
==hear==
The form field ''hear'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
The form field ''hear'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==start_date==
==start_date==
The form field ''start_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]]
The form field ''start_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]]
==desired_wage==
==desired_wage==
The form field ''desired_wage'' is implemented by [[Class: iHRIS_FormField_CURRENCY |CURRENCY ]]
The form field ''desired_wage'' is implemented by [[Class: iHRIS_FormField_CURRENCY |CURRENCY ]]
==full_time==
==full_time==
The form field ''full_time'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]]
The form field ''full_time'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]]
==hours==
==hours==
The form field ''hours'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
The form field ''hours'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==Methods==
==Methods==
===findApplicants()===
===findApplicants()===

Revision as of 12:49, 19 October 2009

This article describes the class iHRIS_Applicant.

@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with applicants.

Form Fields

This class is a form class and provides the following form fields

position

The form field position is implemented by MAP_MULT

felony

The form field felony is implemented by YESNO

felony_circumstance

The form field felony_circumstance is implemented by STRING_MLINE

other_info

The form field other_info is implemented by STRING_MLINE

hear

The form field hear is implemented by STRING_MLINE

start_date

The form field start_date is implemented by DATE_YMD

desired_wage

The form field desired_wage is implemented by CURRENCY

full_time

The form field full_time is implemented by YESNO

hours

The form field hours is implemented by STRING_MLINE

Methods

findApplicants()

Search the database for applicants that have applied to the given position.

  • Signature: static public function findApplicants($position)
  • Parameters:
    • integer $position
  • Returns: array @see search()

findApplications()

Search the database for applications that have applied to the given position.

  • Signature: static public function findApplications($position)
  • Parameters:
    • integer $position
  • Returns: array @see search()

removePosition()

Remove the given position from the list of positions for this application.

  • Signature: public function removePosition($position)
  • Parameters:
    • integer $position

validate()

Checks to make sure all the required fields are valid.

  • Signature: public function validate($page)
  • Parameters: