Home
last modified time | relevance | path

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

123

/dokuwiki/inc/Form/
H A DOptGroup.php7 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);
26 * @return string[] the values that have been set (options exist)
33 if (isset($this->options[$value])) {
42 * Get or set the options of the optgroup
54 * @param null|array $options
57 options($options = null) global() argument
[all...]
H A DDropdownElement.php22 * @param array $options The available options
25 public function __construct($name, $options, $label = '') argument
29 $this->optGroups[''] = new OptGroup(null, $options);
34 * Add an `<optgroup>` and respective options
37 * @param array $options
41 public function addOptGroup($label, $options) argument
46 $this->optGroups[$label] = new OptGroup($label, $options);
55 * * the value being an array of options as defined in @param null|array $optGroups
57 * @see OptGroup::options()
91 options($options = null) global() argument
[all...]
/dokuwiki/vendor/splitbrain/slika/src/
H A DSlika.php18 /** these can be overwritten using the options array in run() */
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 DAdapter.php15 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);
H A DImageMagickAdapter.php15 public function __construct($imagepath, $options = []) argument
17 parent::__construct($imagepath, $options);
19 if (!is_executable($this->options['imconvert'])) {
20 throw new Exception('Can not find or run ' . $this->options['imconvert']);
23 $this->args[] = $this->options['imconvert'];
114 $this->args[] = $this->options['quality'];
/dokuwiki/bin/
H A Drender.php25 * Register options and arguments on the given $options object
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');
45 * Arguments and options have been parsed when this is run
47 * @param Options $options
51 protected function main(Options $options)
53 $renderer = $options
50 main(Options $options) global() argument
[all...]
H A Ddwpage.php21 * Register options and arguments on the given $options object
23 * @param Options $options
26 protected function setup(Options $options)
29 $options->registerOption(
34 $options->registerOption(
40 $options->setHelp(
46 $options->registerCommand(
54 $options->registerArgument(
60 $options
25 setup(Options $options) global() argument
152 main(Options $options) global() argument
[all...]
H A Dstriplangs.php17 * Register options and arguments on the given $options object
19 * @param Options $options
22 protected function setup(Options $options) argument
25 $options->setHelp(
30 $options->registerOption(
36 $options->registerOption(
46 * Arguments and options have been parsed when this is run
48 * @param Options $options
51 protected function main(Options $options)
50 main(Options $options) global() argument
[all...]
H A Dindexer.php20 * Register options and arguments on the given $options object
22 * @param Options $options
25 protected function setup(Options $options) argument
27 $options->setHelp(
32 $options->registerOption(
37 $options->registerOption(
47 * Arguments and options have been parsed when this is run
49 * @param Options $options
52 protected function main(Options $options)
51 main(Options $options) global() argument
[all...]
H A Dplugin.php18 * Register options and arguments on the given $options object
20 * @param Options $options
23 protected function setup(Options $options)
25 $options->setHelp('Excecutes Plugin command line tools');
26 $options->registerArgument('plugin', 'The plugin CLI you want to run. Leave off to see list', false);
32 * Arguments and options have been parsed when this is run
34 * @param Options $options argument
37 protected function main(Options $options)
40 $argv = $options
21 setup(Options $options) global() argument
[all...]
H A Dwantedpages.php28 * Register options and arguments on the given $options object
30 * @param Options $options
33 protected function setup(Options $options) argument
35 $options->setHelp(
39 $options->registerArgument(
45 $options->registerOption(
52 $options->registerOption(
62 * Arguments and options have been parsed when this is run
64 * @param Options $options
66 main(Options $options) global() argument
[all...]
H A Dgittool.php19 * Register options and arguments on the given $options object
21 * @param Options $options
24 protected function setup(Options $options) argument
26 $options->setHelp(
33 $options->registerArgument(
39 $options->registerCommand(
44 $options->registerArgument(
51 $options->registerCommand(
56 $options
82 main(Options $options) global() argument
[all...]
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php19 protected function setup(Options $options)
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
24 setup(Options $options) global() argument
60 main(Options $options) global() argument
[all...]
/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();
69 options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
70 options.path ? '; path=' + options
107 removeCookie(key, options) global() argument
[all...]
H A Djquery-ui.min.js6 !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict";V.ui=V.ui||{};V.ui.version="1.13.2";var n,i=0,a=Array.prototype.hasOwnProperty,r=Array.prototype.slice;V.cleanData=(n=V.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=V._data(i,"events"))&&e.remove&&V(i).triggerHandler("remove");n(t)}),V.widget=function(t,i,e){var s,n,o,a={},r=t.split(".")[0],l=r+"-"+(t=t.split(".")[1]);return e||(e=i,i=V.Widget),Array.isArray(e)&&(e=V.extend.apply(null,[{}].concat(e))),V.expr.pseudos[l.toLowerCase()]=function(t){return!!V.data(t,l)},V[r]=V[r]||{},s=V[r][t],n=V[r][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},V.extend(n,s,{version:e.version,_proto:V.extend({},e),_childConstructors:[]}),(o=new i).options=V.widget.extend({},o.options),V.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}a[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),n.prototype=V.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},a,{constructor:n,namespace:r,widgetName:t,widgetFullName:l}),s?(V.each(s._childConstructors,function(t,e){var i=e.prototype;V.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),V.widget.bridge(t,n),n},V.widget.extend=function(t){for(var e,i,s=r.call(arguments,1),n=0,o=s.length;n<o;n++)for(e in s[n])i=s[n][e],a.call(s[n],e)&&void 0!==i&&(V.isPlainObject(i)?t[e]=V.isPlainObject(t[e])?V.widget.extend({},t[e],i):V.widget.extend({},i):t[e]=i);return t},V.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;V.fn[o]=function(i){var t="string"==typeof i,s=r.call(arguments,1),n=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=V.data(this,a);return"instance"===i?(n=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?V.error("no such method '"+i+"' for "+o+" widget instance"):(t=e[i].apply(e,s))!==e&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:V.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=V.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=V.data(this,a);t?(t.option(i||{}),t._init&&t._init()):V.data(this,a,new e(i,this))})),n}},V.Widget=function(){},V.Widget._childConstructors=[],V.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=V(e||this.defaultElement||this)[0],this.element=V(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=V(),this.hoverable=V(),this.focusable=V(),this.classesElementLookup={},e!==this&&(V.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=V(e.style?e.ownerDocument:e.document||e),this.window=V(this.document[0].defaultView||this.document[0].parentWindow)),this.options=V.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:V.noop,_create:V.noop,_init:V.noop,destroy:function(){var i=this;this._destroy(),V.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:V.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return V.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=V.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DMySQL.php75 protected $options; variable in SimplePie\\Cache\\MySQL
93 $this->options = [
105 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location));
108 $this->options['dbname'] = substr($this->options['path'], 1);
111 $this->mysql = new \PDO("mysql:dbname={$this->options['dbname']};host={$this->options['host']};port={$this->options['port']}", $this->options['use
[all...]
H A DRedis.php78 protected $options; variable in SimplePie\\Cache\\Redis
94 public function __construct($location, $name, $options = null) argument
108 if (!is_null($options) && is_array($options)) {
109 $this->options = $options;
111 $this->options = [
117 $this->name = $this->options['prefix'] . $name;
140 if ($this->options['expire']) {
141 $this->cache->expire($this->name, $this->options['expir
[all...]
H A DMemcache.php78 protected $options; variable in SimplePie\\Cache\\Memcache
96 $this->options = [
104 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location));
106 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
109 $this->cache->addServer($this->options['host'], (int) $this->options['port']);
123 return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);
168 return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);
H A DMemcached.php77 protected $options; variable in SimplePie\\Cache\\Memcached
93 $this->options = [
101 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location));
103 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
106 $this->cache->addServer($this->options['host'], (int)$this->options['port']);
173 $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']);
174 return $this->cache->set($this->name, $data, (int)$this->options['extras']['timeout']);
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DBase.php20 protected $options; variable in splitbrain\\phpcli\\Base
99 $this->options = new Options($this->colors);
103 * Register options and arguments on the given $options object
105 * @param Options $options
110 abstract protected function setup(Options $options);
115 * Arguments and options have been parsed when this is run
117 * @param Options $options
122 abstract protected function main(Options $options);
127 * Executes the setup() routine, adds default options, initiat
64 setup(Options $options) global() argument
76 main(Options $options) global() argument
[all...]
H A DOptions.php8 * Parses command line options passed to the CLI script. Allows CLI scripts to easily register all accepted options and
16 /** @var array keeps the list of options to parse */
19 /** @var array store parsed options */
20 protected $options = array(); variable in splitbrain\\phpcli\\Options
63 $this->options = array();
131 * Sub commands have their own options and use their own function (not main()).
175 throw new Exception("Short options should be exactly one ASCII character");
209 * Parses the given arguments for known options and command
212 * array is stripped from any options an
[all...]
/dokuwiki/lib/plugins/extension/
H A Dcli.php20 protected function setup(Options $options)
23 $options->setHelp(
34 $options->registerCommand('search', 'Search for an extension');
35 $options->registerOption('max', 'Maximum number of results (default 10)', 'm', 'number', 'search');
36 $options->registerOption('verbose', 'Show detailed extension information', 'v', false, 'search');
37 $options->registerArgument('query', 'The keyword(s) to search for', true, 'search');
40 $options->registerCommand('list', 'List installed extensions');
41 $options->registerOption('verbose', 'Show detailed extension information', 'v', false, 'list');
42 $options->registerOption('filter', 'Filter by this status', 'f', 'status', 'list');
45 $options
16 setup(\\splitbrain\\phpcli\\Options $options) global() argument
65 main(\\splitbrain\\phpcli\\Options $options) global() argument
[all...]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUsers.php128 * Account control options
130 * @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)){
[all...]
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md34 // register options and arguments
35 protected function setup(Options $options)
37 $options->setHelp('A very minimal example that does nothing but print a version');
38 $options->registerOption('version', 'print version', 'v');
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 texts
63 - ``$options
[all...]
/dokuwiki/inc/Ui/
H A DSearch.php102 $options = [
124 $searchForm->addHTML($options[$activeOption]['label']);
127 // render options list
130 foreach ($options as $key => $option) {
215 $options = [
240 foreach ($options as $key => $option) {
246 $options = array_merge(['custom' => [
248 ]], $options);
257 $searchForm->addHTML($options[$activeOption]['label']);
260 // render options lis
[all...]

123