Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F968380
ConpherenceParticipantController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
957 B
Referenced Files
None
Subscribers
None
ConpherenceParticipantController.php
View Options
<?php
final
class
ConpherenceParticipantController
extends
ConpherenceController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$conpherence_id
=
$request
->
getURIData
(
'id'
);
if
(!
$conpherence_id
)
{
return
new
Aphront404Response
();
}
$conpherence
=
id
(
new
ConpherenceThreadQuery
())
->
setViewer
(
$viewer
)
->
withIDs
(
array
(
$conpherence_id
))
->
needParticipants
(
true
)
->
executeOne
();
if
(!
$conpherence
)
{
return
new
Aphront404Response
();
}
$uri
=
$this
->
getApplicationURI
(
'update/'
.
$conpherence
->
getID
().
'/'
);
$content
=
id
(
new
ConpherenceParticipantView
())
->
setUser
(
$this
->
getViewer
())
->
setConpherence
(
$conpherence
)
->
setUpdateURI
(
$uri
);
$content
=
array
(
'widgets'
=>
$content
);
return
id
(
new
AphrontAjaxResponse
())->
setContent
(
$content
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jun 18, 3:46 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
226001
Default Alt Text
ConpherenceParticipantController.php (957 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment