diff --git a/application/models/project.php b/application/models/project.php index bb3dfb7..fcb5f45 100644 --- a/application/models/project.php +++ b/application/models/project.php @@ -61,6 +61,15 @@ class Project extends CI_Model { return $result; } + /** + * Get all projects from the database. + */ + public function getAll() { + $result = $this->db->get('projects')->result_array(); + + return $result; + } + /** * Get all available configurations from a specific project. *