scriptlog:lib:utility
This is an old revision of the document!
Table of Contents
Utility Layer
Flat, stateless, one-function-per-file helpers. Namespaces are not used here; these are global functions loaded by the autoloader on demand.
Types (10)
| Kind | Modifier | Type | Methods | Props | Consts | LOC | Summary |
|---|---|---|---|---|---|---|---|
class | ''DownloadUtility'' | 9 | 0 | 2 | 193 | Class DownloadUtility | |
class | ''DownloadSettings'' | 16 | 0 | 8 | 287 | Class DownloadSettings | |
class | ''BlogspotExporter'' | 6 | 0 | 0 | 208 | Blogspot Exporter Utility | |
class | ''GhostExporter'' | 11 | 0 | 0 | 364 | Ghost Exporter Utility | |
class | ''ScriptlogExporter'' | 10 | 1 | 0 | 267 | Scriptlog Exporter Utility | |
class | ''WordPressExporter'' | 8 | 1 | 0 | 279 | WordPress WXR Exporter Utility | |
class | ''BlogspotImporter'' | 10 | 0 | 0 | 436 | Blogspot/Blogger XML Importer Utility | |
class | ''GhostImporter'' | 12 | 0 | 0 | 368 | Ghost JSON Importer Utility | |
class | ''ScriptlogImporter'' | 12 | 0 | 0 | 172 | Scriptlog Importer Utility | |
class | ''WordPressImporter'' | 11 | 0 | 0 | 372 | WordPress WXR Importer Utility |
Files (224)
| File | Types | Lines | LOC | Namespace | Strict |
|---|---|---|---|---|---|
lib/utility/absolute-path.php | 37 | 120 | (global) | no | |
lib/utility/absolute-url.php | 53 | 206 | (global) | no | |
lib/utility/access-control-list.php | 30 | 102 | (global) | no | |
lib/utility/add-http.php | 39 | 90 | (global) | no | |
lib/utility/admin-query.php | 53 | 189 | (global) | no | |
lib/utility/admin-tag-title.php | 184 | 912 | (global) | no | |
lib/utility/admin-translations.php | 818 | 3956 | (global) | no | |
lib/utility/app-config.php | 33 | 82 | (global) | no | |
lib/utility/app-info.php | 51 | 464 | (global) | no | |
lib/utility/app-key.php | 191 | 533 | (global) | no | |
lib/utility/app-reading-setting.php | 26 | 89 | (global) | no | |
lib/utility/app-settings.php | 118 | 414 | (global) | no | |
lib/utility/app-sitename.php | 16 | 33 | (global) | no | |
lib/utility/app-tagline.php | 18 | 35 | (global) | no | |
lib/utility/app-url.php | 19 | 36 | (global) | no | |
lib/utility/archive-scanner.php | 53 | 194 | (global) | no | |
lib/utility/autolink.php | 18 | 46 | (global) | no | |
lib/utility/autoloader.php | 169 | 684 | (global) | no | |
lib/utility/block-request-type.php | 27 | 61 | (global) | no | |
lib/utility/build-query.php | 20 | 46 | (global) | no | |
lib/utility/call-htmlpurifier.php | 19 | 32 | (global) | no | |
lib/utility/catch-weblink.php | 42 | 132 | (global) | no | |
lib/utility/certificate-authority.php | 36 | 152 | (global) | no | |
lib/utility/check-disabled-functions.php | 24 | 70 | (global) | no | |
lib/utility/check-file-extension.php | 76 | 196 | (global) | no | |
lib/utility/check-file-length.php | 16 | 40 | (global) | no | |
lib/utility/check-file-name.php | 16 | 38 | (global) | no | |
lib/utility/check-integer.php | 16 | 30 | (global) | no | |
lib/utility/check-internet-connection.php | 93 | 297 | (global) | no | |
lib/utility/check-mime-type.php | 56 | 291 | (global) | no | |
lib/utility/check-online.php | 37 | 107 | (global) | no | |
lib/utility/check-pwd-strength.php | 54 | 112 | (global) | no | |
lib/utility/check-request-generated.php | 27 | 74 | (global) | no | |
lib/utility/check-upload-filesize.php | 21 | 45 | (global) | no | |
lib/utility/check-weblink.php | 53 | 204 | (global) | no | |
lib/utility/clip.php | 47 | 128 | (global) | no | |
lib/utility/comment-submission.php | 279 | 1266 | (global) | no | |
lib/utility/convert-to-paragraph.php | 21 | 60 | (global) | no | |
lib/utility/cookie-consent.php | 199 | 661 | (global) | no | |
lib/utility/cookies-baked.php | 137 | 384 | (global) | no | |
lib/utility/create-directory.php | 21 | 52 | (global) | no | |
lib/utility/create-thumbnail.php | 121 | 539 | (global) | no | |
lib/utility/csrf-defender.php | 38 | 104 | (global) | no | |
lib/utility/current-http-version.php | 25 | 71 | (global) | no | |
lib/utility/current-load-page.php | 15 | 40 | (global) | no | |
lib/utility/current-load-url.php | 30 | 108 | (global) | no | |
lib/utility/current-request-method.php | 19 | 41 | (global) | no | |
lib/utility/date-conversion.php | 118 | 369 | (global) | no | |
lib/utility/date-for-database.php | 27 | 92 | (global) | no | |
lib/utility/db-mysqli.php | 272 | 979 | (global) | no | |
lib/utility/delete-directory.php | 72 | 226 | (global) | no | |
lib/utility/detect-origin.php | 26 | 106 | (global) | no | |
lib/utility/detect-proxies.php | 58 | 151 | (global) | no | |
lib/utility/detect-web-server.php | 52 | 187 | (global) | no | |
lib/utility/direct-page.php | 81 | 337 | (global) | no | |
lib/utility/displaying-greeting.php | 27 | 87 | (global) | no | |
lib/utility/distill-post-request.php | 44 | 173 | (global) | no | |
lib/utility/distrib-name.php | 24 | 80 | (global) | no | |
lib/utility/do-logout.php | 73 | 242 | (global) | no | |
lib/utility/download-handler.php | DownloadUtility | 209 | 727 | (global) | no |
lib/utility/download-settings.php | DownloadSettings | 303 | 1099 | (global) | no |
lib/utility/dropdown.php | 37 | 109 | (global) | no | |
lib/utility/email-validation.php | 72 | 145 | (global) | no | |
lib/utility/encode-email-address.php | 23 | 63 | (global) | no | |
lib/utility/encrypt-decrypt.php | 181 | 679 | (global) | no | |
lib/utility/escape-html.php | 85 | 286 | (global) | no | |
lib/utility/escape-null-byte.php | 21 | 42 | (global) | no | |
lib/utility/export-blogspot.php | BlogspotExporter | 224 | 1285 | (global) | no |
lib/utility/export-ghost.php | GhostExporter | 380 | 1718 | (global) | no |
lib/utility/export-scriptlog.php | ScriptlogExporter | 284 | 1095 | (global) | no |
lib/utility/export-wordpress.php | WordPressExporter | 295 | 1857 | (global) | no |
lib/utility/extract-keywords.php | 26 | 113 | (global) | no | |
lib/utility/find-webserver-name.php | 23 | 72 | (global) | no | |
lib/utility/finding-pwd-cost.php | 33 | 90 | (global) | no | |
lib/utility/forbidden-direct-access.php | 15 | 62 | (global) | no | |
lib/utility/forbidden-id.php | 15 | 29 | (global) | no | |
lib/utility/form-action.php | 45 | 236 | (global) | no | |
lib/utility/form-filled-validation.php | 29 | 57 | (global) | no | |
lib/utility/form-id.php | 38 | 134 | (global) | no | |
lib/utility/form-security.php | 128 | 400 | (global) | no | |
lib/utility/form-size-validation.php | 22 | 70 | (global) | no | |
lib/utility/format-size-unit.php | 30 | 130 | (global) | no | |
lib/utility/front-paginator.php | 17 | 42 | (global) | no | |
lib/utility/front-sanitizer.php | 15 | 34 | (global) | no | |
lib/utility/front-service.php | 28 | 80 | (global) | no | |
lib/utility/generate-filename.php | 23 | 80 | (global) | no | |
lib/utility/generate-hash.php | 25 | 78 | (global) | no | |
lib/utility/generate-media-identifier.php | 41 | 148 | (global) | no | |
lib/utility/generate-openapi-spec.php | 88 | 423 | (global) | no | |
lib/utility/generate-request.php | 119 | 472 | (global) | yes | |
lib/utility/generate-session-key.php | 26 | 72 | (global) | no | |
lib/utility/generate-token.php | 24 | 77 | (global) | no | |
lib/utility/get-browser-name.php | 85 | 412 | (global) | no | |
lib/utility/get-directory-size.php | 78 | 296 | (global) | no | |
lib/utility/get-download-link.php | 51 | 211 | (global) | no | |
lib/utility/get-file-extension.php | 99 | 249 | (global) | no | |
lib/utility/get-image-type.php | 89 | 549 | (global) | no | |
lib/utility/get-ip-address.php | 214 | 837 | (global) | no | |
lib/utility/get-mime.php | 78 | 292 | (global) | no | |
lib/utility/get-os.php | 169 | 750 | (global) | no | |
lib/utility/get-remembered-username.php | 24 | 101 | (global) | no | |
lib/utility/get-request-header.php | 25 | 91 | (global) | no | |
lib/utility/get-server-load.php | 106 | 402 | (global) | no | |
lib/utility/get-table-prefix.php | 33 | 120 | (global) | no | |
lib/utility/hide-email.php | 37 | 156 | (global) | no | |
lib/utility/htmlawed.php | 1634 | 26546 | (global) | no | |
lib/utility/human-login.php | 276 | 1106 | (global) | no | |
lib/utility/human-readable-datetime.php | 18 | 33 | (global) | no | |
lib/utility/image-encoder.php | 31 | 74 | (global) | no | |
lib/utility/import-blogspot.php | BlogspotImporter | 452 | 2099 | (global) | no |
lib/utility/import-ghost.php | GhostImporter | 384 | 1909 | (global) | no |
lib/utility/import-scriptlog.php | ScriptlogImporter | 188 | 664 | (global) | no |
lib/utility/import-wordpress.php | WordPressImporter | 388 | 1884 | (global) | no |
lib/utility/invoke-audio-uploaded.php | 22 | 65 | (global) | no | |
lib/utility/invoke-config.php | 39 | 89 | (global) | no | |
lib/utility/invoke-fileicon.php | 58 | 170 | (global) | no | |
lib/utility/invoke-frontimg.php | 24 | 81 | (global) | no | |
lib/utility/invoke-image-uploaded.php | 32 | 119 | (global) | no | |
lib/utility/invoke-plugin.php | 124 | 394 | (global) | no | |
lib/utility/invoke-responsive-image.php | 179 | 1093 | (global) | no | |
lib/utility/invoke-video-uploaded.php | 26 | 75 | (global) | no | |
lib/utility/invoke-webp-image.php | 45 | 207 | (global) | no | |
lib/utility/ips.php | 96 | 320 | (global) | yes | |
lib/utility/is-json-valid.php | 19 | 38 | (global) | no | |
lib/utility/is-non-administrator.php | 32 | 123 | (global) | no | |
lib/utility/is-ssl.php | 33 | 108 | (global) | no | |
lib/utility/is-valid-domain.php | 56 | 259 | (global) | no | |
lib/utility/is-valid-utf8.php | 37 | 82 | (global) | no | |
lib/utility/limit-word.php | 38 | 125 | (global) | no | |
lib/utility/login-attempt.php | 187 | 567 | (global) | no | |
lib/utility/make-date.php | 98 | 433 | (global) | no | |
lib/utility/make-slug.php | 40 | 119 | (global) | no | |
lib/utility/media-helpers.php | 87 | 331 | (global) | no | |
lib/utility/media-properties.php | 14 | 31 | (global) | no | |
lib/utility/medialib-link.php | 47 | 227 | (global) | no | |
lib/utility/medooin.php | 429 | 2262 | (global) | no | |
lib/utility/membership.php | 83 | 362 | (global) | no | |
lib/utility/mime-type-dictionary.php | 55 | 162 | (global) | no | |
lib/utility/navigation-helper.php | 41 | 125 | (global) | no | |
lib/utility/notfound-id.php | 19 | 35 | (global) | no | |
lib/utility/notify-new-user.php | 55 | 289 | (global) | no | |
lib/utility/number-cpus.php | 35 | 142 | (global) | no | |
lib/utility/on-page-optimization.php | 108 | 414 | (global) | no | |
lib/utility/page-cache.php | 174 | 660 | (global) | no | |
lib/utility/paragraph-trim.php | 92 | 378 | (global) | no | |
lib/utility/parse-post-id.php | 32 | 115 | (global) | no | |
lib/utility/parse-query.php | 26 | 103 | (global) | no | |
lib/utility/permalinks.php | 176 | 1483 | (global) | no | |
lib/utility/plugin-helper.php | 123 | 352 | (global) | no | |
lib/utility/plugin-validator.php | 228 | 911 | (global) | no | |
lib/utility/post-dropdown.php | 112 | 354 | (global) | no | |
lib/utility/prevent-injection.php | 28 | 79 | (global) | no | |
lib/utility/protected-post.php | 291 | 1248 | (global) | no | |
lib/utility/purify-dirty-html.php | 25 | 66 | (global) | no | |
lib/utility/random-generator.php | 204 | 706 | (global) | no | |
lib/utility/rate-limiter.php | 18 | 48 | (global) | no | |
lib/utility/read-datetime.php | 17 | 54 | (global) | no | |
lib/utility/regenerate-session.php | 69 | 218 | (global) | no | |
lib/utility/relative-url.php | 18 | 46 | (global) | no | |
lib/utility/remove-accents.php | 25 | 76 | (global) | no | |
lib/utility/remove-dir-recursive.php | 33 | 110 | (global) | no | |
lib/utility/remove-xss.php | 46 | 110 | (global) | no | |
lib/utility/rename-file.php | 86 | 264 | (global) | no | |
lib/utility/request-helper.php | 69 | 273 | (global) | no | |
lib/utility/reset-account.php | 87 | 456 | (global) | no | |
lib/utility/rewrite-status.php | 20 | 72 | (global) | no | |
lib/utility/route-request.php | 18 | 39 | (global) | no | |
lib/utility/safe-html.php | 30 | 80 | (global) | no | |
lib/utility/safe-zip-extract.php | 169 | 772 | (global) | no | |
lib/utility/sanitize-email.php | 16 | 31 | (global) | no | |
lib/utility/sanitize-locale.php | 178 | 790 | (global) | no | |
lib/utility/sanitize-post-content.php | 55 | 180 | (global) | no | |
lib/utility/sanitize-selection-box.php | 94 | 409 | (global) | no | |
lib/utility/sanitize-sql-orderby.php | 21 | 49 | (global) | no | |
lib/utility/sanitize-urls.php | 38 | 271 | (global) | no | |
lib/utility/sanitizer.php | 33 | 109 | (global) | no | |
lib/utility/scriptlog-error.php | 154 | 581 | (global) | no | |
lib/utility/scriptlog-password.php | 22 | 62 | (global) | no | |
lib/utility/scriptlog-upload-filesize.php | 29 | 71 | (global) | no | |
lib/utility/scriptlog-verify-password.php | 16 | 41 | (global) | no | |
lib/utility/secure-http-headers.php | 211 | 710 | (global) | no | |
lib/utility/session-save-path.php | 54 | 256 | (global) | no | |
lib/utility/simple-salt.php | 37 | 151 | (global) | yes | |
lib/utility/sitemap-generator.php | 22 | 84 | (global) | no | |
lib/utility/start-session-on-site.php | 117 | 447 | (global) | no | |
lib/utility/strip-tags-content.php | 30 | 145 | (global) | no | |
lib/utility/system-software.php | 19 | 75 | (global) | no | |
lib/utility/tagger.php | 180 | 711 | (global) | no | |
lib/utility/terminator.php | 42 | 170 | (global) | no | |
lib/utility/theme-caller.php | 244 | 900 | (global) | no | |
lib/utility/theme-escape.php | 25 | 54 | (global) | no | |
lib/utility/theme-helpers.php | 97 | 284 | (global) | no | |
lib/utility/theme-meta.php | 348 | 4400 | (global) | no | |
lib/utility/theme-navigation.php | 67 | 281 | (global) | no | |
lib/utility/time-elapsed-string.php | 35 | 226 | (global) | no | |
lib/utility/time-keeper.php | 39 | 96 | (global) | no | |
lib/utility/timezone.php | 124 | 536 | (global) | no | |
lib/utility/timing-safe-equals.php | 39 | 142 | (global) | no | |
lib/utility/transform-html.php | 33 | 120 | (global) | no | |
lib/utility/turn-on-session.php | 68 | 266 | (global) | no | |
lib/utility/uniqid-real.php | 25 | 94 | (global) | no | |
lib/utility/unparse-url.php | 25 | 194 | (global) | no | |
lib/utility/unreg-globals.php | 38 | 176 | (global) | no | |
lib/utility/upload-audio.php | 23 | 59 | (global) | no | |
lib/utility/upload-doc.php | 54 | 239 | (global) | no | |
lib/utility/upload-media.php | 41 | 118 | (global) | no | |
lib/utility/upload-photo.php | 438 | 1998 | (global) | no | |
lib/utility/upload-plugin.php | 95 | 343 | (global) | no | |
lib/utility/upload-theme.php | 88 | 414 | (global) | no | |
lib/utility/upload-video.php | 26 | 65 | (global) | no | |
lib/utility/url-validation.php | 29 | 71 | (global) | no | |
lib/utility/user-activation-key.php | 21 | 51 | (global) | no | |
lib/utility/user-info.php | 28 | 60 | (global) | no | |
lib/utility/user-privilege.php | 32 | 152 | (global) | no | |
lib/utility/user-registration.php | 198 | 1015 | (global) | no | |
lib/utility/validate-date.php | 33 | 90 | (global) | no | |
lib/utility/whoops-error.php | 56 | 210 | (global) | no | |
lib/utility/worst-passwords.php | 73 | 847 | (global) | no | |
lib/utility/write-htaccess.php | 91 | 377 | (global) | no | |
lib/utility/write-ini.php | 110 | 527 | (global) | no | |
lib/utility/write-log.php | 53 | 192 | (global) | no | |
lib/utility/write-nginx-config.php | 138 | 452 | (global) | no | |
lib/utility/write-web-config.php | 116 | 476 | (global) | no | |
lib/utility/writing-settings.php | 38 | 130 | (global) | no |
Generated by 'tools/gendoc'.
scriptlog/lib/utility.1790414219.txt.gz · Last modified: by admin
