kopia lustrzana https://github.com/magicbug/Cloudlog
18 wiersze
277 B
PHP
18 wiersze
277 B
PHP
|
<?php
|
||
|
|
||
|
class Sota extends CI_Model {
|
||
|
|
||
|
function __construct()
|
||
|
{
|
||
|
parent::__construct();
|
||
|
}
|
||
|
|
||
|
function get_all() {
|
||
|
$this->db->order_by("COL_COMMENT", "ASC");
|
||
|
$this->db->like('COL_COMMENT', 'SOTA:');
|
||
|
|
||
|
return $this->db->get($this->config->item('table_name'));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|