Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/storage/PhortuneAccountEmail.php
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | final class PhortuneAccountEmail | ||||
public function getExternalOrderURI(PhortuneCart $cart) { | public function getExternalOrderURI(PhortuneCart $cart) { | ||||
return urisprintf( | return urisprintf( | ||||
'/phortune/external/%s/%s/order/%d/', | '/phortune/external/%s/%s/order/%d/', | ||||
$this->getAddressKey(), | $this->getAddressKey(), | ||||
$this->getAccessKey(), | $this->getAccessKey(), | ||||
$cart->getID()); | $cart->getID()); | ||||
} | } | ||||
public function getExternalOrderPrintURI(PhortuneCart $cart) { | |||||
return urisprintf( | |||||
'/phortune/external/%s/%s/order/%d/print/', | |||||
$this->getAddressKey(), | |||||
$this->getAccessKey(), | |||||
$cart->getID()); | |||||
} | |||||
/* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
return array( | return array( | ||||
PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
PhabricatorPolicyCapability::CAN_EDIT, | PhabricatorPolicyCapability::CAN_EDIT, | ||||
Show All 34 Lines |