Class elFinderPluginNormalizer
elFinder Plugin Normalizer UTF-8 Normalizer of file-name and file-path etc. nfc(NFC): Canonical Decomposition followed by Canonical Composition nfkc(NFKC): Compatibility Decomposition followed by Canonical This plugin require Class "Normalizer" (PHP 5 >= 5.3.0, PECL intl >= 1.0.0) or PEAR package "I18N_UnicodeNormalizer" ex. binding, configure on connector options $opts = array( 'bind' => array( 'upload.pre mkdir.pre mkfile.pre rename.pre archive.pre ls.pre' => array( 'Plugin.Normalizer.cmdPreprocess' ), 'upload.presave paste.copyfrom' => array( 'Plugin.Normalizer.onUpLoadPreSave' ) ), // global configure (optional) 'plugin' => array( 'Normalizer' => array( 'enable' => true, 'nfc' => true, 'nfkc' => true, 'umlauts' => false, 'lowercase' => false, 'convmap' => array() ) ), // each volume configure (optional) 'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => '/path/to/files/', 'URL' => 'http://localhost/to/files/' 'plugin' => array( 'Normalizer' => array( 'enable' => true, 'nfc' => true, 'nfkc' => true, 'umlauts' => false, 'lowercase' => false, 'convmap' => array() ) ) ) ) );
- elFinderPlugin
- elFinderPluginNormalizer
License: BSD
Author: Naoki Sawada
Located at zp-extensions/elFinder/php/plugins/Normalizer/plugin.php
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
getCurrentOpts(),
iaEnabled()
|
$opts
|