public function allButtons()
    {
        $buttons = [];
        if (\Yii::$app->user->checkAccess('read::' . $this->getCompatibilityId())) {
            $buttons['pdf'] = [
                'text' => 'Download PDF',
                'url' => Url::toRoute(['pdf']),
                'options' => [
                    'target' => '_blank',
                ]
            ];
            $buttons['csv'] = [
                'text' => 'Download CSV',
                'url' => Url::toRoute(['csv']),
                'options' => [
                    'target' => '_blank',
                ]
            ];
        }
        return $buttons;
    }