Home
last modified time | relevance | path

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

1234567

/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) argument
59 if (!array_key_exists($type, $this->formatting)) {
60 trigger_error('Invalid formatting type ' . $type, E_USER_WARNING);
63 $this->type = $type;
67 $key = array_search($type, $modes);
84 if ($mode == $this->type) {
89 $this->formatting[$this->type]['entry'],
91 $this->type
[all …]
/dokuwiki/inc/Remote/OpenApiDoc/
H A DType.php109 $type = $this->typehint;
110 if (!str_ends_with($type, '[]')) {
113 $type = substr($type, 0, -2);
114 return new Type($type, $this->context);
124 $type = $this->typehint;
127 if (in_array($type, ['date', 'file', 'struct'])) {
128 return $type;
131 $type = $this->getBaseType($this->typehint);
134 if (in_array($type, ['int', 'string', 'double', 'bool', 'array'])) {
135 return $type;
H A DDocBlockProperty.php8 protected $type; variable in dokuwiki\\Remote\\OpenApiDoc\\DocBlockProperty
30 return $this->type;
41 $this->type = new Type($refType ? $refType->getName() : 'string', $this->getContext());
46 [$type, $description] = array_map(trim(...), sexplode(' ', $this->tags['var'][0], 2, ''));
47 $this->type = new Type($type, $this->getContext());
/dokuwiki/vendor/simplepie/simplepie/src/
H A DRegistry.php107 * @param string $type See {@see $default} for names
112 public function register(string $type, $class, bool $legacy = false) argument
114 if (array_key_exists($type, $this->legacyTypes)) {
117 $type = $this->legacyTypes[$type];
120 if (!array_key_exists($type, $this->default)) {
129 $base_class = $this->default[$type];
135 $this->classes[$type] = $class;
153 public function get_class($type) argument
155 if (array_key_exists($type, $this->legacyTypes)) {
158 $type = $this->legacyTypes[$type];
[all …]
H A DCache.php54 $type = explode(':', $location, 2);
55 $type = $type[0];
56 if (!empty(self::$handlers[$type])) {
57 $class = self::$handlers[$type];
83 * @param string $type DSN type to register for
87 public static function register(string $type, $class) argument
89 self::$handlers[$type] = $class;
H A DRestriction.php36 public $type; variable in SimplePie\\Restriction
54 …public function __construct(?string $relationship = null, ?string $type = null, ?string $value = n… argument
57 $this->type = $type;
93 if ($this->type !== null) {
94 return $this->type;
H A DCategory.php52 public $type; variable in SimplePie\\Category
60 * @param string|null $type
62 …onstruct(?string $term = null, ?string $scheme = null, ?string $label = null, ?string $type = null) argument
67 $this->type = $type;
122 return $this->type;
H A DEnclosure.php173 public $type; variable in SimplePie\\Enclosure
201 ?string $type = null, argument
250 $this->type = $type;
783 if ($this->type !== null) {
784 return $this->type;
876 $type = $this->get_real_type();
934 $mime = explode('/', (string) $type, 2);
986 …t_link() . "\" pluginspage=\"http://adobe.com/go/getflashplayer\" type=\"$type\" quality=\"high\" …
988 …d_flash('$bgcolor', '$width', '$height', '" . $this->get_link() . "', '$loop', '$type');</script>";
1015 …$embed .= "<embed type=\"$type\" style=\"cursor:hand; cursor:pointer;\" href=\"" . $this->get_link…
[all …]
H A DCaption.php25 public $type; variable in SimplePie\\Caption
66 ?string $type = null, argument
72 $this->type = $type;
154 if ($this->type !== null) {
155 return $this->type;
/dokuwiki/_test/tests/Remote/OpenApiDoc/
H A DTypeTest.php55 $type = new Type($typehint, $context);
56 $this->assertEquals($expectedJSONRPCType, $type->getJSONRPCType());
69 $type = new Type($typehint, $context);
70 $this->assertEquals($expectedXMLRPCType, $type->getXMLRPCType());
94 $type = new Type($typehint, $context);
96 $result = [$type->getJSONRPCType()];
97 while ($type = $type->getSubType()) {
98 $result[] = $type->getJSONRPCType();
/dokuwiki/inc/Remote/Response/
H A DLink.php8 public $type; variable in dokuwiki\\Remote\\Response\\Link
15 * @param string $type One of `internal`, `external` or `interwiki`
19 public function __construct($type, $page, $href) argument
21 $this->type = $type;
H A DMediaChange.php21 public $type; variable in dokuwiki\\Remote\\Response\\MediaChange
33 * @param string $type
36 public function __construct($id, $revision, $author, $ip, $summary, $type, $sizechange) argument
43 $this->type = $type;
H A DPageChange.php21 public $type; variable in dokuwiki\\Remote\\Response\\PageChange
33 * @param string $type
36 public function __construct($id, $revision, $author, $ip, $summary, $type, $sizechange) argument
43 $this->type = $type;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/
H A DPublicKey.php29 * @param string $type
33 public function toString($type, array $options = []) argument
35 $type = self::validatePlugin('Keys', $type, 'savePublicKey');
37 return $type::savePublicKey($this->prime, $this->base, $this->publicKey, $options);
H A DParameters.php26 * @param string $type
30 public function toString($type = 'PKCS1', array $options = []) argument
32 $type = self::validatePlugin('Keys', 'PKCS1', 'saveParameters');
34 return $type::saveParameters($this->prime, $this->base, $options);
H A DPrivateKey.php47 $type = self::validatePlugin('Keys', 'PKCS8', 'savePublicKey');
53 $key = $type::savePublicKey($this->prime, $this->base, $this->publicKey);
61 * @param string $type
65 public function toString($type, array $options = []) argument
67 $type = self::validatePlugin('Keys', $type, 'savePrivateKey');
73 …return $type::savePrivateKey($this->prime, $this->base, $this->privateKey, $this->publicKey, $this…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DParameters.php26 * @param string $type
30 public function toString($type = 'PKCS1', array $options = []) argument
32 $type = self::validatePlugin('Keys', 'PKCS1', 'saveParameters');
34 return $type::saveParameters($this->curve, $options);
/dokuwiki/inc/Menu/Item/
H A DEdit.php27 $this->type = 'draft';
32 $this->type = 'create';
38 $this->type = 'source';
44 $this->type = 'show';
63 if (isset($icons[$this->type])) {
64 $this->svg = DOKU_INC . 'lib/images/menu/' . $icons[$this->type];
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
H A DParameters.php26 * @param string $type
30 public function toString($type = 'PKCS1', array $options = []) argument
32 $type = self::validatePlugin('Keys', 'PKCS1', 'saveParameters');
34 return $type::saveParameters($this->p, $this->q, $this->g, $options);
/dokuwiki/inc/Extension/
H A DPluginController.php50 public function getList($type = '', $all = false) argument
54 if (!$type) {
58 if (!isset($this->listByType[$type]['enabled'])) {
59 $this->listByType[$type]['enabled'] = $this->getListByType($type, true);
61 if ($all && !isset($this->listByType[$type]['disabled'])) {
62 $this->listByType[$type]['disabled'] = $this->getListByType($type, false);
66 ? array_merge($this->listByType[$type]['enabled'], $this->listByType[$type]['disabled'])
67 : $this->listByType[$type]['enabled'];
81 public function load($type, $name, $new = false, $disabled = false) argument
94 $class = $type . '_plugin_' . $name;
[all …]
/dokuwiki/inc/
H A Dsearch.php106 * @param string $type
112 function search_qsearch(&$data, $base, $file, $type, $lvl, $opts) argument
119 return search_universal($data, $base, $file, $type, $lvl, $opts);
132 * @param string $type
138 function search_index(&$data, $base, $file, $type, $lvl, $opts) argument
151 return search_universal($data, $base, $file, $type, $lvl, $opts);
162 * @param string $type
168 function search_namespaces(&$data, $base, $file, $type, $lvl, $opts) argument
171 return search_universal($data, $base, $file, $type, $lvl, $opts);
187 * @param string $type
[all …]
/dokuwiki/lib/plugins/extension/
H A DExtension.php41 protected string $type = self::TYPE_PLUGIN; variable in dokuwiki\\plugin\\extension\\Extension
82 [$type, $base] = $this->idToTypeBase($id);
83 $this->type = $type;
95 * @param string|null $type TYPE_PLUGIN|TYPE_TEMPLATE, null for auto-detection
99 public static function createFromDirectory($dir, $type = null, $base = null) argument
102 $extension->initFromDirectory($dir, $type, $base);
106 protected function initFromDirectory($dir, $type = null, $base = null) argument
111 if ($type === null || $type === self::TYPE_TEMPLATE) {
119 $this->type = self::TYPE_TEMPLATE;
122 $this->type = self::TYPE_PLUGIN;
[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/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DAsymmetricKey.php96 * @param string $type
99 abstract public function toString($type, array $options = []); argument
223 * @param string $type
228 public static function loadFormat($type, $key, $password = false) argument
233 $format = strtolower($type);
257 * @param string $type
261 public static function loadPrivateKeyFormat($type, $key, $password = false) argument
263 $key = self::loadFormat($type, $key, $password);
274 * @param string $type
277 public static function loadPublicKeyFormat($type, $key) argument
[all …]
/dokuwiki/inc/Ui/
H A DAdmin.php47 * @param string $type admin|manager|other
49 protected function showMenu($type) argument
51 if (!$this->menu[$type]) return;
53 if ($type === 'other') {
61 foreach ($this->menu[$type] as $item) {
143 $type = 'admin';
145 $type = 'manager';
147 $type = 'other';
150 $menu[$type][$p] = [

1234567