本文整理汇总了PHP中Accounts::getSelectPlaceHolderAccounts方法的典型用法代码示例。如果您正苦于以下问题:PHP Accounts::getSelectPlaceHolderAccounts方法的具体用法?PHP Accounts::getSelectPlaceHolderAccounts怎么用?PHP Accounts::getSelectPlaceHolderAccounts使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Accounts
的用法示例。
在下文中一共展示了Accounts::getSelectPlaceHolderAccounts方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: AccountGroup
echo "<status>1</status><accounts_id id='{$o->accounts_id}'>{$o->accounts_id}</accounts_id><detail><msg>Record save successfully</msg></detail>";
} else {
echo "<status>0</status><detail><msg>Cannot save record due to internal error</msg></detail>";
}
}
} else {
$o->generateValidationError();
}
echo "</Result>";
break;
case "ajaxselectaccounts":
$o->accounts_id = $_GET['accounts_id'];
if ($o->accounts_id == "") {
$o->accounts_id = 0;
}
echo $o->getSelectPlaceHolderAccounts($o->accounts_id);
break;
case "ajaxselectaccounttype":
$accounttype = $_GET['account_type'];
if ($accounttype == "") {
$accounttype = 1;
}
echo $o->returnAccountsTypeXML($accounttype);
break;
case "ajaxselectaccountgroup":
$accountgroup_id = $_GET['accountgroup_id'];
if ($accountgroup_id == "") {
$accountgroup_id = 0;
}
include "class/AccountGroup.php";
$ag = new AccountGroup();