當前位置: 首頁>>代碼示例>>PHP>>正文


PHP FSS_Helper::CheckTicketLink方法代碼示例

本文整理匯總了PHP中FSS_Helper::CheckTicketLink方法的典型用法代碼示例。如果您正苦於以下問題:PHP FSS_Helper::CheckTicketLink方法的具體用法?PHP FSS_Helper::CheckTicketLink怎麽用?PHP FSS_Helper::CheckTicketLink使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在FSS_Helper的用法示例。


在下文中一共展示了FSS_Helper::CheckTicketLink方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

     echo "<div class='alert alert-danger'><h4>Freestyle Support cannot be run as your default menu item,</h4><p>Freestyle Support Portal ";
     echo "cannot be the default menu item on a Joomla site. This is due to how Joomla handles default item urls not being compatible ";
     echo "with the Freestyle routing. Please create a new home item of the type 'Freestyle Support' -> 'Redirect to main menu' and set ";
     echo "this as your default menu item.";
     echo "</p></div>";
 }
 // Require specific controller if requested
 if ($controller = FSS_Input::getCmd('controller')) {
     $path = JPATH_COMPONENT . DS . 'controllers' . DS . $controller . '.php';
     if (file_exists($path)) {
         require_once $path;
     } else {
         $controller = '';
     }
 }
 FSS_Helper::CheckTicketLink();
 // Create the controller
 $classname = 'FssController' . $controller;
 $controller = new $classname();
 $view = FSS_Input::getCmd('view');
 if ($view != "csstest") {
     FSS_Helper::StylesAndJS(array('tooltip'));
 }
 // Perform the Request task
 $task = FSS_Input::getCmd('task');
 if ($task == "captcha_image") {
     ob_clean();
     require_once JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'helper' . DS . 'captcha.php';
     $cap = new FSS_Captcha();
     $cap->GetImage();
     exit;
開發者ID:vstorm83,項目名稱:propertease,代碼行數:31,代碼來源:fss.php


注:本文中的FSS_Helper::CheckTicketLink方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。