2012-10-31 20:34:57 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class Wab extends CI_Model {
|
|
|
|
|
|
|
|
function __construct()
|
|
|
|
{
|
|
|
|
parent::__construct();
|
2019-09-24 23:05:45 +00:00
|
|
|
|
2012-10-31 20:34:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function get_all() {
|
2019-09-24 23:05:45 +00:00
|
|
|
$CI =& get_instance();
|
|
|
|
$CI->load->model('Stations');
|
|
|
|
$station_id = $CI->Stations->find_active();
|
|
|
|
|
|
|
|
$this->db->where("station_id", $station_id);
|
2012-10-31 22:10:33 +00:00
|
|
|
$this->db->order_by("COL_COMMENT", "ASC");
|
2012-10-31 20:34:57 +00:00
|
|
|
$this->db->like('COL_COMMENT', 'WAB:');
|
|
|
|
|
|
|
|
return $this->db->get($this->config->item('table_name'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|