| 1 | <?php |
||
| 9 | class AdminerSlugify { |
||
| 10 | /** @access protected */ |
||
| 11 | var $from, $to; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string find these characters ... |
||
| 15 | * @param string ... and replace them by these |
||
| 16 | */ |
||
| 17 | function __construct($from = 'áčďéěíňóřšťúůýž', $to = 'acdeeinorstuuyz') { |
||
| 21 | |||
| 22 | function editInput($table, $field, $attrs, $value) { |
||
| 41 | |||
| 42 | } |
||
| 43 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.