Page MenuHomestyx hydra

NuanceItemCommand.php
No OneTemporary

NuanceItemCommand.php

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

File Metadata

Mime Type
text/x-php
Expires
Thu, Jan 15, 4:02 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
615597
Default Alt Text
NuanceItemCommand.php (1 KB)

Event Timeline