Common.php
system/Common.php
44 fn
app_timezone
()
cache
(?string $key = null)
clean_path
(string $path)
command
(string $command)
config
(string $name, bool $getShared = true)
cookie
(string $name, string $value = '', array $options = [])
cookies
(array $cookies = [], bool $getGlobal = true)
csrf_token
()
csrf_header
()
csrf_hash
()
csrf_field
(?string $id = null)
csrf_meta
(?string $id = null)
csp_style_nonce
()
csp_script_nonce
()
db_connect
($db = null, bool $getShared = true)
env
(string $key, $default = null)
esc
($data, string $context = 'html', ?string $encoding = null)
force_https
(int $duration = 31_536_000, ?RequestInterface $request = null, ?ResponseInterface $response = null, )
function_usable
(string $functionName)
helper
($filenames)
is_cli
()
is_really_writable
(string $file)
is_windows
(?bool $mock = null)
lang
(string $line, array $args = [], ?string $locale = null)
log_message
(string $level, string $message, array $context = [])
model
(string $name, bool $getShared = true, ?ConnectionInterface &$conn = null)
old
(string $key, $default = null, $escape = 'html')
redirect
(?string $route = null)
_solidus
(?DocTypes $docTypesConfig = null)
remove_invisible_characters
(string $str, bool $urlEncoded = true)
request
()
response
()
route_to
(string $method, ...$params)
session
(?string $val = null)
service
(string $name, ...$params)
single_service
(string $name, ...$params)
slash_item
(string $item)
stringify_attributes
($attributes, bool $js = false)
timer
(?string $name = null, ?callable $callable = null)
view
(string $name, array $data = [], array $options = [])
view_cell
(string $library, $params = null, int $ttl = 0, ?string $cacheName = null)
class_basename
($class)
class_uses_recursive
($class)
trait_uses_recursive
($trait)