[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/TemplateChecks/ -> DisallowFlashFullScreen.php (source)

   1  <?php
   2  
   3  /**
   4  * @package   s9e\TextFormatter
   5  * @copyright Copyright (c) 2010-2022 The s9e authors
   6  * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
   7  */
   8  namespace s9e\TextFormatter\Configurator\TemplateChecks;
   9  
  10  class DisallowFlashFullScreen extends AbstractFlashRestriction
  11  {
  12      /**
  13      * @var string Default allowFullScreen setting
  14      * @link http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c5d.html
  15      */
  16      public $defaultSetting = 'false';
  17  
  18      /**
  19      * {@inheritdoc}
  20      */
  21      protected $settingName = 'allowFullScreen';
  22  
  23      /**
  24      * @var array Valid allowFullScreen values
  25      */
  26      protected $settings = [
  27          'true'  => 1,
  28          'false' => 0
  29      ];
  30  
  31      /**
  32      * Constructor
  33      *
  34      * @param  bool   $onlyIfDynamic Whether this restriction applies only to elements using any kind
  35      *                               of dynamic markup: XSL elements or attribute value templates
  36      */
  37  	public function __construct($onlyIfDynamic = false)
  38      {
  39          parent::__construct('false', $onlyIfDynamic);
  40      }
  41  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1