本文整理汇总了PHP中Accounts::getAccountIDs方法的典型用法代码示例。如果您正苦于以下问题:PHP Accounts::getAccountIDs方法的具体用法?PHP Accounts::getAccountIDs怎么用?PHP Accounts::getAccountIDs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Accounts
的用法示例。
在下文中一共展示了Accounts::getAccountIDs方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: cancelSessions
public function cancelSessions()
{
unset($_SESSION['accountID']);
unset($_SESSION['toID']);
$accounts = new Accounts();
$accounts->userID = $_SESSION['userID'];
$accountIDs = $accounts->getAccountIDs();
foreach ($accountIDs as $aID) {
unset($_SESSION['transferSelectedAccount' . $aID]);
}
$accountPayees = new AccountPayees();
$accountPayees->userID = $_SESSION['userID'];
$toIDs = $accountPayees->getToIDs();
foreach ($toIDs as $tID) {
unset($_SESSION['transferSelectedAccountPayee' . $tID]);
}
if (isset($_SESSION['transferAmount'])) {
unset($_SESSION['transferAmount']);
}
if (isset($_SESSION['transferDescription'])) {
unset($_SESSION['transferDescription']);
}
if (isset($_SESSION['transferRemitter'])) {
unset($_SESSION['transferRemitter']);
}
if (isset($_SESSION['transferDate'])) {
unset($_SESSION['transferDate']);
}
}
示例2: setAccountSelected
public function setAccountSelected($accountID)
{
$accounts = new Accounts();
$accountIDs = $accounts->getAccountIDs();
foreach ($accountIDs as $aID) {
unset($_SESSION['paySelectedAccount' . $aID]);
}
$_SESSION['paySelectedAccount' . $accountID] = 'selected="selected"';
}
示例3: setAccountSelected
public function setAccountSelected($accountID)
{
$accounts = new Accounts();
$accounts->userID = $_SESSION['userID'];
$accountIDs = $accounts->getAccountIDs();
foreach ($accountIDs as $aID) {
unset($_SESSION['transferSelectedAccount' . $aID]);
}
$_SESSION['transferSelectedAccount' . $accountID] = 'selected="selected"';
}
示例4: cancelSessions
public function cancelSessions()
{
unset($_SESSION['payAccountID']);
unset($_SESSION['payBillerID']);
unset($_SESSION['payBillerCode']);
unset($_SESSION['payBillerName']);
unset($_SESSION['payBillerNickname']);
unset($_SESSION['payCustomerRef']);
$accounts = new Accounts();
$accounts->userID = $_SESSION['userID'];
$accountIDs = $accounts->getAccountIDs();
foreach ($accountIDs as $aID) {
unset($_SESSION['paySelectedAccount' . $aID]);
}
$billers = new Billers();
$billers->userID = $_SESSION['userID'];
$billerIDs = $billers->getBillerIDs();
foreach ($billerIDs as $bID) {
unset($_SESSION['paySelectedBiller' . $bID]);
}
if (isset($_SESSION['payAmount'])) {
unset($_SESSION['payAmount']);
}
if (isset($_SESSION['payDate'])) {
unset($_SESSION['payDate']);
}
if (isset($_SESSION['payAccount'])) {
unset($_SESSION['payAccount']);
}
if (isset($_SESSION['payStatus'])) {
unset($_SESSION['payStatus']);
}
if (isset($_SESSION['payConf'])) {
unset($_SESSION['payConf']);
}
if (isset($_SESSION['payCreated'])) {
unset($_SESSION['payCreated']);
}
}