Cloudlog/application/models/Wab.php

24 wiersze
437 B
PHP
Czysty Zwykły widok Historia

<?php
class Wab extends CI_Model {
function __construct()
{
parent::__construct();
}
function get_all() {
$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");
$this->db->like('COL_COMMENT', 'WAB:');
return $this->db->get($this->config->item('table_name'));
}
}
?>