1 | <?php |
||
52 | class ActionLog extends ActiveRecord |
||
53 | { |
||
54 | /** |
||
55 | * The HTTP user-agent client string. |
||
56 | * |
||
57 | * @var \Alpha\Model\Type\SmallText |
||
58 | * |
||
59 | * @since 1.2.2 |
||
60 | */ |
||
61 | protected $client; |
||
62 | |||
63 | /** |
||
64 | * The IP of the client. |
||
65 | * |
||
66 | * @var \Alpha\Model\Type\SmallText |
||
67 | * |
||
68 | * @since 1.2.2 |
||
69 | */ |
||
70 | protected $IP; |
||
71 | |||
72 | /** |
||
73 | * The action carried out by the person should be described here. |
||
74 | * |
||
75 | * @var \Alpha\Model\Type\SmallText |
||
76 | * |
||
77 | * @since 1.2.2 |
||
78 | */ |
||
79 | protected $message; |
||
80 | |||
81 | /** |
||
82 | * The person who carried out the action. |
||
83 | * |
||
84 | * @var \Alpha\Model\Person |
||
85 | * |
||
86 | * @since 2.0 |
||
87 | */ |
||
88 | protected $personID; |
||
89 | |||
90 | /** |
||
91 | * An array of data display labels for the class properties. |
||
92 | * |
||
93 | * @var array |
||
94 | * |
||
95 | * @since 1.2.2 |
||
96 | */ |
||
97 | protected $dataLabels = array('ID' => 'Action Log ID#', 'client' => 'Client string', 'IP' => 'IP address', 'message' => 'Message', 'personID' => 'Owner'); |
||
98 | |||
99 | /** |
||
100 | * The name of the database table for the class. |
||
101 | * |
||
102 | * @var string |
||
103 | * |
||
104 | * @since 1.2.2 |
||
105 | */ |
||
106 | const TABLE_NAME = 'ActionLog'; |
||
107 | |||
108 | /** |
||
109 | * Trace logger. |
||
110 | * |
||
111 | * @var \Alpha\Util\Logging\Logger |
||
112 | * |
||
113 | * @since 1.2.2 |
||
114 | */ |
||
115 | private static $logger = null; |
||
|
|||
116 | |||
117 | /** |
||
118 | * Constructor. |
||
119 | * |
||
120 | * @since 1.0 |
||
121 | */ |
||
122 | public function __construct() |
||
140 | } |
||
141 |