Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98800365
PhortuneAdHocCart.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 16, 13:13
Size
794 B
Mime Type
text/x-php
Expires
Sat, Jan 18, 13:13 (2 d)
Engine
blob
Format
Raw Data
Handle
23647870
Attached To
rPH Phabricator
PhortuneAdHocCart.php
View Options
<?php
final
class
PhortuneAdHocCart
extends
PhortuneCartImplementation
{
public
function
loadImplementationsForCarts
(
PhabricatorUser
$viewer
,
array
$carts
)
{
$results
=
array
();
foreach
(
$carts
as
$key
=>
$cart
)
{
$results
[
$key
]
=
new
PhortuneAdHocCart
();
}
return
$results
;
}
public
function
getName
(
PhortuneCart
$cart
)
{
return
$cart
->
getMetadataValue
(
'adhoc.title'
);
}
public
function
getDescription
(
PhortuneCart
$cart
)
{
return
$cart
->
getMetadataValue
(
'adhoc.description'
);
}
public
function
getCancelURI
(
PhortuneCart
$cart
)
{
return
null
;
}
public
function
getDoneURI
(
PhortuneCart
$cart
)
{
return
null
;
}
public
function
willCreateCart
(
PhabricatorUser
$viewer
,
PhortuneCart
$cart
)
{
return
;
}
}
Event Timeline
Log In to Comment