Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100381073
ReleephBranchController.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
Thu, Jan 30, 09:14
Size
678 B
Mime Type
text/x-php
Expires
Sat, Feb 1, 09:14 (2 d)
Engine
blob
Format
Raw Data
Handle
23928226
Attached To
rPH Phabricator
ReleephBranchController.php
View Options
<?php
abstract
class
ReleephBranchController
extends
ReleephController
{
private
$branch
;
public
function
setBranch
(
$branch
)
{
$this
->
branch
=
$branch
;
return
$this
;
}
public
function
getBranch
()
{
return
$this
->
branch
;
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$branch
=
$this
->
getBranch
();
if
(
$branch
)
{
$product
=
$branch
->
getProduct
();
$crumbs
->
addTextCrumb
(
$product
->
getName
(),
$this
->
getProductViewURI
(
$product
));
$crumbs
->
addTextCrumb
(
$branch
->
getName
(),
$this
->
getBranchViewURI
(
$branch
));
}
return
$crumbs
;
}
}
Event Timeline
Log In to Comment