Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4852489
DiffusionPushLogListController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
DiffusionPushLogListController.php
View Options
<?php
final
class
DiffusionPushLogListController
extends
DiffusionPushLogController
implements
PhabricatorApplicationSearchResultsControllerInterface
{
private
$queryKey
;
public
function
shouldAllowPublic
(
)
{
return
true
;
}
public
function
willProcessRequest
(
array
$data
)
{
$this
->
queryKey
=
idx
(
$data
,
'queryKey'
)
;
}
public
function
processRequest
(
)
{
$request
=
$this
->
getRequest
(
)
;
$controller
=
id
(
new
PhabricatorApplicationSearchController
(
$request
)
)
->
setQueryKey
(
$this
->
queryKey
)
->
setSearchEngine
(
new
PhabricatorRepositoryPushLogSearchEngine
(
)
)
->
setNavigation
(
$this
->
buildSideNavView
(
)
)
;
return
$this
->
delegateToController
(
$controller
)
;
}
public
function
renderResultsList
(
array
$logs
,
PhabricatorSavedQuery
$query
)
{
$table
=
$this
->
renderPushLogTable
(
$logs
)
;
$box
=
id
(
new
PHUIBoxView
(
)
)
->
addMargin
(
PHUI
::
MARGIN_LARGE
)
->
appendChild
(
$table
)
;
return
$box
;
}
public
function
buildSideNavView
(
$for_app
=
false
)
{
$viewer
=
$this
->
getRequest
(
)
->
getUser
(
)
;
$nav
=
new
AphrontSideNavFilterView
(
)
;
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
(
)
)
)
;
id
(
new
PhabricatorRepositoryPushLogSearchEngine
(
)
)
->
setViewer
(
$viewer
)
->
addNavigationItems
(
$nav
->
getMenu
(
)
)
;
$nav
->
selectFilter
(
null
)
;
return
$nav
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 9, 06:36 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1756771
Default Alt Text
DiffusionPushLogListController.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment