2013-04-14 22:42:40 +03:00
|
|
|
<?php
|
2013-04-20 20:20:16 +03:00
|
|
|
class Services_Model extends CI_Model {
|
2013-04-14 22:42:40 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|