src/apis/CommonController.php
public function actionFilemanagerFoldertreeHistory()
    {
        $this->deleteHasCache('storageApiDataFolders');

        $data = Yii::$app->request->getBodyParam('data');
        Yii::$app->adminuser->identity->setting->set('foldertree.'.$data['id'], (int) $data['toggle_open']);
    }
public function actionFilemanagerFoldertreeHistory()
    {
        $this->deleteHasCache('storageApiDataFolders');

        $data = Yii::$app->request->getBodyParam('data');
        Yii::$app->adminuser->identity->setting->set('foldertree.'.$data['id'], (int) $data['toggle_open']);
    }
public function actionFilemanagerFoldertreeHistory ( ) { $ this -> deleteHasCache ( 'storageApiDataFolders' ) ; $ data = Yii :: $ app -> request -> getBodyParam ( 'data' ) ; Yii :: $ app -> adminuser -> identity -> setting -> set ( 'foldertree.' . $ data [ 'id' ] , ( int ) $ data [ 'toggle_open' ] ) ; }
Store the open and closed folders from the filemanager tree in the user settings.

@return boolean
Store the open and closed folders from the filemanager tree in the user settings .