Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 54) sorted by relevance

123

/dokuwiki/inc/Form/
H A DOptGroup.php8 protected $options = array(); variable in dokuwiki\\Form\\OptGroup
13 * @param array $options The available options
15 public function __construct($label, $options) argument
18 $this->options($options);
32 return isset($this->options[$value]);
48 * @param null|array $options
51 public function options($options = null) argument
53 if ($options === null) return $this->options;
55 $this->options = array();
56 foreach ($options as $key => $val) {
[all …]
H A DDropdownElement.php19 * @param array $options The available options
34 * @param array $options
85 * @param null|array $options
88 public function options($options = null) argument
90 if ($options === null) {
153 $options = $this->options();
154 if (!empty($options)) {
155 $keys = array_keys($options);
159 $options = $optGroup->options();
160 if (!empty($options)) {
[all …]
/dokuwiki/vendor/splitbrain/slika/src/
H A DSlika.php34 * @param array $options
38 public static function run($imagePath, $options = []) argument
40 $options = array_merge(self::DEFAULT_OPTIONS, $options);
42 if (is_executable($options['imconvert'])) {
43 return new ImageMagickAdapter($imagePath, $options);
47 return new GdAdapter($imagePath, $options);
H A DAdapter.php13 protected $options; variable in splitbrain\\slika\\Adapter
19 * @param array $options set options
22 public function __construct($imagepath, $options = []) argument
33 $this->options = array_merge(Slika::DEFAULT_OPTIONS, $options);
H A DImageMagickAdapter.php13 public function __construct($imagepath, $options = []) argument
15 parent::__construct($imagepath, $options);
17 if (!is_executable($this->options['imconvert'])) {
18 throw new Exception('Can not find or run ' . $this->options['imconvert']);
21 $this->args[] = $this->options['imconvert'];
108 $this->args[] = $this->options['quality'];
/dokuwiki/bin/
H A Ddwpage.php22 * @param Options $options
27 $options->registerOption(
32 $options->registerOption(
38 $options->setHelp(
44 $options->registerCommand(
52 $options->registerArgument(
58 $options->registerArgument(
66 $options->registerCommand(
83 $options->registerOption(
90 $options->registerOption(
[all …]
H A Drender.php27 * @param Options $options
30 protected function setup(Options $options) { argument
31 $options->setHelp(
38 … $options->registerOption('renderer', 'The renderer mode to use. Defaults to xhtml', 'r', 'mode');
46 * @param Options $options
50 protected function main(Options $options) { argument
51 $renderer = $options->getOpt('renderer', 'xhtml');
H A Dstriplangs.php19 * @param Options $options
22 protected function setup(Options $options) { argument
24 $options->setHelp(
29 $options->registerOption(
35 $options->registerOption(
47 * @param Options $options
50 protected function main(Options $options) { argument
51 if($options->getOpt('keep')) {
52 $keep = explode(',', $options->getOpt('keep'));
54 } elseif($options->getOpt('english-only')) {
[all …]
H A Dindexer.php22 * @param Options $options
25 protected function setup(Options $options) { argument
26 $options->setHelp(
31 $options->registerOption(
36 $options->registerOption(
48 * @param Options $options
51 protected function main(Options $options) { argument
52 $this->clear = $options->getOpt('clear');
53 $this->quiet = $options->getOpt('quiet');
H A Dplugin.php18 * @param Options $options
21 protected function setup(Options $options) { argument
22 $options->setHelp('Excecutes Plugin command line tools');
23 …$options->registerArgument('plugin', 'The plugin CLI you want to run. Leave off to see list', fals…
31 * @param Options $options
34 protected function main(Options $options) { argument
36 $argv = $options->getArgs();
46 echo $options->help();
H A Dwantedpages.php29 * @param Options $options
32 protected function setup(Options $options) { argument
33 $options->setHelp(
37 $options->registerArgument(
43 $options->registerOption(
50 $options->registerOption(
62 * @param Options $options
65 protected function main(Options $options) { argument
66 $args = $options->getArgs();
73 $this->skip = $options->getOpt('skip');
[all …]
H A Dgittool.php21 * @param Options $options
25 $options->setHelp(
32 $options->registerArgument(
38 $options->registerCommand(
43 $options->registerArgument(
50 $options->registerCommand(
55 $options->registerArgument(
62 $options->registerCommand(
67 $options->registerCommand(
79 * @param Options $options
[all …]
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php24 protected function setup(Options $options) argument
27 $options->setHelp(
32 $options->registerCommand('list', 'List users');
37 $options->registerArgument('login', 'Username', true, 'add');
60 protected function main(Options $options) argument
70 switch ($options->getCmd()) {
72 $ret = $this->cmdList($options->getOpt('verbose'));
75 $ret = $this->cmdAdd($options->getOpt('notify'), $options->getArgs());
78 $ret = $this->cmdDelete($options->getArgs());
81 $ret = $this->cmdAddToGroup($options->getArgs());
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DMySQL.php70 protected $options; variable in SimplePie_Cache_MySQL
88 $this->options = array(
100 …$this->options = SimplePie_Misc::array_merge_recursive($this->options, SimplePie_Cache::parse_URL(…
103 $this->options['dbname'] = substr($this->options['path'], 1);
107 …l:dbname={$this->options['dbname']};host={$this->options['host']};port={$this->options['port']}", …
129 if (!in_array($this->options['extras']['prefix'] . 'cache_data', $db))
140 if (!in_array($this->options['extras']['prefix'] . 'items', $db))
166 '`' . $this->options['extras']['prefix'] . 'items` i ' .
169 $query->bindValue(':purge_time', $this->options['extras']['cache_purge_time']);
320 if (isset($this->options['items'][0]))
[all …]
H A DMemcache.php71 protected $options; variable in SimplePie_Cache_Memcache
89 $this->options = array(
97 …$this->options = SimplePie_Misc::array_merge_recursive($this->options, SimplePie_Cache::parse_URL(…
99 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
102 $this->cache->addServer($this->options['host'], (int) $this->options['port']);
117 …return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options[…
165 …return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['…
H A DMemcached.php70 protected $options; variable in SimplePie_Cache_Memcached
85 $this->options = array(
93 …$this->options = SimplePie_Misc::array_merge_recursive($this->options, SimplePie_Cache::parse_URL(…
95 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
98 $this->cache->addServer($this->options['host'], (int)$this->options['port']);
160 … $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']);
161 return $this->cache->set($this->name, $data, (int)$this->options['extras']['timeout']);
H A DRedis.php40 protected $options; variable in SimplePie_Cache_Redis
63 public function __construct($location, $name, $options = null) { argument
76 if (!is_null($options) && is_array($options)) {
77 $this->options = $options;
79 $this->options = array (
85 $this->name = $this->options['prefix'] . $name;
106 if ($this->options['expire']) {
107 $this->cache->expire($this->name, $this->options['expire']);
154 if ($this->options['expire']) {
/dokuwiki/lib/scripts/jquery/
H A Djquery.cookie.js55 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();
69options.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 Dcli.php16 protected function setup(\splitbrain\phpcli\Options $options) argument
19 $options->setHelp(
45 $options->registerArgument('extensions...',
65 protected function main(\splitbrain\phpcli\Options $options) argument
73 switch ($options->getCmd()) {
75 $ret = $this->cmdList($options->getOpt('verbose'), $options->getOpt('filter', ''));
79 implode(' ', $options->getArgs()),
80 $options->getOpt('verbose'),
81 (int)$options->getOpt('max', 10)
85 $ret = $this->cmdInstall($options->getArgs());
[all …]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DCLI.php18 protected $options; variable in splitbrain\\phpcli\\CLI
57 * @param Options $options
69 * @param Options $options
91 $this->setup($this->options);
109 $this->options->registerOption(
114 $this->options->registerOption(
118 $this->options->registerOption(
136 echo $this->options->help();
159 $this->options->parseOptions();
167 $this->options->checkArguments();
[all …]
H A DOptions.php20 protected $options = array(); variable in splitbrain\\phpcli\\Options
63 $this->options = array();
267 $this->options[$opt] = $val;
269 $this->options[$opt] = true;
293 $this->options[$opt] = $val;
295 $this->options[$opt] = true;
325 return $this->options;
328 if (isset($this->options[$option])) {
329 return $this->options[$option];
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUsers.php130 * @param array $options The options to convert to int
133 protected function accountControl($options) argument
137 if (is_array($options)) {
138 if (in_array("SCRIPT",$options)){ $val=$val+1; }
139 if (in_array("ACCOUNTDISABLE",$options)){ $val=$val+2; }
140 if (in_array("HOMEDIR_REQUIRED",$options)){ $val=$val+8; }
141 if (in_array("LOCKOUT",$options)){ $val=$val+16; }
142 if (in_array("PASSWD_NOTREQD",$options)){ $val=$val+32; }
147 if (in_array("NORMAL_ACCOUNT",$options)){ $val=$val+512; }
152 if (in_array("MNS_LOGON_ACCOUNT",$options)){ $val=$val+131072; }
[all …]
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md34 // register options and arguments
35 protected function setup(Options $options)
42 protected function main(Options $options)
44 if ($options->getOpt('version')) {
47 echo $options->help();
62 - implement the ```setup($options)``` method and register options, arguments, commands and set help…
63 - ``$options->setHelp()`` adds a general description
64 - ``$options->registerOption()`` adds an option
65 - ``$options->registerArgument()`` adds an argument
68 - ``$options->getOpts`` lets you access set options
[all …]
/dokuwiki/inc/Ui/
H A DSearch.php103 $options = [
125 $searchForm->addHTML($options[$activeOption]['label']);
131 foreach ($options as $key => $option) {
215 $options = [
256 foreach ($options as $key => $option) {
262 $options = array_merge(['custom' => [
264 ]], $options);
279 foreach ($options as $key => $option) {
400 $options = [
423 foreach ($options as $key => $option) {
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php255 * @param int $options
260 function _stream_open($path, $mode, $options, &$opened_path) argument
549 * @param int $options
553 function _dir_opendir($path, $options) argument
608 * @param int $options
612 function _mkdir($path, $mode, $options) argument
619 return $this->sftp->mkdir($path, $mode, $options & STREAM_MKDIR_RECURSIVE);
631 * @param int $options
635 function _rmdir($path, $options) argument

123