Class: iHRIS Applicant: Difference between revisions

From IHRIS Wiki
No edit summary
(Redirected page to Class: iHRIS Applicant (4.1.7))
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article describes the class ''iHRIS_Applicant''.
#REDIRECT [[Class: iHRIS_Applicant (4.1.7)]]
*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]
*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>
*Since: v1.0.0
@copyright Copyright &copy; 2007, 2008 IntraHealth International, Inc.    Object for dealing with applicants.
==Form Fields==
This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]]
==position==
The form field ''position'' is implemented by [[Class: I2CE_FormField_MAP_MULT |MAP_MULT ]]
==felony==
The form field ''felony'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]]
==felony_circumstance==
The form field ''felony_circumstance'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==other_info==
The form field ''other_info'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==hear==
The form field ''hear'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==start_date==
The form field ''start_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]]
==desired_wage==
The form field ''desired_wage'' is implemented by [[Class: iHRIS_FormField_CURRENCY |CURRENCY ]]
==full_time==
The form field ''full_time'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]]
==hours==
The form field ''hours'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |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: [http://www.php.net/manual/en/language.types.array.php 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: [http://www.php.net/manual/en/language.types.array.php 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:
** [[Class: I2CE_Template | I2CE_Template]] &$page
 
 
[[Category:Class Documentation]]

Latest revision as of 09:54, 23 August 2013