Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 58) sorted by relevance

123

/dokuwiki/vendor/openpsa/universalfeedcreator/lib/
H A DUniversalFeedCreator.php17 * @param string $format
19 protected function _setFormat($format) argument
21 switch (strtoupper((string) $format)) {
24 $this->format = $format;
34 $this->format = $format;
60 $this->format = $format;
113 * @param string $format format the feed should comply to. Valid values are:
117 public function createFeed($format = "RSS0.91") argument
119 $this->_setFormat($format);
129 * @param string $format format the feed should comply to. Valid values are:
[all …]
/dokuwiki/vendor/php81_bc/strftime/src/
H A Dphp-8.1-strftime.php26 * @param string $format Date format
33 function strftime (string $format, $timestamp = null, ?string $locale = null) : string { argument
60 return sprintf('% 2u', $timestamp->format('j'));
64 return sprintf('%03d', $timestamp->format('z')+1);
72 $day = new DateTime(sprintf('%d-01 Sunday', $timestamp->format('Y')));
73 return sprintf('%02u', 1 + ($timestamp->format('z') - $day->format('z')) / 7);
78 $day = new DateTime(sprintf('%d-01 Monday', $timestamp->format('Y')));
79 return sprintf('%02u', 1 + ($timestamp->format('z') - $day->format('z')) / 7);
91 return floor($timestamp->format('Y') / 100);
94 return substr($timestamp->format('o'), -2);
[all …]
H A DDateLocaleFormatter.php27 public function __invoke(DateTimeInterface $timestamp, string $format) argument
29 if (!isset($this->formats[$format])) {
30 throw new \RuntimeException("'$format' is not a supported locale placeholder");
35 return $timestamp->format($this->formats[$format]);
H A DIntlLocaleFormatter.php25 public function __invoke(DateTimeInterface $timestamp, string $format) argument
32 switch ($format) {
54 if (!isset($this->formats[$format])) {
55 throw new \RuntimeException("'$format' is not a supported locale placeholder");
57 $pattern = $this->formats[$format];
73 …ateFormatter($this->locale, $date_type, $time_type, $tz, $calendar, $pattern))->format($timestamp);
H A DAbstractLocaleFormatter.php25 * @param string $format The strftime compatible, locale dependend placeholder
29 abstract public function __invoke(DateTimeInterface $timestamp, string $format); argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS.php42 protected static $format = self::MODE_ANY; variable in phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS
50 self::$format = self::MODE_PEM;
59 self::$format = self::MODE_DER;
70 self::$format = self::MODE_ANY;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DAsymmetricKey.php49 protected $format; variable in phpseclib3\\Crypt\\Common\\AsymmetricKey
150 foreach (self::$plugins[static::ALGORITHM]['Keys'] as $format) {
151 …if (isset(self::$invisiblePlugins[static::ALGORITHM]) && in_array($format, self::$invisiblePlugins…
155 $components = $format::load($key, $password);
168 $components['format'] = $format;
172 $new->format = $format;
238 $format = strtolower($type);
239 if (isset(self::$plugins[static::ALGORITHM]['Keys'][$format])) {
240 $format = self::$plugins[static::ALGORITHM]['Keys'][$format];
241 $components = $format::load($key, $password);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/
H A DStrings.php78 * @param string $format
82 public static function unpackSSH2($format, &$data) argument
84 $format = self::formatPack($format);
86 for ($i = 0; $i < strlen($format); $i++) {
87 switch ($format[$i]) {
111 switch ($format[$i]) {
143 switch ($format[$i]) {
161 * @param string $format
165 public static function packSSH2($format, ...$elements) argument
167 $format = self::formatPack($format);
[all …]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingRenderer.php17 protected $format; variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingRenderer
22 $format = $this->format;
26 … if ($renderer && method_exists($renderer, 'canRender') && $renderer->canRender($format)) {
/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/
H A DDate.php44 return $this->dateTime->format(\DateTime::ATOM);
54 return (int)$this->dateTime->format('U');
/dokuwiki/inc/Extension/
H A DPluginInterface.php148 * @param string $format output format
151 public function render_text($text, $format = 'xhtml'); argument
H A DSyntaxPlugin.php99 * @param string $format output format being rendered
104 abstract public function render($format, Doku_Renderer $renderer, $data); argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php119 $format = $this->sigFormat;
120 if ($format === false) {
312 $format = 'PKCS8';
314 $format = 'MontgomeryPublic';
317 $type = self::validatePlugin('Keys', $format, 'savePublicKey');
320 $key = EC::loadFormat($format, $key);
340 $format = $this->sigFormat;
342 $temp = new \ReflectionMethod($format, 'save');
347 case 2: return $format::save($r, $s);
348 case 3: return $format::save($r, $s, $this->getCurve());
[all …]
H A DPublicKey.php51 $format = $this->sigFormat;
52 if ($format === false) {
160 $params = $format::load($signature);
175 $sig = $format != 'ASN1' ? ASN1Signature::save($r, $s) : $signature;
/dokuwiki/_test/tests/inc/
H A Ddifference_engine.test.php15 $actual = $diffformatter->format($diff);
47 $actual = $diffformatter->format($diff);
H A Dparserutils_get_renderer.test.php73 function canRender($format) { argument
74 return ($format=='xhtml');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
H A DPublicKey.php46 $format = $this->sigFormat;
48 $params = $format::load($signature);
57 $sig = $format != 'ASN1' ? ASN1Signature::save($r, $s) : $signature;
H A DPrivateKey.php81 $format = $this->sigFormat;
105 return $format::save($r, $s);
149 return $format::save($r, $s);
/dokuwiki/inc/Subscriptions/
H A DPageSubscriptionSender.php48 $tdiff = $dformat->format($df);
56 $hdiff = $dformat->format($df);
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
H A DFeedDate.php29 $this->unix = (int) (new Datetime($dateString))->format('U');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDSA.php335 * @param string $format
337 public function withSignatureFormat($format) argument
340 $new->shortFormat = $format;
341 $new->sigFormat = self::validatePlugin('Signature', $format);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php232 * @param string $format
234 public function withSignatureFormat($format) argument
239 if ($format != 'SSH2') {
/dokuwiki/inc/
H A Dparserutils.php135 * @param string $format
142 function p_cached_output($file, $format = 'xhtml', $id = '') argument
146 $cache = new CacheRenderer($id, $file, $format);
149 if ($conf['allowdebug'] && $format == 'xhtml') {
153 $parsed = p_render($format, p_cached_instructions($file, false, $id), $info);
156 if ($conf['allowdebug'] && $format == 'xhtml') {
161 if ($conf['allowdebug'] && $format == 'xhtml') {
/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
H A DStrings.php51 public function format(array $args) : array function in LesserPHP\\Functions\\Strings
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php503 * @param int $format optional
506 public function saveX509(array $cert, $format = self::FORMAT_PEM) argument
555 switch ($format) {
1815 * @param mixed $format optional
1819 public function getDN($format = self::DN_ARRAY, $dn = null) argument
1825 switch ((int) $format) {
1951 return $format == self::DN_OPENSSL ? $result : $output;
1957 * @param int $format optional
1960 public function getIssuerDN($format = self::DN_ARRAY) argument
1966 return $this->getDN($format, $this->currentCert['tbsCertificate']['issuer']);
[all …]

123