Library Group: view

Generated by php build/docs/rvn-docs.php. Do not edit this file by hand.

| Symbol | Kind | Summary | @return |
| --- | --- | --- | --- |
| composerFileContent() | function | Builds the starter composer.json payload for one public theme. | string JSON document content ending with a trailing newline. |
| coverUpload() | function | Lazily resolves the shared cover-image upload policy service. | CoverUpload Cover-image upload policy helper. |
| coverValidator() | function | Lazily resolves the shared cover-image validator instance. | CoverValidator Initialized cover validator. |
| Header() | function | RAVEN CMS | (No @return.) |
| ListWrapper() | function | RAVEN CMS | (No @return.) |
| metaImageExifProcessor() | function | Returns the EXIF processor used by meta-image upload helpers. | ImageExifProcessor Shared EXIF-orientation processor instance. |
| metaImageImagickProcessor() | function | Returns the ImageMagick processor used by meta-image upload helpers. | ImageImagickProcessor Shared ImageMagick pipeline helper. |
| metaImageUploadErrorMessage() | function | Maps PHP upload error codes to user-facing meta-image messages. | string User-facing validation message. |
| metaImageVariantProcessor() | function | Returns the variant processor used by meta-image upload helpers. | ImageVariantProcessor Shared image-variant processor instance. |
| Navigation() | function | RAVEN CMS | (No @return.) |
| packageFileContent() | function | Builds the starter package.json payload for one public theme. | string JSON document content ending with a trailing newline. |
| previewValidator() | function | Lazily resolves the shared preview-image validator instance. | PreviewValidator Initialized preview validator. |
| Raven\Lib\View\Form2fa::__construct() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Form2fa::buildTotpSetupPayload() | method | Builds the TOTP setup payload for the preferences form, generating a secret if needed. | array{ok: bool, message?: string, secret?: string, issuer?: string, account?: string, provisioning_uri?: string} |
| Raven\Lib\View\Form2fa::collectWebauthnExcludeCredentialIds() | method | Collects WebAuthn credential IDs to exclude from a new registration ceremony. | array<int, string> Binary credential ID strings for the WebAuthn excludeCredentials list. |
| Raven\Lib\View\Form2fa::generateRecoveryPhrase() | method | Generates a new random recovery phrase. | string\|null Generated phrase, or null if generation failed. |
| Raven\Lib\View\Form2fa::int() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Form2fa::normalizeSubmittedExistingIndices() | method | Returns the validated list of existing-method indices from a submitted form payload. | array<int, int> Validated existing-index values. |
| Raven\Lib\View\Form2fa::normalizeSubmittedMethods() | method | Returns a normalized list of newly submitted 2FA methods from a form POST. | array<int, array<string, mixed>> |
| Raven\Lib\View\Form2fa::prepareMethodsForView() | method | Returns the 2FA methods list prepared for display in an account form view. | array<int, array<string, mixed>> |
| Raven\Lib\View\Form2fa::resolveTotpIssuer() | method | Returns the TOTP issuer name, falling back to 'Raven CMS' if the site name is empty. | string Non-empty issuer string. |
| Raven\Lib\View\Form2fa::resolveWebauthnUserIdentity() | method | Resolves the WebAuthn user identity fields from stored preferences. | array{username: string, display_name: string} |
| Raven\Lib\View\Form2fa::string() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Form2fa::typeOptions() | method | Returns the display labels for each supported 2FA method type. | array<string, string> Map of type key to human-readable label. |
| Raven\Lib\View\FormCountries::bool() | method | Returns country options keyed by lowercase alpha-2 code. | array<string, string> |
| Raven\Lib\View\Pagination::decorateTemplateLinks() | method | Appends numbered link rows to one pagination payload for public templates. | array<string, mixed> |
| Raven\Lib\View\Pagination::panelViewData() | method | Builds panel-template pagination payload from normalized pagination state. | array{current: int, perpage: int, totalitems: int, totalpages: int, basepath: string, query: array<string, string>} |
| Raven\Lib\View\Pagination::state() | method | Builds normalized pagination state from total count and requested page input. | array{current: int, perpage: int, totalitems: int, total_pages: int, offset: int} |
| Raven\Lib\View\Panel\EditorAuthor::build() | method | (No summary.) | array<int, array{id: int, username: string, name: string}> |
| Raven\Lib\View\Panel\EditorAuthor::int() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Panel\EditorBlocks::layout() | method | Returns one shared visual variant for repeatable editor-block rows. | array{ |
| Raven\Lib\View\Panel\EditorMCE::galleryItems() | method | Builds the compact gallery-item payload consumed by the TinyMCE custom gallery button. | array<int, array{id: int, label: string, alt_text: string, caption: string, variants: array{original: string, sm: string, md: string, lg: string}}> Compact gallery items for JSON encoding. |
| Raven\Lib\View\Panel\EditorMCE::scriptUrl() | method | Returns the local TinyMCE script URL. | string Absolute root-relative URL to the TinyMCE bundle. |
| Raven\Lib\View\Panel\EditorMDE::cssFallbackPaths() | method | Returns the ordered CSS fallback path list for the EasyMDE stylesheet. | array<int, string> Ordered fallback href candidates. |
| Raven\Lib\View\Panel\EditorMDE::cssUrl() | method | Returns the primary local EasyMDE stylesheet URL. | string Absolute root-relative URL to the EasyMDE stylesheet. |
| Raven\Lib\View\Panel\EditorMDE::jsFallbackPaths() | method | Returns the ordered JS candidate path list for EasyMDE script loading. | array<int, string> Ordered fallback src candidates. |
| Raven\Lib\View\Panel\EditorMDE::scriptUrl() | method | Returns the primary local EasyMDE script URL. | string Absolute root-relative URL to the EasyMDE bundle. |
| Raven\Lib\View\Panel\EditorMedia::__construct() | method | Stores the shared input sanitizer used to normalize gallery form payloads. | void |
| Raven\Lib\View\Panel\EditorMedia::galleryUploadsFromFiles() | method | Normalizes one gallery upload input group into a flat upload list. | array<int, array<string, mixed>> Normalized upload rows. |
| Raven\Lib\View\Panel\EditorMedia::int() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Panel\EditorMedia::normalizeGalleryImageUpdates() | method | Normalizes gallery-image metadata edits from the nested page-editor POST payload. | array<int, array{ |
| Raven\Lib\View\Panel\EditorMedia::runGalleryDeleteBatch() | method | Runs one page-gallery delete batch and returns deleted/failed counters. | array{deletedcount: int, failedcount: int} Batch delete counters. |
| Raven\Lib\View\Panel\EditorMedia::runGalleryUploadBatch() | method | Runs one page-gallery upload batch and returns success/error counters. | array{success_count: int, errors: array<int, string>} Batch result payload. |
| Raven\Lib\View\Panel\EditorMedia::selectedIdsFromPost() | method | Extracts a unique sorted integer-id list from one panel POST payload key. | array<int> Unique sorted integer ids that survived sanitization. |
| Raven\Lib\View\Panel\EditorMeta::__construct() | method | Prepares the helper for taxonomy/channel/group meta-image upload workflows. | void |
| Raven\Lib\View\Panel\EditorMeta::cleanupMetaImagePathSets() | method | Deletes one or more generated path sets for an entity meta-image target. | void |
| Raven\Lib\View\Panel\EditorMeta::deleteMetaImageStoredPaths() | method | Deletes stored image files for one entity meta-image target. | void |
| Raven\Lib\View\Panel\EditorMeta::storeMetaImageUpload() | method | Stores one uploaded entity meta image and all generated variants. | array{ |
| Raven\Lib\View\Panel\EditorPage::__construct() | method | Initializes the panel page-block helper. | void |
| Raven\Lib\View\Panel\EditorPage::hasGalleryBlock() | method | Returns true when the normalized block list contains a gallery block. | bool True when at least one block renders the page gallery. |
| Raven\Lib\View\Panel\EditorPage::mergeTypeDefinitions() | method | Merges core and extension body-block definitions for the page editor. | array<string, array{label: string, editor: string}> Complete editor definition map. |
| Raven\Lib\View\Panel\EditorPage::normalizeEditorSubmittedBlocks() | method | Normalizes a raw page-editor POST payload into persistable block rows. | array<int, array{type: string, content: string, cssid: string, cssclass: string}> Normalized block rows ready for page persistence. |
| Raven\Lib\View\Panel\EditorPermissions::definitions() | method | Returns the full list of panel permission definitions, combining stock bits and extension-provided bits. | array<int, array{bit: int, label: string, section?: string, group?: string, action?: string, extension?: string}> |
| Raven\Lib\View\Panel\EditorPermissions::extensionBitsMask() | method | Returns a combined bitmask of all extension-provided permission bits. | int Combined bitmask of all extension bits ORed together. |
| Raven\Lib\View\Panel\EditorTabs::__construct() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Panel\EditorTabs::normalizeEditorTab() | method | Normalizes a raw tab value from GET or POST against an allowed list. | string Normalized tab slug. |
| Raven\Lib\View\Panel\EditorTabs::panelEditorUrlWithTab() | method | Builds a tab-preserving panel URL for editors that use ?tab= query-param navigation. | string Panel URL for the requested tab. |
| Raven\Lib\View\Panel\EditorWrapper::normalizeBodyTextEditorOption() | method | Normalizes a body-text editor option value to a canonical editor key. | string One of: tinymce, plaintext, autobr, markdown. Defaults to tinymce. |
| Raven\Lib\View\Panel\EditorWrapper::normalizeChannelEditorOverride() | method | Normalizes a channel editor-override value to a canonical editor key. | string One of: inherit, tinymce, plaintext, autobr, markdown. Defaults to inherit. |
| Raven\Lib\View\Panel\Footer::pushHtml() | method | Registers one trusted HTML fragment for deferred footer output. | void |
| Raven\Lib\View\Panel\Footer::pushScript() | method | Registers one inline script block for deferred footer output. | void |
| Raven\Lib\View\Panel\Footer::pushStyle() | method | Registers one inline stylesheet block for footer output. | void |
| Raven\Lib\View\Panel\Footer::render() | method | Renders the standard visible panel footer plus any collected style blocks. | string Footer markup ready for the panel wrapper. |
| Raven\Lib\View\Panel\Footer::renderDeferredAssets() | method | Renders deferred footer assets after the wrapper's shared runtime scripts. | string Trusted route-owned asset markup for the end of &lt;body&gt;. |
| Raven\Lib\View\Panel\Footer::reset() | method | Clears any route-owned assets collected for the current panel render. | void |
| Raven\Lib\View\Panel\Header::render() | method | Renders the standard panel header card markup. | string Rendered &lt;header&gt; markup ready to echo from a panel template. |
| Raven\Lib\View\Panel\ListFilter::appendExistsIntMatch() | method | Appends one many-to-many EXISTS clause when the filter id is present. | void |
| Raven\Lib\View\Panel\ListFilter::appendIntEquals() | method | Appends one integer equality clause when the filter id is present. | void |
| Raven\Lib\View\Panel\ListWrapper::render() | method | Renders the full list card HTML from a declarative config array. | string Trusted HTML for the list card, ready to echo into the panel template. |
| Raven\Lib\View\Panel\Navigation::renderMobile() | method | Renders the mobile navigation bar shown at xs/sm breakpoints. | string Trusted HTML for the mobile navbar, ready to echo before the layout container. |
| Raven\Lib\View\Panel\Navigation::renderSidebar() | method | Renders the desktop sidebar shown at md+ breakpoints. | string Trusted HTML for the sidebar aside element, ready to echo inside the layout row. |
| Raven\Lib\View\Panel\Theme::defaultFromConfig() | method | Resolves the site-default panel theme from runtime config. | string Canonical default panel theme slug. |
| Raven\Lib\View\Panel\Theme::effectiveFromPreferences() | method | Resolves one user's effective panel theme from stored preferences. | string Effective panel theme slug for template rendering. |
| Raven\Lib\View\Panel\Theme::normalizeChoice() | method | Normalizes one panel-theme identifier to a canonical Raven slug. | string\|null Canonical theme slug, default sentinel, or null when invalid. |
| Raven\Lib\View\Panel\Toolbar::render() | method | Renders one toolbar wrapper around trusted action fragments. | string Rendered toolbar wrapper markup ready to echo from a panel template. |
| Raven\Lib\View\Preferences::interactiveTwoFactorMethods() | method | Filters a raw 2FA method list down to only interactive (challengeable) methods. | array<int, array<string, mixed>> Interactive method rows with normalized keys and labels. |
| Raven\Lib\View\Preferences::updateUserPreferences() | method | Normalizes, validates, and persists one user-preferences payload. | array{ok: bool, errors: array<int, string>} Write status and validation errors. |
| Raven\Lib\View\Preferences::validatePreferenceUpdate() | method | Validates editable preference fields and returns any error strings. | array<int, string> Validation error strings; empty when the payload is valid. |
| Raven\Lib\View\Public\Error::__construct() | method | (No summary.) | void |
| Raven\Lib\View\Public\Error::render404() | method | Renders the active public-theme 404 error view. | void |
| Raven\Lib\View\Public\Error::renderDenied() | method | Renders the active public-theme permission-denied error view. | void |
| Raven\Lib\View\Public\Error::renderDisabled() | method | Renders the active public-theme site-disabled error view. | void |
| Raven\Lib\View\Public\Meta::__construct() | method | (No summary.) | void |
| Raven\Lib\View\Public\Meta::absoluteMetaImageUrl() | method | Resolves a configured or stored local image path into a same-origin meta-image URL. | string Same-origin meta-image URL, or an empty string when unusable. |
| Raven\Lib\View\Public\Meta::siteData() | method | Builds the base site/meta payload for public theme templates. | array<string, string> |
| Raven\Lib\View\Public\Meta::siteDataWithPageMeta() | method | Applies page-specific meta overrides to one base site payload. | array<string, string> |
| Raven\Lib\View\Public\Meta::siteDataWithTaxonomyMetaImage() | method | Applies taxonomy preview/cover image overrides to one base site payload. | array<string, string> |
| Raven\Lib\View\Public\PageBlocks::__construct() | method | Initializes the public page-block helper. | void |
| Raven\Lib\View\Public\PageBlocks::mergeTypeDefinitions() | method | Merges core and extension body-block definitions for public rendering. | array<string, array{label: string, editor: string}> Complete public block definition map. |
| Raven\Lib\View\Public\PageBlocks::renderPageContentBlocks() | method | Renders normalized public block payloads into template-facing HTML rows. | array<string, mixed> Public page payload with rendered content_blocks. |
| Raven\Lib\View\Public\PageMarkdown::normalizeLinkUrl() | method | Normalizes one Markdown link URL to the supported public schemes. | string\|null Safe public URL, or null when the target is rejected. |
| Raven\Lib\View\Public\PageMarkdown::renderInline() | method | Renders inline Markdown fragments used inside paragraphs, headings, and lists. | string Rendered inline HTML. |
| Raven\Lib\View\Public\PageMarkdown::string() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\PageMarkdown::string() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\PageMarkdown::toHtml() | method | Converts one Markdown string into HTML for public page blocks. | string Rendered HTML, or an empty string when nothing remains after normalization. |
| Raven\Lib\View\Public\PageMarkdown::void() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\TemplateDecorator::__construct() | method | (No summary.) | void |
| Raven\Lib\View\Public\TemplateDecorator::decorateGalleryImagesForTemplate() | method | Normalizes gallery-image payloads for public theme templates. | array<int, array<string, mixed>> |
| Raven\Lib\View\Public\TemplateDecorator::decorateGroupForTemplate() | method | Normalizes one public group payload for theme templates. | array<string, mixed> |
| Raven\Lib\View\Public\TemplateDecorator::decorateGroupMembersForTemplate() | method | Normalizes one public group-member row set for theme templates. | array<int, array<string, mixed>> |
| Raven\Lib\View\Public\TemplateDecorator::decoratePageForTemplate() | method | Normalizes one page payload for public theme templates. | array<string, mixed> |
| Raven\Lib\View\Public\TemplateDecorator::decoratePageListForTemplate() | method | Decorates one page-list row set with template-ready URLs. | array<int, array<string, mixed>> |
| Raven\Lib\View\Public\TemplateDecorator::decoratePaginationForTemplate() | method | Decorates pagination data with template-facing link metadata. | array<string, mixed> |
| Raven\Lib\View\Public\TemplateDecorator::decorateProfileForTemplate() | method | Normalizes one public profile payload for theme templates. | array<string, mixed> |
| Raven\Lib\View\Public\TemplateDecorator::decorateTemplateData() | method | Finalizes one public render payload into theme-template-ready data. | array<string, mixed> |
| Raven\Lib\View\Public\ThemeBrace::__construct() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\ThemeBrace::compare() | method | Evaluates one comparison expression for {if path op value} brace tags. | bool True when the comparison holds. |
| Raven\Lib\View\Public\ThemeBrace::iter() | method | Resolves one iterable brace-tag path for {each ...} loops. | array<int\|string, mixed> Resolved iterable data, or an empty array when not iterable. |
| Raven\Lib\View\Public\ThemeBrace::renderFile() | method | Renders one public template through the compiled brace-tag cache. | string Rendered template output. |
| Raven\Lib\View\Public\ThemeBrace::string() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\ThemeBrace::string() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\ThemeBrace::string() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\ThemeBrace::truthy() | method | Resolves one truthy/falsy brace-tag condition. | bool True when the resolved value should count as truthy in template conditionals. |
| Raven\Lib\View\Public\ThemeBrace::value() | method | Resolves one brace-tag path and returns printable output. | string Safe printable output for the resolved value. |
| Raven\Lib\View\Public\ThemeCatalog::__construct() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\ThemeCatalog::activeSlugFromConfig() | method | Resolves the active public-theme slug from runtime config. | string Active public-theme slug. |
| Raven\Lib\View\Public\ThemeCatalog::cssSlug() | method | Resolves the theme slug that owns the active stylesheet for one theme chain. | string Slug of the first theme in the chain that provides css/style.css. |
| Raven\Lib\View\Public\ThemeCatalog::inheritanceChain() | method | Returns the child-first inheritance chain for one public theme. | array<int, string> Child-first inheritance chain. |
| Raven\Lib\View\Public\ThemeCatalog::isSafeSlug() | method | Returns whether a theme slug satisfies Raven's public-theme slug contract. | bool True when the slug is safe for filesystem/runtime use. |
| Raven\Lib\View\Public\ThemeCatalog::isStockSlug() | method | Returns whether the given theme slug is one of the protected stock themes. | bool True when the slug belongs to the stock-theme set. |
| Raven\Lib\View\Public\ThemeCatalog::listForPanel() | method | Builds the panel-facing inventory row set for installed public themes. | array<int, array{ |
| Raven\Lib\View\Public\ThemeCatalog::nextAvailableSlug() | method | Returns the next unused filesystem-safe slug derived from one base theme slug. | string\|null Available slug, or null when no safe free slug was found. |
| Raven\Lib\View\Public\ThemeCatalog::options() | method | Returns the installed public-theme option map. | array<string, string> Map of theme slug to human-readable name. |
| Raven\Lib\View\Public\ThemeCatalog::resolveOverrideSlug() | method | Resolves a channel theme override through the same installed-theme fallback as the global site theme. | string Effective installed public-theme slug. |
| Raven\Lib\View\Public\ThemeCatalog::root() | method | Returns the filesystem root where public themes are discovered. | string Absolute public-theme root path. |
| Raven\Lib\View\Public\ThemeCatalog::slugFromArchiveFilename() | method | Derives a safe theme slug from one uploaded archive filename. | string\|null Safe derived slug, or null when no valid slug can be derived. |
| Raven\Lib\View\Public\ThemeCatalog::stockSlugs() | method | Returns the stock-theme slug list reserved from uninstall/mutation flows. | array<int, string> |
| Raven\Lib\View\Public\ThemeDiscovery::inheritanceChain() | method | Resolves one public theme inheritance chain from child to topmost parent. | array<int, string> Child-first inheritance chain. |
| Raven\Lib\View\Public\ThemeDiscovery::int() | method | (No summary.) | (No @return.) |
| Raven\Lib\View\Public\ThemeDiscovery::manifests() | method | Returns discovered theme manifests keyed by slug. | array<string, array{name: string, ischildtheme: bool, parent_theme: string}> Valid manifests keyed by slug. |
| Raven\Lib\View\Public\ThemeDiscovery::options() | method | Returns discovered public themes as slug => display name. | array<string, string> Installed theme option map. |
| Raven\Lib\View\Public\ThemeGenerator::agentsFileContent() | method | Builds the canonical local agent-guidance file content for one theme. | string Rendered agent-guidance file body. |
| Raven\Lib\View\Public\ThemeGenerator::copyDirectoryRecursively() | method | Recursively copies one public-theme directory into a new target directory. | void |
| Raven\Lib\View\Public\ThemeGenerator::createSkeleton() | method | Creates the canonical starter file set for one public theme. | void |
| Raven\Lib\View\Public\ThemeGenerator::finalizeClone() | method | Refreshes metadata-owned files after cloning an existing theme tree. | void |
| Raven\Lib\View\Public\ThemeTemplate::__construct() | method | (No summary.) | void |
| Raven\Lib\View\Public\ThemeTemplate::currentThemeViewsRoots() | method | Returns the existing tpl roots for the active theme inheritance chain. | array<int, string> Existing theme tpl roots in child-first order. |
| Raven\Lib\View\Public\ThemeTemplate::lookupRoots() | method | Returns the active theme-chain lookup roots plus the core fallback root. | array<int, string> Theme tpl roots followed by the core fallback root. |
| Raven\Lib\View\Public\ThemeTemplate::render() | method | Renders one resolved template and optional layout across the provided lookup roots. | string Rendered template output. |
| Raven\Lib\View\Public\ThemeTemplate::renderForThemeChain() | method | Renders one template across the active theme chain plus the core fallback root. | string Rendered template output. |
| Raven\Lib\View\Public\ThemeTemplate::resolveCategoryTemplateName() | method | Resolves the best category template name from slug-specific and default candidates. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolveCategoryTemplateNameForThemeChain() | method | Resolves one category template name across the active theme chain. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolveChannelTemplateName() | method | Resolves the best channel template name from slug-specific and default candidates. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolveChannelTemplateNameForThemeChain() | method | Resolves one channel template name across the active theme chain. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolvePageTemplateName() | method | Resolves the best page template name from channel-specific and default candidates. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolvePageTemplateNameForThemeChain() | method | Resolves one page template name across the active theme chain. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolveTagTemplateName() | method | Resolves the best tag template name from slug-specific and default candidates. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolveTagTemplateNameForThemeChain() | method | Resolves one tag template name across the active theme chain. | string Resolved relative template name. |
| Raven\Lib\View\Public\ThemeTemplate::resolveTemplateFile() | method | Resolves a template name to an absolute file path by walking the provided roots. | string\|null Absolute path to the first matching file, or null if not found in any root. |
| Raven\Lib\View\Public\ThemeValidator::isValidSlug() | method | Returns whether the given value satisfies Raven's public-theme slug contract. | bool True when the slug is safe for manifest/runtime use. |
| Raven\Lib\View\Public\ThemeValidator::normalize() | method | Validates and normalizes one decoded theme.json payload. | array{name: string, ischildtheme: bool, parent_theme: string}\|null |
| Raven\Lib\View\Qr::dataUriSvgBase64() | method | Builds one base64 SVG data URI for the provided payload string. | string SVG data URI when the QR package is available; otherwise an empty string. |
| Raven\Lib\View\Taxonomy::__construct() | method | Initializes the mixed taxonomy lookup service. | void |
| Raven\Lib\View\Taxonomy::listPageEditorOptionSets() | method | Returns page-editor taxonomy options and assigned category/tag rows in one query. | array{ |
| Raven\Lib\View\Taxonomy::listRoutingInventoryData() | method | Returns routing inventory taxonomy data in one payload. | array{ |
| Raven\Lib\View\Taxonomy::listRoutingOptions() | method | Returns routing-option sets for channel/category/tag routes in one payload. | array{ |
| removeMetaImageDirectoryIfEmpty() | function | Removes one entity meta-image directory after its last file is deleted. | void |
| RuntimeException() | function | RAVEN CMS | (No @return.) |
| Toolbar() | function | RAVEN CMS | (No @return.) |
| uploadPolicyForSlot() | function | Returns the upload policy service that matches one meta-image slot. | CoverUpload\|PreviewUpload Slot-specific upload policy helper. |
| void() | function | RAVEN CMS | (No @return.) |
| writeAgentGuidanceBundle() | function | Writes the canonical theme guidance file plus compatibility symlinks. | void |
| writeRelativeSymlink() | function | Writes one approved local documentation alias. | void |
| writeScaffoldFile() | function | Writes one scaffold-owned file to disk, creating parent directories as needed. | void |
| writeThemeManifest() | function | name: string, | (No @return.) |

Parameter Details

composerFileContent()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • array{

coverUpload()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params: (none)

coverValidator()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params: (none)

Header()

  • File: private/lib/View/Panel/Header.php
  • Params: (none)

ListWrapper()

  • File: private/lib/View/Panel/ListWrapper.php
  • Params: (none)

metaImageExifProcessor()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params: (none)

metaImageImagickProcessor()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params: (none)

metaImageUploadErrorMessage()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params:
  • int $code PHP upload error code.

metaImageVariantProcessor()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params: (none)

Navigation()

  • File: private/lib/View/Panel/Navigation.php
  • Params: (none)

packageFileContent()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • array{

previewValidator()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params: (none)

Raven\Lib\View\Form2fa::__construct()

  • File: private/lib/View/Form2fa.php
  • Params:
  • InputSanitizer $input Shared input sanitizer for form field normalization.

Raven\Lib\View\Form2fa::buildTotpSetupPayload()

  • File: private/lib/View/Form2fa.php
  • Params:
  • mixed $submittedSecret Previously submitted or newly generated TOTP secret.
  • string $accountEmail User&#039;s email address for the provisioning URI.
  • string $totpIssuer Issuer name for the provisioning URI.

Raven\Lib\View\Form2fa::collectWebauthnExcludeCredentialIds()

  • File: private/lib/View/Form2fa.php
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $storedMethods Stored 2FA methods for the user.
  • mixed $submittedExcludeIds Additional credential IDs submitted by the client.
  • int $maxCredentials Maximum number of exclude entries to include.

Raven\Lib\View\Form2fa::generateRecoveryPhrase()

  • File: private/lib/View/Form2fa.php
  • Params:
  • int $wordCount Number of words in the phrase (default 12).

Raven\Lib\View\Form2fa::int()

  • File: private/lib/View/Form2fa.php
  • Params: (none)

Raven\Lib\View\Form2fa::normalizeSubmittedExistingIndices()

  • File: private/lib/View/Form2fa.php
  • Params:
  • mixed $rawMethods Raw submitted methods array from the form POST.

Raven\Lib\View\Form2fa::normalizeSubmittedMethods()

  • File: private/lib/View/Form2fa.php
  • Params:
  • mixed $rawMethods Raw submitted methods array from the form POST.
  • string $fallbackEmail User email used as fallback for email-type methods.
  • string $totpIssuer Issuer name for TOTP method entries.

Raven\Lib\View\Form2fa::prepareMethodsForView()

  • File: private/lib/View/Form2fa.php
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $methods Stored methods for the user.
  • string $fallbackEmail User email fallback for email-type display.
  • string $totpIssuer TOTP issuer name for display.

Raven\Lib\View\Form2fa::resolveTotpIssuer()

  • File: private/lib/View/Form2fa.php
  • Params:
  • string $siteName Configured site name.

Raven\Lib\View\Form2fa::resolveWebauthnUserIdentity()

  • File: private/lib/View/Form2fa.php
  • Params:
  • array&lt;string, mixed&gt; $preferences Stored user preferences row.
  • int $userId User ID for fallback identifier generation.

Raven\Lib\View\Form2fa::string()

  • File: private/lib/View/Form2fa.php
  • Params: (none)

Raven\Lib\View\Form2fa::typeOptions()

  • File: private/lib/View/Form2fa.php
  • Params: (none)

Raven\Lib\View\FormCountries::bool()

  • File: private/lib/View/FormCountries.php
  • Params: (none)

Raven\Lib\View\Pagination::decorateTemplateLinks()

  • File: private/lib/View/Pagination.php
  • Params:
  • array&lt;string, mixed&gt; $pagination

Raven\Lib\View\Pagination::panelViewData()

  • File: private/lib/View/Pagination.php
  • Params:
  • string $basePath Base panel route path used when building page links.
  • array{current: int, per_page: int, total_items: int, total_pages: int, offset: int} $pagination
  • array&lt;string, scalar|null&gt; $query

Raven\Lib\View\Pagination::state()

  • File: private/lib/View/Pagination.php
  • Params:
  • int $totalItems Total row count across the full result set.
  • int $requestedPage Requested page number from route/query input.
  • int $perPage Requested page-size value.

Raven\Lib\View\Panel\EditorAuthor::build()

  • File: private/lib/View/Panel/EditorAuthor.php
  • Params:
  • array&lt;int, mixed&gt; $users
  • callable(string): ?string $normalizeIdentifier

Raven\Lib\View\Panel\EditorAuthor::int()

  • File: private/lib/View/Panel/EditorAuthor.php
  • Params: (none)

Raven\Lib\View\Panel\EditorBlocks::layout()

  • File: private/lib/View/Panel/EditorBlocks.php
  • Params:
  • string $variant Visual variant name used by panel/editor templates.

Raven\Lib\View\Panel\EditorMCE::galleryItems()

  • File: private/lib/View/Panel/EditorMCE.php
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $galleryImages Gallery image records from media-read hydration.

Raven\Lib\View\Panel\EditorMCE::scriptUrl()

  • File: private/lib/View/Panel/EditorMCE.php
  • Params: (none)

Raven\Lib\View\Panel\EditorMDE::cssFallbackPaths()

  • File: private/lib/View/Panel/EditorMDE.php
  • Params: (none)

Raven\Lib\View\Panel\EditorMDE::cssUrl()

  • File: private/lib/View/Panel/EditorMDE.php
  • Params: (none)

Raven\Lib\View\Panel\EditorMDE::jsFallbackPaths()

  • File: private/lib/View/Panel/EditorMDE.php
  • Params: (none)

Raven\Lib\View\Panel\EditorMDE::scriptUrl()

  • File: private/lib/View/Panel/EditorMDE.php
  • Params: (none)

Raven\Lib\View\Panel\EditorMedia::__construct()

  • File: private/lib/View/Panel/EditorMedia.php
  • Params:
  • InputSanitizer $input Shared request sanitizer for integer, text, and float coercion.

Raven\Lib\View\Panel\EditorMedia::galleryUploadsFromFiles()

  • File: private/lib/View/Panel/EditorMedia.php
  • Params:
  • array&lt;string, mixed&gt; $files Full \$_FILES\ payload from the page editor request.
  • Upload $upload Upload normalizer used to flatten multi-file inputs.

Raven\Lib\View\Panel\EditorMedia::int()

  • File: private/lib/View/Panel/EditorMedia.php
  • Params: (none)

Raven\Lib\View\Panel\EditorMedia::normalizeGalleryImageUpdates()

  • File: private/lib/View/Panel/EditorMedia.php
  • Params:
  • mixed $raw Raw value of the gallery_images POST key.

Raven\Lib\View\Panel\EditorMedia::runGalleryDeleteBatch()

  • File: private/lib/View/Panel/EditorMedia.php
  • Params:
  • MediaUpload $mediaUpload Media upload service for per-image delete operations.
  • int $pageId Target page id for image deletion.
  • array&lt;int&gt; $imageIds Selected image ids to delete.

Raven\Lib\View\Panel\EditorMedia::runGalleryUploadBatch()

  • File: private/lib/View/Panel/EditorMedia.php
  • Params:
  • MediaUpload $mediaUpload Media upload service for per-file processing.
  • int $pageId Target page id for gallery uploads.
  • array&lt;int, array&lt;string, mixed&gt;&gt; $uploads Normalized upload rows.

Raven\Lib\View\Panel\EditorMedia::selectedIdsFromPost()

  • File: private/lib/View/Panel/EditorMedia.php
  • Params:
  • array&lt;string, mixed&gt; $post Submitted POST payload containing checkbox id arrays.
  • string $key POST key that stores one selected-id array.

Raven\Lib\View\Panel\EditorMeta::__construct()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params:
  • Config|null $config Optional runtime config used by meta-image upload helpers.
  • string|null $projectRoot Optional project root path used by meta-image upload helpers.

Raven\Lib\View\Panel\EditorMeta::cleanupMetaImagePathSets()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params:
  • string $entityType Entity family: \categories\, \channels\, \groups\, or \tags\.
  • int $entityId Record id that owns the files.
  • array&lt;int, array&lt;string, string|null&gt;&gt; $pathSets One or more path maps returned by upload operations.

Raven\Lib\View\Panel\EditorMeta::deleteMetaImageStoredPaths()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params:
  • string $entityType Entity family: \categories\, \channels\, \groups\, or \tags\.
  • int $entityId Record id that owns the files.
  • array&lt;int, string&gt;|array&lt;string, string|null&gt; $paths Relative stored paths to remove.

Raven\Lib\View\Panel\EditorMeta::storeMetaImageUpload()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params:
  • string $entityType Entity family: \categories\, \channels\, \groups\, or \tags\.
  • int $entityId Record id that owns the files.
  • string $slot Image slot name: \cover\, \preview\, or \icon\.
  • array&lt;string, mixed&gt; $upload Normalized single upload payload from \$_FILES\.

Raven\Lib\View\Panel\EditorPage::__construct()

  • File: private/lib/View/Panel/EditorPage.php
  • Params:
  • InputSanitizer $input Shared sanitizer for editor textarea/path payloads.
  • PageBlockParser|null $pageBlockParser Shared page-block parser for type and CSS normalization.

Raven\Lib\View\Panel\EditorPage::hasGalleryBlock()

  • File: private/lib/View/Panel/EditorPage.php
  • Params:
  • array&lt;int, array{type: string, content: string, css_id: string, css_class: string}&gt; $blocks Normalized editor block rows.
  • array&lt;string, array{label: string, editor: string}&gt; $definitions Complete body-block definition map.

Raven\Lib\View\Panel\EditorPage::mergeTypeDefinitions()

  • File: private/lib/View/Panel/EditorPage.php
  • Params:
  • array&lt;string, array{label: string, editor: string}&gt; $extensionDefinitions Extension-provided block definitions.

Raven\Lib\View\Panel\EditorPage::normalizeEditorSubmittedBlocks()

  • File: private/lib/View/Panel/EditorPage.php
  • Params:
  • mixed $raw Raw \content_blocks\ editor payload.
  • array&lt;string, array{label: string, editor: string}&gt; $definitions Complete body-block definition map.
  • int $maxBlocks Maximum number of blocks to preserve from the editor payload.

Raven\Lib\View\Panel\EditorPermissions::definitions()

  • File: private/lib/View/Panel/EditorPermissions.php
  • Params:
  • callable(): array&lt;string, array&lt;string, mixed&gt;&gt; $extensionPermissionMapProvider Returns the extension permission map (keyed by extension directory).

Raven\Lib\View\Panel\EditorPermissions::extensionBitsMask()

  • File: private/lib/View/Panel/EditorPermissions.php
  • Params:
  • callable(): array&lt;string, array&lt;string, mixed&gt;&gt; $extensionPermissionMapProvider Returns the extension permission map.

Raven\Lib\View\Panel\EditorTabs::__construct()

  • File: private/lib/View/Panel/EditorTabs.php
  • Params:
  • InputSanitizer $input Shared input sanitizer for raw tab values from GET/POST.

Raven\Lib\View\Panel\EditorTabs::normalizeEditorTab()

  • File: private/lib/View/Panel/EditorTabs.php
  • Params:
  • mixed $value Raw tab value from GET or POST (may be null or any type).
  • array&lt;int, string&gt; $allowed Allowed tab slug list.
  • string $default Default tab slug returned when $value is invalid or absent.

Raven\Lib\View\Panel\EditorTabs::panelEditorUrlWithTab()

  • File: private/lib/View/Panel/EditorTabs.php
  • Params:
  • callable(string): string $panelUrlBuilder Panel URL builder callable.
  • string $basePath Base path prefix without trailing slash (e.g. &#039;/page/edit&#039;).
  • int|null $id Numeric record id appended to the path, or null for query-tabbed forms.
  • string $tab Requested tab slug.
  • string $defaultTab Default tab slug; omitted from the URL when it matches $tab.
  • string $fragment Optional URL fragment without leading \#\; appended when non-empty.

Raven\Lib\View\Panel\EditorWrapper::normalizeBodyTextEditorOption()

  • File: private/lib/View/Panel/EditorWrapper.php
  • Params:
  • string $value Raw editor option from config or form input.

Raven\Lib\View\Panel\EditorWrapper::normalizeChannelEditorOverride()

  • File: private/lib/View/Panel/EditorWrapper.php
  • Params:
  • string $value Raw editor override from channel record or form input.

Raven\Lib\View\Panel\Footer::pushHtml()

  • File: private/lib/View/Panel/Footer.php
  • Params:
  • string $html Trusted HTML fragment safe to echo directly.

Raven\Lib\View\Panel\Footer::pushScript()

  • File: private/lib/View/Panel/Footer.php
  • Params:
  • string $javascript Trusted JavaScript block without surrounding \<script>\ tags.

Raven\Lib\View\Panel\Footer::pushStyle()

  • File: private/lib/View/Panel/Footer.php
  • Params:
  • string $css Trusted CSS block without surrounding \<style>\ tags.

Raven\Lib\View\Panel\Footer::render()

  • File: private/lib/View/Panel/Footer.php
  • Params: (none)

Raven\Lib\View\Panel\Footer::renderDeferredAssets()

  • File: private/lib/View/Panel/Footer.php
  • Params: (none)

Raven\Lib\View\Panel\Footer::reset()

  • File: private/lib/View/Panel/Footer.php
  • Params: (none)

Raven\Lib\View\Panel\Header::render()

  • File: private/lib/View/Panel/Header.php
  • Params:
  • array&lt;string, mixed&gt; $config Header fields such as title/title_html, intro_html, summary/summary_html, subheading/subheading_html, actions, body_html, and optional class overrides.

Raven\Lib\View\Panel\ListFilter::appendExistsIntMatch()

  • File: private/lib/View/Panel/ListFilter.php
  • Params:
  • array&lt;int, string&gt; $where Mutable WHERE-clause fragment list.
  • array&lt;string, int|string&gt; $params Mutable prepared-statement parameter map.
  • string $table Resolved junction-table name.
  • string $alias SQL alias used inside the EXISTS subquery.
  • string $matchColumn Junction-table column that links back to the outer row.
  • string $matchExpression Outer SQL expression the match column should equal.
  • string $filterColumn Junction-table column that should match the filter id.
  • int|null $value Normalized integer filter id from controller/parser input.
  • string $placeholderPrefix Prefix used to namespace generated placeholders.
  • string $filterKey Stable key name appended to the placeholder.

Raven\Lib\View\Panel\ListFilter::appendIntEquals()

  • File: private/lib/View/Panel/ListFilter.php
  • Params:
  • array&lt;int, string&gt; $where Mutable WHERE-clause fragment list.
  • array&lt;string, int|string&gt; $params Mutable prepared-statement parameter map.
  • string $column SQL column/expression that should equal the filter id.
  • int|null $value Normalized integer filter id from controller/parser input.
  • string $placeholderPrefix Prefix used to namespace generated placeholders.
  • string $filterKey Stable key name appended to the placeholder.

Raven\Lib\View\Panel\ListWrapper::render()

  • File: private/lib/View/Panel/ListWrapper.php
  • Params:
  • array&lt;string, mixed&gt; $config Declarative list configuration (see class docblock).

Raven\Lib\View\Panel\Navigation::renderMobile()

  • File: private/lib/View/Panel/Navigation.php
  • Params:
  • array&lt;string, mixed&gt; $config Declarative nav configuration (see class docblock).

Raven\Lib\View\Panel\Navigation::renderSidebar()

  • File: private/lib/View/Panel/Navigation.php
  • Params:
  • array&lt;string, mixed&gt; $config Declarative nav configuration (see class docblock).

Raven\Lib\View\Panel\Theme::defaultFromConfig()

  • File: private/lib/View/Panel/Theme.php
  • Params:
  • Config $config Runtime configuration reader.

Raven\Lib\View\Panel\Theme::effectiveFromPreferences()

  • File: private/lib/View/Panel/Theme.php
  • Params:
  • array&lt;string, mixed&gt;|null $preferences User preference row, or null.
  • string $defaultTheme Canonical default panel theme slug.

Raven\Lib\View\Panel\Theme::normalizeChoice()

  • File: private/lib/View/Panel/Theme.php
  • Params:
  • string $theme Raw theme value from config, form input, or preferences.
  • bool $allowDefault Whether the literal \default\ sentinel is allowed.

Raven\Lib\View\Panel\Toolbar::render()

  • File: private/lib/View/Panel/Toolbar.php
  • Params:
  • array&lt;string, mixed&gt; $config Toolbar configuration including \items\, optional \tag\, and optional \class\.

Raven\Lib\View\Preferences::interactiveTwoFactorMethods()

  • File: private/lib/View/Preferences.php
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $methods Raw 2FA method rows from the user preferences row.
  • string $fallbackEmail Account email used when an email method omits its own address.

Raven\Lib\View\Preferences::updateUserPreferences()

  • File: private/lib/View/Preferences.php
  • Params:
  • int $userId Target user id for the update.
  • array{
  • UserRead $userRead User read repository used for uniqueness checks.
  • AuthWrite $authWrite Auth write repository used to persist updated fields.

Raven\Lib\View\Preferences::validatePreferenceUpdate()

  • File: private/lib/View/Preferences.php
  • Params:
  • string $email Normalized email value from the update payload.
  • ?string $password New password when the user is changing it, or null to leave unchanged.
  • bool $usernameTaken True when the submitted username belongs to a different user.
  • bool $emailTaken True when the submitted email belongs to a different user.

Raven\Lib\View\Public\Error::__construct()

  • File: private/lib/View/Public/Error.php
  • Params:
  • Config $config Runtime configuration reader.
  • string $root Absolute project root (directory containing public/, private/, etc.).
  • ThemeCatalog|null $themeCatalog Optional injected public-theme catalog.
  • ThemeTemplate|null $themeTemplate Optional injected public template resolver.
  • ThemeBrace|null $themeBrace Optional injected template renderer.
  • Meta|null $meta Optional injected public meta payload service.

Raven\Lib\View\Public\Error::render404()

  • File: private/lib/View/Public/Error.php
  • Params: (none)

Raven\Lib\View\Public\Error::renderDenied()

  • File: private/lib/View/Public/Error.php
  • Params: (none)

Raven\Lib\View\Public\Error::renderDisabled()

  • File: private/lib/View/Public/Error.php
  • Params: (none)

Raven\Lib\View\Public\Meta::__construct()

  • File: private/lib/View/Public/Meta.php
  • Params:
  • Request $requestContextResolver Shared request-context helper.
  • ThemeCatalog $themeCatalogService Public-theme catalog helper.
  • UserProfileParser $profileContactService Profile-contact helper for author social metadata.
  • FeedPolicy $feedParser Feed-route policy helper for root feed URLs.

Raven\Lib\View\Public\Meta::absoluteMetaImageUrl()

  • File: private/lib/View/Public/Meta.php
  • Params:
  • string $value Candidate local path.
  • string $configuredDomain Configured site domain for absolute-path expansion.
  • string $configuredProtocol Configured preferred scheme override.

Raven\Lib\View\Public\Meta::siteData()

  • File: private/lib/View/Public/Meta.php
  • Params:
  • Config $config Runtime configuration reader.
  • string|null $themeOverride Optional channel theme override; null/inherit uses the global theme.

Raven\Lib\View\Public\Meta::siteDataWithPageMeta()

  • File: private/lib/View/Public/Meta.php
  • Params:
  • array&lt;string, mixed&gt; $page
  • array&lt;string, string&gt; $site
  • callable(int): string|null $pagePreviewImageUrlResolver
  • callable(int): array&lt;string, mixed&gt;|null $authorById
  • array&lt;int, array&lt;string, mixed&gt;&gt; $profileOptions

Raven\Lib\View\Public\Meta::siteDataWithTaxonomyMetaImage()

  • File: private/lib/View/Public/Meta.php
  • Params:
  • array&lt;string, mixed&gt; $taxonomy
  • array&lt;string, string&gt; $site

Raven\Lib\View\Public\PageBlocks::__construct()

  • File: private/lib/View/Public/PageBlocks.php
  • Params:
  • string $projectRoot Absolute project root used to resolve local Markdown-file blocks safely.
  • PageBlockParser $pageBlockParser Shared page-block parser for type and CSS normalization.
  • PageMarkdown $pageMarkdown Shared Markdown renderer for Markdown body blocks.
  • callable(?string=): array&lt;string, mixed&gt;|null $extensionServicesProvider Optional lazy extension-service resolver for external Markdown sources.

Raven\Lib\View\Public\PageBlocks::mergeTypeDefinitions()

  • File: private/lib/View/Public/PageBlocks.php
  • Params:
  • array&lt;string, array{label: string, editor: string}&gt; $extensionDefinitions Extension-provided block definitions.

Raven\Lib\View\Public\PageBlocks::renderPageContentBlocks()

  • File: private/lib/View/Public/PageBlocks.php
  • Params:
  • array&lt;string, mixed&gt; $page Public page payload containing \content_blocks\.
  • array&lt;string, array{label: string, editor: string}&gt; $definitions Complete body-block definition map.
  • callable(): string $galleryRenderer Callback that renders the page gallery block lazily.
  • callable(string): string $embeddedFormRenderer Callback that expands embedded forms/shortcodes in block HTML.

Raven\Lib\View\Public\PageMarkdown::normalizeLinkUrl()

  • File: private/lib/View/Public/PageMarkdown.php
  • Params:
  • string $url Raw Markdown link target.

Raven\Lib\View\Public\PageMarkdown::renderInline()

  • File: private/lib/View/Public/PageMarkdown.php
  • Params:
  • string $text Raw inline Markdown text.

Raven\Lib\View\Public\PageMarkdown::string()

  • File: private/lib/View/Public/PageMarkdown.php
  • Params: (none)

Raven\Lib\View\Public\PageMarkdown::string()

  • File: private/lib/View/Public/PageMarkdown.php
  • Params: (none)

Raven\Lib\View\Public\PageMarkdown::toHtml()

  • File: private/lib/View/Public/PageMarkdown.php
  • Params:
  • string $markdown Raw Markdown content.

Raven\Lib\View\Public\PageMarkdown::void()

  • File: private/lib/View/Public/PageMarkdown.php
  • Params: (none)

Raven\Lib\View\Public\TemplateDecorator::__construct()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • Config $config Runtime configuration reader.
  • InputSanitizer $input Shared request sanitizer.
  • string $projectRoot Absolute project root for media-path resolution.

Raven\Lib\View\Public\TemplateDecorator::decorateGalleryImagesForTemplate()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $galleryImages

Raven\Lib\View\Public\TemplateDecorator::decorateGroupForTemplate()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;string, mixed&gt; $group
  • array&lt;int, array&lt;string, mixed&gt;&gt; $members

Raven\Lib\View\Public\TemplateDecorator::decorateGroupMembersForTemplate()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $members

Raven\Lib\View\Public\TemplateDecorator::decoratePageForTemplate()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;string, mixed&gt; $page

Raven\Lib\View\Public\TemplateDecorator::decoratePageListForTemplate()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $pages

Raven\Lib\View\Public\TemplateDecorator::decoratePaginationForTemplate()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;string, mixed&gt; $pagination

Raven\Lib\View\Public\TemplateDecorator::decorateProfileForTemplate()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;string, mixed&gt; $profile

Raven\Lib\View\Public\TemplateDecorator::decorateTemplateData()

  • File: private/lib/View/Public/TemplateDecorator.php
  • Params:
  • array&lt;string, mixed&gt; $data
  • int $statusCode HTTP status code for the current render.

Raven\Lib\View\Public\ThemeBrace::__construct()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params:
  • string $cacheDirectory Absolute cache directory for compiled public templates.

Raven\Lib\View\Public\ThemeBrace::compare()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params:
  • string $path Colon-delimited brace-tag path to resolve.
  • string $operator Comparison operator: \==\, \!=\, \<\, \>\, \<=\, or \>=\.
  • string $rhs Right-hand-side literal from the compiled template.
  • array&lt;int, array&lt;string, mixed&gt;&gt; $scope Template scope stack, deepest scope last.

Raven\Lib\View\Public\ThemeBrace::iter()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params:
  • string $path Colon-delimited brace-tag path to resolve.
  • array&lt;int, array&lt;string, mixed&gt;&gt; $scope Template scope stack, deepest scope last.

Raven\Lib\View\Public\ThemeBrace::renderFile()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params:
  • string $file Absolute source template file.
  • array&lt;string, mixed&gt; $data Template payload exposed to the compiled view scope.

Raven\Lib\View\Public\ThemeBrace::string()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params: (none)

Raven\Lib\View\Public\ThemeBrace::string()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params: (none)

Raven\Lib\View\Public\ThemeBrace::string()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params: (none)

Raven\Lib\View\Public\ThemeBrace::truthy()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params:
  • string $path Colon-delimited brace-tag path such as \page:published\.
  • array&lt;int, array&lt;string, mixed&gt;&gt; $scope Template scope stack, deepest scope last.

Raven\Lib\View\Public\ThemeBrace::value()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params:
  • string $path Colon-delimited brace-tag path such as \page:title\.
  • array&lt;int, array&lt;string, mixed&gt;&gt; $scope Template scope stack, deepest scope last.
  • bool $raw When true, bypasses HTML escaping for trusted output.

Raven\Lib\View\Public\ThemeCatalog::__construct()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • array&lt;int, string&gt; $stockSlugs

Raven\Lib\View\Public\ThemeCatalog::activeSlugFromConfig()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • Config $config Runtime configuration reader.

Raven\Lib\View\Public\ThemeCatalog::cssSlug()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • string $themeSlug Active public-theme slug.

Raven\Lib\View\Public\ThemeCatalog::inheritanceChain()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • string $themeSlug Theme slug to resolve.

Raven\Lib\View\Public\ThemeCatalog::isSafeSlug()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • string $slug Candidate public-theme slug.

Raven\Lib\View\Public\ThemeCatalog::isStockSlug()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • string $slug Theme slug to inspect.

Raven\Lib\View\Public\ThemeCatalog::listForPanel()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params: (none)

Raven\Lib\View\Public\ThemeCatalog::nextAvailableSlug()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • string $baseSlug Requested base slug.
  • int $maxAttempts Maximum numbered-copy attempts before giving up.

Raven\Lib\View\Public\ThemeCatalog::options()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params: (none)

Raven\Lib\View\Public\ThemeCatalog::resolveOverrideSlug()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • string $override Stored channel override slug or \inherit\ sentinel.
  • Config $config Runtime configuration reader containing the global site theme.

Raven\Lib\View\Public\ThemeCatalog::root()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params: (none)

Raven\Lib\View\Public\ThemeCatalog::slugFromArchiveFilename()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params:
  • string $archiveName Uploaded archive filename.

Raven\Lib\View\Public\ThemeCatalog::stockSlugs()

  • File: private/lib/View/Public/ThemeCatalog.php
  • Params: (none)

Raven\Lib\View\Public\ThemeDiscovery::inheritanceChain()

  • File: private/lib/View/Public/ThemeDiscovery.php
  • Params:
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $themeSlug Theme slug to resolve from.

Raven\Lib\View\Public\ThemeDiscovery::int()

  • File: private/lib/View/Public/ThemeDiscovery.php
  • Params: (none)

Raven\Lib\View\Public\ThemeDiscovery::manifests()

  • File: private/lib/View/Public/ThemeDiscovery.php
  • Params:
  • string $themesRoot Absolute path to the public-theme root directory.

Raven\Lib\View\Public\ThemeDiscovery::options()

  • File: private/lib/View/Public/ThemeDiscovery.php
  • Params:
  • string $themesRoot Absolute path to the public-theme root directory.

Raven\Lib\View\Public\ThemeGenerator::agentsFileContent()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • array{

Raven\Lib\View\Public\ThemeGenerator::copyDirectoryRecursively()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • string $sourceDirectory Existing source theme directory.
  • string $targetDirectory Destination directory for the cloned theme.

Raven\Lib\View\Public\ThemeGenerator::createSkeleton()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • string $themePath Absolute destination theme directory.
  • array{
  • bool $generateAgentsFile Whether to generate local agent-guidance files.
  • bool $generateComposerFile Whether to generate a starter \composer.json\.
  • bool $generatePackageFile Whether to generate a starter \package.json\.

Raven\Lib\View\Public\ThemeGenerator::finalizeClone()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • string $themePath Absolute destination theme directory.
  • array{
  • bool $generateAgentsFile Whether to generate local agent-guidance files.
  • bool $generateComposerFile Whether to generate a starter \composer.json\.
  • bool $generatePackageFile Whether to generate a starter \package.json\.

Raven\Lib\View\Public\ThemeTemplate::__construct()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • InputSanitizer $input Shared request sanitizer used for slug-safe template overrides.

Raven\Lib\View\Public\ThemeTemplate::currentThemeViewsRoots()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $activeThemeSlug Active public-theme slug.

Raven\Lib\View\Public\ThemeTemplate::lookupRoots()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $activeThemeSlug Active public-theme slug.
  • string $coreViewsRoot Absolute path to the core template root.

Raven\Lib\View\Public\ThemeTemplate::render()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $template Relative template name without leading slash or \.php\ extension.
  • array&lt;string, mixed&gt; $data Template payload.
  • string|null $layout Optional layout template name.
  • callable(string, array&lt;string, mixed&gt;): string $renderFile Callable that renders one absolute file path.
  • string ...$lookupRoots Absolute directory paths to search in priority order.

Raven\Lib\View\Public\ThemeTemplate::renderForThemeChain()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $template Relative template name without leading slash or \.php\ extension.
  • array&lt;string, mixed&gt; $data Template payload.
  • string|null $layout Optional layout template name.
  • callable(string, array&lt;string, mixed&gt;): string $renderFile Callable that renders one absolute file path.
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $activeThemeSlug Active public-theme slug.
  • string $coreViewsRoot Absolute path to the core template root.

Raven\Lib\View\Public\ThemeTemplate::resolveCategoryTemplateName()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $categorySlug Category slug used for slug-specific template overrides.
  • string ...$lookupRoots Absolute directory paths to search in priority order.

Raven\Lib\View\Public\ThemeTemplate::resolveCategoryTemplateNameForThemeChain()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $categorySlug Category slug used for slug-specific template overrides.
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $activeThemeSlug Active public-theme slug.
  • string $coreViewsRoot Absolute path to the core template root.

Raven\Lib\View\Public\ThemeTemplate::resolveChannelTemplateName()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $channelSlug Channel slug used for slug-specific template overrides.
  • string ...$lookupRoots Absolute directory paths to search in priority order.

Raven\Lib\View\Public\ThemeTemplate::resolveChannelTemplateNameForThemeChain()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $channelSlug Channel slug used for slug-specific template overrides.
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $activeThemeSlug Active public-theme slug.
  • string $coreViewsRoot Absolute path to the core template root.

Raven\Lib\View\Public\ThemeTemplate::resolvePageTemplateName()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string|null $channelSlug Optional channel slug used for page-template overrides.
  • string ...$lookupRoots Absolute directory paths to search in priority order.

Raven\Lib\View\Public\ThemeTemplate::resolvePageTemplateNameForThemeChain()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string|null $channelSlug Optional channel slug used for page-template overrides.
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $activeThemeSlug Active public-theme slug.
  • string $coreViewsRoot Absolute path to the core template root.

Raven\Lib\View\Public\ThemeTemplate::resolveTagTemplateName()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $tagSlug Tag slug used for slug-specific template overrides.
  • string ...$lookupRoots Absolute directory paths to search in priority order.

Raven\Lib\View\Public\ThemeTemplate::resolveTagTemplateNameForThemeChain()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $tagSlug Tag slug used for slug-specific template overrides.
  • string $themesRoot Absolute path to the public-theme root directory.
  • string $activeThemeSlug Active public-theme slug.
  • string $coreViewsRoot Absolute path to the core template root.

Raven\Lib\View\Public\ThemeTemplate::resolveTemplateFile()

  • File: private/lib/View/Public/ThemeTemplate.php
  • Params:
  • string $template Relative template name without leading slash or \.php\ extension.
  • string ...$roots Absolute directory paths to search in priority order.

Raven\Lib\View\Public\ThemeValidator::isValidSlug()

  • File: private/lib/View/Public/ThemeValidator.php
  • Params:
  • string $slug Candidate public-theme slug.

Raven\Lib\View\Public\ThemeValidator::normalize()

  • File: private/lib/View/Public/ThemeValidator.php
  • Params:
  • string $themeSlug Filesystem theme slug that owns the manifest.
  • array&lt;string, mixed&gt; $manifest

Raven\Lib\View\Qr::dataUriSvgBase64()

  • File: private/lib/View/Qr.php
  • Params:
  • string $payload Raw QR-code payload string to encode.
  • int $size Target square size in pixels for the rendered SVG.

Raven\Lib\View\Taxonomy::__construct()

  • File: private/lib/View/Taxonomy.php
  • Params:
  • PDO $db App database connection used for mixed option-set reads.
  • string $driver Active PDO driver name used for table-name resolution.
  • string $prefix Application table prefix before resolver sanitization.
  • ChannelRead $channelRepo Channel read side used to contribute channel routing options.

Raven\Lib\View\Taxonomy::listPageEditorOptionSets()

  • File: private/lib/View/Taxonomy.php
  • Params:
  • int $pageId Page id whose taxonomy assignments should be loaded.
  • bool $includeCategories Whether category option rows should be included.
  • bool $includeTags Whether tag option rows should be included.

Raven\Lib\View\Taxonomy::listRoutingInventoryData()

  • File: private/lib/View/Taxonomy.php
  • Params:
  • bool $includeCategories Whether category route rows should be included.
  • bool $includeTags Whether tag route rows should be included.
  • bool $includeRedirects Whether redirect inventory rows should be included.

Raven\Lib\View\Taxonomy::listRoutingOptions()

  • File: private/lib/View/Taxonomy.php
  • Params: (none)

removeMetaImageDirectoryIfEmpty()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params:
  • string $entityType Entity family: \categories\, \channels\, \groups\, or \tags\.
  • int $entityId Record id that owns the directory.

RuntimeException()

  • File: private/lib/View/Public/ThemeBrace.php
  • Params: (none)

Toolbar()

  • File: private/lib/View/Panel/Toolbar.php
  • Params: (none)

uploadPolicyForSlot()

  • File: private/lib/View/Panel/EditorMeta.php
  • Params:
  • string $slot Target slot key (\cover\, \icon\, \preview\).

void()

  • File: private/lib/View/Qr.php
  • Params: (none)

writeAgentGuidanceBundle()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • string $themePath Absolute theme directory path.
  • array{

writeRelativeSymlink()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • string $linkPath Absolute path to an \AGENTS.md\ or \CLAUDE.md\ alias.
  • string $target Relative target; must be the local \agents\ file.

writeScaffoldFile()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • string $targetPath Target file path.
  • string $content File contents to write.

writeThemeManifest()

  • File: private/lib/View/Public/ThemeGenerator.php
  • Params:
  • array{