Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894231
LegalpadController.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
697 B
Referenced Files
None
Subscribers
None
LegalpadController.php
View Options
<?php
abstract
class
LegalpadController
extends
PhabricatorController
{
public
function
buildSideNav
(
$for_app
=
false
)
{
$user
=
$this
->
getRequest
(
)
->
getUser
(
)
;
$nav
=
new
AphrontSideNavFilterView
(
)
;
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
(
)
)
)
;
if
(
$for_app
)
{
$nav
->
addFilter
(
'edit/'
,
pht
(
'Create Document'
)
)
;
}
id
(
new
LegalpadDocumentSearchEngine
(
)
)
->
setViewer
(
$user
)
->
addNavigationItems
(
$nav
->
getMenu
(
)
)
;
$nav
->
addLabel
(
pht
(
'Signatures'
)
)
;
$nav
->
addFilter
(
'signatures/'
,
pht
(
'Find Signatures'
)
)
;
return
$nav
;
}
public
function
buildApplicationMenu
(
)
{
return
$this
->
buildSideNav
(
true
)
->
getMenu
(
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 19:36 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128035
Default Alt Text
LegalpadController.php (697 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment