Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1171794
PhabricatorSystemActionLog.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
921 B
Referenced Files
None
Subscribers
None
PhabricatorSystemActionLog.php
View Options
<?php
final
class
PhabricatorSystemActionLog
extends
PhabricatorSystemDAO
{
protected
$actorHash
;
protected
$actorIdentity
;
protected
$action
;
protected
$score
;
protected
$epoch
;
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'actorHash'
=>
'bytes12'
,
'actorIdentity'
=>
'text255'
,
'action'
=>
'text32'
,
'score'
=>
'double'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_epoch'
=>
array
(
'columns'
=>
array
(
'epoch'
),
),
'key_action'
=>
array
(
'columns'
=>
array
(
'actorHash'
,
'action'
,
'epoch'
),
),
),
)
+
parent
::
getConfiguration
();
}
public
function
setActorIdentity
(
$identity
)
{
$this
->
setActorHash
(
PhabricatorHash
::
digestForIndex
(
$identity
));
return
parent
::
setActorIdentity
(
$identity
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jul 2, 6:13 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
261263
Default Alt Text
PhabricatorSystemActionLog.php (921 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment