Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93610195
PhabricatorEditEngineConfigurationListController.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
Sat, Nov 30, 03:38
Size
905 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 03:38 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22672806
Attached To
rPH Phabricator
PhabricatorEditEngineConfigurationListController.php
View Options
<?php
final
class
PhabricatorEditEngineConfigurationListController
extends
PhabricatorEditEngineController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$this
->
setEngineKey
(
$request
->
getURIData
(
'engineKey'
));
return
id
(
new
PhabricatorEditEngineConfigurationSearchEngine
())
->
setController
(
$this
)
->
setEngineKey
(
$this
->
getEngineKey
())
->
buildResponse
();
}
protected
function
buildApplicationCrumbs
()
{
$viewer
=
$this
->
getViewer
();
$crumbs
=
parent
::
buildApplicationCrumbs
();
$target_key
=
$this
->
getEngineKey
();
$target_engine
=
PhabricatorEditEngine
::
getByKey
(
$viewer
,
$target_key
);
id
(
new
PhabricatorEditEngineConfigurationEditEngine
())
->
setTargetEngine
(
$target_engine
)
->
setViewer
(
$viewer
)
->
addActionToCrumbs
(
$crumbs
);
return
$crumbs
;
}
}
Event Timeline
Log In to Comment