dashboard/application/models/computing-support/Address_book_Model.php 1 location
|
@@ 25-37 (lines=13) @@
|
| 22 |
|
|
| 23 |
|
} |
| 24 |
|
|
| 25 |
|
function get_faculty() { |
| 26 |
|
$this->db->from('faculty'); |
| 27 |
|
$this->db->order_by('faculty'); |
| 28 |
|
$result = $this->db->get(); |
| 29 |
|
$return = array(); |
| 30 |
|
if ($result->num_rows() > 0) { |
| 31 |
|
foreach ($result->result_array() as $row) { |
| 32 |
|
$return[$row['cat_id']] = $row['faculty']; |
| 33 |
|
} |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
return $return; |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
function get_department() { |
| 40 |
|
if (!isset($_GET['cat'])) { |
dashboard/application/models/computing-support/New_account_model.php 1 location
|
@@ 92-104 (lines=13) @@
|
| 89 |
|
return $this->db->insert('new_account', $data); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
function get_faculty() { |
| 93 |
|
$this->db->from('faculty'); |
| 94 |
|
$this->db->order_by('faculty'); |
| 95 |
|
$result = $this->db->get(); |
| 96 |
|
$return = array(); |
| 97 |
|
if ($result->num_rows() > 0) { |
| 98 |
|
foreach ($result->result_array() as $row) { |
| 99 |
|
$return[$row['cat_id']] = $row['faculty']; |
| 100 |
|
} |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
return $return; |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
function get_department() { |
| 107 |
|
if (!isset($_GET['cat'])) { |
dashboard/application/models/computing-support/Temporary_account_model.php 1 location
|
@@ 94-106 (lines=13) @@
|
| 91 |
|
} |
| 92 |
|
} |
| 93 |
|
|
| 94 |
|
function get_faculty() { |
| 95 |
|
$this->db->from('faculty'); |
| 96 |
|
$this->db->order_by('faculty'); |
| 97 |
|
$result = $this->db->get(); |
| 98 |
|
$return = array(); |
| 99 |
|
if ($result->num_rows() > 0) { |
| 100 |
|
foreach ($result->result_array() as $row) { |
| 101 |
|
$return[$row['cat_id']] = $row['faculty']; |
| 102 |
|
} |
| 103 |
|
} |
| 104 |
|
|
| 105 |
|
return $return; |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
function get_department() { |
| 109 |
|
if (!isset($_GET['cat'])) { |