summaryrefslogtreecommitdiff
path: root/platform/www/lib/plugins/config/core/Setting/SettingSepchar.php
blob: 57cd0ae924098c1151532a4afa82ef49a1e8b957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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);
    }
}