Ejemplo n.º 1
0
 /**
  * Return department as object.
  * @return Department
  */
 public function GetDepartmentObj()
 {
     if ($this->_DepartmentObj == null) {
         $deps = new Departments();
         $this->_DepartmentObj = $deps->GetDepartment($this->GetDepartmentId());
     }
     return $this->_DepartmentObj;
 }
Ejemplo n.º 2
0
 /**
  * Return department as object.
  * @return Department
  */
 public function GetDepartmentObj()
 {
     if ($this->_DepartmentObj == null) {
         $this->_DepartmentObj = Departments::GetDepartment($this->GetDepartmentId());
     }
     return $this->_DepartmentObj;
 }
Ejemplo n.º 3
0
 /**
  * Return department as object.
  * @return Department
  */
 public function GetOddzial()
 {
     if ($this->_IsDepartmentObjSet == false) {
         $this->_DepartmentObj = Departments::GetDepartment($this->Getdepartments_id());
         $this->_IsDepartmentObjSet = true;
     }
     return $this->_DepartmentObj;
 }