PHP Class Newscoop\ArticlesBundle\EventListener\HookListener

Show file Open project: sourcefabric/newscoop

Public Methods

Method Description
__construct ( EntityManager $em, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, $clientManager, $preferencesService, $publicationService ) Construct
renderEditorialCommentsTemplate ( PluginHooksEvent $event ) : boolean Lists editorial comments for given article

Method Details

__construct() public method

Construct
public __construct ( EntityManager $em, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, $clientManager, $preferencesService, $publicationService )
$em Doctrine\ORM\EntityManager Entity manager
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface Templating

renderEditorialCommentsTemplate() public method

Lists editorial comments for given article
public renderEditorialCommentsTemplate ( PluginHooksEvent $event ) : boolean
$event Newscoop\EventDispatcher\Events\PluginHooksEvent Plugins hook event
return boolean