Class: iHRIS Module ManageAccessFacility (4.1.1)
This article describes the class iHRIS_Module_ManageAccessFacility .
- Extends the class: I2CE_Module.
- Location: Part of the module ManageAccessFacility in the package iHRIS Manage 4.1.1-release
- Source: Defined in the file modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 33
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v4.1.0
@filesource Class iHRIS_Module_ManageAccessFacility
Variables
$user_access_facility
A cached list of facility_access for a username
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 38
- Type: static protected array $user_access_facility
Methods
ValidateAccessAgainstWalkableForms()
Check to see if we have access based on a list of access ids and form objects which we are allowed to edit @param array $fieldsWalks, arrays whos keys are the forms we are looking for, and value is either a mapped field of that form we want to walk or false.
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 244
- Signature: public function ValidateAccessAgainstWalkableForms($fieldWalks,$access,$formObjs)
- Parameters:
action_access_facility()
Handle the display for the access_facility form on the view user page.
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 54
- Signature: public function action_access_facility($page)
- Parameters:
- $page
- Returns: boolean
getAccessLocation()
Return a list of locations the user is allowed to access.
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 83
- Signature: static public function getAccessLocation($user)
- Parameters:
- I2CE_User $user
- Returns: array
with keys form name, and values and array containing formids form that form
getMethods()
Return the list of fuzzy methods handled by this module.
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 44
- Signature: static public function getMethods()
- Returns: array
getTemplateForms()
Helper method to get forms objects in template
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 176
- Signature: public function getTemplateForms($template,$node,$forms)
- Parameters:
- I2CE_Template $template
- DOMNode $node
- array $forms
of string, the name of the forms
userAccessFacility()
Template function to see if person_can_view_child_forms @param string $link
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 117
- Signature: public function userAccessFacility($node,$template)
- Parameters:
- DOMNode $node
- I2CE_Template $template
userAccessFacilityList()
Template function to see if can_edit_database_list_position for the
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 199
- Signature: public function userAccessFacilityList($node,$template)
- Parameters:
- DOMNode $node
- I2CE_Template $template
- Returns: boolean
userAccessWalkableForms()
Template function to see if can_edit_database_list_position for the @param array $fieldsWalks, arrays whos keys are the forms we are looking for, and value is either a mapped field of that form we want to walk or false.
- Defined in manage/modules/ManageAccessFacility/lib/iHRIS_Module_ManageAccessFacility.php on line 219
- Signature: public function userAccessWalkableForms($node,$template,$fieldWalks,$permit_empty)
- Parameters:
- DOMNode $node
- I2CE_Template $template
- $fieldWalks
- boolean $permit_empty
Defaults to true in which case we grant permission if none of the forms from {$fieldWalks} are found in the template, or if there is no template- Default Value: true
- Returns: boolean;
Inherited Methods
__construct()
This public method is inherited from I2CE_Module->__construct()
action_configure()
This public method is inherited from I2CE_Module->action_configure()
action_disable()
This public method is inherited from I2CE_Module->action_disable()
action_enable()
This public method is inherited from I2CE_Module->action_enable()
action_initialize()
This public method is inherited from I2CE_Module->action_initialize()
getCLIHooks()
This public method is inherited from I2CE_Module->getCLIHooks()
getCLIMethods()
This public method is inherited from I2CE_Module->getCLIMethods()
getConfig()
This public method is inherited from I2CE_Module->getConfig()
getHooks()
This public method is inherited from I2CE_Module->getHooks()
post_update()
This public method is inherited from I2CE_Module->post_update()
pre_upgrade()
This public method is inherited from I2CE_Module->pre_upgrade()
upgrade()
This public method is inherited from I2CE_Module->upgrade()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Fuzzy Methods
launchBackgroundProcess()
This method is inherited from I2CE_Module->launchBackgroundProcess()
launchBackgroundPHPScript()
This method is inherited from I2CE_Module->launchBackgroundPHPScript()
launchBackgroundPage()
This method is inherited from I2CE_Module->launchBackgroundPage()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()