public function setCurrentModel($table)
    {
        if (!isset($this->module->tables[$table]['model'])) {
            throw new InvalidConfigException(Yii::t('app', 'Table model has to be set in config file'));
        }
        $modelClass = $this->module->tables[$table]['model'];
        $this->_currentModel = new $modelClass;
    }