public function beforeFilter(Event $event)
    {
        $this->_controller->set('__commentComponentLoaded__', true);
        $this->_controller->set('_commentFormContext', $this->config('arrayContext'));
    }
public function beforeFilter(Event $event)
    {
        $this->_controller->set('__commentComponentLoaded__', true);
        $this->_controller->set('_commentFormContext', $this->config('arrayContext'));
    }
public function beforeFilter ( Event $ event ) { $ this -> _controller -> set ( '__commentComponentLoaded__' , true ) ; $ this -> _controller -> set ( '_commentFormContext' , $ this -> config ( 'arrayContext' ) ) ; }
Called before the controller's beforeFilter method.

@param Event $event The event that was triggered
@return void
Called before the controller s beforeFilter method .