Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 101) sorted by relevance

12345

/dokuwiki/inc/Parsing/ParserMode/
H A DFormatting.php11 protected $type; variable in dokuwiki\\Parsing\\ParserMode\\Formatting
53 * @param string $type
55 public function __construct($type)
59 if (!array_key_exists($type, $this->formatting)) {
60 trigger_error('Invalid formatting type ' . $type, E_USER_WARNING); argument
63 $this->type = $type;
67 $key = array_search($type, $modes);
84 if ($mode == $this->type) {
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DRegistry.php146 * @param string $type See {@see $default} for names
151 public function register($type, $class, $legacy = false) argument
153 if (array_key_exists($type, $this->legacyTypes)) {
154 // trigger_error(sprintf('"%s"(): Using argument #1 ($type) with value "%s" is deprecated since SimplePie 1.8.0, use class-string "%s" instead.', __METHOD__, $type, $this->legacyTypes[$type]), \E_USER_DEPRECATED);
156 $type = $this->legacyTypes[$type];
159 if (! array_key_exists($type, $this->default)) {
168 $base_class = $this->default[$type];
192 get_class($type) global() argument
221 create($type, $parameters = []) global() argument
249 call($type, $method, $parameters = []) global() argument
[all...]
H A DCache.php94 $type = explode(':', $location, 2);
95 $type = $type[0];
96 if (!empty(self::$handlers[$type])) {
97 $class = self::$handlers[$type];
119 * @param string $type DSN type to register for
122 public static function register($type, $class) argument
124 self::$handlers[$type] = $class;
H A DRestriction.php74 public $type; variable in SimplePie\\Restriction
90 public function __construct($relationship = null, $type = null, $value = null) argument
93 $this->type = $type;
123 * Get the type
129 if ($this->type !== null) {
130 return $this->type;
H A DCategory.php85 * Category type
93 public $type; variable in SimplePie\\Category
101 * @param string|null $type
103 public function __construct($term = null, $scheme = null, $label = null, $type = null) argument
108 $this->type = $type;
157 * Get the category type
163 return $this->type;
H A DEnclosure.php214 public $type; variable in SimplePie\\Enclosure
230 public function __construct($link = null, $type = null, $length = null, $javascript = null, $bitrate = null, $captions = null, $categories = null, $channels = null, $copyright = null, $credits = null, $description = null, $duration = null, $expression = null, $framerate = null, $hashes = null, $height = null, $keywords = null, $lang = null, $medium = null, $player = null, $ratings = null, $restrictions = null, $samplingrate = null, $thumbnails = null, $title = null, $width = null) argument
255 $this->type = $type;
782 * @return string|null MIME type
786 if ($this->type !== null) {
787 return $this->type;
827 * the appropriate handler installed or when a file type is
829 * - `altclass` (string): If a file type is unsupported, the end-user will
879 $type
[all...]
H A DCaption.php61 * Content type
66 public $type; variable in SimplePie\\Caption
106 public function __construct($type = null, $lang = null, $startTime = null, $endTime = null, $text = null) argument
108 $this->type = $type;
184 * Get the content type (not MIME type)
190 if ($this->type !== null) {
191 return $this->type;
/dokuwiki/inc/Menu/Item/
H A DEdit.php27 $this->type = 'draft';
32 $this->type = 'create';
38 $this->type = 'source';
44 $this->type = 'show';
52 * change the icon according to what type the edit button has
63 if (isset($icons[$this->type])) {
64 $this->svg = DOKU_INC . 'lib/images/menu/' . $icons[$this->type];
H A DAbstractItem.php30 protected $type = ''; variable in dokuwiki\\Menu\\Item\\AbstractItem
65 $this->type = $this->getType();
66 $this->params['do'] = $this->type;
68 if (!actionOK($this->type)) throw new \RuntimeException("action disabled: {$this->type}");
74 * When the label property was set, it is simply returned. Otherwise, the action's type
86 $label = $lang['btn_' . $this->type];
90 if ($label === '') $label = '[' . $this->type . ']';
131 * @param string|false $classprefix create a class from type with this prefix, false for no class
153 * @param string|false $classprefix create a class from type wit
[all...]
/dokuwiki/inc/Extension/
H A DPluginController.php35 * Returns a list of available plugins of given type
37 * @param $type string, plugin_type name;
38 * the type of plugin to return,
45 * - plugin names when $type = ''
46 * - or plugin component names when a $type is given
50 public function getList($type = '', $all = false)
54 if (!$type) {
58 if (!isset($this->listByType[$type]['enabled'])) {
59 $this->listByType[$type]['enabled'] = $this->getListByType($type, tru
49 getList($type = '', $all = false) global() argument
80 load($type, $name, $new = false, $disabled = false) global() argument
343 getListByType($type, $enabled) global() argument
[all...]
H A DRemotePlugin.php
H A DAuthPlugin.php118 * @param string $type Modification type ('create', 'modify', 'delete')
120 * The content of this array depends on the modification type
123 public function triggerUserMod($type, $params)
130 if (empty($validTypes[$type])) {
135 $eventdata = ['type' => $type, 'params' => $params, 'modification_result' => null];
138 $result = call_user_func_array([$this, $validTypes[$type]], $evt->data['params']);
125 triggerUserMod($type, $params) global() argument
/dokuwiki/inc/Ui/
H A DAdmin.php47 * @param string $type admin|manager|other
49 protected function showMenu($type)
51 if (!$this->menu[$type]) return;
53 if ($type === 'other') {
61 foreach ($this->menu[$type] as $item) {
140 $type = 'admin';
142 $type = 'manager';
144 $type = 'other';
147 $menu[$type][$p] = [
46 showMenu($type) global() argument
/dokuwiki/inc/
H A Dsearch.php85 * string $type - Type either 'd' for directory or 'f' for file
94 * one deeper nested) also make sure to check the file type (for example
106 * @param string $type
112 function search_qsearch(&$data, $base, $file, $type, $lvl, $opts)
119 return search_universal($data, $base, $file, $type, $lvl, $opts);
132 * @param string $type
138 function search_index(&$data, $base, $file, $type, $lvl, $opts)
151 return search_universal($data, $base, $file, $type, $lvl, $opts);
162 * @param string $type argument
168 function search_namespaces(&$data, $base, $file, $type,
108 search_qsearch(& $data, $base, $file, $type, $lvl, $opts) global() argument
133 search_index(& $data, $base, $file, $type, $lvl, $opts) global() argument
188 search_media(& $data, $base, $file, $type, $lvl, $opts) global() argument
255 search_mediafiles(& $data, $base, $file, $type, $lvl, $opts) global() argument
302 search_list(& $data, $base, $file, $type, $lvl, $opts) global() argument
333 search_pagename(& $data, $base, $file, $type, $lvl, $opts) global() argument
371 search_allpages(& $data, $base, $file, $type, $lvl, $opts) global() argument
487 search_universal(& $data, $base, $file, $type, $lvl, $opts) global() argument
[all...]
H A Dpluginutils.php27 * @param string $type type of plugins; empty string for all
31 function plugin_list($type = '', $all = false)
35 $plugins = $plugin_controller->getList($type, $all);
45 * @param $type string type of plugin to load
51 function plugin_load($type, $name, $new = false, $disabled = false)
55 return $plugin_controller->load($type, $name, $new, $disabled);
30 plugin_list($type = '', $all = false) global() argument
50 plugin_load($type, $name, $new = false, $disabled = false) global() argument
H A Dconfutils.php300 * @param string $type the configuration settings to be read, must correspond to a key/array in $config_cascade
310 function retrieveConfig($type, $fn, $params = null, $combine = 'array_merge')
317 if (!is_array($config_cascade[$type])) trigger_error('Missing config cascade for "' . $type . '"', E_USER_WARNING);
319 if (empty($config_cascade[$type][$config_group])) continue;
320 foreach ($config_cascade[$type][$config_group] as $file) {
336 * @param string $type the configuration settings to be read, must correspond to a key/array in $config_cascade
339 function getConfigFiles($type)
344 if (!is_array($config_cascade[$type])) trigger_error('Missing config cascade for "' . $type
299 retrieveConfig($type, $fn, $params = null, $combine = 'array_merge') global() argument
327 getConfigFiles($type) global() argument
[all...]
/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/
H A DValue.php8 private $type; variable in IXR\\DataType\\Value
10 public function __construct($data, $type = null) argument
13 if (!$type) {
14 $type = $this->calculateType();
16 $this->type = $type;
17 if ($type === 'struct') {
23 if ($type === 'array') {
70 switch ($this->type) {
/dokuwiki/inc/Form/
H A DValueElement.php22 * @param string $type
26 public function __construct($type, $value, $attributes = []) argument
28 parent::__construct($type, $attributes);
H A DElement.php20 * @var string The type of this element
22 protected $type; variable in dokuwiki\\Form\\Element
25 * @param string $type The type of this element
28 public function __construct($type, $attributes = []) argument
30 $this->type = $type;
41 return $this->type;
H A DCheckableElement.php15 * @param string $type The type of this element
19 public function __construct($type, $name, $label) argument
21 parent::__construct($type, $name, $label);
H A DLegacyForm.php136 * @param string $type
139 protected function legacyType($type)
151 return $types[$type] ?? $type;
142 legacyType($type) global() argument
H A DInputElement.php27 * @param string $type The type of this element
31 public function __construct($type, $name, $label = '') argument
33 parent::__construct($type, ['name' => $name]);
35 $this->attr('type', $type);
H A DFieldsetCloseElement.php20 $this->type = 'fieldsetclose';
/dokuwiki/lib/plugins/config/core/
H A DLoader.php198 * @param string $type should be 'plugin' or 'tpl'
202 protected function loadExtensionMeta($file, $type, $extname)
205 $prefix = $type . Configuration::KEYMARKER . $extname . Configuration::KEYMARKER;
214 $data[$prefix . $type . '_settings_name'] = ['fieldset'];
229 * @param string $type should be 'plugin' or 'tpl'
233 protected function loadExtensionConf($file, $type, $extname)
236 $prefix = $type . Configuration::KEYMARKER . $extname . Configuration::KEYMARKER;
255 * @param string $type should be 'plugin' or 'tpl'
259 protected function loadExtensionLang($dir, $type, $extname)
263 $prefix = $type
195 loadExtensionMeta($file, $type, $extname) global() argument
225 loadExtensionConf($file, $type, $extname) global() argument
250 loadExtensionLang($dir, $type, $extname) global() argument
[all...]
/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
H A DIntrospectionServer.php32 'Returns an array describing the return type and required parameters of a method'
87 $type = array_shift($signature);
88 switch ($type) {
135 foreach ($types as $type) {
136 switch ($type) {

12345