Init the CSS Style

@access public
14174
public function initStyle()
    {
        $this->value['id_tag']       = 'body';        // tag name
        $this->value['id_name']          = null;         // tag - attribute name
        $this->value['id_id']            = null;         // tag - attribute id
        $this->value['id_class']         = null;         // tag - attribute class
        $this->value['id_lst']           = array('*');   // tag - list of legacy
        $this->value['mini-size']        = 1.;           // specific size report for sup, sub
        $this->value['mini-decal']       = 0;            // specific position report for sup, sub
        $this->value['font-family']      = 'Arial';
        $this->value['font-bold']        = false;
        $this->value['font-italic']      = false;
        $this->value['font-underline']   = false;
        $this->value['font-overline']    = false;
        $this->value['font-linethrough'] = false;
        $this->value['text-transform']   = 'none';
        $this->value['font-size']        = $this->convertToMM('10pt');
        $this->value['text-indent']      = 0;
        $this->value['text-align']       = 'left';
        $this->value['vertical-align']   = 'middle';
        $this->value['line-height']      = 'normal';

        $this->value['position']         = null;
        $this->value['x']                = null;
        $this->value['y']                = null;
        $this->value['width']            = 0;
        $this->value['height']           = 0;
        $this->value['top']              = null;
        $this->value['right']            = null;
        $this->value['bottom']           = null;
        $this->value['left']             = null;
        $this->value['float']            = null;
        $this->value['display']          = null;
        $this->value['rotate']           = null;
        $this->value['overflow']         = 'visible';

        $this->value['color']            = array(0, 0, 0);
        $this->value['background']       = array('color' => null, 'image' => null, 'position' => null, 'repeat' => null);
        $this->value['border']           = array();
        $this->value['padding']          = array();
        $this->value['margin']           = array();
        $this->value['margin-auto']      = false;

        $this->value['list-style-type']  = '';
        $this->value['list-style-image'] = '';

        $this->value['xc'] = null;
        $this->value['yc'] = null;
    }
132222
protected function Init()
    {
        $submit = ContentSubmit::Schema()->ByContent($this->Content());
        $this->value = $submit->GetValue();
        $this->name = $submit->GetName();
        $this->id = $this->CssID();
        $this->classes= $this->CssClass();
        return parent::Init();
    }
704378
final public function init()
    {
        $this->sourcePath = $this->getSourcePath();
        $this->depends    = [CpAsset::class];

        $this->js  = $this->getScripts();
        $this->css = $this->getStylesheets();

        parent::init();
    }
1238325
public function init()
    {
        parent::init();

        if (isset($this->itemsCssClass)) {
            TbHtml::addCssClass($this->itemsCssClass, $this->htmlOptions);
        }
    }
134151
public function init()
    {
        $this->assets = array(
            'js' => YII_DEBUG ? 'foundation/foundation.orbit.js' : 'foundation.min.js'
        );

        Html::addCssClass($this->htmlOptions, Enum::ORBIT_WRAPPER);
        $this->setId(ArrayHelper::removeValue($this->htmlOptions, 'id', $this->getId()));
        $this->registerClientScript();
        parent::init();
    }
677160
public function init()
    {
        if (is_array($this->owner->config()->admin_style)) {
            $this->styles = $this->owner->config()->admin_style;
        }
        
        if (!$this->owner->config()->admin_style_disabled) {
            Requirements::customCSS($this->generateCustomCSS());
        }
    }
1011362
public function init() {
		$this->set_configs();
		$this->set_enabled();
		$this->set_modules_css();
		$this->set_google_fonts();
		$this->set_modules_webfonts();
		$this->add_hooks();
	}
252632
public function init()
    {
        parent::init();

        Html::addCssClass($this->options, ['info-box']);
        Html::addCssClass($this->iconOptions, 'info-box-icon');

        if ($this->background) {
            Html::addCssClass($this->options, 'bg-'.$this->background);
        }
    }
232322
public function init()
    {
        Html::addCssClass($this->htmlOptions, Enum::SWITCH_BUTTON);
        if ($this->size) {
            Html::addCssClass($this->htmlOptions, $this->size);
        }
        if ($this->radius) {
            Html::addCssClass($this->htmlOptions, $this->radius);
        }
        parent::init();
    }
