Class: iHRIS Module ManageAccessFacility (4.1.4)

From IHRIS Wiki


This article describes the class iHRIS_Module_ManageAccessFacility .

@filesource Class iHRIS_Module_ManageAccessFacility

Variables

$user_access_facility

A cached list of facility_access for a username

$report_limit_options

A list of limit options for this module.

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.

action_access_facility()

Handle the display for the access_facility form on the view user page.

getAccessLocation()

Return a list of locations the user is allowed to access.

getHooks()

Retrn the array of hooks available in this module.

getLimitAdd()

Return an array of limit_add options to add for this user to limit fields.

getLimitsByForm()

Return the list of allowed id values for the given form assigned to the current user. If the form isn't given directly by this user then return an empty array. Return true if there is no limits at all for this user.

getMethods()

Return the list of fuzzy methods handled by this module.

getTemplateForms()

Helper method to get forms objects in template

get_report_limit_options()

Return the array of details for report limit options for this module.

removeFormName()

Static helper method to remove the given form name from an id.

userAccessFacility()

Template function to see if person_can_view_child_forms @param string $link

userAccessFacilityList()

Template function to see if can_edit_database_list_position for the

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.

Inherited Methods

__construct()

This public method is inherited from I2CE_ModuleAccess->__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()

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 Variables

$user

Theis protected variable is inherited from I2CE_ModuleAccess->$user

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()