MOON
Server: Apache
System: Linux 101-53-147-124.cprapid.com 4.18.0-553.121.1.el8_10.x86_64 #1 SMP Thu Apr 30 09:06:34 EDT 2026 x86_64
User: clientsoftwares (1005)
PHP: 8.2.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/clientsoftwares/public_html/pollitechs.clientsoftwares.com/application/models/Update_m.php
<?php
defined('BASEPATH') or exit('No direct script access allowed');

class Update_m extends MY_Model
{

    protected $_table_name  = 'updates';
    protected $_primary_key = 'updateID';
    protected $_order_by    = "updateID desc";

    public function __construct()
    {
        parent::__construct();
    }

    public function get_update($array = null, $single = false)
    {
        return parent::get($array, $single);
    }

    public function get_order_by_update($wherearray = null, $array = null, $single = false)
    {
        return parent::get_order_by($wherearray, $array, $single);
    }

    public function get_single_update($wherearray = null, $array = null, $single = true)
    {
        return parent::get_single($wherearray, $array, $single);
    }

    public function insert_update($array)
    {
        return parent::insert($array);
    }

    public function update_update($data, $id = null)
    {
        return parent::update($data, $id);
    }

    public function delete_update($id)
    {
        return parent::delete($id);
    }

    public function get_where_in_update($column, $whereinarray, $wherearray = null, $array = null)
    {
        return parent::get_where_in($column, $whereinarray, $wherearray, $array);
    }

}