Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 63) sorted by relevance

123

/dokuwiki/vendor/splitbrain/php-cli/src/
H A DColors.php36 self::C_RESET => "\33[0m",
37 self::C_BLACK => "\33[0;30m",
38 self::C_DARKGRAY => "\33[1;30m",
39 self::C_BLUE => "\33[0;34m",
41 self::C_GREEN => "\33[0;32m",
43 self::C_CYAN => "\33[0;36m",
45 self::C_RED => "\33[0;31m",
47 self::C_PURPLE => "\33[0;35m",
49 self::C_BROWN => "\33[0;33m",
50 self::C_YELLOW => "\33[1;33m",
[all …]
/dokuwiki/inc/
H A DSafeFN.class.php48 return self::unicodeToSafe(\dokuwiki\Utf8\Unicode::fromUtf8($filename));
77 return \dokuwiki\Utf8\Unicode::toUtf8(self::safeToUnicode(strtolower($filename)));
85 … return !preg_match('#[^'.self::$plain.self::$post_indicator.self::$pre_indicator.']#',$safe);
102 … if ($codepoint < 127 && (strpos(self::$plain.self::$post_indicator,chr($codepoint))!==false)) {
104 $safe .= self::$post_indicator;
109 } else if ($codepoint == ord(self::$pre_indicator)) {
110 $safe .= self::$pre_indicator;
113 $safe .= self::$pre_indicator.base_convert((string)($codepoint-32),10,36);
117 if($converted) $safe .= self::$post_indicator;
132 …$split = preg_split('#(?=['.self::$post_indicator.self::$pre_indicator.'])#',$safe,-1,PREG_SPLIT_N…
[all …]
H A DLogger.php41 static public function getInstance($facility = self::LOG_ERROR)
43 if (empty(self::$instances[$facility])) {
44 self::$instances[$facility] = new Logger($facility);
46 return self::$instances[$facility];
60 return self::getInstance(self::LOG_ERROR)->log(
76 return self::getInstance(self::LOG_DEBUG)->log(
92 return self::getInstance(self::LOG_DEPRECATED)->log(
H A DErrorHandler.php34 $plugin = self::guessPlugin($e);
38 $logged = self::logException($e)
67 if (self::logException($e)) $msg .= '<br />More info is available in the error log.';
89 self::fatalException(
/dokuwiki/vendor/composer/
H A DInstalledVersions.php144 foreach (self::getInstalled() as $installed) {
166 foreach (self::getInstalled() as $installed) {
207 foreach (self::getInstalled() as $installed) {
238 foreach (self::getInstalled() as $installed) {
301 $installed = self::getInstalled();
314 return self::$installed;
337 self::$installed = $data;
338 self::$installedByVendor = array();
346 if (null === self::$canGetVendors) {
352 if (self::$canGetVendors) {
[all …]
H A Dautoload_real.php21 if (null !== self::$loader) {
22 return self::$loader;
28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php304 case self::CLASS_PRIVATE:
352 case self::TYPE_BOOLEAN:
359 case self::TYPE_INTEGER:
419 case self::TYPE_NULL:
426 case self::TYPE_SET:
656 case self::TYPE_SET:
778 case self::TYPE_NULL:
931 case self::TYPE_CHOICE:
1041 case self::TYPE_ANY:
1078 case self::TYPE_NULL:
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDES.php104 self::MODE_ECB => 'des-ecb',
105 self::MODE_CBC => 'des-cbc',
106 self::MODE_CFB => 'des-cfb',
107 self::MODE_OFB => 'des-ofb'
1233 self::ENCRYPT => array(),
1266 $keys[2][self::ENCRYPT]
1278 self::ENCRYPT => $keys[0][self::ENCRYPT],
1279 self::DECRYPT => $keys[0][self::DECRYPT]
1343 self::ENCRYPT => $this->keys[self::ENCRYPT],
1344 self::DECRYPT => $this->keys[self::DECRYPT]
[all …]
H A DBase.php480 case self::MODE_ECB:
484 case self::MODE_CTR:
485 case self::MODE_CFB:
486 case self::MODE_CFB8:
487 case self::MODE_OFB:
491 case self::MODE_CBC:
875 case self::MODE_ECB:
880 case self::MODE_CBC:
892 case self::MODE_CTR:
919 case self::MODE_CFB:
[all …]
H A DRSA.php1017 case self::PUBLIC_FORMAT_RAW:
1019 case self::PUBLIC_FORMAT_XML:
1047 self::ASN1_SEQUENCE,
1096 case self::PUBLIC_FORMAT_RAW:
1702 self::PUBLIC_FORMAT_RAW,
1817 self::PUBLIC_FORMAT_RAW,
1819 self::PUBLIC_FORMAT_XML,
3115 case self::ENCRYPTION_NONE:
3170 case self::ENCRYPTION_NONE:
3207 case self::SIGNATURE_PKCS1:
[all …]
H A DHash.php215 case self::MODE_MHASH:
218 case self::MODE_HASH:
221 case self::MODE_INTERNAL:
295 self::MODE_HASH : self::MODE_INTERNAL;
299 … $this->engine = CRYPT_HASH_MODE == self::MODE_MHASH ? self::MODE_INTERNAL : CRYPT_HASH_MODE;
306 case self::MODE_MHASH:
320 case self::MODE_HASH:
375 case self::MODE_MHASH:
378 case self::MODE_HASH:
392 case self::MODE_MHASH:
[all …]
/dokuwiki/inc/Utf8/
H A DSort.php43 if (!self::$useIntl || !class_exists('\Collator')) {
48 if (!isset(self::$collators[$lc])) {
55 self::$collators[$lc] = $collator;
58 return self::$collators[$lc];
71 self::$useIntl = $use;
86 $collator = self::getCollator();
105 $collator = self::getCollator();
124 $collator = self::getCollator();
143 $collator = self::getCollator();
164 $collator = self::getCollator();
H A DAsian.php68 return (bool)preg_match('/' . self::REGEXP . '/u', $term);
81 $asia = @preg_replace('/(' . self::REGEXP . ')/u', $sep . '\1' . $sep, $text);
97 …return preg_split('/(' . self::REGEXP . '+)/u', $term, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_N…
H A DPhpString.php121 $strlen = self::strlen($str); // see notes
142 if (!isset($strlen)) $strlen = self::strlen($str); // see notes
193 if ($start > 0) $ret .= self::substr($string, 0, $start);
195 $ret .= self::substr($string, $start + $length);
254 return self::ltrim(self::rtrim($str, $charlist), $charlist);
311 switch (self::strlen($str)) {
315 return self::strtoupper($str);
318 return self::strtoupper($matches[1]) . $matches[2];
343 $ucfirst = self::strtoupper($matches[3]);
344 $ucword = self::substr_replace(ltrim($matches[0]), $ucfirst, 0, 1);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php318 self::CIPHER_RC4 => 'RC4',
684 case self::CIPHER_DES:
690 case self::CIPHER_3DES:
1164 self::RESPONSE_TYPE => $type,
1165 self::RESPONSE_DATA => $data
1420 case self::LOG_SIMPLE:
1423 case self::LOG_COMPLEX:
1595 case self::LOG_SIMPLE:
1599 case self::LOG_COMPLEX:
1612 case self::LOG_REALTIME:
[all …]
H A DSCP.php109 $this->mode = self::MODE_SSH2;
112 $this->mode = self::MODE_SSH1;
161 if ($this->mode == self::MODE_SSH2) {
167 if ($mode == self::SOURCE_STRING) {
201 if ($mode != self::SOURCE_STRING) {
279 case self::MODE_SSH2:
282 case self::MODE_SSH1:
297 case self::MODE_SSH2:
299 case self::MODE_SSH1:
335 case self::MODE_SSH2:
[all …]
H A DSSH2.php2759 self::CHANNEL_EXEC,
2900 self::CHANNEL_SHELL,
2985 $channel = self::CHANNEL_EXEC;
3024 if ($mode == self::READ_NEXT) {
3094 self::CHANNEL_SUBSYSTEM,
3250 self::CHANNEL_KEEP_ALIVE,
4045 case self::LOG_SIMPLE:
4049 case self::LOG_COMPLEX:
4061 case self::LOG_REALTIME:
4269 case self::LOG_SIMPLE:
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php310 if (empty(self::$base) && MATH_BIGINTEGER_MODE == self::MODE_INTERNAL) {
1290 $z1 = $this->_karatsuba($z1[self::VALUE], $temp[self::VALUE]);
1295 $z1[self::VALUE] = array_merge(array_fill(0, $m, 0), $z1[self::VALUE]);
1297 $xy = $this->_add($z2, false, $z1[self::VALUE], $z1[self::SIGN]);
1298 $xy = $this->_add($xy[self::VALUE], $xy[self::SIGN], $z0, false);
1387 $z1[self::VALUE] = array_merge(array_fill(0, $m, 0), $z1[self::VALUE]);
1389 $xx = $this->_add($z2, false, $z1[self::VALUE], $z1[self::SIGN]);
1390 $xx = $this->_add($xx[self::VALUE], $xx[self::SIGN], $z0, false);
2299 $temp = $result[self::VALUE][$i] * $cache[self::DATA][$key];
2306 $result[self::VALUE] = array_slice($result[self::VALUE], $k);
[all …]
/dokuwiki/inc/Debug/
H A DDebugHelper.php40 list($self, $call) = $backtrace;
44 (!empty($self['class']) ? ($self['class'] . '::') : '') .
45 $self['function'] . '()', ':');
48 self::triggerDeprecationEvent(
75 …if (!$conf['allowdebug'] && !$EVENT_HANDLER->hasHandlerForEvent(self::INFO_DEPRECATION_LOG_EVENT))…
85 self::triggerDeprecationEvent(
119 …if (!$conf['allowdebug'] && !$EVENT_HANDLER->hasHandlerForEvent(self::INFO_DEPRECATION_LOG_EVENT))…
126 self::triggerDeprecationEvent(
161 $event = new Doku_Event(self::INFO_DEPRECATION_LOG_EVENT, $data);
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DCache.php87 if (!empty(self::$handlers[$type]))
89 $class = self::$handlers[$type];
104 return self::get_handler($location, $filename, $extension);
115 self::$handlers[$type] = $class;
/dokuwiki/lib/scripts/
H A Dfileuploaderextended.js3 var self = this,
26 self._onCancel(id, fileName);
30 self._onUpload();
142 var self = this,
250 var self = this;
252 self.log('iframe loaded');
257 self._dequeue(id);
259 delete self._inputs[id];
308 var self = this;
312 self._loaded[id] = e.loaded;
[all …]
H A Dfileuploader.js305 var self = this;
316 var self = this,
346 var self = this;
553 var self = this,
650 var self = this,
701 var self = this;
825 var self = this;
831 qq.addClass(self._element, self._options.hoverClass);
834 qq.removeClass(self._element, self._options.hoverClass);
837 qq.addClass(self._element, self._options.focusClass);
[all …]
/dokuwiki/vendor/aziraphale/email-address-validator/
H A DEmailAddressValidator.php36 if (!self::checkTextLength($emailAddress, 3, 256)) {
65 if (!self::checkLocalPortion($emailAddressParts[0])) {
70 if (!self::checkDomainPortion($emailAddressParts[1], $allowLocal)) {
88 if (!self::checkTextLength($localPortion, 1, 64)) {
119 if (!self::checkTextLength($domainPortion, 1, 255)) {
153 if (!self::checkTextLength($domainPortionParts[$i], 1, 63)) {
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Net/
H A DIPv6.php149 $ip = self::uncompress($ip);
150 $ip_parts = self::split_v6_v4($ip);
215 $ip = self::uncompress($ip);
216 list($ipv6, $ipv4) = self::split_v6_v4($ip);
267 return self::check_ipv6($ip);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/
H A DAgent.php96 var $forward_status = self::FORWARD_NONE;
157 $packet = pack('NC', 1, self::SSH_AGENTC_REQUEST_IDENTITIES);
170 if ($type != self::SSH_AGENT_IDENTITIES_ANSWER) {
243 if ($this->forward_status == self::FORWARD_NONE) {
244 $this->forward_status = self::FORWARD_REQUEST;
283 $this->forward_status = self::FORWARD_ACTIVE;
300 if ($this->forward_status == self::FORWARD_REQUEST) {

123