scriptlog:lib:core
This is an old revision of the document!
Table of Contents
Core Library
Framework primitives shared by every layer: the base DAO, the `Database` wrapper, the sanitiser, the logger, the API router, and the exception hierarchy.
Types (103)
| Kind | Modifier | Type | Methods | Props | Consts | LOC | Summary |
|---|---|---|---|---|---|---|---|
class | ''ActionConst'' | 0 | 0 | 74 | 115 | The collection of actions constant | |
class | ''ApiAuth'' | 22 | 3 | 6 | 570 | API Authentication | |
class | ''ApiHateoas'' | 8 | 0 | 0 | 325 | API HATEOAS Links Generator | |
class | ''ApiHelper'' | 1 | 0 | 0 | 29 | ApiHelper | |
class | ''ApiResponse'' | 29 | 1 | 18 | 597 | ||
class | ''ApiRouter'' | 14 | 4 | 1 | 380 | API Router | |
class | ''AppConfig'' | 2 | 0 | 0 | 35 | AppConfig Class | |
class | ''AppContext'' | 3 | 0 | 0 | 21 | A simple Read-Only Data Object to hold application state. | |
class | ''AppException'' | 2 | 0 | 0 | 43 | Class AppException extends Exception implements IAppThrowable | |
interface | ''AppInterface'' | 4 | 0 | 0 | 29 | AppInterface Interface | |
class | ''AtomWriter'' | 4 | 0 | 0 | 129 | class AtomWriter | |
class | ''Authentication'' | 23 | 1 | 2 | 642 | class Authentication | |
class | ''Authorization'' | 5 | 0 | 0 | 72 | class Authorization | |
class | abstract | ''BaseApp'' | 8 | 0 | 0 | 95 | Abstract Class BaseApp implements AppInterface |
class | ''BaseModel'' | 7 | 0 | 0 | 86 | BaseModel Class | |
class | ''BlogSchema'' | 3 | 0 | 0 | 94 | class BlogSchema | |
interface | ''BoardInterface'' | 3 | 0 | 0 | 23 | BoardInterface Interface | |
class | ''Bootstrap'' | 24 | 3 | 0 | 659 | Class Bootstrap | |
class | ''CSRFGuard'' | 4 | 1 | 0 | 137 | CSRFGuard | |
class | ''Clean'' | 2 | 0 | 0 | 63 | Clean class. | |
class | ''CoreException'' | 2 | 0 | 0 | 43 | CoreException Class extends Exception implements ICoreThrowable | |
class | ''Dao'' | 18 | 0 | 0 | 354 | Dao Class | |
class | abstract | ''Dashboard'' | 5 | 0 | 0 | 51 | Abstract Class Dashboard implement BoardInterface |
class | ''DateGenerator'' | 20 | 1 | 0 | 589 | ||
class | ''Db'' | 21 | 0 | 1 | 498 | Class Db implements DbInterface | |
class | ''DbException'' | 2 | 2 | 0 | 31 | DbException class extends Abstract Class CoreException | |
class | ''DbFactory'' | 1 | 0 | 0 | 30 | DbFactory Class | |
interface | ''DbInterface'' | 12 | 0 | 0 | 92 | interface DbInterface | |
class | ''DbMySQLi'' | 22 | 4 | 0 | 473 | Class DbMySQLi | |
class | ''DebugRoute'' | 2 | 1 | 0 | 68 | Class DebugRoute | |
class | ''Dispatcher'' | 19 | 2 | 0 | 502 | Class Dispatcher | |
class | ''ExportException'' | 1 | 0 | 0 | 7 | Class ExportException | |
class | ''FormValidator'' | 7 | 1 | 0 | 237 | class FormValidator | |
class | ''FrontHelper'' | 13 | 0 | 0 | 192 | class FrontHelper | |
class | ''HTMLPurifier'' | 6 | 2 | 1 | 243 | Facade that coordinates HTML Purifier's subsystems in order to purify HTML. | |
class | ''HZip'' | 2 | 0 | 0 | 49 | HZip Class | |
class | final | ''HandleRequest'' | 22 | 0 | 0 | 566 | class HandleRequest |
class | final | ''Html'' | 10 | 3 | 0 | 564 | HTML parsing, filtering and sanitization |
class | ''I18nManager'' | 22 | 4 | 0 | 234 | ||
interface | ''IAppThrowable'' | 0 | 0 | 0 | 3 | interface IAppThrowable extends IThrowable | |
interface | ''ICoreThrowable'' | 0 | 0 | 0 | 3 | interface IcoreThrowable extends IThrowable | |
interface | ''IDbThrowable'' | 0 | 0 | 0 | 3 | interface IDaoThrowable extends IThrowable | |
interface | ''IException'' | 7 | 0 | 0 | 16 | interface IException | |
interface | ''IModelThrowable'' | 0 | 0 | 0 | 3 | interface IProviderThrowable extends IThrowable | |
interface | ''IProviderThrowable'' | 0 | 0 | 0 | 3 | interface IProviderThrowable extends IThrowable | |
interface | ''IServiceThrowable'' | 0 | 0 | 0 | 3 | interface IServiceThrowable extends IThrowable | |
interface | ''ISessionThrowable'' | 0 | 0 | 0 | 3 | interface ISessionThrowable extends IThrowable | |
interface | ''IThrowable'' | 8 | 0 | 0 | 18 | IThrowable | |
interface | ''IViewThrowable'' | 0 | 0 | 0 | 3 | interface IViewThrowable extends IThrowable | |
class | ''ImgCompressor'' | 4 | 0 | 0 | 135 | ||
class | ''ImportException'' | 1 | 0 | 0 | 7 | Class ImportException | |
class | ''LocaleDetector'' | 14 | 4 | 0 | 172 | ||
class | ''LocaleRouter'' | 10 | 2 | 0 | 106 | ||
class | ''LogError'' | 7 | 1 | 0 | 118 | class LogError | |
class | ''Mailer'' | 12 | 0 | 0 | 239 | Class Mailer | |
class | ''MedooInit'' | 1 | 0 | 0 | 10 | Class MedooInit | |
class | final | ''MessageLog'' | 5 | 0 | 0 | 214 | MessageLog |
class | ''ModelException'' | 2 | 1 | 0 | 28 | Class ProviderException extends Exception implements IAppThrowable | |
class | ''Pagination'' | 4 | 0 | 0 | 108 | Pagination class | |
class | ''Paginator'' | 13 | 2 | 0 | 249 | Class Paginator | |
class | ''PassPhraseKey'' | 6 | 0 | 0 | 135 | class PassPhraseKey | |
class | ''ProviderException'' | 2 | 1 | 0 | 28 | Class ProviderException extends Exception implements IAppThrowable | |
class | ''Psr4AutoloadTest'' | 2 | 0 | 0 | 22 | PSR-4 Autoload verification class. | |
class | ''RSSWriter'' | 2 | 0 | 0 | 32 | RSSWriter Class | |
class | ''Random'' | 12 | 2 | 5 | 277 | Random Class | |
class | ''RateLimiter'' | 8 | 0 | 2 | 199 | RateLimiter | |
class | ''Registry'' | 7 | 1 | 0 | 116 | class Registry | |
class | ''RemoteAddress'' | 7 | 3 | 0 | 156 | Class RemoteAddress | |
class | ''RequestPath'' | 12 | 0 | 1 | 166 | class RequestPath | |
class | ''Resize'' | 10 | 0 | 0 | 268 | Class Resize | |
class | ''ResponsiveCaptcha'' | 12 | 1 | 0 | 629 | Generate random text-based CAPTCHAs with simple arithmetic and logic questions | |
class | ''Sanitize'' | 6 | 0 | 0 | 95 | sanitize.class.php | |
class | ''ScriptlogCryptonize'' | 18 | 0 | 4 | 586 | Class ScriptlogCryptonize | |
class | ''ScriptlogCryptonizeException'' | 0 | 0 | 0 | 3 | ScriptlogCryptoException extends CoreException | |
class | ''ScriptlogOpenssl'' | 0 | 0 | 0 | 15 | Class ScriptlogOpenssl | |
class | ''ScriptlogScanner'' | 6 | 1 | 0 | 39 | Class ScriptlogScanner | |
class | ''SearchFinder'' | 8 | 0 | 0 | 275 | Class SearchFinder | |
class | ''ServiceException'' | 2 | 1 | 0 | 28 | class ServiceException extends Exception implements IEventThrowable | |
class | ''Session'' | 7 | 1 | 2 | 79 | Class Session | |
class | ''SessionMaker'' | 13 | 1 | 0 | 361 | Class SessionMaker extends SessionHandler | |
class | ''SessionMakerException'' | 0 | 0 | 0 | 3 | Class SessionMakerException extends CoreException | |
class | ''Sitemap'' | 18 | 3 | 6 | 259 | Sitemap | |
class | ''SiteMapService'' | 4 | 0 | 0 | 68 | Class SiteMapService | |
class | ''SyntaxHighlight'' | 2 | 0 | 0 | 82 | Generic Syntax Highlighting with Regular Expressions | |
class | abstract | ''AbstractThemeViewModel'' | 4 | 1 | 0 | 51 | Base implementation shared by all theme view models. |
class | final | ''ArchiveViewModel'' | 7 | 0 | 0 | 82 | Archive view model. |
class | final | ''MenuViewModel'' | 10 | 1 | 0 | 117 | Menu view model. |
class | final | ''PageViewModel'' | 13 | 0 | 0 | 118 | Page view model. |
class | final | ''PostViewModel'' | 17 | 0 | 0 | 141 | Post view model. |
class | final | ''SidebarViewModel'' | 7 | 4 | 0 | 160 | Sidebar view model. |
class | final | ''ThemeHelper'' | 2 | 2 | 0 | 61 | ThemeHelper facade |
class | final | ''ThemeViewModelFactory'' | 12 | 0 | 0 | 174 | ThemeViewModelFactory |
interface | ''ThemeViewModelInterface'' | 1 | 0 | 0 | 12 | Base contract for theme view models. | |
class | ''ThemeRenderer'' | 9 | 0 | 5 | 205 | Default theme renderer implementation. | |
interface | ''ThemeRendererInterface'' | 6 | 0 | 0 | 54 | Contract for theme rendering in the application. | |
class | ''ThemeResolutionException'' | 3 | 0 | 0 | 54 | Exception thrown when a theme or template cannot be resolved. | |
class | final | ''Tokenizer'' | 6 | 0 | 0 | 106 | class Tokenizer |
class | ''TranslationLoader'' | 17 | 4 | 0 | 222 | ||
class | ''Ubench'' | 10 | 0 | 0 | 171 | ||
class | ''Util'' | 70 | 8 | 18 | 2523 | Util.php | |
class | ''View'' | 4 | 1 | 0 | 128 | Class View | |
class | ''ViewException'' | 0 | 0 | 0 | 3 | ViewException Class extends Exception implements IViewThrowable | |
class | ''Wall'' | 4 | 0 | 0 | 61 | Class Wall extends Dashboard |
Files (112)
| File | Types | Lines | LOC | Namespace | Strict |
|---|---|---|---|---|---|
lib/core/ActionConst.php | ActionConst | 133 | 517 | Scriptlog\Core | no |
lib/core/ApiAuth.php | ApiAuth | 591 | 1943 | Scriptlog\Core | no |
lib/core/ApiHateoas.php | ApiHateoas | 345 | 1373 | Scriptlog\Core | no |
lib/core/ApiHelper.php | ApiHelper | 49 | 131 | Scriptlog\Core | no |
lib/core/ApiResponse.php | ApiResponse | 621 | 2332 | Scriptlog\Core | no |
lib/core/ApiRouter.php | ApiRouter | 401 | 1395 | Scriptlog\Core | no |
lib/core/AppConfig.php | AppConfig | 60 | 128 | Scriptlog\Core | no |
lib/core/AppContext.php | AppContext | 34 | 103 | Scriptlog\Core | no |
lib/core/AppException.php | AppException | 61 | 183 | Scriptlog\Core | no |
lib/core/AppInterface.php | AppInterface | 47 | 83 | Scriptlog\Core | no |
lib/core/AtomWriter.php | AtomWriter | 149 | 725 | Scriptlog\Core | no |
lib/core/Authentication.php | Authentication | 664 | 2807 | Scriptlog\Core | no |
lib/core/Authorization.php | Authorization | 89 | 223 | Scriptlog\Core | no |
lib/core/BaseApp.php | BaseApp | 112 | 207 | Scriptlog\Core | no |
lib/core/BaseModel.php | BaseModel | 107 | 209 | Scriptlog\Core | no |
lib/core/BlogSchema.php | BlogSchema | 113 | 700 | Scriptlog\Core | no |
lib/core/BoardInterface.php | BoardInterface | 43 | 74 | Scriptlog\Core | no |
lib/core/Bootstrap.php | Bootstrap | 738 | 3874 | Scriptlog\Core | no |
lib/core/CSRFGuard.php | CSRFGuard | 155 | 665 | Scriptlog\Core | no |
lib/core/Clean.php | Clean | 108 | 358 | Scriptlog\Core | no |
lib/core/CoreException.php | CoreException | 60 | 182 | Scriptlog\Core | no |
lib/core/Dao.php | Dao | 374 | 1143 | Scriptlog\Core | no |
lib/core/Dashboard.php | Dashboard | 68 | 153 | Scriptlog\Core | no |
lib/core/DateGenerator.php | DateGenerator | 604 | 2806 | Scriptlog\Core | no |
lib/core/Db.php | Db | 520 | 1857 | Scriptlog\Core | no |
lib/core/DbException.php | DbException | 49 | 195 | Scriptlog\Core | no |
lib/core/DbFactory.php | DbFactory | 48 | 150 | Scriptlog\Core | no |
lib/core/DbInterface.php | DbInterface | 112 | 256 | Scriptlog\Core | no |
lib/core/DbMySQLi.php | DbMySQLi | 490 | 1827 | Scriptlog\Core | no |
lib/core/DebugRoute.php | DebugRoute | 87 | 326 | Scriptlog\Core | no |
lib/core/Dispatcher.php | Dispatcher | 536 | 2286 | Scriptlog\Core | no |
lib/core/ExportException.php | ExportException | 27 | 73 | Scriptlog\Core | no |
lib/core/FormValidator.php | FormValidator | 255 | 1015 | Scriptlog\Core | no |
lib/core/FrontHelper.php | FrontHelper | 225 | 571 | Scriptlog\Core | no |
lib/core/HTMLPurifier.auto.php | 12 | 28 | (global) | no | |
lib/core/HTMLPurifier.autoload-legacy.php | 14 | 29 | (global) | no | |
lib/core/HTMLPurifier.autoload.php | 26 | 89 | (global) | no | |
lib/core/HTMLPurifier.composer.php | 6 | 24 | (global) | no | |
lib/core/HTMLPurifier.func.php | 26 | 62 | (global) | no | |
lib/core/HTMLPurifier.includes.php | 236 | 665 | (global) | no | |
lib/core/HTMLPurifier.kses.php | 31 | 150 | (global) | no | |
lib/core/HTMLPurifier.path.php | 12 | 24 | (global) | no | |
lib/core/HTMLPurifier.php | HTMLPurifier | 299 | 905 | (global) | no |
lib/core/HTMLPurifier.safe-includes.php | 230 | 1095 | (global) | no | |
lib/core/HZip.php | HZip | 65 | 257 | Scriptlog\Core | no |
lib/core/HandleRequest.php | HandleRequest | 596 | 2402 | Scriptlog\Core | no |
lib/core/Html.php | Html | 585 | 1939 | Scriptlog\Core | no |
lib/core/I18nManager.php | I18nManager | 243 | 1183 | Scriptlog\Core | no |
lib/core/IAppThrowable.php | IAppThrowable | 18 | 34 | Scriptlog\Core | no |
lib/core/ICoreThrowable.php | ICoreThrowable | 18 | 34 | Scriptlog\Core | no |
lib/core/IDbThrowable.php | IDbThrowable | 18 | 34 | Scriptlog\Core | no |
lib/core/IException.php | IException | 35 | 91 | Scriptlog\Core | no |
lib/core/IModelThrowable.php | IModelThrowable | 20 | 36 | Scriptlog\Core | no |
lib/core/IProviderThrowable.php | IProviderThrowable | 20 | 36 | Scriptlog\Core | no |
lib/core/IServiceThrowable.php | IServiceThrowable | 18 | 34 | Scriptlog\Core | no |
lib/core/ISessionThrowable.php | ISessionThrowable | 20 | 36 | Scriptlog\Core | no |
lib/core/IThrowable.php | IThrowable | 43 | 97 | Scriptlog\Core | no |
lib/core/IViewThrowable.php | IViewThrowable | 20 | 36 | Scriptlog\Core | no |
lib/core/ImgCompressor.php | ImgCompressor | 150 | 809 | Scriptlog\Core | no |
lib/core/ImportException.php | ImportException | 27 | 73 | Scriptlog\Core | no |
lib/core/LocaleDetector.php | LocaleDetector | 181 | 926 | Scriptlog\Core | no |
lib/core/LocaleRouter.php | LocaleRouter | 113 | 565 | Scriptlog\Core | no |
lib/core/LogError.php | LogError | 138 | 441 | Scriptlog\Core | no |
lib/core/Mailer.php | Mailer | 258 | 785 | Scriptlog\Core | no |
lib/core/MedooInit.php | MedooInit | 28 | 70 | Scriptlog\Core | no |
lib/core/MessageLog.php | MessageLog | 231 | 718 | Scriptlog\Core | no |
lib/core/ModelException.php | ModelException | 46 | 188 | Scriptlog\Core | no |
lib/core/Pagination.php | Pagination | 124 | 555 | Scriptlog\Core | no |
lib/core/Paginator.php | Paginator | 266 | 1320 | Scriptlog\Core | no |
lib/core/PassPhraseKey.php | PassPhraseKey | 152 | 546 | Scriptlog\Core | no |
lib/core/ProviderException.php | ProviderException | 46 | 188 | Scriptlog\Core | no |
lib/core/Psr4AutoloadTest.php | Psr4AutoloadTest | 42 | 80 | Scriptlog\Core | no |
lib/core/RSSWriter.php | RSSWriter | 50 | 235 | Scriptlog\Core | no |
lib/core/Random.php | Random | 294 | 1474 | Scriptlog\Core | no |
lib/core/RateLimiter.php | RateLimiter | 220 | 787 | Scriptlog\Core | no |
lib/core/Registry.php | Registry | 134 | 297 | Scriptlog\Core | no |
lib/core/RemoteAddress.php | RemoteAddress | 174 | 466 | Scriptlog\Core | no |
lib/core/RequestPath.php | RequestPath | 194 | 747 | Scriptlog\Core | no |
lib/core/Resize.php | Resize | 290 | 1148 | Scriptlog\Core | no |
lib/core/ResponsiveCaptcha.php | ResponsiveCaptcha | 646 | 1837 | Scriptlog\Core | no |
lib/core/Sanitize.php | Sanitize | 114 | 538 | Scriptlog\Core | no |
lib/core/ScriptlogCryptonize.php | ScriptlogCryptonize | 609 | 2783 | Scriptlog\Core | no |
lib/core/ScriptlogCryptonizeException.php | ScriptlogCryptonizeException | 20 | 36 | Scriptlog\Core | no |
lib/core/ScriptlogOpenssl.php | ScriptlogOpenssl | 45 | 63 | Scriptlog\Core | no |
lib/core/ScriptlogScanner.php | ScriptlogScanner | 56 | 193 | Scriptlog\Core | no |
lib/core/SearchFinder.php | SearchFinder | 294 | 1255 | Scriptlog\Core | no |
lib/core/ServiceException.php | ServiceException | 46 | 188 | Scriptlog\Core | no |
lib/core/Session.php | Session | 100 | 364 | Scriptlog\Core | no |
lib/core/SessionMaker.php | SessionMaker | 378 | 1440 | Scriptlog\Core | no |
lib/core/SessionMakerException.php | SessionMakerException | 20 | 38 | Scriptlog\Core | no |
lib/core/Sitemap.php | Sitemap | 279 | 1055 | Scriptlog\Core | no |
lib/core/SitemapService.php | SiteMapService | 87 | 239 | Scriptlog\Core | no |
lib/core/SyntaxHighlight.php | SyntaxHighlight | 98 | 288 | Scriptlog\Core | no |
lib/core/Theme/AbstractThemeViewModel.php | AbstractThemeViewModel | 70 | 173 | Scriptlog\Core\Theme | no |
lib/core/Theme/ArchiveViewModel.php | ArchiveViewModel | 100 | 399 | Scriptlog\Core\Theme | no |
lib/core/Theme/MenuViewModel.php | MenuViewModel | 136 | 495 | Scriptlog\Core\Theme | no |
lib/core/Theme/PageViewModel.php | PageViewModel | 136 | 624 | Scriptlog\Core\Theme | no |
lib/core/Theme/PostViewModel.php | PostViewModel | 160 | 779 | Scriptlog\Core\Theme | no |
lib/core/Theme/SidebarViewModel.php | SidebarViewModel | 179 | 821 | Scriptlog\Core\Theme | no |
lib/core/Theme/ThemeHelper.php | ThemeHelper | 84 | 248 | Scriptlog\Core\Theme | no |
lib/core/Theme/ThemeViewModelFactory.php | ThemeViewModelFactory | 193 | 477 | Scriptlog\Core\Theme | no |
lib/core/Theme/ThemeViewModelInterface.php | ThemeViewModelInterface | 31 | 52 | Scriptlog\Core\Theme | no |
lib/core/ThemeRenderer.php | ThemeRenderer | 236 | 713 | Scriptlog\Core | no |
lib/core/ThemeRendererInterface.php | ThemeRendererInterface | 72 | 137 | Scriptlog\Core | no |
lib/core/ThemeResolutionException.php | ThemeResolutionException | 79 | 214 | Scriptlog\Core | no |
lib/core/Tokenizer.php | Tokenizer | 139 | 343 | Scriptlog\Core | no |
lib/core/TranslationLoader.php | TranslationLoader | 232 | 1167 | Scriptlog\Core | no |
lib/core/Ubench.php | Ubench | 208 | 663 | Scriptlog\Core | no |
lib/core/Util.php | Util | 2544 | 12470 | Scriptlog\Core | no |
lib/core/View.php | View | 146 | 489 | Scriptlog\Core | no |
lib/core/ViewException.php | ViewException | 21 | 39 | Scriptlog\Core | no |
lib/core/Wall.php | Wall | 79 | 281 | Scriptlog\Core | no |
Generated by 'tools/gendoc'.
scriptlog/lib/core.1790414219.txt.gz · Last modified: by admin
