Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 158) 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.php117 $type = $this->typehint;
118 if (!str_ends_with($type, '[]')) {
121 $type = substr($type, 0, -2);
122 return new Type($type, $this->context);
132 $type = $this->typehint;
135 if (in_array($type, ['date', 'file', 'struct'])) {
136 return $type;
139 $type = $this->getBaseType($this->typehint);
142 if (in_array($type, ['int', 'string', 'double', 'bool', 'array'])) {
143 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.php145 * @param string $type See {@see $default} for names
150 public function register($type, $class, $legacy = false) argument
152 if (array_key_exists($type, $this->legacyTypes)) {
155 $type = $this->legacyTypes[$type];
158 if (!array_key_exists($type, $this->default)) {
167 $base_class = $this->default[$type];
173 $this->classes[$type] = $class;
191 public function get_class($type) argument
193 if (array_key_exists($type, $this->legacyTypes)) {
196 $type = $this->legacyTypes[$type];
[all …]
H A DCache.php93 $type = explode(':', $location, 2);
94 $type = $type[0];
95 if (!empty(self::$handlers[$type])) {
96 $class = self::$handlers[$type];
118 * @param string $type DSN type to register for
121 public static function register($type, $class) argument
123 self::$handlers[$type] = $class;
H A DRestriction.php73 public $type; variable in SimplePie\\Restriction
89 public function __construct($relationship = null, $type = null, $value = null) argument
92 $this->type = $type;
128 if ($this->type !== null) {
129 return $this->type;
H A DCategory.php92 public $type; variable in SimplePie\\Category
100 * @param string|null $type
102 public function __construct($term = null, $scheme = null, $label = null, $type = null) argument
107 $this->type = $type;
162 return $this->type;
H A DEnclosure.php213 public $type; variable in SimplePie\\Enclosure
229 …public function __construct($link = null, $type = null, $length = null, $javascript = null, $bitra… argument
254 $this->type = $type;
785 if ($this->type !== null) {
786 return $this->type;
878 $type = $this->get_real_type();
936 $mime = explode('/', $type, 2);
988 …t_link() . "\" pluginspage=\"http://adobe.com/go/getflashplayer\" type=\"$type\" quality=\"high\" …
990 …d_flash('$bgcolor', '$width', '$height', '" . $this->get_link() . "', '$loop', '$type');</script>";
1011 …$embed .= "<embed type=\"$type\" style=\"cursor:hand; cursor:pointer;\" href=\"" . $this->get_link…
[all …]
H A DCaption.php65 public $type; variable in SimplePie\\Caption
105 …public function __construct($type = null, $lang = null, $startTime = null, $endTime = null, $text … argument
107 $this->type = $type;
189 if ($this->type !== null) {
190 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 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;
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;
/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/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/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/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/lib/plugins/extension/
H A DExtension.php29 protected string $type = self::TYPE_PLUGIN; variable in dokuwiki\\plugin\\extension\\Extension
70 [$type, $base] = $this->idToTypeBase($id);
71 $this->type = $type;
83 * @param string|null $type TYPE_PLUGIN|TYPE_TEMPLATE, null for auto-detection
87 public static function createFromDirectory($dir, $type = null, $base = null) argument
90 $extension->initFromDirectory($dir, $type, $base);
94 protected function initFromDirectory($dir, $type = null, $base = null) argument
99 if ($type === null || $type === self::TYPE_TEMPLATE) {
107 $this->type = self::TYPE_TEMPLATE;
110 $this->type = self::TYPE_PLUGIN;
[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/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] = [
/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 …]

1234567