Page MenuHomestyx hydra

NuanceItemEditController.php
No OneTemporary

NuanceItemEditController.php

<?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,
));
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Dec 1, 6:17 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
430883
Default Alt Text
NuanceItemEditController.php (643 B)

Event Timeline