Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F456624
NuanceRequestorViewController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
919 B
Referenced Files
None
Subscribers
None
NuanceRequestorViewController.php
View Options
<?php
final
class
NuanceRequestorViewController
extends
NuanceController
{
private
$requestorID
;
public
function
setRequestorID
(
$requestor_id
)
{
$this
->
requestorID
=
$requestor_id
;
return
$this
;
}
public
function
getRequestorID
()
{
return
$this
->
requestorID
;
}
public
function
willProcessRequest
(
array
$data
)
{
$this
->
setRequestorID
(
$data
[
'id'
]);
}
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$user
=
$request
->
getUser
();
$requestor_id
=
$this
->
getRequestorID
();
$requestor
=
id
(
new
NuanceRequestorQuery
())
->
setViewer
(
$user
)
->
withIDs
(
array
(
$requestor_id
))
->
executeOne
();
if
(!
$requestor
)
{
return
new
Aphront404Response
();
}
$crumbs
=
$this
->
buildApplicationCrumbs
();
$title
=
'TODO'
;
return
$this
->
buildApplicationPage
(
$crumbs
,
array
(
'title'
=>
$title
,
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:35 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70974
Default Alt Text
NuanceRequestorViewController.php (919 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment