Lines Matching defs:in
72 * @param $in
76 function blank(&$in, $trim = false)
78 if (is_null($in)) return true;
79 if (is_array($in)) return $in === [];
80 if ($in === "\0") return true;
81 if ($trim && trim($in) === '') return true;
82 if (strlen($in) > 0) return false;
83 return empty($in);
116 // CSRF checks are only for logged in users - do not generate for anonymous
131 if (!$INPUT->server->str('REMOTE_USER')) return true; // no logged in user, no need for a check
274 // cache most recent changelog line in metadata if missing and still valid
293 // Use $INFO['meta']['last_change']['type']===DOKU_CHANGE_TYPE_MINOR_EDIT in place of $info['minor'].
715 * [user] - username (if logged in)
716 * [mail] - mail address (if logged in)
717 * [name] - real name (if logged in)
750 // read file in chunks of 200 - this should work around the
751 // MAX_PATTERN_SIZE in modern PCRE
787 * a routable public address, prefering the ones suplied in the X
831 // this case all ips in the list are trusted
1016 // but might actually fix the problem in many cases
1023 * Prepares text for print in Webforms by encoding special chars.
1040 * Returns the specified local text in raw format
1203 * Returns the raw Wiki Text in three slices.
1206 * and gives the range of the section in bytes - no
1210 * @param string $range in form "from-to"
1242 * @param string $text text in the middle
1270 * Checks if the current page version is newer than the last entry in the page's
1275 * wiki, triggered in @param string $id the page ID
1511 * @param int $int_date current date in UNIX timestamp
1527 * return an obfuscated email address in line with $conf['mailguard'] setting
1611 * You can give the string in two parts, the first part $keep
1613 * in the middle to shorten but only if at least $min chars are
1638 * in page footer and recent changes pages
1640 * @param string|null $username or null when currently logged-in user should be used
1654 * @param string|null $username or null when currently logged-in user should be used
1806 * @param int $mem Size of memory you want to allocate in bytes
1853 //are there any undisplayed messages? keep them in session for display
1892 * This function checks whether a specified value is set and in the array