1230706
public function init()
    {
        $this->assets = array(
            'js' => YII_DEBUG ? 'foundation/foundation.dropdown.js' : 'foundation.min.js'
        );

        Html::addCssClass($this->htmlOptions, Enum::DROPDOWN_LIST);
        ArrayHelper::addValue('data-dropdown-content', '-', $this->htmlOptions);

        if ($this->type === Enum::DROPDOWN_CONTENT) {
            Html::addCssClass($this->htmlOptions, Enum::CONTENT);
        }

        parent::init();
    }
305107
public function init()
    {
        parent::init();
        $classes = array('table');
        if (isset($this->type) && !empty($this->type)) {
            if (is_string($this->type)) {
                $this->type = explode(' ', $this->type);
            }

            foreach ($this->type as $type) {
                $classes[] = 'table-' . $type;
            }
        }
        if (!empty($classes)) {
            $classes = implode(' ', $classes);
            if (isset($this->itemsCssClass)) {
                $this->itemsCssClass .= ' ' . $classes;
            } else {
                $this->itemsCssClass = $classes;
            }
        }
    }
26160
public function init()
    {
        $this->assets = array(
            'js' => YII_DEBUG ? 'foundation/foundation.tooltips.js' : 'foundation.min.js'
        );

        Html::addCssClass($this->htmlOptions, Enum::TOOLTIP);
        Html::addCssClass($this->htmlOptions, $this->position);
        ArrayHelper::addValue('title', $this->tip, $this->htmlOptions);
        ArrayHelper::addValue('data-tooltip', 'data-tooltip', $this->htmlOptions);
        if ($this->tip === null || $this->text === null) {
            throw new InvalidConfigException('"tip" and "text" cannot be null.');
        }
        $this->registerClientScript();

        parent::init();
    }
1280586
private static function init()
    {
        if (!static::$initialized) {
            $baseClass = Base::getInstance();
            static::$initialized = true;
            static::$tagsData = $baseClass->Html->Tags;
        }
    }
1365265
public function init() {
    parent::init();

    Html::addCssClass($this->options, 'f-dropdown');
    $this->options['data-dropdown-content'] = 1;
    $this->options['tabindex'] = '-1';
    $this->_containerOptions = $this->options;
  }
769208
public function init() {
		
		parent::init();

		$classes = array('table');
		if (isset($this->type)) {
			if (is_string($this->type)) {
				$this->type = explode(' ', $this->type);
			}

			if (!empty($this->type)) {
				$validTypes = array(self::TYPE_STRIPED, self::TYPE_BORDERED, self::TYPE_CONDENSED, self::TYPE_HOVER);

				foreach ($this->type as $type) {
					if (in_array($type, $validTypes)) {
						$classes[] = 'table-' . $type;
					}
				}
			}
		}

		if (!empty($classes)) {
			$classes = implode(' ', $classes);
			if (isset($this->itemsCssClass)) {
				$this->itemsCssClass .= ' ' . $classes;
			} else {
				$this->itemsCssClass = $classes;
			}
		}

        $booster = Booster::getBooster();
		$popover = $booster->popoverSelector;
		$tooltip = $booster->tooltipSelector;

		$afterAjaxUpdate = "js:function() {
			jQuery('.popover').remove();
			jQuery('{$popover}').popover();
			jQuery('.tooltip').remove();
			jQuery('{$tooltip}').tooltip();
		}";

		if (!isset($this->afterAjaxUpdate)) {
			$this->afterAjaxUpdate = $afterAjaxUpdate;
		}
	}
545443
protected function _init()
    {
        // get the Web Colors from TCPDF
        require(K_PATH_MAIN.'htmlcolors.php');
        $this->_htmlColor = $webcolor;

        // init the Style
        $this->table = array();
        $this->value = array();
        $this->initStyle();

        // Init the styles without legacy
        $this->resetStyle();
    }
673597
public function init()
    {
        parent::init();
        if ($this->mode === self::MODE_BEGIN) {
            echo Html::beginTag('div', $this->options) . "\n";
        }
    }