| /dokuwiki/inc/Feed/ |
| H A D | FeedCreatorOptions.php | 37 public $options = [ variable in dokuwiki\\Feed\\FeedCreatorOptions 59 * @param array $options additional options to set (for testing) 61 public function __construct($options = []) argument 66 $this->options['type'] = $INPUT->valid( 72 $this->options['feed_mode'] = $INPUT->str('mode', 'recent'); 73 $this->options['link_to'] = $INPUT->valid( 78 $this->options['item_content'] = $INPUT->valid( 83 $this->options['namespace'] = $INPUT->filter('cleanID')->str('ns'); 84 $this->options['items'] = max(0, $INPUT->int('num', $conf['recent'])); 85 $this->options['show_minor'] = $INPUT->bool('minor'); [all …]
|
| H A D | FeedCreator.php | 13 protected $options; variable in dokuwiki\\Feed\\FeedCreator 16 * @param FeedCreatorOptions $options 18 public function __construct(FeedCreatorOptions $options) argument 20 $this->options = $options; 23 $this->feed->title = $this->options->get('title'); 24 $this->feed->description = $this->options->get('subtitle'); 39 switch ($this->options->get('feed_mode')) { 56 'opt' => &$this->options->options, 66 return $this->feed->createFeed($this->options->getType()); 91 if ($this->options->get('show_summary') && $proc->getSummary()) { [all …]
|
| /dokuwiki/inc/Form/ |
| H A D | OptGroup.php | 7 protected $options = []; variable in dokuwiki\\Form\\OptGroup 12 * @param array $options The available options 14 public function __construct($label, $options) argument 17 $this->options($options); 33 if (isset($this->options[$value])) { 54 * @param null|array $options 57 public function options($options = null) function in dokuwiki\\Form\\OptGroup 59 if ($options === null) return $this->options; 60 if (!is_array($options)) throw new \InvalidArgumentException('Options have to be an array'); 61 $this->options = []; [all …]
|
| H A D | DropdownElement.php | 22 * @param array $options The available options 25 public function __construct($name, $options, $label = '') argument 29 $this->optGroups[''] = new OptGroup(null, $options); 37 * @param array $options 41 public function addOptGroup($label, $options) argument 46 $this->optGroups[$label] = new OptGroup($label, $options); 69 foreach ($optGroups as $label => $options) { 70 $this->addOptGroup($label, $options); 88 * @param null|array $options 91 public function options($options = null) argument [all …]
|
| /dokuwiki/vendor/splitbrain/slika/src/ |
| H A D | Slika.php | 36 * @param array $options 40 public static function run($imagePath, $options = []) argument 42 $options = array_merge(self::DEFAULT_OPTIONS, $options); 44 if (is_executable($options['imconvert'])) { 45 return new ImageMagickAdapter($imagePath, $options); 49 return new GdAdapter($imagePath, $options);
|
| H A D | Adapter.php | 15 protected $options; variable in splitbrain\\slika\\Adapter 21 * @param array $options set options 24 public function __construct($imagepath, $options = []) argument 35 $this->options = array_merge(Slika::DEFAULT_OPTIONS, $options);
|
| /dokuwiki/bin/ |
| H A D | dwpage.php | 23 * @param Options $options 26 protected function setup(Options $options) argument 29 $options->registerOption( 34 $options->registerOption( 40 $options->setHelp( 46 $options->registerCommand( 54 $options->registerArgument( 60 $options->registerArgument( 68 $options->registerCommand( 73 $options->registerArgument( [all …]
|
| H A D | render.php | 27 * @param Options $options 30 protected function setup(Options $options) argument 32 $options->setHelp( 39 … $options->registerOption('renderer', 'The renderer mode to use. Defaults to xhtml', 'r', 'mode'); 47 * @param Options $options 51 protected function main(Options $options) argument 53 $renderer = $options->getOpt('renderer', 'xhtml');
|
| H A D | striplangs.php | 19 * @param Options $options 22 protected function setup(Options $options) argument 25 $options->setHelp( 30 $options->registerOption( 36 $options->registerOption( 48 * @param Options $options 51 protected function main(Options $options) argument 53 if ($options->getOpt('keep')) { 54 $keep = explode(',', $options->getOpt('keep')); 56 } elseif ($options->getOpt('english-only')) { [all …]
|
| H A D | indexer.php | 23 * @param Options $options 26 protected function setup(Options $options) argument 28 $options->setHelp( 33 $options->registerOption( 38 $options->registerOption( 50 * @param Options $options 53 protected function main(Options $options) argument 55 $this->clear = $options->getOpt('clear'); 56 $this->quiet = $options->getOpt('quiet');
|
| H A D | plugin.php | 20 * @param Options $options 23 protected function setup(Options $options) argument 25 $options->setHelp('Excecutes Plugin command line tools'); 26 …$options->registerArgument('plugin', 'The plugin CLI you want to run. Leave off to see list', fals… 34 * @param Options $options 37 protected function main(Options $options) argument 40 $argv = $options->getArgs(); 50 echo $options->help();
|
| /dokuwiki/lib/plugins/usermanager/ |
| H A D | cli.php | 19 protected function setup(Options $options) argument 22 $options->setHelp( 27 $options->registerCommand('list', 'List users'); 28 $options->registerOption('verbose', 'Show detailed user information', 'v', false, 'list'); 31 $options->registerCommand('add', 'Add an user to auth backend'); 32 $options->registerArgument('login', 'Username', true, 'add'); 33 $options->registerArgument('mail', 'Email address', true, 'add'); 34 $options->registerArgument('name', 'Full name', false, 'add'); 35 $options->registerArgument('groups', 'Groups to be added, comma-seperated', false, 'add'); 36 $options->registerArgument('password', 'Password to set', false, 'add'); [all …]
|
| /dokuwiki/.github/ |
| H A D | release.php | 30 protected function setup(\splitbrain\phpcli\Options $options) argument 32 $options->setHelp('This tool is used to gather and check data for building a release'); 34 $options->registerCommand('new', 'Get environment for creating a new release'); 35 …$options->registerOption('type', 'The type of release to build', null, join('|', self::TYPES), 'ne… 36 …$options->registerOption('date', 'The date to use for the version. Defaults to today', null, 'YYYY… 37 …$options->registerOption('name', 'The codename to use for the version. Defaults to the last used o… 39 $options->registerCommand('current', 'Get environment of the current release'); 42 protected function main(\splitbrain\phpcli\Options $options) argument 44 switch ($options->getCmd()) { 46 $this->prepareNewEnvironment($options); [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
| H A D | MySQL.php | 74 protected $options; variable in SimplePie\\Cache\\MySQL 92 $this->options = [ 104 … $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); 107 $this->options['dbname'] = substr($this->options['path'], 1); 110 …l:dbname={$this->options['dbname']};host={$this->options['host']};port={$this->options['port']}", … 128 if (!in_array($this->options['extras']['prefix'] . 'cache_data', $db)) { 129 …$query = $this->mysql->exec('CREATE TABLE `' . $this->options['extras']['prefix'] . 'cache_data` (… 131 …trigger_error("Can't create " . $this->options['extras']['prefix'] . "cache_data table, check perm… 137 if (!in_array($this->options['extras']['prefix'] . 'items', $db)) { 138 …$query = $this->mysql->exec('CREATE TABLE `' . $this->options['extras']['prefix'] . 'items` (`feed… [all …]
|
| H A D | Redis.php | 77 protected $options; variable in SimplePie\\Cache\\Redis 93 public function __construct($location, $name, $options = null) argument 107 if (!is_null($options) && is_array($options)) { 108 $this->options = $options; 110 $this->options = [ 116 $this->name = $this->options['prefix'] . $name; 139 if ($this->options['expire']) { 140 $this->cache->expire($this->name, $this->options['expire']); 188 if ($this->options['expire']) { 189 return $this->cache->expire($this->name, $this->options['expire']);
|
| H A D | Memcached.php | 76 protected $options; variable in SimplePie\\Cache\\Memcached 92 $this->options = [ 100 … $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); 102 $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); 105 $this->cache->addServer($this->options['host'], (int)$this->options['port']); 172 … $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']); 173 return $this->cache->set($this->name, $data, (int)$this->options['extras']['timeout']);
|
| H A D | Memcache.php | 77 protected $options; variable in SimplePie\\Cache\\Memcache 95 $this->options = [ 103 … $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); 105 $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); 108 $this->cache->addServer($this->options['host'], (int) $this->options['port']); 122 …he->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeou… 167 …return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['…
|
| /dokuwiki/lib/scripts/jquery/ |
| H A D | jquery.cookie.js | 55 var config = $.cookie = function (key, value, options) { 60 options = $.extend({}, config.defaults, options); 62 if (typeof options.expires === 'number') { 63 var days = options.expires, t = options.expires = new Date(); 69 …options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max… 70 options.path ? '; path=' + options.path : '', 71 options.domain ? '; domain=' + options.domain : '', 72 options.secure ? '; secure' : '' 107 $.removeCookie = function (key, options) { argument 113 $.cookie(key, '', $.extend({}, options, { expires: -1 }));
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | cli.php | 26 protected function setup(Options $options) argument 29 $options->useCompactHelp(); 30 $options->setHelp( 41 $options->registerCommand('search', 'Search for an extension'); 42 …$options->registerOption('max', 'Maximum number of results (default 10)', 'm', 'number', 'search'); 43 … $options->registerOption('verbose', 'Show detailed extension information', 'v', false, 'search'); 44 $options->registerArgument('query', 'The keyword(s) to search for', true, 'search'); 47 $options->registerCommand('list', 'List installed extensions'); 48 … $options->registerOption('verbose', 'Show detailed extension information', 'v', false, 'list'); 49 $options->registerOption('filter', 'Filter by this status', 'f', 'status', 'list'); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
| H A D | PSS.php | 164 * @param array $options optional 167 …eger $d, array $primes, array $exponents, array $coefficients, $password = '', array $options = []) argument 173 $params = self::savePSSParams($options); 174 return self::wrapPrivateKey($key, [], $params, $password, null, '', $options); 182 * @param array $options optional 185 public static function savePublicKey(BigInteger $n, BigInteger $e, array $options = []) argument 191 $params = self::savePSSParams($options); 198 * @param array $options 201 public static function savePSSParams(array $options) argument 221 if (isset($options['hash'])) { [all …]
|
| H A D | OpenSSH.php | 95 * @param array $options optional 98 public static function savePublicKey(BigInteger $n, BigInteger $e, array $options = []) argument 102 if (isset($options['binary']) ? $options['binary'] : self::$binary) { 106 $comment = isset($options['comment']) ? $options['comment'] : self::$comment; 122 * @param array $options optional 125 …eger $d, array $primes, array $exponents, array $coefficients, $password = '', array $options = []) argument 130 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
|
| /dokuwiki/vendor/splitbrain/php-cli/src/ |
| H A D | Base.php | 20 protected $options; variable in splitbrain\\phpcli\\Base 99 $this->options = new Options($this->colors); 105 * @param Options $options 110 abstract protected function setup(Options $options); argument 117 * @param Options $options 122 abstract protected function main(Options $options); argument 139 $this->setup($this->options); 155 $this->options->registerOption( 160 $this->options->registerOption( 164 $this->options->registerOption( [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/ |
| H A D | Parameters.php | 27 * @param array $options optional 30 public function toString($type = 'PKCS1', array $options = []) argument 34 return $type::saveParameters($this->curve, $options);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/ |
| H A D | Parameters.php | 27 * @param array $options optional 30 public function toString($type = 'PKCS1', array $options = []) argument 34 return $type::saveParameters($this->prime, $this->base, $options);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/ |
| H A D | Parameters.php | 27 * @param array $options optional 30 public function toString($type = 'PKCS1', array $options = []) argument 34 return $type::saveParameters($this->p, $this->q, $this->g, $options);
|