本文整理匯總了PHP中URLBuilder::storeModeUr方法的典型用法代碼示例。如果您正苦於以下問題:PHP URLBuilder::storeModeUr方法的具體用法?PHP URLBuilder::storeModeUr怎麽用?PHP URLBuilder::storeModeUr使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類URLBuilder
的用法示例。
在下文中一共展示了URLBuilder::storeModeUr方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: renderCheckBoxes
private function renderCheckBoxes()
{
$checkFiz = 'chekbox_check';
$onclickFiz = "onclick=\"window.location='" . URLBuilder::storeModeFiz(YesNoType::YES) . "'\"";
$checkUr = 'chekbox_check';
$onclickUr = "onclick=\"window.location='" . URLBuilder::storeModeUr(YesNoType::YES) . "'\"";
if (!array_key_exists(Labels::CHECK_UR, $_GET) && array_key_exists(Labels::CHECK_FIZ, $_GET)) {
$onclickFiz = '';
$checkUr = '';
} elseif (array_key_exists(Labels::CHECK_UR, $_GET) && !array_key_exists(Labels::CHECK_FIZ, $_GET)) {
$onclickUr = '';
$checkFiz = '';
} elseif (array_key_exists(Labels::CHECK_UR, $_GET) && array_key_exists(Labels::CHECK_FIZ, $_GET)) {
$onclickFiz = "onclick=\"window.location='" . URLBuilder::storeModeFiz(YesNoType::NO) . "'\"";
$onclickUr = "onclick=\"window.location='" . URLBuilder::storeModeUr(YesNoType::NO) . "'\"";
}
echo "\r\n <div class='float_left chekbox_control font_arial'>\r\n <div id='" . Labels::CHECK_UR . "' class='chekbox float_left cursor_pointer " . $checkUr . "' " . $onclickUr . "></div>\r\n <div class='chekbox_label'>" . Labels::STORE_MODE_UR . "</div>\r\n </div>\r\n <div class='float_left chekbox_control font_arial'>\r\n <div id='" . Labels::CHECK_FIZ . "' class='chekbox float_left cursor_pointer " . $checkFiz . "' " . $onclickFiz . "></div>\r\n <div class='chekbox_label'>" . Labels::STORE_MODE_FIZ . "</div>\r\n </div>\r\n ";
}