Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81390838
PhabricatorEditEngineConfigurationEditController.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, Sep 5, 18:20
Size
662 B
Mime Type
text/x-php
Expires
Sat, Sep 7, 18:20 (2 d)
Engine
blob
Format
Raw Data
Handle
20559539
Attached To
rPH Phabricator
PhabricatorEditEngineConfigurationEditController.php
View Options
<?php
final
class
PhabricatorEditEngineConfigurationEditController
extends
PhabricatorEditEngineController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$this
->
getViewer
();
$target_engine_key
=
$request
->
getURIData
(
'engineKey'
);
$target_engine
=
PhabricatorEditEngine
::
getByKey
(
$viewer
,
$target_engine_key
);
if
(!
$target_engine
)
{
return
new
Aphront404Response
();
}
$this
->
setEngineKey
(
$target_engine
->
getEngineKey
());
return
id
(
new
PhabricatorEditEngineConfigurationEditEngine
())
->
setTargetEngine
(
$target_engine
)
->
setController
(
$this
)
->
buildResponse
();
}
}
Event Timeline
Log In to Comment