%PDF- %PDF-
Direktori : /www/varak.net/wiki.varak.net/vendor/oojs/oojs-ui/php/widgets/ |
Current File : //www/varak.net/wiki.varak.net/vendor/oojs/oojs-ui/php/widgets/IndicatorWidget.php |
<?php namespace OOUI; /** * Indicator widget. * * See IndicatorElement for more information. */ class IndicatorWidget extends Widget { use IndicatorElement; use TitledElement; /* Static Properties */ public static $tagName = 'span'; /** * @param array $config Configuration options * @param-taint $config escapes_html */ public function __construct( array $config = [] ) { // Parent constructor parent::__construct( $config ); // Traits $this->initializeIndicatorElement( array_merge( $config, [ 'indicatorElement' => $this ] ) ); $this->initializeTitledElement( array_merge( $config, [ 'titled' => $this ] ) ); // Initialization $this->addClasses( [ 'oo-ui-indicatorWidget' ] ); } }