Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108009190
ManiphestTaskBulkEngine.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
Sun, Apr 13, 03:07
Size
1006 B
Mime Type
text/x-php
Expires
Tue, Apr 15, 03:07 (2 d)
Engine
blob
Format
Raw Data
Handle
25512348
Attached To
rPH Phabricator
ManiphestTaskBulkEngine.php
View Options
<?php
final
class
ManiphestTaskBulkEngine
extends
PhabricatorBulkEngine
{
private
$workboard
;
public
function
setWorkboard
(
PhabricatorProject
$workboard
)
{
$this
->
workboard
=
$workboard
;
return
$this
;
}
public
function
getWorkboard
()
{
return
$this
->
workboard
;
}
public
function
newSearchEngine
()
{
return
new
ManiphestTaskSearchEngine
();
}
public
function
newEditEngine
()
{
return
new
ManiphestEditEngine
();
}
public
function
getDoneURI
()
{
$board_uri
=
$this
->
getBoardURI
();
if
(
$board_uri
)
{
return
$board_uri
;
}
return
parent
::
getDoneURI
();
}
public
function
getCancelURI
()
{
$board_uri
=
$this
->
getBoardURI
();
if
(
$board_uri
)
{
return
$board_uri
;
}
return
parent
::
getCancelURI
();
}
private
function
getBoardURI
()
{
$workboard
=
$this
->
getWorkboard
();
if
(
$workboard
)
{
$project_id
=
$workboard
->
getID
();
return
"/project/board/{$project_id}/"
;
}
return
null
;
}
}
Event Timeline
Log In to Comment