Lines Matching refs:flags

48  * @param array  $flags     Additional flags in a key value array.
57 function addLogEntry($date, $id, $type=DOKU_CHANGE_TYPE_EDIT, $summary='', $extra='', $flags=null, … argument
63 if (!is_array($flags)) { $flags = array(); }
64 $flagExternalEdit = isset($flags['ExternalEdit']);
144 * @param array $flags Additional flags in a key value array.
155 $flags=null, argument
208 * @param int $flags see above
214 function getRecents($first,$num,$ns='',$flags=0){ argument
223 if ($flags & RECENTS_MEDIA_CHANGES) {
235 if ($flags & RECENTS_MEDIA_PAGES_MIXED) {
246 …while ($lines_position >= 0 || (($flags & RECENTS_MEDIA_PAGES_MIXED) && $media_lines_position >=0)…
248 $rec = _handleRecent(@$lines[$lines_position], $ns, $flags, $seen);
254 … if (($flags & RECENTS_MEDIA_PAGES_MIXED) && empty($media_rec) && $media_lines_position >= 0) {
258 $flags | RECENTS_MEDIA_CHANGES,
266 if (($flags & RECENTS_MEDIA_PAGES_MIXED) && @$media_rec['date'] >= @$rec['date']) {
274 if ($flags & RECENTS_MEDIA_CHANGES) $x['media'] = true;
302 * @param int $flags see above (optional)
308 function getRecentsSince($from,$to=null,$ns='',$flags=0){ argument
316 if ($flags & RECENTS_MEDIA_CHANGES) {
330 $rec = _handleRecent($line, $ns, $flags, $seen);
356 * @param int $flags flags to control which changes are included
360 function _handleRecent($line,$ns,$flags,&$seen){ argument
371 if($recent['type']!==DOKU_CHANGE_TYPE_CREATE && ($flags & RECENTS_ONLY_CREATION)) return false;
374 … if($recent['type']===DOKU_CHANGE_TYPE_MINOR_EDIT && ($flags & RECENTS_SKIP_MINORS)) return false;
386 if (($flags & RECENTS_SKIP_SUBSPACES) && (getNS($recent['id']) != $ns)) return false;
389 if ($flags & RECENTS_MEDIA_CHANGES) {
397 if($flags & RECENTS_SKIP_DELETED){
398 $fn = (($flags & RECENTS_MEDIA_CHANGES) ? mediaFN($recent['id']) : wikiFN($recent['id']));