Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91749140
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
Thu, Nov 14, 02:10
Size
678 B
Mime Type
text/x-php
Expires
Sat, Nov 16, 02:10 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22318376
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