1<?php 2 3namespace dokuwiki\plugin\config\core\Setting; 4 5/** 6 * Class setting_sepchar 7 */ 8class SettingSepchar extends SettingMultichoice 9{ 10 /** @inheritdoc */ 11 public function __construct($key, $param = null) 12 { 13 $str = '_-.'; 14 for ($i = 0; $i < strlen($str); $i++) $this->choices[] = $str[$i]; 15 16 // call foundation class constructor 17 parent::__construct($key, $param); 18 } 19} 20