public function actionEnable($class)
    {
        try {
            if (Yii::$app->rhoone->ext->enable($class)) {
                echo "Enabled.";
            } else {
                echo "Failed to enable.";
            }
        } catch (\Exception $ex) {
            throw new Exception($ex->getMessage());
        }
        return 0;
    }