関数
CustomerPage::loadPage()
戻り値 戻り値
ファイル: src/Views/CustomerPage/CustomerPage.php
public function loadPage() {
$this->email = $_SESSION['usces_entry']['customer']['mailaddress1'];
if (isset($_POST['loginmail'])) {
$this->email = $_POST['loginmail'];
}
$reqkey = WordPressRequestKeyRouteCollector::ROUTE_KEY;
$currentRoute = isset($_REQUEST[$reqkey]) ? $_REQUEST[$reqkey] : '';
$redirect = isset($_REQUEST['wcexaapRedirect']) ? $_REQUEST['wcexaapRedirect'] : '';
$this->formAction = add_query_arg(
[
$reqkey => rawurlencode($currentRoute),
'wcexaapRedirect' => rawurlencode($redirect),
],
USCES_CART_URL
);
$this->loadAssets();
$this->dlsellerLoginTemplate();
exit();
}