Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93527098
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
Fri, Nov 29, 11:32
Size
1006 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 11:32 (2 d)
Engine
blob
Format
Raw Data
Handle
22658251
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