Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96580336
AlmanacServiceController.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
Sat, Dec 28, 11:53
Size
720 B
Mime Type
text/x-php
Expires
Mon, Dec 30, 11:53 (2 d)
Engine
blob
Format
Raw Data
Handle
23190486
Attached To
rPH Phabricator
AlmanacServiceController.php
View Options
<?php
abstract
class
AlmanacServiceController
extends
AlmanacController
{
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$list_uri
=
$this
->
getApplicationURI
(
'service/'
);
$crumbs
->
addTextCrumb
(
pht
(
'Services'
),
$list_uri
);
return
$crumbs
;
}
public
function
buildApplicationMenu
()
{
return
$this
->
newApplicationMenu
()
->
setSearchEngine
(
new
AlmanacServiceSearchEngine
());
}
protected
function
getPropertyDeleteURI
(
$object
)
{
$id
=
$object
->
getID
();
return
"/almanac/service/delete/{$id}/"
;
}
protected
function
getPropertyUpdateURI
(
$object
)
{
$id
=
$object
->
getID
();
return
"/almanac/service/property/{$id}/"
;
}
}
Event Timeline
Log In to Comment