当前位置: 首页>>代码示例>>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;未经允许,请勿转载。