Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93660464
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, Nov 30, 12:55
Size
679 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 12:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22683051
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