Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 67) sorted by relevance

123

/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/
H A DDate.php16 public function __construct($time) argument
18 // $time can be a PHP timestamp or an ISO one
19 if (is_numeric($time)) {
20 $this->parseTimestamp($time);
22 $this->parseIso($time);
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/
H A Dconstants.php4 define("TIME_ZONE", date("O", time()));
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DBaseDataCache.php93 // ignore data if internal cache expiration time is not set
98 // ignore data if internal cache expiration time is expired
99 if ($data['__cache_expiration_time'] < time()) {
103 // remove internal cache expiration time
110 * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.
134 // place internal cache expiration time
135 $value['__cache_expiration_time'] = time() + $ttl;
H A DMySQL.php181 $sql = 'UPDATE `' . $this->options['extras']['prefix'] . 'cache_data` SET `items` = :items, `data` = :data, `mtime` = :time WHERE `id` = :feed';
185 $sql = 'UPDATE `' . $this->options['extras']['prefix'] . 'cache_data` SET `data` = :data, `mtime` = :time WHERE `id` = :feed';
190 $query->bindValue(':time', time());
196 $query = $this->mysql->prepare('INSERT INTO `' . $this->options['extras']['prefix'] . 'cache_data` (`id`, `items`, `data`, `mtime`) VALUES(:feed, :count, :data, :time)');
200 $query->bindValue(':time', time());
225 $date = time();
248 $query = $this->mysql->prepare('UPDATE `' . $this->options['extras']['prefix'] . 'cache_data` SET `items` = 0, `data` = :data, `mtime` = :time WHERE `id` = :feed');
250 $query->bindValue(':time', tim
[all...]
H A DMemcache.php142 * Retrieve the last modified time for the cache
152 return time();
159 * Set the last modified time to the current time
H A DMemcached.php138 * Retrieve the last modified time for the cache
148 * Set the last modified time to the current time
167 * Set the last modified time and data to NativeMemcached
173 $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']);
H A DRedis.php163 * Retrieve the last modified time for the cache
172 return time();
179 * Set the last modified time to the current time
/dokuwiki/inc/Action/
H A DLocked.php45 $min = round(($conf['locktime'] - (time() - $locktime)) / 60);
/dokuwiki/lib/plugins/styling/
H A Daction.php50 $event->data['link'][$i]['href'] .= '&preview=1&tseed=' . time();
/dokuwiki/lib/plugins/popularity/lang/en/
H A Dintro.txt5 You are encouraged to repeat this step from time to time, or even better to opt for an automated monthly dispatch, to keep developers informed when your wiki grows. Your repeated data sets will be identified by an anonymous ID.
/dokuwiki/lib/plugins/popularity/
H A Daction.php52 //Update the last time we sent data
61 * Check if it's time to send autosubmit data
67 return $lastSubmit + 24 * 60 * 60 * 30 > time();
/dokuwiki/inc/Subscriptions/
H A DBulkSubscriptionSender.php54 if ($lastupdate + $conf['subscribe_time'] > time()) {
55 // Less than the configured time period passed since last
118 // Update notification time.
119 $subscriberManager->add($target, $user, $style, time());
133 * We don't use io_lock() her because we do not wait for the lock and use a larger stale time
147 if (is_dir($lock) && time() - @filemtime($lock) > 60 * 5) {
/dokuwiki/inc/
H A Dfetch.functions.php23 * @param int $cache remaining cache time in seconds (-1 for $conf['cache'], 0 for no-cache)
44 $expires = time() + $maxage;
46 $maxage = $cache; // given time
47 $expires = time() + $maxage;
H A DLogger.php126 $datetime = time();
216 if (!$date) $date = time();
H A DTaskRunner.php112 (@filemtime($fn . '.trimmed') + 86400) < time() &&
126 $trim_time = time() - $conf['recent_days'] * 86400;
H A Dchangelog.php73 if (!$date) $date = time(); //use current time if none supplied
131 if (!$date) $date = time(); //use current time if none supplied
252 * returns an array of files changed since a given time using the
H A Dauth.php308 ($session['time'] >= time() - $conf['auth_security_timeout']) &&
503 'expires' => time() - 600000,
1109 $_SESSION[DOKU_COOKIE]['auth']['time'] = 0;
1203 if ((time() - filemtime($tfile)) > (3 * 60 * 60 * 24)) {
1356 $time = $sticky ? (time() + 60 * 60 * 24 * 365) : 0; //one year
1358 'expires' => $time,
1370 $_SESSION[DOKU_COOKIE]['auth']['time'] = time();
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php61 $time = '';
66 $time .= $hours.':';
78 $time .= $minutes.':';
79 $time .= $seconds;
81 return $time;
2047 header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 604800) . ' GMT'); // 7 days
2077 * Uses the git index if it exists, otherwise uses the modification time
2092 $time = 0;
2094 if (($mtime = filemtime($file)) > $time) {
2095 $time
[all...]
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php201 time(),
322 $time = $fileinfo->getMtime();
326 $time,
386 $time,
426 $time = $fileinfo->getMtime();
430 $time,
448 $time,
847 * @param $time
850 protected function makeDosTime($time) argument
852 $timearray = getdate($time);
[all...]
/dokuwiki/inc/Remote/
H A DApiCore.php73 'doc' => 'Returns the current time at the remote wiki server as Unix timestamp.'
234 return time();
506 $time = @filemtime($file);
507 if (!$time) {
514 $rev = $time;
963 $time = @filemtime($file);
967 if ($time) {
969 $info = $pagelog->getRevisionInfo($rev ?: $time);
/dokuwiki/inc/Sitemap/
H A DMapper.php51 @filemtime($sitemap) > (time() - ($conf['sitemap'] * 86400))
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DAtomCreator03.php67 $this->items[$i]->date = time();
H A DFeedCreator.php201 // maybe use this in addition to file time checking
202 //header("Expires: ".date("r",time()+$this->_timeout));
226 * before anything else, especially before you do the time consuming task to build the feed
242 if (file_exists($filename) AND (time() - filemtime($filename) < $timeout)) {
/dokuwiki/inc/File/
H A DPageFile.php212 // update the purgefile (timestamp of the last time anything within the wiki was changed)
213 io_saveFile($conf['cachedir'] . '/purgefile', time());
235 // try to change file modification time
252 if ($revInfo['date'] == time()) sleep(1); // wait a tick
/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
H A DIntrospectionServer.php148 $return[] = new Date(time());

123