public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function loadImplementationsForCarts($viewer, $carts)
public function loadImplementationsForCarts($viewer, $carts)
PhortuneCartImplementation
Load implementations for a given set of carts.
Note that this method should return a map using the original keys to identify which implementation corresponds to which cart.
PhortuneSubscriptionCart
Parameters
PhabricatorUser | $viewer | |
array | $carts |
Return
wild |
public function getName($cart)
public function getName($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getCancelURI($cart)
public function getCancelURI($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDoneURI($cart)
public function getDoneURI($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDescription($cart)Inherited
public function getDescription($cart)
Inherited
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDoneActionName($cart)
public function getDoneActionName($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function assertCanCancelOrder($cart)Inherited
public function assertCanCancelOrder($cart)
Inherited
Parameters
PhortuneCart | $cart |
Return
wild |
public function assertCanRefundOrder($cart)Inherited
public function assertCanRefundOrder($cart)
Inherited
Parameters
PhortuneCart | $cart |
Return
wild |
public function willCreateCart($viewer, $cart)
public function willCreateCart($viewer, $cart)
Parameters
PhabricatorUser | $viewer | |
PhortuneCart | $cart |
Return
wild |
public function setSubscriptionPHID($subscription_phid)
public function setSubscriptionPHID($subscription_phid)
Parameters
$subscription_phid |
Return
wild |
public function getSubscriptionPHID()
public function getSubscriptionPHID()
Return
wild |
public function setSubscription($subscription)
public function setSubscription($subscription)
Parameters
PhortuneSubscription | $subscription |
Return
wild |
public function getSubscription()
public function getSubscription()
Return
wild |