Page MenuHomePhorge

PhabricatorSystemActionLog.php
No OneTemporary

Size
921 B
Referenced Files
None
Subscribers
None

PhabricatorSystemActionLog.php

<?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

Mime Type
text/x-php
Expires
Mon, May 12, 1:34 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122834
Default Alt Text
PhabricatorSystemActionLog.php (921 B)

Event Timeline