• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

I have a problem with $template->getParams()

#1
I have a code in Listener.php (template_post_render)

PHP:
MyClass_MyFile::_writerExtraData($template->getParams(), $containerData);
Content of function _writerExtraData

PHP:
protected static $_extraContainerData = array();
protected static $_extraParams = array();

public static function _writerExtraData(array $params, $containerData)
{
        self::$_extraContainerData = $containerData;
        self::$_extraParams = $params;
}
$template->getParams() is FULL values but self::$_extraParams lost a some values (ex: selectedTabId)
I can't not use XenForo_Helper_Criteria::pageMatchesCriteria() if it is not full

Thanks you for help.