~kibsden/ihris-uganda/baylor-train

« back to all changes in this revision

Viewing changes to modules/BaylorDeployment/lib/iHRIS_Module_Baylor_Deployment.php

  • Committer: Dennis Kibiye
  • Date: 2012-08-15 12:39:06 UTC
  • Revision ID: kibsden@gmail.com-20120815123906-ckmfgnpgi8xqiz9o
First Initialisation of In Service Baylor Training System Based on iHRIS Manage

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
class iHRIS_Module_Baylor_Deployment extends I2CE_Module {
 
3
    public static function getMethods() {
 
4
        return array(
 
5
            'iHRIS_PageView->action_person_baylor_deployment' => 'action_person_baylor_deployment'
 
6
            
 
7
            );
 
8
    }
 
9
 
 
10
 
 
11
    public function action_person_baylor_deployment($obj) {
 
12
        if (!$obj instanceof iHRIS_PageView) {
 
13
            return;
 
14
        }
 
15
        return $obj->addChildForms('person_baylor_deployment');
 
16
    }
 
17
   }
 
18
?>