本文整理汇总了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&module=search&do=followed&search_app={$app['app_directory']}&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;
}
示例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&module=search&do=followed&search_app={$app['app_directory']}&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;
}