Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96572246
PhabricatorGuideWelcomeController.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, 08:13
Size
924 B
Mime Type
text/x-php
Expires
Mon, Dec 30, 08:13 (2 d)
Engine
blob
Format
Raw Data
Handle
23172024
Attached To
rPH Phabricator
PhabricatorGuideWelcomeController.php
View Options
<?php
final
class
PhabricatorGuideWelcomeController
extends
PhabricatorGuideController
{
public
function
shouldAllowPublic
()
{
return
false
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$title
=
pht
(
'Welcome to Phabricator'
);
$nav
=
$this
->
buildSideNavView
();
$nav
->
selectFilter
(
'/'
);
$header
=
id
(
new
PHUIHeaderView
())
->
setHeader
(
$title
)
->
setProfileHeader
(
true
);
$crumbs
=
$this
->
buildApplicationCrumbs
()
->
addTextCrumb
(
pht
(
'Welcome'
));
$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