本文整理汇总了PHP中def_module::setMacrosExtendedResult方法的典型用法代码示例。如果您正苦于以下问题:PHP def_module::setMacrosExtendedResult方法的具体用法?PHP def_module::setMacrosExtendedResult怎么用?PHP def_module::setMacrosExtendedResult使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类def_module
的用法示例。
在下文中一共展示了def_module::setMacrosExtendedResult方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: parsePath
protected function parsePath($vd6fe1d0be6347b8ef2427fa629c04485)
{
$v81788ba0d7d02d81c063dbca621ba11b = $this->getProtocol();
$vd6fe1d0be6347b8ef2427fa629c04485 = substr($vd6fe1d0be6347b8ef2427fa629c04485, strlen($v81788ba0d7d02d81c063dbca621ba11b));
$v6d530125c7b0bc91b8b49c9d98795759 = parse_url($vd6fe1d0be6347b8ef2427fa629c04485);
$v6d92ba33a14649f2a6f698b128302ad7 = $v6d530125c7b0bc91b8b49c9d98795759['path'];
if (substr($v6d92ba33a14649f2a6f698b128302ad7, -5) == '.json') {
$v6d92ba33a14649f2a6f698b128302ad7 = substr($v6d92ba33a14649f2a6f698b128302ad7, 0, strlen($v6d92ba33a14649f2a6f698b128302ad7) - 5);
$this->isJson = true;
} else {
$this->isJson = false;
}
$this->path = $v6d92ba33a14649f2a6f698b128302ad7;
self::$callLog[] = array($v81788ba0d7d02d81c063dbca621ba11b . $vd6fe1d0be6347b8ef2427fa629c04485, false);
if ($v21ffce5b8a6cc8cc6a41448dd69623c9 = getArrayKey($v6d530125c7b0bc91b8b49c9d98795759, 'query')) {
parse_str($v21ffce5b8a6cc8cc6a41448dd69623c9, $vd5330079a488b3cac29a84f13a458629);
$this->params = $vd5330079a488b3cac29a84f13a458629;
$_REQUEST = array_merge($_REQUEST, $vd5330079a488b3cac29a84f13a458629);
if (isset($vd5330079a488b3cac29a84f13a458629['expire'])) {
$this->expire = getArrayKey($vd5330079a488b3cac29a84f13a458629, 'expire');
}
if (isset($vd5330079a488b3cac29a84f13a458629['transform'])) {
$this->transform = getArrayKey($vd5330079a488b3cac29a84f13a458629, 'transform');
}
}
if (!$this->expire) {
$v2245023265ae4cf87d02c8b6ba991139 = mainConfiguration::getInstance();
if ($v2245023265ae4cf87d02c8b6ba991139->get('cache', 'streams.cache-enabled')) {
$vcd91e7679d575a2c548bd2c889c23b9e = (int) $v2245023265ae4cf87d02c8b6ba991139->get('cache', 'streams.cache-lifetime');
if ($vcd91e7679d575a2c548bd2c889c23b9e > 0) {
$this->expire = $vcd91e7679d575a2c548bd2c889c23b9e;
}
}
}
if (self::$allowExtendedOptions) {
$vc24ba01bcba954c5250c44586665f9fa = array();
if (isset($this->params['extGroups']) && !empty($this->params['extGroups'])) {
$vc24ba01bcba954c5250c44586665f9fa = explode(',', $this->params['extGroups']);
$vc24ba01bcba954c5250c44586665f9fa = array_unique(array_map('trim', $vc24ba01bcba954c5250c44586665f9fa));
}
$vf85c5ff1aa094b72bf2da8b62ba521c6 = array();
if (isset($this->params['extProps']) && !empty($this->params['extProps'])) {
$vf85c5ff1aa094b72bf2da8b62ba521c6 = explode(',', $this->params['extProps']);
$vf85c5ff1aa094b72bf2da8b62ba521c6 = array_unique(array_map('trim', $vf85c5ff1aa094b72bf2da8b62ba521c6));
}
def_module::setMacrosExtendedResult($vf85c5ff1aa094b72bf2da8b62ba521c6, $vc24ba01bcba954c5250c44586665f9fa);
}
return $this->path;
}