Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96943713
PhabricatorLegalpadApplication.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
Wed, Jan 1, 00:27
Size
2 KB
Mime Type
text/x-php
Expires
Fri, Jan 3, 00:27 (2 d)
Engine
blob
Format
Raw Data
Handle
23296298
Attached To
rPH Phabricator
PhabricatorLegalpadApplication.php
View Options
<?php
final
class
PhabricatorLegalpadApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/legalpad/'
;
}
public
function
getName
()
{
return
pht
(
'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
(),
);
}
}
Event Timeline
Log In to Comment