Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123608539
ReleephProductController.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
Mon, Jul 28, 15:58
Size
569 B
Mime Type
text/x-php
Expires
Wed, Jul 30, 15:58 (2 d)
Engine
blob
Format
Raw Data
Handle
27733306
Attached To
rPH Phabricator
ReleephProductController.php
View Options
<?php
abstract
class
ReleephProductController
extends
ReleephController
{
private
$product
;
protected
function
setProduct
(
ReleephProject
$product
)
{
$this
->
product
=
$product
;
return
$this
;
}
protected
function
getProduct
()
{
return
$this
->
product
;
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$product
=
$this
->
getProduct
();
if
(
$product
)
{
$crumbs
->
addTextCrumb
(
$product
->
getName
(),
$this
->
getProductViewURI
(
$product
));
}
return
$crumbs
;
}
}
Event Timeline
Log In to Comment