Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96155060
PhabricatorDraftInterface.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
Mon, Dec 23, 06:16
Size
678 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 06:16 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
23134951
Attached To
rPH Phabricator
PhabricatorDraftInterface.php
View Options
<?php
interface
PhabricatorDraftInterface
{
public
function
newDraftEngine
();
public
function
getHasDraft
(
PhabricatorUser
$viewer
);
public
function
attachHasDraft
(
PhabricatorUser
$viewer
,
$has_draft
);
}
/* -( PhabricatorDraftInterface )------------------------------------------ */
/*
public function newDraftEngine() {
return new <...>DraftEngine();
}
public function getHasDraft(PhabricatorUser $viewer) {
return $this->assertAttachedKey($this->drafts, $viewer->getCacheFragment());
}
public function attachHasDraft(PhabricatorUser $viewer, $has_draft) {
$this->drafts[$viewer->getCacheFragment()] = $has_draft;
return $this;
}
*/
Event Timeline
Log In to Comment