aboutsummaryrefslogtreecommitdiff
path: root/lib/models/Plugin.php
blob: 2030e8a3c82cb78afc1dc179de5f07c7768f46ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

/**
 * @property int $id
 * @property int $pluginid
 * @property string $pluginclassname
 * @property string $pluginpath
 * @property string $pluginname
 * @property string $plugintype
 * @property string $enabled
 * @property int $navigationpos
 * @property int|null $dependentonid
 * @property string|null $automatic_update_url
 * @property string|null $automatic_update_secret
 */
class Plugin extends SimpleORMap
{
    protected static function configure($config = [])
    {
        $config['db_table'] = 'plugins';
        $config['i18n_fields'] = ['description', 'highlight_text'];
        parent::configure($config);
    }

}