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 $str = '_-.'; 13 for($i = 0; $i < strlen($str); $i++) $this->choices[] = $str{$i}; 14 15 // call foundation class constructor 16 parent::__construct($key, $param); 17 } 18} 19