Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96102920
NuanceItemCommand.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
Sun, Dec 22, 15:38
Size
1 KB
Mime Type
text/x-php
Expires
Tue, Dec 24, 15:38 (2 d)
Engine
blob
Format
Raw Data
Handle
23121123
Attached To
rPH Phabricator
NuanceItemCommand.php
View Options
<?php
final
class
NuanceItemCommand
extends
NuanceDAO
implements
PhabricatorPolicyInterface
{
protected
$itemPHID
;
protected
$authorPHID
;
protected
$command
;
protected
$parameters
;
public
static
function
initializeNewCommand
()
{
return
new
self
();
}
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
self
::
CONFIG_SERIALIZATION
=>
array
(
'parameters'
=>
self
::
SERIALIZATION_JSON
,
),
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'command'
=>
'text64'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_item'
=>
array
(
'columns'
=>
array
(
'itemPHID'
),
),
),
)
+
parent
::
getConfiguration
();
}
/* -( PhabricatorPolicyInterface )----------------------------------------- */
public
function
getCapabilities
()
{
return
array
(
PhabricatorPolicyCapability
::
CAN_VIEW
,
);
}
public
function
getPolicy
(
$capability
)
{
return
PhabricatorPolicies
::
getMostOpenPolicy
();
}
public
function
hasAutomaticCapability
(
$capability
,
PhabricatorUser
$viewer
)
{
return
false
;
}
}
Event Timeline
Log In to Comment