aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/plugins/config/core/Setting/SettingSepchar.php
blob: db9e9d694b313f338ba7d2a7e54511c0c218d52b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace dokuwiki\plugin\config\core\Setting;

/**
 * Class setting_sepchar
 */
class SettingSepchar extends SettingMultichoice
{
    /** @inheritdoc */
    public function __construct($key, $param = null)
    {
        $str = '_-.';
        for ($i = 0; $i < strlen($str); $i++) $this->choices[] = $str[$i];

        // call foundation class constructor
        parent::__construct($key, $param);
    }
}