Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90347263
NuanceItemEditController.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, Oct 31, 19:19
Size
643 B
Mime Type
text/x-php
Expires
Sat, Nov 2, 19:19 (2 d)
Engine
blob
Format
Raw Data
Handle
22058892
Attached To
rPH Phabricator
NuanceItemEditController.php
View Options
<?php
final
class
NuanceItemEditController
extends
NuanceController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$id
=
$request
->
getURIData
(
'id'
);
if
(!
$id
)
{
$item
=
new
NuanceItem
();
}
else
{
$item
=
id
(
new
NuanceItemQuery
())
->
setViewer
(
$viewer
)
->
withIDs
(
array
(
$id
))
->
executeOne
();
}
if
(!
$item
)
{
return
new
Aphront404Response
();
}
$crumbs
=
$this
->
buildApplicationCrumbs
();
$title
=
'TODO'
;
return
$this
->
buildApplicationPage
(
$crumbs
,
array
(
'title'
=>
$title
,
));
}
}
Event Timeline
Log In to Comment