Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/units/admin/admin_tag_processor.php
Show First 20 Lines • Show All 1218 Lines • ▼ Show 20 Line(s) | |||||
$block_params = $this->prepareTagParams($params); | $block_params = $this->prepareTagParams($params); | ||||
$block_params['name'] = $params['render_as']; | $block_params['name'] = $params['render_as']; | ||||
$block_params['resource_extension'] = $extension; | $block_params['resource_extension'] = $extension; | ||||
$block_params['resource_file'] = $name . '/' . $filename; | $block_params['resource_file'] = $name . '/' . $filename; | ||||
return $this->Application->ParseBlock($block_params); | return $this->Application->ParseBlock($block_params); | ||||
} | } | ||||
/** | |||||
* Processes tag of passed prefix | |||||
* | |||||
* @param array $params Tag params. | |||||
* | |||||
* @return string | |||||
*/ | |||||
protected function PassedPrefixTag(array $params) | |||||
{ | |||||
$passed_prefixes = explode(',', $this->Application->GetVar('passed')); | |||||
$last_prefix = array_pop($passed_prefixes); | |||||
$tag = $params['tag']; | |||||
unset($params['tag']); | |||||
return $this->Application->ProcessParsedTag($last_prefix, $tag, $params); | |||||
} | |||||
} | } |