diff --git a/~dev_rating/application/classes/Controller/Admin/Departaments.php b/~dev_rating/application/classes/Controller/Admin/Departments.php similarity index 65% rename from ~dev_rating/application/classes/Controller/Admin/Departaments.php rename to ~dev_rating/application/classes/Controller/Admin/Departments.php index 98d40efa7094073dda02ef7a90b657b564c6ad59..2bb8c741daef17cb1e0c55a87e8c82905148d2e2 100644 --- a/~dev_rating/application/classes/Controller/Admin/Departaments.php +++ b/~dev_rating/application/classes/Controller/Admin/Departments.php @@ -1,10 +1,10 @@ <?php defined('SYSPATH') or die('No direct script access.'); -class Controller_Admin_Departaments extends Controller_UserEnvi { +class Controller_Admin_Departments extends Controller_UserEnvi { public function action_index() { - $twig = Twig::factory('admin/departaments/index'); + $twig = Twig::factory('admin/departments/index'); $twig->User = $this->UserInfo; $this->response->body($twig); @@ -12,7 +12,7 @@ class Controller_Admin_Departaments extends Controller_UserEnvi { public function action_upload() { - $twig = Twig::factory('admin/departaments/upload'); + $twig = Twig::factory('admin/departments/upload'); $twig->User = $this->UserInfo; $this->response->body($twig); diff --git a/~dev_rating/application/classes/Model/Admin/Teachers.php b/~dev_rating/application/classes/Model/Admin/Teachers.php index c1c21cb7f87f9dce0f4b5a8934409e545e03983b..a916890611f85f7346bbfa542a63229ae25e8559 100644 --- a/~dev_rating/application/classes/Model/Admin/Teachers.php +++ b/~dev_rating/application/classes/Model/Admin/Teachers.php @@ -25,9 +25,9 @@ class Model_Admin_Teachers extends Model } /** @deprecated */ - public function getTeachersByDepartment($departamentID) + public function getTeachersByDepartment($departmentID) { - $sql = "CALL `GetTeachersByDepartment`('$departamentID'); "; + $sql = "CALL `GetTeachersByDepartment`('$departmentID'); "; return DB::query(Database::SELECT, $sql)->execute(); } diff --git a/~dev_rating/application/classes/Model/DataArr/Teachers.php b/~dev_rating/application/classes/Model/DataArr/Teachers.php index 6213f8b4ca5a48f5b44c1e051cf99edf65847ac9..51b6be545512a522c8c2d51250d736fa755108da 100644 --- a/~dev_rating/application/classes/Model/DataArr/Teachers.php +++ b/~dev_rating/application/classes/Model/DataArr/Teachers.php @@ -10,9 +10,9 @@ class Model_DataArr_Teachers extends Model } /** @deprecated */ - public function getTeachersByDepartment($departamentID) + public function getTeachersByDepartment($departmentID) { - $sql = "CALL `GetTeachersByDepartment`('$departamentID'); "; + $sql = "CALL `GetTeachersByDepartment`('$departmentID'); "; return DB::query(Database::SELECT, $sql)->execute(); }