Home
last modified time | relevance | path

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

123

/dokuwiki/vendor/openpsa/universalfeedcreator/lib/
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/
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]);
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 …]
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);
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/
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/
DAsymmetricKey.php49 protected $format; variable in phpseclib3\\Crypt\\Common\\AsymmetricKey
145 foreach (self::$plugins[static::ALGORITHM]['Keys'] as $format) {
146 …if (isset(self::$invisiblePlugins[static::ALGORITHM]) && in_array($format, self::$invisiblePlugins…
150 $components = $format::load($key, $password);
163 $components['format'] = $format;
167 $new->format = $format;
233 $format = strtolower($type);
234 if (isset(self::$plugins[static::ALGORITHM]['Keys'][$format])) {
235 $format = self::$plugins[static::ALGORITHM]['Keys'][$format];
236 $components = $format::load($key, $password);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/
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]) {
141 switch ($format[$i]) {
159 * @param string $format
163 public static function packSSH2($format, ...$elements) argument
165 $format = self::formatPack($format);
[all …]
/dokuwiki/lib/plugins/config/core/Setting/
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/
DDate.php44 return $this->dateTime->format(\DateTime::ATOM);
54 return (int)$this->dateTime->format('U');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
DPrivateKey.php102 $format = $this->sigFormat;
103 if ($format === false) {
236 $format = 'PKCS8';
238 $format = 'MontgomeryPublic';
241 $type = self::validatePlugin('Keys', $format, 'savePublicKey');
244 $key = EC::loadFormat($format, $key);
264 $format = $this->sigFormat;
266 $temp = new \ReflectionMethod($format, 'save');
271 case 2: return $format::save($r, $s);
272 case 3: return $format::save($r, $s, $this->getCurve());
[all …]
DPublicKey.php50 $format = $this->sigFormat;
51 if ($format === false) {
114 $params = $format::load($signature);
121 $sig = $format != 'ASN1' ? ASN1Signature::save($r, $s) : $signature;
/dokuwiki/inc/Extension/
DPluginInterface.php148 * @param string $format output format
151 public function render_text($text, $format = 'xhtml'); argument
DSyntaxPlugin.php98 * @param string $format output format being rendered
103 abstract public function render($format, Doku_Renderer $renderer, $data); argument
/dokuwiki/_test/tests/inc/
Ddifference_engine.test.php15 $actual = $diffformatter->format($diff);
47 $actual = $diffformatter->format($diff);
Dparserutils_get_renderer.test.php73 function canRender($format) { argument
74 return ($format=='xhtml');
/dokuwiki/_test/tests/inc/parser/
Dparser_i18n.test.php18 foreach ( $formats as $format ) {
19 $this->P->addMode($format,new Formatting($format));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
DPublicKey.php37 $format = $this->sigFormat;
39 $params = $format::load($signature);
46 $sig = $format != 'ASN1' ? ASN1Signature::save($r, $s) : $signature;
DPrivateKey.php80 $format = $this->sigFormat;
93 return $format::save($r, $s);
132 return $format::save($r, $s);
/dokuwiki/inc/Subscriptions/
DPageSubscriptionSender.php48 $tdiff = $dformat->format($df);
56 $hdiff = $dformat->format($df);
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
DFeedDate.php29 $this->unix = (int) (new Datetime($dateString))->format('U');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
DDSA.php319 * @param string $format
321 public function withSignatureFormat($format) argument
324 $new->shortFormat = $format;
325 $new->sigFormat = self::validatePlugin('Signature', $format);
DEC.php82 protected $format; variable in phpseclib3\\Crypt\\EC
385 * @param string $format
387 public function withSignatureFormat($format) argument
394 $new->shortFormat = $format;
395 $new->sigFormat = self::validatePlugin('Signature', $format);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
DIdentity.php232 * @param string $format
234 public function withSignatureFormat($format) argument
239 if ($format != 'SSH2') {
/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
DStrings.php51 public function format(array $args) : array function in LesserPHP\\Functions\\Strings

123