Lines Matching refs:days
103 $days = (int) $this->getBlockSetting($block_id, 'days', self::DEFAULT_DAYS);
113 $rows = $this->getRecentChangesFromDatabase($tree, $days);
115 $rows = $this->getRecentChangesFromGenealogy($tree, $days);
137 … last %s day.', 'There have been no changes within the last %s days.', $days, I18N::number($days));
163 …N::plural('Changes in the last %s day', 'Changes in the last %s days', $days, I18N::number($days)),
213 $days = Validator::parsedBody($request)->integer('days');
220 $this->setBlockSetting($block_id, 'days', (string) $days);
238 $days = (int) $this->getBlockSetting($block_id, 'days', self::DEFAULT_DAYS);
269 'days' => $days,
286 * @param int $days Number of days
290 private function getRecentChangesFromDatabase(Tree $tree, int $days): Collection argument
296 …->where('change_time', '>', Registry::timestampFactory()->now()->subtractDays($days)->toDateTimeSt…
318 * @param int $days Number of days
322 private function getRecentChangesFromGenealogy(Tree $tree, int $days): Collection argument
324 $julian_day = Registry::timestampFactory()->now()->subtractDays($days)->julianDay();