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

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

Discussion in 'XenForo Development Discussions' started by Liam W, Jul 6, 2013.

  1. Liam W

    Liam W Well-Known Member

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

    tyteen4a03 Well-Known Member

    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.
     

Share This Page