Home
last modified time | relevance | path

Searched refs:options (Results 1 - 25 of 41) sorted by relevance

12

/dokuwiki/inc/Form/
H A DOptGroup.php8 protected $options = array(); variable
13 * @param array $options The available options
15 public function __construct($label, $options)
18 $this->options($options);
32 return isset($this->options[$value]);
36 * Get or set the options of the optgroup
48 * @param null|array $options
51 public function options( function
55 $this->options = array(); global() variable
[all...]
H A DDropdownElement.php8 * Represents a HTML select. Please note that this does not support multiple selected options!
19 * @param array $options The available options
22 public function __construct($name, $options, $label = '')
26 $this->optGroups[''] = new OptGroup(null, $options);
31 * Add an `<optgroup>` and respective options
34 * @param array $options
38 public function addOptGroup($label, $options)
43 $this->optGroups[$label] = new OptGroup($label, $options);
52 * * the value being an array of options a
88 public function options($options = null) global() function
153 $options = $this->options(); global() variable
159 $options = $optGroup->options(); global() variable
[all...]
/dokuwiki/bin/
H A Ddwpage.php20 * Register options and arguments on the given $options object
22 * @param Options $options
25 protected function setup(Options $options) {
27 $options->registerOption(
32 $options->registerOption(
38 $options->setHelp(
44 $options->registerCommand(
52 $options->registerArgument(
58 $options
[all...]
H A Drender.php25 * Register options and arguments on the given $options object
27 * @param Options $options
30 protected function setup(Options $options) {
31 $options->setHelp(
38 $options->registerOption('renderer', 'The renderer mode to use. Defaults to xhtml', 'r', 'mode');
44 * Arguments and options have been parsed when this is run
46 * @param Options $options
50 protected function main(Options $options) {
51 $renderer = $options
[all...]
H A Dindexer.php20 * Register options and arguments on the given $options object
22 * @param Options $options
25 protected function setup(Options $options) {
26 $options->setHelp(
31 $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) {
[all...]
H A Dstriplangs.php17 * Register options and arguments on the given $options object
19 * @param Options $options
22 protected function setup(Options $options) {
24 $options->setHelp(
29 $options->registerOption(
35 $options->registerOption(
45 * Arguments and options have been parsed when this is run
47 * @param Options $options
50 protected function main(Options $options) {
[all...]
H A Dplugin.php16 * Register options and arguments on the given $options object
18 * @param Options $options
21 protected function setup(Options $options) {
22 $options->setHelp('Excecutes Plugin command line tools');
23 $options->registerArgument('plugin', 'The plugin CLI you want to run. Leave off to see list', false);
29 * Arguments and options have been parsed when this is run
31 * @param Options $options
34 protected function main(Options $options) {
36 $argv = $options
[all...]
H A Dwantedpages.php27 * Register options and arguments on the given $options object
29 * @param Options $options
32 protected function setup(Options $options) {
33 $options->setHelp(
37 $options->registerArgument(
43 $options->registerOption(
50 $options->registerOption(
60 * Arguments and options have been parsed when this is run
62 * @param Options $options
[all...]
H A Dgittool.php19 * Register options and arguments on the given $options object
21 * @param Options $options
24 protected function setup(Options $options) {
25 $options->setHelp(
32 $options->registerArgument(
38 $options->registerCommand(
43 $options->registerArgument(
50 $options->registerCommand(
55 $options
[all...]
/dokuwiki/vendor/splitbrain/slika/src/
H A DSlika.php34 * @param array $options
38 public static function run($imagePath, $options = [])
40 $options = array_merge(self::DEFAULT_OPTIONS, $options); variable
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
19 * @param array $options set options
22 public function __construct($imagepath, $options = [])
33 $this->options = array_merge(Slika::DEFAULT_OPTIONS, $options); variable
H A DImageMagickAdapter.php13 public function __construct($imagepath, $options = [])
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/lib/plugins/extension/
H A Dcli.php16 protected function setup(\splitbrain\phpcli\Options $options)
19 $options->setHelp(
30 $options->registerCommand('search', 'Search for an extension');
31 $options->registerOption('max', 'Maximum number of results (default 10)', 'm', 'number', 'search');
32 $options->registerOption('verbose', 'Show detailed extension information', 'v', false, 'search');
33 $options->registerArgument('query', 'The keyword(s) to search for', true, 'search');
36 $options->registerCommand('list', 'List installed extensions');
37 $options->registerOption('verbose', 'Show detailed extension information', 'v', false, 'list');
38 $options->registerOption('filter', 'Filter by this status', 'f', 'status', 'list');
41 $options
[all...]
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php24 protected function setup(Options $options)
27 $options->setHelp(
32 $options->registerCommand('list', 'List users');
33 $options->registerOption('verbose', 'Show detailed user information', 'v', false, 'list');
36 $options->registerCommand('add', 'Add an user to auth backend');
37 $options->registerArgument('login', 'Username', true, 'add');
38 $options->registerArgument('mail', 'Email address', true, 'add');
39 $options->registerArgument('name', 'Full name', false, 'add');
40 $options->registerArgument('groups', 'Groups to be added, comma-seperated', false, 'add');
41 $options
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DMySQL.php70 protected $options; variable
88 $this->options = array( variable
100 $this->options = SimplePie_Misc::array_merge_recursive($this->options, SimplePie_Cache::parse_URL($location)); variable
103 $this->options['dbname'] = substr($this->options['path'], 1);
107 $this->mysql = new PDO("mysql:dbname={$this->options['dbname']};host={$this->options['host']};port={$this->options['port']}", $this->options['use
[all...]
H A DMemcached.php70 protected $options; variable
85 $this->options = array( variable
93 $this->options = SimplePie_Misc::array_merge_recursive($this->options, SimplePie_Cache::parse_URL($location)); variable
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 DMemcache.php71 protected $options; variable
89 $this->options = array( variable
97 $this->options = SimplePie_Misc::array_merge_recursive($this->options, SimplePie_Cache::parse_URL($location)); variable
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['extras']['timeout']);
165 return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);
H A DRedis.php40 protected $options; variable
63 public function __construct($location, $name, $options = null) {
76 if (!is_null($options) && is_array($options)) {
77 $this->options = $options; variable
79 $this->options = array ( variable
85 $this->name = $this->options['prefix'] . $name;
106 if ($this->options['expire']) {
107 $this->cache->expire($this->name, $this->options['expir
[all...]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DCLI.php18 protected $options; variable
51 $this->options = new Options($this->colors); variable
55 * Register options and arguments on the given $options object
57 * @param Options $options
62 abstract protected function setup(Options $options);
67 * Arguments and options have been parsed when this is run
69 * @param Options $options
74 abstract protected function main(Options $options);
79 * Executes the setup() routine, adds default options, initiat
[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
63 $this->options = array(); variable
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/authad/adLDAP/
H A DadLDAP.php570 * @param array $options Array of options to pass to the constructor
574 function __construct($options = array()) {
575 // You can specifically overide any of the default configuration options setup above
576 if (count($options) > 0) {
577 if (array_key_exists("account_suffix",$options)){ $this->accountSuffix = $options["account_suffix"]; }
578 if (array_key_exists("base_dn",$options)){ $this->baseDn = $options["base_dn"]; }
579 if (array_key_exists("domain_controllers",$options)){
[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)
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/inc/Ui/
H A DSearch.php103 $options = [ variable
125 $searchForm->addHTML($options[$activeOption]['label']);
128 // render options list
131 foreach ($options as $key => $option) {
215 $options = [ variable
256 foreach ($options as $key => $option) {
262 $options = array_merge(['custom' => [ variable
264 ]], $options);
273 $searchForm->addHTML($options[$activeOption]['label']);
276 // render options lis
400 $options = [ global() variable
[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
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DEnclosure.php846 * @param array|string $options See first paramter to {@see embed}
849 public function native_embed($options='')
851 return $this->embed($options, true);
857 * `$options` is an array or comma-separated key:value string, with the
895 * @param array|string $options Comma-separated key:value list, or array
899 public function embed($options = '', $native = false)
915 // Process options and reassign values as necessary
916 if (is_array($options))
918 extract($options);
922 $options variable
[all...]

Completed in 13 milliseconds

12