Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103277673
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
Fri, Feb 28, 19:03
Size
678 B
Mime Type
text/x-php
Expires
Sun, Mar 2, 19:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24532531
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