本文整理汇总了PHP中BxDolService::callArray方法的典型用法代码示例。如果您正苦于以下问题:PHP BxDolService::callArray方法的具体用法?PHP BxDolService::callArray怎么用?PHP BxDolService::callArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BxDolService
的用法示例。
在下文中一共展示了BxDolService::callArray方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: serviceAcceptUpload
/**
* Handle uploads
*
* @param $sAction uploader 'action' name
* @return HTML output, usually this is HTML with JS output
* to the hidden iframe code which displays alert in case of error,
* or form with uploaded file in case of success.
*/
function serviceAcceptUpload($sAction)
{
$sCode = '';
$aUploaders = $this->oModule->_oConfig->getUploaders();
foreach ($aUploaders as $k => $r) {
if ($sAction != $r['action']) {
continue;
}
if (is_array($r['handle'])) {
$sCode = BxDolService::callArray($r['handle']);
} elseif (is_string($r['handle']) && method_exists($this, $r['handle'])) {
$sCode = $this->{$r['handle']}();
}
break;
}
return $sCode;
}