関数
RegisterWithAmazon::registerNewMemberIfRequired()
Invokes $this->registerNewMember
if $_POST['regnewmember']
is 1
戻り値 戻り値
ファイル: src/API/RegisterWithAmazon.php
public function registerNewMemberIfRequired() { return function () { $regnewmember = isset($_POST['regnewmember']) ? (int)$_POST['regnewmember'] : 0; if ($regnewmember === 1 && usces_is_login() === false) { $error = $this->registerNewMember(); if (!empty($error)) { return $error; } } }; }