Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93537027
PhabricatorSystemActionLog.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 29, 13:29
Size
918 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 13:29 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22661691
Attached To
rPH Phabricator
PhabricatorSystemActionLog.php
View Options
<?php
final
class
PhabricatorSystemActionLog
extends
PhabricatorSystemDAO
{
protected
$actorHash
;
protected
$actorIdentity
;
protected
$action
;
protected
$score
;
protected
$epoch
;
public
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
);
}
}
Event Timeline
Log In to Comment