ActivityController::initialize PHP Method

initialize() public method

Always called by dispatcher before controller's requested method.
Since: 2.0.0
public initialize ( )
    public function initialize()
    {
        $this->Head = new HeadModule($this);
        $this->addJsFile('jquery.js');
        $this->addJsFile('jquery.form.js');
        $this->addJsFile('jquery.popup.js');
        $this->addJsFile('jquery.gardenhandleajaxform.js');
        $this->addJsFile('global.js');
        $this->addCssFile('style.css');
        $this->addCssFile('vanillicon.css', 'static');
        // Add Modules
        $this->addModule('GuestModule');
        $this->addModule('SignedInModule');
        parent::initialize();
        Gdn_Theme::section('ActivityList');
        $this->setData('Breadcrumbs', array(array('Name' => t('Activity'), 'Url' => '/activity')));
    }