Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/storage/PhabricatorProjectColumn.php
<?php | <?php | ||||
final class PhabricatorProjectColumn | final class PhabricatorProjectColumn | ||||
extends PhabricatorProjectDAO | extends PhabricatorProjectDAO | ||||
implements | implements | ||||
PhabricatorApplicationTransactionInterface, | |||||
PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
PhabricatorDestructibleInterface { | PhabricatorDestructibleInterface { | ||||
const STATUS_ACTIVE = 0; | const STATUS_ACTIVE = 0; | ||||
const STATUS_HIDDEN = 1; | const STATUS_HIDDEN = 1; | ||||
const DEFAULT_ORDER = 'natural'; | const DEFAULT_ORDER = 'natural'; | ||||
const ORDER_NATURAL = 'natural'; | const ORDER_NATURAL = 'natural'; | ||||
▲ Show 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | final class PhabricatorProjectColumn | ||||
} | } | ||||
public function setPointLimit($limit) { | public function setPointLimit($limit) { | ||||
$this->setProperty('pointLimit', $limit); | $this->setProperty('pointLimit', $limit); | ||||
return $this; | return $this; | ||||
} | } | ||||
/* -( PhabricatorApplicationTransactionInterface )------------------------- */ | |||||
public function getApplicationTransactionEditor() { | |||||
return new PhabricatorProjectColumnTransactionEditor(); | |||||
} | |||||
public function getApplicationTransactionObject() { | |||||
return $this; | |||||
} | |||||
public function getApplicationTransactionTemplate() { | |||||
return new PhabricatorProjectColumnTransaction(); | |||||
} | |||||
/* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
return array( | return array( | ||||
PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
PhabricatorPolicyCapability::CAN_EDIT, | PhabricatorPolicyCapability::CAN_EDIT, | ||||
); | ); | ||||
Show All 28 Lines |