1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

XenForo_CodeEvent::fire Locations

Discussion in 'Development Tutorials [Archive]' started by calorie, Oct 6, 2010.

  1. calorie

    calorie Active Member

    XenForo_CodeEvent::fire Locations in XF 1.0.0 Beta 1
    Code:
    > grep -rn XenForo_CodeEvent::fire\( * | more
    
    Location:                                  Line Number:    Code:
    
    library/XenForo/Application.php:           319:            XenForo_CodeEvent::fire('load_class_' . $type, array($class, &$extend));
    library/XenForo/Controller.php:            377:            XenForo_CodeEvent::fire('controller_pre_dispatch', array($this, $action));
    library/XenForo/Dependencies/Abstract.php: 178:            XenForo_CodeEvent::fire('init_dependencies', array($this, $data));
    library/XenForo/Dependencies/Admin.php:    181:            XenForo_CodeEvent::fire('container_admin_params', array(&$params, $this));
    library/XenForo/Dependencies/Public.php:   274:            XenForo_CodeEvent::fire('container_public_params', array(&$params, $this));
    library/XenForo/Dependencies/Public.php:   371:            XenForo_CodeEvent::fire('navigation_tabs', array(&$extraTabs, $selectedTabId));
    library/XenForo/FrontController.php:       127:            XenForo_CodeEvent::fire('front_controller_pre_route', array($this));
    library/XenForo/FrontController.php:       130:            XenForo_CodeEvent::fire('front_controller_pre_dispatch', array($this, &$routeMatch));
    library/XenForo/FrontController.php:       152:            XenForo_CodeEvent::fire('front_controller_pre_view', array($this, &$controllerResponse, &$viewRenderer, &$containerParams));
    library/XenForo/FrontController.php:       170:            XenForo_CodeEvent::fire('front_controller_post_view', array($this, &$content));
    library/XenForo/Visitor.php:               399:            XenForo_CodeEvent::fire('visitor_setup', array(&self::$_instance));
    
     
  2. Mythotical

    Mythotical Well-Known Member

    Never let us down calorie, do ya? ;)
     
  3. dmnkhhn

    dmnkhhn Active Member

    In Beta 2, only the line number for 'library/XenForo/Application.php' has changed to '315'. ;)
     
  4. Vladislav Rastrusny

    Vladislav Rastrusny Active Member

    You can just go to admin in debug mode and see them all there listed. No need to grep anything.
     

Share This Page