Where do I get the second and third parameters for this function?

Liam W

in memoriam 1998-2020
PHP:
XenForo_Helper_Criteria::pageMatchesCriteria();

I can't figure out where to get the last 2 parameters...
 
PHP:
XenForo_Helper_Criteria::pageMatchesCriteria();

I can't figure out where to get the last 2 parameters...
public static function pageMatchesCriteria($criteria, $matchOnEmpty = false, array $params, array $containerData)

$params is just extra data that may be useful to the matching process, and $containerData is data used in the template rendering process. You can set the extraData bit during template_post_render.
 
Top Bottom