summaryrefslogtreecommitdiff
path: root/html/app/models/admin/History_model.php
blob: 63086e36a20e1406c456dae4908783e9bcf08690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

namespace app\models\admin;

use \Registry;
use app\models\admin\history;

class User_model
{

    /** track user access
     * 
     */
    public static function trackUserAccess($user_id, $type, $message, $note='')
    {
        $access = [
            'user_id' => $user_id,
            'type' => $type,
            'message' => $message,
            'note' => $note,
            'ip' => Registry::get('REQUEST')->IP
        ];

    }



}