<?php
namespace wcf\acp\form;
-use wcf\data\paid\subscription\PaidSubscriptionAction;
use wcf\data\paid\subscription\PaidSubscription;
+use wcf\data\paid\subscription\PaidSubscriptionAction;
use wcf\data\paid\subscription\PaidSubscriptionEditor;
+use wcf\data\paid\subscription\PaidSubscriptionList;
use wcf\data\user\group\UserGroup;
use wcf\form\AbstractForm;
use wcf\system\exception\UserInputException;
use wcf\system\payment\method\PaymentMethodHandler;
use wcf\system\WCF;
use wcf\util\ArrayUtil;
-use wcf\data\paid\subscription\PaidSubscriptionList;
/**
* Shows the paid subscription add form.
/**
* @see \wcf\page\AbstractPage::$templateName
- */
+ */
public $templateName = 'paidSubscriptionAdd';
/**
<?php
namespace wcf\acp\form;
use wcf\form\AbstractForm;
-use wcf\data\paid\subscription\PaidSubscriptionAction;
use wcf\data\paid\subscription\PaidSubscription;
+use wcf\data\paid\subscription\PaidSubscriptionAction;
+use wcf\data\paid\subscription\PaidSubscriptionList;
use wcf\system\exception\PermissionDeniedException;
use wcf\system\language\I18nHandler;
use wcf\system\WCF;
use wcf\util\ArrayUtil;
-use wcf\data\paid\subscription\PaidSubscriptionList;
/**
* Shows the paid subscription edit form.
<?php
namespace wcf\acp\form;
+use wcf\data\paid\subscription\user\PaidSubscriptionUser;
+use wcf\data\paid\subscription\user\PaidSubscriptionUserAction;
use wcf\data\paid\subscription\PaidSubscription;
+use wcf\data\user\User;
use wcf\form\AbstractForm;
+use wcf\system\exception\PermissionDeniedException;
use wcf\system\exception\UserInputException;
use wcf\system\WCF;
-use wcf\system\exception\PermissionDeniedException;
-use wcf\util\StringUtil;
-use wcf\data\user\User;
-use wcf\data\paid\subscription\user\PaidSubscriptionUser;
-use wcf\data\paid\subscription\user\PaidSubscriptionUserAction;
use wcf\util\DateUtil;
+use wcf\util\StringUtil;
/**
* Shows the user subscription add form.
namespace wcf\acp\page;
use wcf\page\SortablePage;
use wcf\util\StringUtil;
-use wcf\system\WCF;
use wcf\system\cache\builder\PaidSubscriptionCacheBuilder;
+use wcf\system\WCF;
/**
* Shows the list of paid subscription transactions.
// check supported currencies
if (!in_array($this->currency, $paymentMethod->getSupportedCurrencies())) continue;
- $buttons[] = $paymentMethod->getPurchaseButton($this->cost, $this->currency, WCF::getLanguage()->get($this->title), $objectTypeID . ':' . WCF::getUser()->userID . ':' . $this->subscriptionID , LinkHandler::getInstance()->getLink('PaidSubscriptionReturn'), LinkHandler::getInstance()->getLink(), $this->isRecurring, $this->subscriptionLength, $this->subscriptionLengthUnit);
+ $buttons[] = $paymentMethod->getPurchaseButton($this->cost, $this->currency, WCF::getLanguage()->get($this->title), $objectTypeID . ':' . WCF::getUser()->userID . ':' . $this->subscriptionID, LinkHandler::getInstance()->getLink('PaidSubscriptionReturn'), LinkHandler::getInstance()->getLink(), $this->isRecurring, $this->subscriptionLength, $this->subscriptionLengthUnit);
}
return $buttons;
<?php
namespace wcf\data\paid\subscription\transaction\log;
-use wcf\data\DatabaseObject;
use wcf\data\object\type\ObjectTypeCache;
use wcf\data\paid\subscription\PaidSubscription;
use wcf\data\user\User;
+use wcf\data\DatabaseObject;
use wcf\system\WCF;
/**
namespace wcf\data\paid\subscription\user;
use wcf\data\paid\subscription\PaidSubscription;
use wcf\data\user\group\UserGroup;
-use wcf\data\user\UserAction;
use wcf\data\user\User;
+use wcf\data\user\UserAction;
use wcf\data\AbstractDatabaseObjectAction;
use wcf\system\exception\UserInputException;
use wcf\util\DateUtil;
<?php
namespace wcf\page;
+use wcf\data\paid\subscription\user\PaidSubscriptionUserList;
use wcf\system\cache\builder\PaidSubscriptionCacheBuilder;
use wcf\system\menu\user\UserMenu;
use wcf\system\WCF;
-use wcf\data\paid\subscription\user\PaidSubscriptionUserList;
/**
* Shows a list of the available paid subscriptions.
* @subpackage page
* @category Community Framework
*/
-class PaidSubscriptionReturn extends AbstractPage {
+class PaidSubscriptionReturnPage extends AbstractPage {
/**
* @see \wcf\page\AbstractPage::$templateName
*/
'message' => WCF::getLanguage()->get('wcf.paidSubscription.returnMessage')
));
}
-}
\ No newline at end of file
+}
<?php
namespace wcf\system\cronjob;
use wcf\data\cronjob\Cronjob;
-use wcf\data\paid\subscription\user\PaidSubscriptionUserList;
use wcf\data\paid\subscription\user\PaidSubscriptionUserAction;
+use wcf\data\paid\subscription\user\PaidSubscriptionUserList;
/**
* Cronjob for a hourly system cleanup.
namespace wcf\system\option;
use wcf\data\option\Option;
use wcf\system\exception\UserInputException;
-use wcf\system\WCF;
use wcf\system\payment\method\PaymentMethodHandler;
+use wcf\system\WCF;
/**
* Option type implementation for selecting payment methods.
use wcf\system\WCF;
use wcf\util\HTTPRequest;
use wcf\util\XML;
-use wcf\data\package\update\PackageUpdate;
/**
* Provides functions to manage package updates.
</form>';
}
}
-}
\ No newline at end of file
+}
* @subpackage system.payment.type
* @category Community Framework
*/
-abstract class AbstractPaymentType implements IPaymentType {}
\ No newline at end of file
+abstract class AbstractPaymentType implements IPaymentType {}
* @param array $transactionDetails
*/
public function processTransaction($paymentMethodObjectTypeID, $token, $amount, $currency, $transactionID, $status, $transactionDetails);
-}
\ No newline at end of file
+}
throw $e;
}
}
-}
\ No newline at end of file
+}