public function initDefaults() {
        /**
         * @var Tree $this
         */
        $module = Yii::$app->controller->module;
        $iconTypeAttribute = null;
        extract($module->dataStructure);
        $this->setDefault($iconTypeAttribute, TreeView::ICON_CSS);
        foreach (static::$boolAttribs as $attr) {
            $val = in_array($attr, static::$falseAttribs) ? false : true;
            $this->setDefault($attr, $val);
        }
    }
public function initDefaults() {
        /**
         * @var Tree $this
         */
        $module = Yii::$app->controller->module;
        $iconTypeAttribute = null;
        extract($module->dataStructure);
        $this->setDefault($iconTypeAttribute, TreeView::ICON_CSS);
        foreach (static::$boolAttribs as $attr) {
            $val = in_array($attr, static::$falseAttribs) ? false : true;
            $this->setDefault($attr, $val);
        }
    }
public function initDefaults ( ) { /**
         * @var Tree $this
         */ $ module = Yii :: $ app -> controller -> module ; $ iconTypeAttribute = null ; extract ( $ module -> dataStructure ) ; $ this -> setDefault ( $ iconTypeAttribute , TreeView :: ICON_CSS ) ; foreach ( static :: $ boolAttribs as $ attr ) { $ val = in_array ( $ attr , static :: $ falseAttribs ) ? false : true ; $ this -> setDefault ( $ attr , $ val ) ; } }
Initialize default values
Initialize default values