예제 #1
0
 /**
  * Handle adding the position form to the person page view page.
  * @param iHRIS_PageView $page
  * @return boolean
  */
 public function action_position($page)
 {
     if (!$page instanceof iHRIS_PageView) {
         return false;
     }
     return $page->addChildForms('position', 'siteContent');
 }
 /**
  * Method to display the dependent child forms on the view person page.
  * @param iHRIS_PageView $pageObject
  **/
 public function show_nextofkin($pageObject)
 {
     if (!$pageObject instanceof iHRIS_PageView) {
         return;
     }
     $pageObject->addChildForms('nextofkin');
     return true;
 }
 /**
  * Handle adding the deployment form to the person page view page.
  * @param iHRIS_PageView $page
  * @return boolean
  */
 public function action_deployment($page)
 {
     if (!$page instanceof iHRIS_PageView) {
         return false;
     }
     return $page->addChildForms('deployment');
 }
 /**
  * Method to display the dependent child forms on the view person page.
  * @param iHRIS_PageView $pageObject
  **/
 public function show_dependents($pageObject)
 {
     $pageObject->addChildForms('dependent');
     return true;
 }