Lista de Classes
Propriedades e Métodos
Mostrando 44 Classes
- App\Middleware\Cors
- App\Middleware\Auth
- App\Middleware\Env
- FastSitePHP\AppMin
- FastSitePHP\Application
- FastSitePHP\Route
- FastSitePHP\Data\Database
- FastSitePHP\Data\Db2Database
- FastSitePHP\Data\OdbcDatabase
- FastSitePHP\Data\Validator
- FastSitePHP\Data\KeyValue\SqliteStorage
- FastSitePHP\Data\Log\FileLogger
- FastSitePHP\Data\Log\HtmlLogger
- FastSitePHP\Encoding\Base64Url
- FastSitePHP\Encoding\Json
- FastSitePHP\Encoding\Utf8
- FastSitePHP\Environment\DotEnv
- FastSitePHP\Environment\System
- FastSitePHP\FileSystem\Search
- FastSitePHP\FileSystem\Security
- FastSitePHP\FileSystem\Sync
- FastSitePHP\Lang\I18N
- FastSitePHP\Lang\L10N
- FastSitePHP\Lang\Time
- FastSitePHP\Media\Image
- FastSitePHP\Net\Config
- FastSitePHP\Net\Email
- FastSitePHP\Net\HttpClient
- FastSitePHP\Net\HttpResponse
- FastSitePHP\Net\IP
- FastSitePHP\Net\SmtpClient
- FastSitePHP\Security\Crypto
- FastSitePHP\Security\Password
- FastSitePHP\Security\Crypto\Encryption
- FastSitePHP\Security\Crypto\FileEncryption
- FastSitePHP\Security\Crypto\JWT
- FastSitePHP\Security\Crypto\PublicKey
- FastSitePHP\Security\Crypto\Random
- FastSitePHP\Security\Crypto\SignedData
- FastSitePHP\Security\Web\CsrfSession
- FastSitePHP\Security\Web\CsrfStateless
- FastSitePHP\Security\Web\RateLimit
- FastSitePHP\Web\Request
- FastSitePHP\Web\Response
Mostrando 44 Classes
App\Middleware\Auth
Métodos
- Auth->hasAccess(Application $app)
- Auth->login(Application $app, $lang)
- Auth->logout(Application $app, $lang = null)
- Auth->addUser(Application $app, $login, $password)
- Auth->updateUser(Application $app, $login, $new_password)
- Auth->deleteUser(Application $app, $login)
- Auth->validateDbUser($app, $login, $password)
- Auth->validateLdapUser($login, $password)
App\Middleware\Env
Métodos
FastSitePHP\AppMin
Propriedades
- AppMin->status_code
- AppMin->headers
- AppMin->cors_headers
- AppMin->no_cache
- AppMin->template_dir
- AppMin->error_template
- AppMin->not_found_template
- AppMin->show_detailed_errors
- AppMin->error_page_title
- AppMin->error_page_message
- AppMin->not_found_page_title
- AppMin->not_found_page_message
- AppMin->method_not_allowed_title
- AppMin->method_not_allowed_message
- AppMin->strict_url_mode
Métodos
- AppMin->setup($timezone)
- AppMin->exceptionHandler($e)
- AppMin->errorHandler($severity, $message, $file, $line)
- AppMin->shutdown()
- AppMin->escape($text)
- AppMin->render($templates, $data = null)
- AppMin->route($pattern, \Closure $callback, $method = null)
- AppMin->get($pattern, \Closure $callback)
- AppMin->post($pattern, \Closure $callback)
- AppMin->routes()
- AppMin->redirect($url, $status_code = 302)
- AppMin->requestedPath()
- AppMin->rootUrl()
- AppMin->rootDir()
- AppMin->routeMatches($pattern, $path)
- AppMin->run()
FastSitePHP\Application
Propriedades
- Application->template_dir
- Application->header_templates
- Application->footer_templates
- Application->error_template
- Application->not_found_template
- Application->show_detailed_errors
- Application->error_page_title
- Application->error_page_message
- Application->not_found_page_title
- Application->not_found_page_message
- Application->method_not_allowed_title
- Application->method_not_allowed_message
- Application->strict_url_mode
- Application->case_sensitive_urls
- Application->allow_options_requests
- Application->allow_methods_override
- Application->controller_root
- Application->middleware_root
- Application->lang
- Application->json_options
- Application->locals
- Application->config
Métodos
- Application->setup($timezone)
- Application->exceptionHandler($e)
- Application->errorHandler($severity, $message, $file, $line)
- Application->shutdown()
- Application->__call($name, $arguments)
- Application->methodExists($name)
- Application->__get($name)
- Application->lazyLoad($name, \Closure $function)
- Application->statusCode($new_value = null)
- Application->header($name, $value = null)
- Application->headers()
- Application->noCache($no_cache = true)
- Application->cors($origin_or_headers = null)
- Application->cookie($name, $value = '', $expire = 0, $path = '', $domain = '', $secure = false, $httponly = false)
- Application->clearCookie($name, $path_or_options = '', $domain = '', $secure = false, $httponly = false, $samesite = null)
- Application->cookies()
- Application->escape($text)
- Application->engine(\Closure $callback)
- Application->render($files, array $data = null)
- Application->errorPage($page_title, $message, $e = null)
- Application->pageNotFound()
- Application->sendPageNotFound()
- Application->before(\Closure $callback)
- Application->notFound(\Closure $callback)
- Application->beforeSend(\Closure $callback)
- Application->after(\Closure $callback)
- Application->error(\Closure $callback)
- Application->onRender(\Closure $callback)
- Application->mount($url_path, $file, $condition = null)
- Application->route($pattern, $callback, $method = null)
- Application->get($pattern, $callback)
- Application->post($pattern, $callback)
- Application->put($pattern, $callback)
- Application->delete($pattern, $callback)
- Application->patch($pattern, $callback)
- Application->routes()
- Application->redirect($url, $status_code = 302)
- Application->requestedPath()
- Application->rootUrl()
- Application->rootDir()
- Application->param($name, $validation, $converter = null)
- Application->routeMatches($pattern, $path)
- Application->run()
- Application->runAfterEvents($content)
FastSitePHP\Data\Database
Propriedades
Métodos
- Database->__construct($dsn, $user = null, $password = null, $persistent = false, array $options = array())
- Database->getBindType($value) {
- Database->query($sql, array $params = null)
- Database->queryOne($sql, array $params = null)
- Database->queryValue($sql, array $params = null)
- Database->queryList($sql, array $params = null)
- Database->querySets($sql, array $params = null)
- Database->execute($sql, array $params = null)
- Database->lastInsertId($name = null)
- Database->executeMany($sql, array $records)
- Database->trimStrings($new_value = null)
FastSitePHP\Data\Db2Database
Propriedades
Métodos
- Db2Database->__construct($dsn, $user = null, $password = null, $persistent = false, $options = null)
- Db2Database->__destruct()
- Db2Database->close()
- Db2Database->query($sql, array $params = null)
- Db2Database->queryOne($sql, array $params = null)
- Db2Database->queryValue($sql, array $params = null)
- Db2Database->queryList($sql, array $params = null)
- Db2Database->execute($sql, array $params = null)
- Db2Database->executeMany($sql, array $records)
- Db2Database->trimStrings($new_value = null)
FastSitePHP\Data\OdbcDatabase
Propriedades
Métodos
- OdbcDatabase->allowLargeTextValues($size = 100000)
- OdbcDatabase->__construct($dsn, $user = null, $password = null, $persistent = false, $options = null)
- OdbcDatabase->__destruct()
- OdbcDatabase->close()
- OdbcDatabase->query($sql, array $params = null)
- OdbcDatabase->queryOne($sql, array $params = null)
- OdbcDatabase->queryValue($sql, array $params = null)
- OdbcDatabase->queryList($sql, array $params = null)
- OdbcDatabase->execute($sql, array $params = null)
- OdbcDatabase->executeMany($sql, array $records)
- OdbcDatabase->trimStrings($new_value = null)
FastSitePHP\Data\Validator
Métodos
FastSitePHP\Data\Log\FileLogger
Propriedades
Métodos
- FileLogger->__construct($file_path)
- FileLogger->log($level, $message, array $context = array())
- FileLogger->emergency($message, array $context = array())
- FileLogger->alert($message, array $context = array())
- FileLogger->critical($message, array $context = array())
- FileLogger->error($message, array $context = array())
- FileLogger->warning($message, array $context = array())
- FileLogger->notice($message, array $context = array())
- FileLogger->info($message, array $context = array())
- FileLogger->debug($message, array $context = array())
FastSitePHP\Data\Log\HtmlLogger
Propriedades
Métodos
- HtmlLogger->__construct(Application $app, $replace_response = false)
- HtmlLogger->getHtml()
- HtmlLogger->log($level, $message, array $context = array())
- HtmlLogger->emergency($message, array $context = array())
- HtmlLogger->alert($message, array $context = array())
- HtmlLogger->critical($message, array $context = array())
- HtmlLogger->error($message, array $context = array())
- HtmlLogger->warning($message, array $context = array())
- HtmlLogger->notice($message, array $context = array())
- HtmlLogger->info($message, array $context = array())
- HtmlLogger->debug($message, array $context = array())
FastSitePHP\Environment\DotEnv
Métodos
FastSitePHP\Environment\System
Métodos
FastSitePHP\FileSystem\Search
Métodos
- Search->dir($new_value = null)
- Search->reset()
- Search->recursive($new_value = null)
- Search->includeRoot($new_value = null)
- Search->fullPath($full_path = null)
- Search->fileTypes(array $new_value = null)
- Search->includeNames(array $new_value = null)
- Search->includeRegExNames(array $new_value = null)
- Search->includeRegExPaths(array $new_value = null)
- Search->excludeNames(array $new_value = null)
- Search->excludeRegExNames(array $new_value = null)
- Search->excludeRegExPaths(array $new_value = null)
- Search->includeText(array $new_value = null)
- Search->caseInsensitiveText($new_value = null)
- Search->hideExtensions($new_value = null)
- Search->files()
- Search->dirs()
- Search->all()
- Search->urlFiles($url_root)
FastSitePHP\FileSystem\Security
Métodos
FastSitePHP\FileSystem\Sync
Métodos
FastSitePHP\Lang\L10N
Métodos
- L10N->__construct($locale = null, $timezone = null)
- L10N->supportedLocales()
- L10N->supportedLanguages()
- L10N->locale($locale = null)
- L10N->supportedTimezones()
- L10N->timezone($timezone = null)
- L10N->formatDateTime($date_time)
- L10N->formatDate($date)
- L10N->formatTime($time)
- L10N->formatNumber($number, $decimals = 0)
FastSitePHP\Media\Image
Métodos
- Image->__construct($image_path = null)
- Image->__destruct()
- Image->open($image_path)
- Image->resize($max_width = null, $max_height = null)
- Image->crop($left, $top, $width, $height, $target_width = null, $target_height = null)
- Image->rotateLeft()
- Image->rotateRight()
- Image->rotate($degrees)
- Image->saveQuality($new_value = null)
- Image->pngCompression($new_value = null)
- Image->save($file_name = null)
- Image->close()
FastSitePHP\Net\Config
Métodos
FastSitePHP\Net\Email
Métodos
- Email->__construct($from = null, $to = null, $subject = null, $body = null)
- Email->from($new_value = null)
- Email->replyTo($new_value = null)
- Email->to($new_value = null)
- Email->cc($new_value = null)
- Email->bcc($new_value = null)
- Email->subject($new_value = null)
- Email->body($new_value = null)
- Email->isHtml($new_value = null)
- Email->priority($new_value = null)
- Email->header($name, $new_value = null)
- Email->safeHeaderNames($new_value = null)
- Email->attachFile($file_path)
- Email->allowUnicodeEmails($new_value = null)
- Email->encodeFileNames($new_value = null)
- Email->message()
FastSitePHP\Net\HttpResponse
Propriedades
FastSitePHP\Net\SmtpClient
Métodos
- SmtpClient->__construct($host = null, $port = null, $timeout = 5, \Closure $debug_callback = null)
- SmtpClient->__destruct()
- SmtpClient::sendEmails(array $emails)
- SmtpClient->send(Email $email)
- SmtpClient->connect($host, $port, $timeout = 5)
- SmtpClient->close()
- SmtpClient->ehlo($client = null)
- SmtpClient->helo($client = null)
- SmtpClient->fqdn()
- SmtpClient->startTls($client = null)
- SmtpClient->auth($user, $password)
- SmtpClient->authLogin($user, $password)
- SmtpClient->authPlain($user, $password)
- SmtpClient->mailFrom($email, $utf8 = false)
- SmtpClient->rcptTo($email)
- SmtpClient->vrfy($email)
- SmtpClient->rset()
- SmtpClient->noop()
- SmtpClient->data($data)
- SmtpClient->help()
- SmtpClient->quit()
- SmtpClient->supports($extension)
- SmtpClient->size()
FastSitePHP\Security\Crypto
Métodos
FastSitePHP\Security\Password
Métodos
- Password->__construct()
- Password->hash($password)
- Password->verify($password, $hash)
- Password->needsRehash($hash)
- Password->generate()
- Password->cost($new_value = null)
- Password->findCost()
- Password->algo($new_value = null)
- Password->options($new_value = null)
- Password->pepper($new_hex_value = null)
- Password->generatePepper($bytes = 8)
FastSitePHP\Security\Crypto\Encryption
Métodos
- Encryption->generateKey()
- Encryption->encrypt($data, $key, $aad = '')
- Encryption->decrypt($encrypted_text, $key, $aad = '')
- Encryption->encryptionAlgorithm($new_value = null)
- Encryption->returnFormat($new_value = null)
- Encryption->dataFormat($new_value = null)
- Encryption->keySizeEnc($new_bit_length = null)
- Encryption->isAEAD_Mode()
- Encryption->__construct()
- Encryption->exceptionOnError($new_value = null)
- Encryption->allowNull($new_value = null)
- Encryption->hashingAlgorithm($new_value = null)
- Encryption->encryptThenAuthenticate($new_value = null)
- Encryption->keyType($new_value = null)
- Encryption->pbkdf2Algorithm($new_value = null)
- Encryption->pbkdf2Iterations($new_value = null)
- Encryption->keySizeHmac()
FastSitePHP\Security\Crypto\FileEncryption
Métodos
- FileEncryption->generateKey()
- FileEncryption->encryptFile($file_path, $enc_file, $key)
- FileEncryption->decryptFile($enc_file, $output_file, $key)
- FileEncryption->checkFileSetup()
- FileEncryption->displayCmdErrorDetail($new_value = null)
- FileEncryption->processFilesWithCmdLine($new_value = null)
- FileEncryption->__construct()
- FileEncryption->encryptThenAuthenticate($new_value = null)
- FileEncryption->keyType($new_value = null)
- FileEncryption->pbkdf2Algorithm($new_value = null)
- FileEncryption->pbkdf2Iterations($new_value = null)
FastSitePHP\Security\Crypto\JWT
Métodos
- JWT->__construct()
- JWT->generateKey($key_type = 'base64')
- JWT->encode($payload, $key)
- JWT->decode($token, $key)
- JWT->addClaim($payload, $claim, $value)
- JWT->exceptionOnError($value = null)
- JWT->algo($new_value = null)
- JWT->allowedAlgos(array $new_value = null)
- JWT->useInsecureKey($new_value = null)
- JWT->validateDefinedClaims($new_value = null)
- JWT->allowedIssuers(array $new_value = null)
- JWT->requireSubject($new_value = null)
- JWT->allowedAudiences(array $new_value = null)
- JWT->requireExpireTime($new_expiration_time = null, $leeway = null)
- JWT->requireNotBefore($new_not_before_time = null, $leeway = null)
- JWT->requireIssuedAt($new_value = null)
- JWT->requireJwtId($new_value = null)
FastSitePHP\Security\Crypto\SignedData
Métodos
- SignedData->generateKey()
- SignedData->sign($data, $key, $expire_time = null)
- SignedData->verify($signed_text, $key)
- SignedData->__construct()
- SignedData->exceptionOnError($new_value = null)
- SignedData->allowNull($new_value = null)
- SignedData->hashingAlgorithm($new_value = null)
- SignedData->keySizeHmac()
FastSitePHP\Web\Request
Métodos
- Request->queryString($name, $format = 'value?')
- Request->form($name, $format = 'value?')
- Request->cookie($name, $format = 'value?')
- Request->verifiedCookie($name)
- Request->jwtCookie($name)
- Request->decryptedCookie($name)
- Request->value($data, $key, $format = 'value?', $max_length = null)
- Request->header($name)
- Request->headers()
- Request->method()
- Request->contentType()
- Request->content()
- Request->contentText()
- Request->bearerToken()
- Request->isXhr()
- Request->origin()
- Request->userAgent()
- Request->referrer()
- Request->clientIp($option = null, $trusted_proxies = 'trust local')
- Request->protocol($option = null, $trusted_proxies = 'trust local')
- Request->host($option = null, $trusted_proxies = 'trust local', array $allowed_hosts = null)
- Request->port($option = null, $trusted_proxies = 'trust local')
- Request->serverIp()
- Request->isLocal()
- Request->accept($mime_type = null)
- Request->acceptCharset($character_encoding = null)
- Request->acceptEncoding($content_encoding = null)
- Request->acceptLanguage($language = null)
FastSitePHP\Web\Response
Métodos
- Response->__construct(Application $app = null)
- Response->header($name, $value = null)
- Response->headers()
- Response->statusCode($new_value = null)
- Response->contentType($type = null, $option = null)
- Response->jsonpQueryString($value = null)
- Response->content($content = null)
- Response->json($content)
- Response->jsonOptions($new_value = null)
- Response->etag($value = null, $type = 'weak')
- Response->lastModified($last_modified_time = null)
- Response->cacheControl($value = null)
- Response->expires($expires_time = null)
- Response->vary($value = null)
- Response->noCache()
- Response->cors(Application $app = null)
- Response->cookie($name, $value = '', $expire = 0, $path = '', $domain = '', $secure = false, $httponly = false)
- Response->clearCookie($name, $path_or_options = '', $domain = '', $secure = false, $httponly = false)
- Response->signedCookie($name, $value = '', $expire_time = '+1 hour', $expire = 0, $path = '', $domain = '', $secure = false, $httponly = false)
- Response->jwtCookie($name, $value, $expire_time = '+1 hour', $expire = 0, $path = '', $domain = '', $secure = false, $httponly = false)
- Response->encryptedCookie($name, $value = '', $expire = 0, $path = '', $domain = '', $secure = false, $httponly = false)
- Response->cookies()
- Response->fileTypeToMimeType($file_name)
- Response->file($file_path = null, $content_type = null, $cache_type = null, $cache_control = null)
- Response->redirect($url, $status_code = 302)
- Response->reset()
- Response->send()