Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99294207
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
Thu, Jan 23, 04:22
Size
638 B
Mime Type
text/x-php
Expires
Sat, Jan 25, 04:22 (2 d)
Engine
blob
Format
Raw Data
Handle
23766168
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
getProductViewURI
(
ReleephProject
$product
)
{
return
$this
->
getApplicationURI
(
'project/'
.
$product
->
getID
().
'/'
);
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$product
=
$this
->
product
;
if
(
$product
)
{
$crumbs
->
addTextCrumb
(
$product
->
getName
(),
$this
->
getProductViewURI
(
$product
));
}
return
$crumbs
;
}
}
Event Timeline
Log In to Comment