Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100169891
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
Tue, Jan 28, 17:50
Size
569 B
Mime Type
text/x-php
Expires
Thu, Jan 30, 17:50 (2 d)
Engine
blob
Format
Raw Data
Handle
23912804
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