コード例 #1
0
 public function findAll()
 {
     $allEmployees = parent::findAll("titles");
     $employeess = array();
     foreach ($allEmployees as $employees) {
         $u = new Employees();
         array_push($employeess, $u->getFromArray($employees));
     }
     return $employeess;
 }
コード例 #2
0
 public function findAll()
 {
     $allDepartment = parent::findAll("departments");
     $departments = array();
     foreach ($allDepartment as $department) {
         $u = new Department();
         array_push($departments, $u->getFromArray($department));
     }
     return $departments;
 }
コード例 #3
0
 public function findAll()
 {
     $allUser = parent::findAll("User");
     $users = array();
     foreach ($allUser as $user) {
         $u = new User();
         array_push($users, $u->getFromArray($user));
     }
     return $users;
 }