Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95963482
NuanceRequestorEditController.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, Dec 21, 03:31
Size
679 B
Mime Type
text/x-php
Expires
Mon, Dec 23, 03:31 (2 d)
Engine
blob
Format
Raw Data
Handle
23080212
Attached To
rPH Phabricator
NuanceRequestorEditController.php
View Options
<?php
final
class
NuanceRequestorEditController
extends
NuanceController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$id
=
$request
->
getURIData
(
'id'
);
if
(!
$id
)
{
$requestor
=
new
NuanceRequestor
();
}
else
{
$requestor
=
id
(
new
NuanceRequestorQuery
())
->
setViewer
(
$viewer
)
->
withIDs
(
array
(
$id
))
->
executeOne
();
}
if
(!
$requestor
)
{
return
new
Aphront404Response
();
}
$crumbs
=
$this
->
buildApplicationCrumbs
();
$title
=
pht
(
'TODO'
);
return
$this
->
buildApplicationPage
(
$crumbs
,
array
(
'title'
=>
$title
,
));
}
}
Event Timeline
Log In to Comment