2013-04-14 22:42:40 +03:00
|
|
|
<?php
|
|
|
|
class Services extends CI_Model {
|
|
|
|
function __construct() {
|
|
|
|
parent::__construct();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This method returns all the services from the database.
|
|
|
|
*
|
|
|
|
* @return array Returns an object array with all the
|
|
|
|
* database services.
|
|
|
|
*/
|
2013-04-17 00:37:36 +03:00
|
|
|
function getAvailableServices() {
|
|
|
|
return $this->db->get('ea_services')->result_array();
|
2013-04-14 22:42:40 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|