src/Gh/CommonBundle/Controller/ComponentController.php line 22

Open in your IDE?
  1. <?php
  2. namespace Gh\CommonBundle\Controller;
  3. use Gh\CommonBundle\Classes\Meta\MetaClass;
  4. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
  5. use Symfony\Bundle\FrameworkBundle\Controller\Controller;
  6. /**
  7.  * In this controller, a method is created for each component.
  8.  * 
  9.  * @author jmboyer
  10.  */
  11. class ComponentController extends Controller
  12. {
  13.     /**
  14.      * This component generates the meta tags in the HTML page. 
  15.      * See Design Dossier for further details.
  16.      * 
  17.      * @Template()
  18.      */
  19.     public function metaAction() {
  20.         $metaList MetaClass::getInstance()->getListMeta();
  21.         
  22.         return array('metaList' => $metaList);
  23.     }
  24. }