Home
last modified time | relevance | path

Searched refs:type (Results 1 - 25 of 79) sorted by relevance

1234

/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DRegistry.php108 * @param string $type See {@see $default} for names
113 public function register($type, $class, $legacy = false)
115 if (!@is_subclass_of($class, $this->default[$type]))
120 $this->classes[$type] = $class;
131 * Get the class registered for a type
135 * @param string $type
138 public function get_class($type)
140 if (!empty($this->classes[$type]))
142 return $this->classes[$type];
144 if (!empty($this->default[$type]))
[all...]
H A DCache.php85 $type = explode(':', $location, 2); variable
86 $type = $type[0]; variable
87 if (!empty(self::$handlers[$type]))
89 $class = self::$handlers[$type];
110 * @param string $type DSN type to register for
113 public static function register($type, $class)
115 self::$handlers[$type] = $class;
H A DCategory.php81 * Category type
89 var $type; variable
97 * @param string|null $type
99 public function __construct($term = null, $scheme = null, $label = null, $type = null)
104 $this->type = $type; variable
154 * Get the category type
160 return $this->type;
H A DRestriction.php70 var $type; variable
86 public function __construct($relationship = null, $type = null, $value = null)
89 $this->type = $type; variable
120 * Get the type
126 if ($this->type !== null)
128 return $this->type;
H A DEnclosure.php210 var $type; variable
226 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)
251 $this->type = $type; variable
814 * @return string|null MIME type
818 if ($this->type !== null)
820 return $this->type;
861 * the appropriate handler installed or when a file type is
863 * - `altclass` (string): If a file type is unsupported, the end-user will
913 $type variable
1145 $type = strtolower($this->type); global() variable
1149 $type = null; global() variable
1160 $type = 'audio/acc'; global() variable
1167 $type = 'audio/aiff'; global() variable
1171 $type = 'audio/wav'; global() variable
1178 $type = 'audio/midi'; global() variable
1182 $type = 'audio/x-m4a'; global() variable
1187 $type = 'audio/mp3'; global() variable
1191 $type = 'audio/wav'; global() variable
1195 $type = 'audio/x-ms-wax'; global() variable
1199 $type = 'audio/x-ms-wma'; global() variable
1205 $type = 'video/3gpp'; global() variable
1210 $type = 'video/3gpp2'; global() variable
1214 $type = 'video/x-ms-asf'; global() variable
1218 $type = 'video/x-flv'; global() variable
1232 $type = 'video/mpeg'; global() variable
1236 $type = 'video/x-m4v'; global() variable
1241 $type = 'video/quicktime'; global() variable
1246 $type = 'video/mp4'; global() variable
1250 $type = 'video/sd-video'; global() variable
1254 $type = 'video/x-ms-wm'; global() variable
1258 $type = 'video/x-ms-wmv'; global() variable
1262 $type = 'video/x-ms-wvx'; global() variable
1267 $type = 'application/futuresplash'; global() variable
1271 $type = 'application/x-shockwave-flash'; global() variable
[all...]
H A DCaption.php58 * Content type
63 var $type; variable
103 public function __construct($type = null, $lang = null, $startTime = null, $endTime = null, $text = null)
105 $this->type = $type; variable
185 * Get the content type (not MIME type)
191 if ($this->type !== null)
193 return $this->type;
H A DSanitize.php244 public function sanitize($data, $type, $base = '')
247 if ($data !== '' || $type & SIMPLEPIE_CONSTRUCT_IRI)
249 if ($type & SIMPLEPIE_CONSTRUCT_MAYBE_HTML)
253 $type |= SIMPLEPIE_CONSTRUCT_HTML;
257 $type |= SIMPLEPIE_CONSTRUCT_TEXT;
261 if ($type & SIMPLEPIE_CONSTRUCT_BASE64)
266 if ($type & (SIMPLEPIE_CONSTRUCT_HTML | SIMPLEPIE_CONSTRUCT_XHTML))
276 $data = $this->preprocess($data, $type);
302 $this->strip_tag($tag, $document, $xpath, $type);
381 if ($type
[all...]
/dokuwiki/inc/Parsing/ParserMode/
H A DFormatting.php11 protected $type; variable
58 * @param string $type
60 public function __construct($type)
64 if (!array_key_exists($type, $this->formatting)) {
65 trigger_error('Invalid formatting type ' . $type, E_USER_WARNING);
68 $this->type = $type; variable
72 $key = array_search($type, $modes);
89 if ($mode == $this->type) {
[all...]
/dokuwiki/inc/Extension/
H A DPluginController.php34 * Returns a list of available plugins of given type
36 * @param $type string, plugin_type name;
37 * the type of plugin to return,
44 * - plugin names when $type = ''
45 * - or plugin component names when a $type is given
49 public function getList($type = '', $all = false)
53 if (!$type) {
57 if (!isset($this->listByType[$type]['enabled'])) {
58 $this->listByType[$type]['enabled'] = $this->getListByType($type, tru
[all...]
H A DRemotePlugin.php67 // get parameter type from doc block type hint
70 $type = 'string'; // we default to string variable
72 $type = $this->cleanTypeHint($m[1]); variable
74 $data['args'][] = $type;
77 // get return type from doc block type hint
92 * Matches the given type hint against the valid options for the remote API
/dokuwiki/inc/
H A Dsearch.php81 * string $type - Type either 'd' for directory or 'f' for file
90 * one deeper nested) also make sure to check the file type (for example
102 * @param string $type
108 function search_qsearch(&$data,$base,$file,$type,$lvl,$opts){
114 return search_universal($data,$base,$file,$type,$lvl,$opts);
127 * @param string $type
133 function search_index(&$data,$base,$file,$type,$lvl,$opts){
145 return search_universal($data, $base, $file, $type, $lvl, $opts);
156 * @param string $type
162 function search_namespaces(&$data,$base,$file,$type,
[all...]
H A Dpluginutils.php26 * @param string $type type of plugins; empty string for all
30 function plugin_list($type='',$all=false)
34 $plugins = $plugin_controller->getList($type,$all);
44 * @param $type string type of plugin to load
50 function plugin_load($type,$name,$new=false,$disabled=false)
54 return $plugin_controller->load($type,$name,$new,$disabled);
H A Dconfutils.php289 * @param string $type the configuration settings to be read, must correspond to a key/array in $config_cascade
299 function retrieveConfig($type,$fn,$params=null,$combine='array_merge') {
305 if (!is_array($config_cascade[$type])) trigger_error('Missing config cascade for "'.$type.'"',E_USER_WARNING);
307 if (empty($config_cascade[$type][$config_group])) continue;
308 foreach ($config_cascade[$type][$config_group] as $file) {
324 * @param string $type the configuration settings to be read, must correspond to a key/array in $config_cascade
327 function getConfigFiles($type) {
331 if (!is_array($config_cascade[$type])) trigger_error('Missing config cascade for "'.$type
[all...]
/dokuwiki/inc/Menu/Item/
H A DEdit.php26 $this->type = 'draft'; variable
31 $this->type = 'create'; variable
37 $this->type = 'source'; variable
42 $this->type = 'show'; variable
50 * change the icon according to what type the edit button has
60 if(isset($icons[$this->type])) {
61 $this->svg = DOKU_INC . 'lib/images/menu/' . $icons[$this->type];
H A DAbstractItem.php30 protected $type = ''; variable
64 $this->type = $this->getType(); variable
65 $this->params['do'] = $this->type;
67 if(!actionOK($this->type)) throw new \RuntimeException("action disabled: {$this->type}");
73 * When the label property was set, it is simply returned. Otherwise, the action's type
84 $label = $lang['btn_' . $this->type];
88 if($label === '') $label = '[' . $this->type . ']';
128 * @param string|false $classprefix create a class from type with this prefix, false for no class
151 * @param string|false $classprefix create a class from type wit
204 $this->type = strtolower(substr(strrchr(get_class($this), '\\\\'), 1)); global() variable
[all...]
/dokuwiki/inc/Ui/
H A DAdmin.php43 * @param string $type admin|manager|other
45 protected function showMenu($type) {
46 if (!$this->menu[$type]) return;
48 if ($type === 'other') {
56 foreach ($this->menu[$type] as $item) {
131 $type = 'admin'; variable
133 $type = 'manager'; variable
135 $type = 'other'; variable
138 $menu[$type][$p] = array(
/dokuwiki/lib/plugins/config/core/
H A DLoader.php185 * @param string $type should be 'plugin' or 'tpl'
189 protected function loadExtensionMeta($file, $type, $extname) {
191 $prefix = $type . Configuration::KEYMARKER . $extname . Configuration::KEYMARKER;
200 $data[$prefix . $type . '_settings_name'] = ['fieldset'];
215 * @param string $type should be 'plugin' or 'tpl'
219 protected function loadExtensionConf($file, $type, $extname) {
221 $prefix = $type . Configuration::KEYMARKER . $extname . Configuration::KEYMARKER;
240 * @param string $type should be 'plugin' or 'tpl'
244 protected function loadExtensionLang($dir, $type, $extname) {
247 $prefix = $type
[all...]
/dokuwiki/inc/Form/
H A DElement.php20 * @var string The type of this element
22 protected $type; variable
25 * @param string $type The type of this element
28 public function __construct($type, $attributes = array())
30 $this->type = $type; variable
41 return $this->type;
H A DValueElement.php22 * @param string $type
26 public function __construct($type, $value, $attributes = array())
28 parent::__construct($type, $attributes);
H A DCheckableElement.php15 * @param string $type The type of this element
19 public function __construct($type, $name, $label)
21 parent::__construct($type, $name, $label);
H A DInputElement.php27 * @param string $type The type of this element
31 public function __construct($type, $name, $label = '')
33 parent::__construct($type, array('name' => $name));
35 $this->attr('type', $type);
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DBase.php56 * Feed cache type
63 * Image cache type
74 * @param string $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
76 public function __construct($location, $name, $type);
H A DMemcached.php82 * @param string $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
84 public function __construct($location, $name, $type) {
95 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
H A DMemcache.php85 * @param string $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
87 public function __construct($location, $name, $type)
99 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPFolders.php76 * @param string $dnType The type of record to list. This can be ADLDAP_FOLDER or ADLDAP_CONTAINER.
78 * @param bool $type Specify a type of object to search for
81 public function listing($folderName = NULL, $dnType = adLDAP::ADLDAP_FOLDER, $recursive = NULL, $type = NULL)
87 if ($type !== NULL) {
88 switch ($type) {

Completed in 10 milliseconds

1234