mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
25 lines
401 B
PHP
25 lines
401 B
PHP
<?php
|
|
|
|
class Search extends CI_Model {
|
|
|
|
function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
function callsign_iota($reference) {
|
|
$this->db->where('COL_IOTA', $reference);
|
|
$query = $this->db->get($this->config->item('table_name'));
|
|
|
|
return $query;
|
|
}
|
|
|
|
function get_table_columns() {
|
|
$query = $this->db->query('DESCRIBE '.$this->config->item('table_name'));
|
|
|
|
return $query;
|
|
}
|
|
|
|
}
|
|
|
|
?>
|