Changeset View
Changeset View
Standalone View
Standalone View
src/applications/nuance/storage/NuanceItem.php
<?php | <?php | ||||
final class NuanceItem | final class NuanceItem | ||||
extends NuanceDAO | extends NuanceDAO | ||||
implements PhabricatorPolicyInterface { | implements | ||||
PhabricatorPolicyInterface, | |||||
PhabricatorApplicationTransactionInterface { | |||||
const STATUS_OPEN = 0; | const STATUS_OPEN = 0; | ||||
const STATUS_ASSIGNED = 10; | const STATUS_ASSIGNED = 10; | ||||
const STATUS_CLOSED = 20; | const STATUS_CLOSED = 20; | ||||
protected $status; | protected $status; | ||||
protected $ownerPHID; | protected $ownerPHID; | ||||
protected $requestorPHID; | protected $requestorPHID; | ||||
▲ Show 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | return array( | ||||
'requestorPHID' => $this->getRequestorPHID(), | 'requestorPHID' => $this->getRequestorPHID(), | ||||
'sourcePHID' => $this->getSourcePHID(), | 'sourcePHID' => $this->getSourcePHID(), | ||||
'sourceLabel' => $this->getSourceLabel(), | 'sourceLabel' => $this->getSourceLabel(), | ||||
'dateCreated' => $this->getDateCreated(), | 'dateCreated' => $this->getDateCreated(), | ||||
'dateModified' => $this->getDateModified(), | 'dateModified' => $this->getDateModified(), | ||||
'dateNuanced' => $this->getDateNuanced(), | 'dateNuanced' => $this->getDateNuanced(), | ||||
); | ); | ||||
} | } | ||||
/* -( PhabricatorApplicationTransactionInterface )------------------------- */ | |||||
public function getApplicationTransactionEditor() { | |||||
return new NuanceItemEditor(); | |||||
} | |||||
public function getApplicationTransactionObject() { | |||||
return $this; | |||||
} | |||||
public function getApplicationTransactionTemplate() { | |||||
return new NuanceItemTransaction(); | |||||
} | |||||
public function willRenderTimeline( | |||||
PhabricatorApplicationTransactionView $timeline, | |||||
AphrontRequest $request) { | |||||
return $timeline; | |||||
} | |||||
} | } |