本文整理匯總了PHP中vmCommonHTML::getSuccessIndicator方法的典型用法代碼示例。如果您正苦於以下問題:PHP vmCommonHTML::getSuccessIndicator方法的具體用法?PHP vmCommonHTML::getSuccessIndicator怎麽用?PHP vmCommonHTML::getSuccessIndicator使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類vmCommonHTML
的用法示例。
在下文中一共展示了vmCommonHTML::getSuccessIndicator方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: empty
// Here is the most important part of the whole Shop:
// LOADING the requested page for displaying it to the customer.
// I have wrapped it with a function, because it becomes
// cacheable that way.
// It's just an "include" statement which loads the page
$vmDoCaching = ($page == "shop.browse" || $page == "shop.product_details") && (empty($keyword) && empty($keyword1) && empty($keyword2));
// IE6 PNG transparency fix
$vm_mainframe->addScript("{$mosConfig_live_site}/components/{$option}/js/sleight.js");
echo '<div id="vmMainPage">' . "\n";
// Load requested PAGE
if (file_exists(PAGEPATH . $modulename . "." . $pagename . ".php")) {
if ($only_page) {
require_once CLASSPATH . 'connectionTools.class.php';
vmConnector::sendHeaderAndContent(200);
if ($func) {
echo vmCommonHTML::getSuccessIndicator($ok, $vmDisplayLogger);
}
/*@MWM1: Log/Debug enhancements*/
include PAGEPATH . $modulename . "." . $pagename . ".php";
// Exit gracefully
$vm_mainframe->close(true);
}
include PAGEPATH . $modulename . "." . $pagename . ".php";
} elseif (file_exists(PAGEPATH . HOMEPAGE . '.php')) {
include PAGEPATH . HOMEPAGE . '.php';
} else {
include PAGEPATH . 'shop.index.php';
}
if (!empty($mosConfig_caching) && $vmDoCaching) {
echo '<span class="small">' . $VM_LANG->_('LAST_UPDATED') . ': ' . strftime($vendor_date_format) . '</span>';
}