Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1068153
PhabricatorChatLogEvent.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
974 B
Referenced Files
None
Subscribers
None
PhabricatorChatLogEvent.php
View Options
<?php
final
class
PhabricatorChatLogEvent
extends
PhabricatorChatLogDAO
implements
PhabricatorPolicyInterface
{
protected
$channelID
;
protected
$epoch
;
protected
$author
;
protected
$type
;
protected
$message
;
protected
$loggedByPHID
;
public
function
getCapabilities
()
{
return
array
(
PhabricatorPolicyCapability
::
CAN_VIEW
,
);
}
public
function
getPolicy
(
$capability
)
{
// TODO: This is sort of silly and mostly just so that we can use
// CursorPagedPolicyAwareQuery; once we implement Channel objects we should
// just delegate policy to them.
return
PhabricatorPolicies
::
POLICY_PUBLIC
;
}
public
function
hasAutomaticCapability
(
$capability
,
PhabricatorUser
$viewer
)
{
return
false
;
}
public
function
describeAutomaticCapability
(
$capability
)
{
return
null
;
}
public
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
)
+
parent
::
getConfiguration
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jun 29, 1:46 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
261321
Default Alt Text
PhabricatorChatLogEvent.php (974 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment