Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96363241
PhabricatorGuideQuickStartController.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, Dec 25, 22:47
Size
936 B
Mime Type
text/x-php
Expires
Fri, Dec 27, 22:47 (1 d, 11 h)
Engine
blob
Format
Raw Data
Handle
23172214
Attached To
rPH Phabricator
PhabricatorGuideQuickStartController.php
View Options
<?php
final
class
PhabricatorGuideQuickStartController
extends
PhabricatorGuideController
{
public
function
shouldAllowPublic
()
{
return
false
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$title
=
pht
(
'Quick Start Guide'
);
$nav
=
$this
->
buildSideNavView
();
$nav
->
selectFilter
(
'quickstart/'
);
$header
=
id
(
new
PHUIHeaderView
())
->
setHeader
(
$title
)
->
setProfileHeader
(
true
);
$crumbs
=
$this
->
buildApplicationCrumbs
()
->
addTextCrumb
(
pht
(
'Quick Start'
));
$content
=
null
;
$view
=
id
(
new
PHUICMSView
())
->
setCrumbs
(
$crumbs
)
->
setNavigation
(
$nav
)
->
setHeader
(
$header
)
->
setContent
(
$content
);
return
$this
->
newPage
()
->
setTitle
(
$title
)
->
addClass
(
'phui-cms-body'
)
->
appendChild
(
$view
);
}
private
function
getGuideContent
()
{
$guide
=
null
;
return
$guide
;
}
}
Event Timeline
Log In to Comment