Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95930476
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
Fri, Dec 20, 19:18
Size
679 B
Mime Type
text/x-php
Expires
Sun, Dec 22, 19:18 (1 d, 20 h)
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