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


PHP IPSLib::appSupportsExtension方法代碼示例

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


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

示例1: __f__9de20babd8c0494626578b236383a155

 function __f__9de20babd8c0494626578b236383a155($results, $pagination, $total, $error, $contentTypes)
 {
     $_ips___x_retval = '';
     $__iteratorCount = 0;
     foreach ($this->registry->getApplications() as $app) {
         $__iteratorCount++;
         $_ips___x_retval .= "\n\t\t\t" . ((IPSLib::appSupportsExtension($app['app_directory'], array('like')) and IPSLib::appIsInstalled($app['app_directory'], true) and !in_array($app['app_directory'], array('core', 'forums', 'members'))) ? "\n\t\t\t\t<li class='button secondary'>\n\t\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=search&amp;do=followed&amp;search_app={$app['app_directory']}&amp;sid={$this->request['_sid']}", "public", ''), "", "") . "'>\n\t\t\t\t\t\t" . IPSLib::getAppTitle($app['app_directory']) . "\n\t\t\t\t\t</a>\n\t\t\t\t</li>\t\t\t\t" : "") . "\n\t\t\n";
     }
     $_ips___x_retval .= '';
     unset($__iteratorCount);
     return $_ips___x_retval;
 }
開發者ID:Advanture,項目名稱:Online-RolePlay,代碼行數:12,代碼來源:skin_search.php

示例2: __f__e0c825855c07488889b924979b14cf48

 function __f__e0c825855c07488889b924979b14cf48($results, $pagination, $total, $error, $contentTypes)
 {
     $_ips___x_retval = '';
     $__iteratorCount = 0;
     foreach ($this->registry->getApplications() as $app) {
         $__iteratorCount++;
         $_ips___x_retval .= "\r\n\t\t\t\t\t\t" . ((IPSLib::appSupportsExtension($app['app_directory'], array('like')) and IPSLib::appIsInstalled($app['app_directory'], true) and !in_array($app['app_directory'], array('core', 'forums', 'members'))) ? "<li " . ($this->request['search_app'] == $app['app_directory'] ? "class='active'" : "") . ">\r\n\t\t\t\t\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=search&amp;do=followed&amp;search_app={$app['app_directory']}&amp;sid={$this->request['_sid']}", "public", ''), "", "") . "'>\r\n\t\t\t\t\t\t\t\t\t" . IPSLib::getAppTitle($app['app_directory']) . "\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>" : "") . "\r\n\t\t\t\t\t\r\n";
     }
     $_ips___x_retval .= '';
     unset($__iteratorCount);
     return $_ips___x_retval;
 }
開發者ID:ConnorChristie,項目名稱:GrabViews,代碼行數:12,代碼來源:skin_search.php


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