ngocphuong
Member
I have a code in Listener.php (template_post_render)
Content of function _writerExtraData
$template->getParams() is FULL values but self::$_extraParams lost a some values (ex: selectedTabId)
I can't not use XenForo_Helper_Criteria:ageMatchesCriteria() if it is not full
Thanks you for help.
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:ageMatchesCriteria() if it is not full
Thanks you for help.