Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93936464
PholioController.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
Mon, Dec 2, 15:54
Size
527 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 15:54 (2 d)
Engine
blob
Format
Raw Data
Handle
22725066
Attached To
rPH Phabricator
PholioController.php
View Options
<?php
abstract
class
PholioController
extends
PhabricatorController
{
public
function
buildApplicationMenu
()
{
return
$this
->
newApplicationMenu
()
->
setSearchEngine
(
new
PholioMockSearchEngine
());
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$crumbs
->
addAction
(
id
(
new
PHUIListItemView
())
->
setName
(
pht
(
'Create Mock'
))
->
setHref
(
$this
->
getApplicationURI
(
'create/'
))
->
setIcon
(
'fa-plus-square'
));
return
$crumbs
;
}
}
Event Timeline
Log In to Comment