widgets/Section.php
public function init()
    {
        $this->assets = array(
            'js' => YII_DEBUG ? 'foundation/foundation.section.js' : 'foundation.min.js'
        );

        Html::addCssClass($this->htmlOptions, Enum::SECTION_CONTAINER);
        Html::addCssClass($this->htmlOptions, $this->style);
        ArrayHelper::addValue('data-section', $this->style, $this->htmlOptions);
        $this->registerClientScript();
        parent::init();
    }
public function init()
    {
        $this->assets = array(
            'js' => YII_DEBUG ? 'foundation/foundation.section.js' : 'foundation.min.js'
        );

        Html::addCssClass($this->htmlOptions, Enum::SECTION_CONTAINER);
        Html::addCssClass($this->htmlOptions, $this->style);
        ArrayHelper::addValue('data-section', $this->style, $this->htmlOptions);
        $this->registerClientScript();
        parent::init();
    }
public function init ( ) { $ this -> assets = array ( 'js' => YII_DEBUG ? 'foundation/foundation.section.js' : 'foundation.min.js' ) ; Html :: addCssClass ( $ this -> htmlOptions , Enum :: SECTION_CONTAINER ) ; Html :: addCssClass ( $ this -> htmlOptions , $ this -> style ) ; ArrayHelper :: addValue ( 'data-section' , $ this -> style , $ this -> htmlOptions ) ; $ this -> registerClientScript ( ) ; parent :: init ( ) ; }
Initilizes the widget
Initilizes the widget