Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F475386
PhabricatorLegalpadApplication.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
PhabricatorLegalpadApplication.php
View Options
<?php
final
class
PhabricatorLegalpadApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/legalpad/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Agreements and Signatures'
);
}
public
function
getIconName
()
{
return
'legalpad'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
C2
\x
A9"
;
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
getRemarkupRules
()
{
return
array
(
new
LegalpadDocumentRemarkupRule
(),
);
}
public
function
getHelpURI
()
{
return
PhabricatorEnv
::
getDoclink
(
'Legalpad User Guide'
);
}
public
function
getOverview
()
{
return
pht
(
'**Legalpad** is a simple application for tracking signatures and '
.
'legal agreements. At the moment, it is primarily intended to help '
.
'open source projects keep track of Contributor License Agreements.'
);
}
public
function
getRoutes
()
{
return
array
(
'/L(?P<id>
\d
+)'
=>
'LegalpadDocumentSignController'
,
'/legalpad/'
=>
array
(
''
=>
'LegalpadDocumentListController'
,
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'LegalpadDocumentListController'
,
'create/'
=>
'LegalpadDocumentEditController'
,
'edit/(?P<id>
\d
+)/'
=>
'LegalpadDocumentEditController'
,
'comment/(?P<id>
\d
+)/'
=>
'LegalpadDocumentCommentController'
,
'view/(?P<id>
\d
+)/'
=>
'LegalpadDocumentManageController'
,
'done/'
=>
'LegalpadDocumentDoneController'
,
'verify/(?P<code>[^/]+)/'
=>
'LegalpadDocumentSignatureVerificationController'
,
'signatures/(?:(?P<id>
\d
+)/)?(?:query/(?P<queryKey>[^/]+)/)?'
=>
'LegalpadDocumentSignatureListController'
,
'addsignature/(?P<id>
\d
+)/'
=>
'LegalpadDocumentSignatureAddController'
,
'signature/(?P<id>
\d
+)/'
=>
'LegalpadDocumentSignatureViewController'
,
'document/'
=>
array
(
'preview/'
=>
'PhabricatorMarkupPreviewController'
,
),
));
}
protected
function
getCustomCapabilities
()
{
return
array
(
LegalpadCapabilityCreateDocuments
::
CAPABILITY
=>
array
(),
LegalpadCapabilityDefaultView
::
CAPABILITY
=>
array
(),
LegalpadCapabilityDefaultEdit
::
CAPABILITY
=>
array
(),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 6, 11:22 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
85551
Default Alt Text
PhabricatorLegalpadApplication.php (2 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment