Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F433098
DiffusionRepositoryManageController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
927 B
Referenced Files
None
Subscribers
None
DiffusionRepositoryManageController.php
View Options
<?php
abstract
class
DiffusionRepositoryManageController
extends
DiffusionController
{
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
if
(
$this
->
hasDiffusionRequest
())
{
$drequest
=
$this
->
getDiffusionRequest
();
$repository
=
$drequest
->
getRepository
();
$crumbs
->
addTextCrumb
(
$repository
->
getDisplayName
(),
$repository
->
getURI
());
$crumbs
->
addTextCrumb
(
pht
(
'Manage'
),
$repository
->
getPathURI
(
'manage/'
));
}
return
$crumbs
;
}
public
function
newBox
(
$title
,
$content
,
$action
=
null
)
{
$header
=
id
(
new
PHUIHeaderView
())
->
setHeader
(
$title
);
if
(
$action
)
{
$header
->
addActionItem
(
$action
);
}
$view
=
id
(
new
PHUIObjectBoxView
())
->
setHeader
(
$header
)
->
appendChild
(
$content
)
->
setBackground
(
PHUIObjectBoxView
::
WHITE_CONFIG
);
return
$view
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 3:25 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
62294
Default Alt Text
DiffusionRepositoryManageController.php (927 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment