DB::update PHP Метод

update() публичный статический метод

public static update ( )
    public static function update()
    {
        $args = func_get_args();
        return call_user_func_array(array(DB::getMDB(), 'update'), $args);
    }

Usage Example

Пример #1
0
 /**
  * Memperbarui record tertentu.
  *
  * @return boolean
  */
 public function update($id, $data = [])
 {
     try {
         $this->db->update($this->table, $id, $data);
         return true;
     } catch (Exception $e) {
         die($e->getMessage);
     }
 }
All Usage Examples Of DB::update