Class: iHRIS Applicant: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article describes the class ''iHRIS_Applicant''. | This article describes the class ''iHRIS_Applicant''. | ||
*Extends the class: [[Class: I2CE_Form | I2CE_Form]]. | *Extends the class: [[Class: I2CE_Form | I2CE_Form]]. | ||
*Location: Part of the module [[iHRIS Module List#ihris-manage-Application|ihris-manage-Application]] in the package [https://launchpad.net/ihris-manage iHRIS Manage] | *Location: Part of the module [[iHRIS Manage Module List#ihris-manage-Application|ihris-manage-Application]] in the package [https://launchpad.net/ihris-manage iHRIS Manage] | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-manage/4.0.0-release/annotate/head:/modules/ManageApplication/lib/iHRIS_Applicant.php modules/ManageApplication/lib/iHRIS_Applicant.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-manage/4.0.0-release/annotate/head:/modules/ManageApplication/lib/iHRIS_Applicant.php modules/ManageApplication/lib/iHRIS_Applicant.php] | ||
*Author: Luke Duncan <lduncan@intrahealth.org> | *Author: Luke Duncan <lduncan@intrahealth.org> |
Revision as of 12:11, 19 October 2009
This article describes the class iHRIS_Applicant.
- Extends the class: I2CE_Form.
- Location: Part of the module ihris-manage-Application in the package iHRIS Manage
- Source: Defined in the file modules/ManageApplication/lib/iHRIS_Applicant.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v1.0.0
@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:
- I2CE_Template &$page