[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/template/twig/node/ -> includecss.php (source)

   1  <?php
   2  /**
   3  *
   4  * This file is part of the phpBB Forum Software package.
   5  *
   6  * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7  * @license GNU General Public License, version 2 (GPL-2.0)
   8  *
   9  * For full copyright and license information, please see
  10  * the docs/CREDITS.txt file.
  11  *
  12  */
  13  
  14  namespace phpbb\template\twig\node;
  15  
  16  class includecss extends \phpbb\template\twig\node\includeasset
  17  {
  18      /**
  19      * {@inheritdoc}
  20      */
  21  	public function get_definition_name()
  22      {
  23          return 'STYLESHEETS';
  24      }
  25  
  26      /**
  27      * {@inheritdoc}
  28      */
  29  	public function append_asset(\Twig_Compiler $compiler)
  30      {
  31          $compiler
  32              ->raw("<link href=\"' . ")
  33              ->raw("\$asset_file . '\"")
  34              ->raw(' rel="stylesheet" type="text/css" media="screen" />')
  35          ;
  36      }
  37  }


Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1