PHP Class Elcodi\Store\PageBundle\Controller\BlogController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller, use trait Elcodi\Store\CoreBundle\Controller\Traits\TemplateRenderTrait
Exibir arquivo Open project: elcodi/bamboo

Public Methods

Method Description
listBlogPostsAction ( $page ) List blog posts
viewBlogPostAction ( Elcodi\Component\Page\Entity\Interfaces\PageInterface $blogPost, $slug ) View blog post

Method Details

listBlogPostsAction() public method

List blog posts
public listBlogPostsAction ( $page )

viewBlogPostAction() public method

View blog post
public viewBlogPostAction ( Elcodi\Component\Page\Entity\Interfaces\PageInterface $blogPost, $slug )
$blogPost Elcodi\Component\Page\Entity\Interfaces\PageInterface