Core Group: repository

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

| Symbol | Kind | Summary | @return | Service Keys |
| --- | --- | --- | --- | --- |
| Raven\Core\Repository\AuthWrite::__construct() | method | Prepares the auth write repository. | void | (none) |
| Raven\Core\Repository\AuthWrite::updatePreferences() | method | Updates one auth-user preference/security profile row. | void | (none) |
| Raven\Core\Repository\AuthWrite::updateTwoFactorMethods() | method | Normalizes and persists user 2FA methods for one account. | array{ok: bool, errors: array<int, string>} Write status and validation errors. | (none) |
| Raven\Core\Repository\CategoryRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\CategoryRead::count() | method | Returns total category count, optionally filtered by taxonomy set id. | int Total matching category count. | (none) |
| Raven\Core\Repository\CategoryRead::countsBySetId() | method | Returns category counts grouped by taxonomy set id. | array<int, int> Map of taxonomy set id to category count. | (none) |
| Raven\Core\Repository\CategoryRead::existingIds() | method | Returns only ids that currently exist in storage. | array<int> Subset of ids that match rows in the categories table. | (none) |
| Raven\Core\Repository\CategoryRead::findById() | method | Returns one category by id. | array<string, mixed>\|null Hydrated category row, or null when not found. | (none) |
| Raven\Core\Repository\CategoryRead::findBySlug() | method | Returns one category by slug. | array<string, mixed>\|null Hydrated category row, or null when not found. | (none) |
| Raven\Core\Repository\CategoryRead::idBySlug() | method | Returns one category id by slug, or null when not found. | int\|null Category id, or null when no match exists. | (none) |
| Raven\Core\Repository\CategoryRead::listAll() | method | Returns all categories with linked page counts. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\CategoryRead::listOptions() | method | Returns minimal category options suitable for select controls and parser lookups. | array<int, array{id: int, name: string, slug: string, set: int}> | (none) |
| Raven\Core\Repository\CategoryRead::listPage() | method | Returns one paginated category page plus total row count in one query. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\CategoryRead::listPaged() | method | Returns paginated categories with linked page counts, optionally filtered by taxonomy set. | array<int, array<string, mixed>> Hydrated category rows with page counts. | (none) |
| Raven\Core\Repository\CategoryRead::setIdsByIds() | method | Returns a map of category id → set id for a given list of category ids. | array<int, int> Map of category id to its taxonomy set id (0 when unassigned). | (none) |
| Raven\Core\Repository\CategoryWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\CategoryWrite::deleteById() | method | Deletes one category and removes its page assignment rows. | void | (none) |
| Raven\Core\Repository\CategoryWrite::reassignSetToDefault() | method | Moves all categories in the given set to the default set. | void | (none) |
| Raven\Core\Repository\CategoryWrite::save() | method | Creates or updates one category and returns the category id. | int The saved category id. | (none) |
| Raven\Core\Repository\CategoryWrite::updateImageFiles() | method | Updates one category's cover/preview/icon image files. | void | (none) |
| Raven\Core\Repository\ChannelRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\ChannelRead::applyBasicChannelContext() | method | Applies channel slug and name context fields to a row array. | array<string, mixed> Row with channelslug and channelname fields populated. | (none) |
| Raven\Core\Repository\ChannelRead::applyPageChannelContext() | method | Applies channel routing context fields to a page row array. | array<string, mixed> Row with channel context and routing fields populated. | (none) |
| Raven\Core\Repository\ChannelRead::candidatePathsForIdInDirectory() | method | Returns all file paths that could belong to the given channel id. | array<int, string> Deduplicated list of matching absolute paths. | (none) |
| Raven\Core\Repository\ChannelRead::canonicalizeRecordStatic() | method | Builds a canonical channel record array with all fields validated and normalized. | array<string, mixed> Canonicalized channel record. | (none) |
| Raven\Core\Repository\ChannelRead::channelsByIdMap() | method | Builds a map of channel id → channel record from a flat list of channel rows. | array<int, array<string, mixed>> Map keyed by integer channel id. | (none) |
| Raven\Core\Repository\ChannelRead::clearCache() | method | Clears the in-process record cache. | void | (none) |
| Raven\Core\Repository\ChannelRead::count() | method | Returns total channel count including the root channel record. | int Total channel count. | (none) |
| Raven\Core\Repository\ChannelRead::countExplicitTaxonomySetAssignments() | method | Counts channels that explicitly include a given taxonomy set id in their configuration. | int Number of channels that list this set id in their categorysets or tagsets field. | (none) |
| Raven\Core\Repository\ChannelRead::explicitTaxonomySetCounts() | method | Returns channel assignment counts keyed by taxonomy set id. | array<int, int> Map of set id to number of channels that explicitly select it. | (none) |
| Raven\Core\Repository\ChannelRead::filenameIdStatic() | method | Extracts the numeric id component from a channel filename, or -1 if the pattern does not match. | int Extracted id, or -1 on no match. | (none) |
| Raven\Core\Repository\ChannelRead::findById() | method | Returns one channel by id. | array<string, mixed>\|null Channel record, or null when not found. | (none) |
| Raven\Core\Repository\ChannelRead::findByIdOrSlug() | method | Returns one channel by either a numeric id or a slug string. | array<string, mixed>\|null Channel record, or null when not found. | (none) |
| Raven\Core\Repository\ChannelRead::findByPath() | method | Returns one channel by its complete parent-aware public path. | array<string, mixed>\|null Channel record, or null when the hierarchy does not match. | (none) |
| Raven\Core\Repository\ChannelRead::findBySlug() | method | Returns one channel by slug. | array<string, mixed>\|null Channel record, or null when not found. | (none) |
| Raven\Core\Repository\ChannelRead::findPathBySlugInDirectory() | method | Finds the file path for a channel by slug within one directory, or null if none exists. | string\|null Matching path, or null. | (none) |
| Raven\Core\Repository\ChannelRead::idBySlug() | method | Resolves one channel id by slug, or null when not found. | int\|null Channel id, or null when no matching channel exists. | (none) |
| Raven\Core\Repository\ChannelRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\ChannelRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\ChannelRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\ChannelRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\ChannelRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\ChannelRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\ChannelRead::invalidatePhpFileCacheStatic() | method | Clears the PHP stat cache and OPcache entry for a file path before a read. | void | (none) |
| Raven\Core\Repository\ChannelRead::listAll() | method | Returns all channels with attached page counts, sorted with the root channel last. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\ChannelRead::listOptions() | method | Returns minimal channel option rows suitable for select controls and parser lookups. | array<int, array{id: int, name: string, slug: string, path: string, parentid: int, depth: int, categorysets: array<int, int\|string>, tagsets: array<int, int\|string>, editoroverride: string, routemode: string, routeseparator: string}> | (none) |
| Raven\Core\Repository\ChannelRead::listPage() | method | Returns one paginated channel page plus total row count. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\ChannelRead::listPaged() | method | Returns paginated channels with attached page counts. | array<int, array<string, mixed>> Hydrated channel rows with page counts. | (none) |
| Raven\Core\Repository\ChannelRead::listParentOptions() | method | Returns root-first hierarchical options for the channel parent selector. | array<int, array{id: int, name: string, slug: string, path: string, parent_id: int, depth: int}> Root-first indented parent options. | (none) |
| Raven\Core\Repository\ChannelRead::listRecords() | method | Returns all channel records without page-count joins. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\ChannelRead::listRoutingOptions() | method | Returns channel options for routing diagnostics, including the stock root channel. | array<int, array{id: int, name: string, slug: string, path: string, parentid: int, index: string, feedenabled: bool, categorysets: array<int, int\|string>, tagsets: array<int, int\|string>, editoroverride: string, routemode: string, route_separator: string}> | (none) |
| Raven\Core\Repository\ChannelRead::loadRawByPathStatic() | method | Loads the raw PHP-array payload from a channel file at the given path. | array<string, mixed> Deserialized record data, or [] on missing/invalid file. | (none) |
| Raven\Core\Repository\ChannelRead::loadRawBySlug() | method | Loads the raw data array for a channel by its slug, or an empty array when not found. | array<string, mixed> Raw record data, or [] when the record does not exist. | (none) |
| Raven\Core\Repository\ChannelRead::pageCountsByChannelId() | method | Returns a page-count map keyed by channel id. | array<int, int> Map of channel id to page count. | (none) |
| Raven\Core\Repository\ChannelRead::pathForChannel() | method | Builds the canonical parent-aware public path for one channel id. | string Slash-separated public channel path, or an empty string for root/invalid channels. | (none) |
| Raven\Core\Repository\ChannelRead::rawChannelFilePathsInDirectory() | method | Returns all raw file paths in a channel directory without sorting or normalization. | array<int, string> Unsorted absolute file paths. | (none) |
| Raven\Core\Repository\ChannelRead::recordIdFromRawStatic() | method | Resolves the channel id for a raw data array, falling back to the filename if the field is absent. | int\|null Resolved channel id, or null if it cannot be determined. | (none) |
| Raven\Core\Repository\ChannelRead::recordSlugFromRawStatic() | method | Derives the canonical slug for a record, falling back through filename and name heuristics. | string Canonical slug string. | (none) |
| Raven\Core\Repository\ChannelRead::slugExists() | method | Returns true when a channel with the given slug exists. | bool True when a channel with this slug is found. | (none) |
| Raven\Core\Repository\ChannelRead::slugFromFilenameStatic() | method | Extracts the slug component from a channel filename, or the full basename when no id prefix is present. | string Lowercase slug string, or empty string on failure. | (none) |
| Raven\Core\Repository\ChannelRead::string() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\ChannelRead::themeOverrideForChannelHierarchy() | method | Resolves the first explicit public-theme override in a channel's parent chain. | string Explicit theme slug from the channel hierarchy, or inherit when none is set. | (none) |
| Raven\Core\Repository\ChannelShared::isRootChannelId() | method | Returns whether the given id is the root channel id. | bool True when $id equals ROOTCHANNELID. | (none) |
| Raven\Core\Repository\ChannelShared::isRootChannelSlug() | method | Returns whether the given slug is the root channel slug. | bool True when the normalized slug equals ROOTCHANNELSLUG. | (none) |
| Raven\Core\Repository\ChannelShared::isValidSlug() | method | Returns whether a slug string meets channel slug format requirements. | bool True when the slug is non-empty and contains only lowercase alphanumerics and hyphens. | (none) |
| Raven\Core\Repository\ChannelShared::normalizeEditorOverride() | method | Normalizes an editor-override value to one of the accepted enum strings. | string One of 'inherit', 'tinymce', 'plaintext', 'autobr', or 'markdown'; defaults to 'inherit'. | (none) |
| Raven\Core\Repository\ChannelShared::normalizeFeedEnabled() | method | Normalizes a raw feed-enabled value to a boolean. | bool True when the value represents an enabled state. | (none) |
| Raven\Core\Repository\ChannelShared::normalizeNullablePath() | method | Normalizes a nullable path scalar to a trimmed string or null. | string\|null Trimmed path string, or null when the value is empty or non-scalar. | (none) |
| Raven\Core\Repository\ChannelShared::normalizeParentId() | method | Normalizes a channel parent id to a non-negative integer, defaulting to root. | int Valid non-negative parent id, or ROOTCHANNELID when invalid. | (none) |
| Raven\Core\Repository\ChannelShared::normalizeThemeOverride() | method | Normalizes a channel theme override to the inherit sentinel or a safe theme slug. | string inherit or a filesystem-safe public-theme slug. | (none) |
| Raven\Core\Repository\ChannelWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\ChannelWrite::deleteById() | method | Deletes one channel. Throws if the channel still has pages or redirects assigned. | void | (none) |
| Raven\Core\Repository\ChannelWrite::deleteRecordById() | method | Deletes all channel files on disk that belong to the given channel id. | void | (none) |
| Raven\Core\Repository\ChannelWrite::normalizeStorageLayout() | method | Ensures all stored channel files use canonical filenames and canonical field values. | void | (none) |
| Raven\Core\Repository\ChannelWrite::persistChannelId() | method | Re-persists one channel file under the correct canonical path after an id change. | void | (none) |
| Raven\Core\Repository\ChannelWrite::save() | method | Creates or updates one channel and returns the channel id. | int The saved channel id. | (none) |
| Raven\Core\Repository\ChannelWrite::updateImagePaths() | method | Updates one channel's cover/preview image path set. | void | (none) |
| Raven\Core\Repository\ChannelWrite::writeRecordById() | method | Atomically writes one channel record to disk. | void | (none) |
| Raven\Core\Repository\ConfigRead::bool() | method | Normalizes one mixed config value into a boolean. | bool Normalized boolean config value. | (none) |
| Raven\Core\Repository\ConfigRead::detectScalarType() | method | Detects the scalar type label used by the panel config editor. | string Scalar type label for form normalization. | (none) |
| Raven\Core\Repository\ConfigRead::float() | method | Normalizes one mixed config value into a float. | float Normalized float config value. | (none) |
| Raven\Core\Repository\ConfigRead::get() | method | Reads one config value from a nested array using dot notation. | mixed Resolved config value or the provided default. | (none) |
| Raven\Core\Repository\ConfigRead::getBySegments() | method | Reads one config value from a nested array using pre-split path segments. | mixed Resolved config value or the provided default. | (none) |
| Raven\Core\Repository\ConfigRead::int() | method | Normalizes one mixed config value into an integer. | int Normalized integer config value. | (none) |
| Raven\Core\Repository\ConfigRead::readNestedString() | method | Reads one submitted nested scalar value and normalizes it to a string. | string Submitted scalar value, or an empty string when absent. | (none) |
| Raven\Core\Repository\ConfigRead::segments() | method | Returns cached dot-path segments for one config key. | array<int, string> Cached path segments. | (none) |
| Raven\Core\Repository\ConfigRead::stringifyScalar() | method | Stringifies one scalar config value for panel form fields. | string Normalized string form used by the panel editor. | (none) |
| Raven\Core\Repository\ConfigWrite::persist() | method | Persists a config array to a PHP file at the given path. | void | (none) |
| Raven\Core\Repository\ConfigWrite::persistValue() | method | Persists one config value while leaving the rest of the file untouched. | array<string, mixed> Updated config tree after the write. | (none) |
| Raven\Core\Repository\ConfigWrite::set() | method | Writes one dot-delimited config value into an array tree. | void | (none) |
| Raven\Core\Repository\ConfigWrite::setNested() | method | Writes one nested config value into an array tree by path segments. | void | (none) |
| Raven\Core\Repository\GroupRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\GroupRead::count() | method | Returns total group count. | int Total group row count. | (none) |
| Raven\Core\Repository\GroupRead::findById() | method | Returns one group by id. | array<string, mixed>\|null Hydrated group row, or null when not found. | (none) |
| Raven\Core\Repository\GroupRead::findBySlug() | method | Returns one group by slug. | array<string, mixed>\|null Hydrated group row, or null when not found. | (none) |
| Raven\Core\Repository\GroupRead::findRoutedBySlugWithMembers() | method | Returns one route-enabled group row and member profiles in one query. | array{ | (none) |
| Raven\Core\Repository\GroupRead::idByName() | method | Finds group id by exact name. | int\|null Group id, or null when not found. | (none) |
| Raven\Core\Repository\GroupRead::idBySlug() | method | Finds group id by exact slug (case-insensitive). | int\|null Group id, or null when not found. | (none) |
| Raven\Core\Repository\GroupRead::listAll() | method | Returns all groups with member counts. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\GroupRead::listOptions() | method | Returns minimal group option rows suitable for user assignment forms and select controls. | array<int, array{id: int, name: string, slug: string, permissions: int, is_stock: int}> | (none) |
| Raven\Core\Repository\GroupRead::listPage() | method | Returns one paginated group page plus total row count in one query. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\GroupRead::listPaged() | method | Returns paginated groups with member counts. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\GroupRead::nameExistsForOtherGroup() | method | Returns true when one group name already exists on another row. | bool True when another group already uses this name. | (none) |
| Raven\Core\Repository\GroupRead::slugExistsForOtherGroup() | method | Returns true when one group slug already exists on another row. | bool True when another group already uses this slug. | (none) |
| Raven\Core\Repository\GroupWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\GroupWrite::deleteById() | method | Deletes one non-stock group and reassigns affected users to User | void | (none) |
| Raven\Core\Repository\GroupWrite::save() | method | Creates or updates one group and returns the group id. | int The saved group id. | (none) |
| Raven\Core\Repository\GroupWrite::updateImageFiles() | method | Updates one group's cover and icon image files. | void | (none) |
| Raven\Core\Repository\InviteRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\InviteRead::findUsableByToken() | method | Finds one usable token row from a submitted token value. | array{id: int, reusable: int, uses: int, expires: int\|null}\|null | (none) |
| Raven\Core\Repository\InviteRead::formatDisplayToken() | method | Formats one normalized token into a grouped display value. | string Display token string for panel output. | (none) |
| Raven\Core\Repository\InviteRead::generateNormalizedToken() | method | Generates one new uppercase invite token using the canonical alphabet. | string Generated normalized token string. | (none) |
| Raven\Core\Repository\InviteRead::listAll() | method | Returns all invite-token rows. | array<int, array{ | (none) |
| Raven\Core\Repository\InviteRead::normalizeCreatedByUserId() | method | Normalizes one optional creator user id. | int\|null Positive user id, or null when absent/invalid. | (none) |
| Raven\Core\Repository\InviteRead::normalizeExpiresAt() | method | Normalizes one optional invite expiration timestamp. | int\|null Positive unix timestamp, or null when absent/invalid. | (none) |
| Raven\Core\Repository\InviteRead::normalizeSubmittedToken() | method | Normalizes one submitted invite token into its canonical storage form. | string\|null Canonical uppercase token, or null when invalid. | (none) |
| Raven\Core\Repository\InviteRead::tokenHash() | method | Hashes one normalized invite token for database lookup/storage. | string SHA-256 hash string for the token. | (none) |
| Raven\Core\Repository\InviteWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\InviteWrite::consume() | method | Atomically consumes one invite token, incrementing the use count. | bool True when the row was updated. | (none) |
| Raven\Core\Repository\InviteWrite::createSingleUseBatch() | method | Creates multiple single-use invite tokens. | array<int, string> Array of display token strings. | (none) |
| Raven\Core\Repository\InviteWrite::createToken() | method | Creates one invite token and returns its display value. | string Display token string. | (none) |
| Raven\Core\Repository\InviteWrite::deleteById() | method | Deletes one invite token by id. | bool True when a row was deleted. | (none) |
| Raven\Core\Repository\InviteWrite::formatDisplayToken() | method | Formats one normalized token into a grouped display value. | string Display token string for panel output. | (none) |
| Raven\Core\Repository\InviteWrite::generateNormalizedToken() | method | Generates one new uppercase invite token using the canonical alphabet. | string Generated normalized token string. | (none) |
| Raven\Core\Repository\InviteWrite::insertTokenRecord() | method | Attempts one invite insert and reports whether a unique token was stored. | bool True when the row was inserted, false on duplicate-token collision. | (none) |
| Raven\Core\Repository\MediaRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\MediaRead::coverLargeVariantUrlForPage() | method | Returns the large cover-image variant URL for one page. | string\|null URL of the large cover image variant, or null when absent. | (none) |
| Raven\Core\Repository\MediaRead::hasHashForPage() | method | Returns true when one page already has an image with the same SHA-256 hash. | bool True when an exact duplicate exists on this page. | (none) |
| Raven\Core\Repository\MediaRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\MediaRead::isGalleryEnabledForPage() | method | Returns true when the given page exists and is therefore eligible to hold gallery images. | bool True when the page exists. | (none) |
| Raven\Core\Repository\MediaRead::listDisplayReadyForPage() | method | Returns gallery-display-ready images for one page. | array<int, array<string, mixed>> Filtered and sorted image rows. | (none) |
| Raven\Core\Repository\MediaRead::listForPage() | method | Returns all images and variants for one page, sorted by sort_order then id. | array<int, array<string, mixed>> Hydrated image rows with inline variant arrays. | (none) |
| Raven\Core\Repository\MediaRead::nextSortOrderForPage() | method | Returns the next sort order value for one page's image list. | int Next available sort order value (at least 1). | (none) |
| Raven\Core\Repository\MediaRead::pageExists() | method | Returns true when a page with the given id exists. | bool True when the page row is found. | (none) |
| Raven\Core\Repository\MediaWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\MediaWrite::deleteAllForPage() | method | Deletes all gallery rows for one page and returns all stored file paths. | array<int, string> All stored file paths that should be removed from storage. | (none) |
| Raven\Core\Repository\MediaWrite::deleteImageForPage() | method | Deletes one gallery image and all its variant rows, returning the stored file paths. | array{stored_paths: array<int, string>}\|null Stored file paths for cleanup, or null when not found. | (none) |
| Raven\Core\Repository\MediaWrite::insertImageWithVariants() | method | Inserts one source image row and all generated variant rows. | int The inserted image id. | (none) |
| Raven\Core\Repository\MediaWrite::updateGalleryForPage() | method | Updates one page's cover-image selection and per-image metadata. | void | (none) |
| Raven\Core\Repository\PageRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\PageRead::assignedCategoryRowsForPage() | method | Returns assigned categories for one page. | array<int, array{id: int, name: string, slug: string}> Category rows assigned to the page. | (none) |
| Raven\Core\Repository\PageRead::assignedTagRowsForPage() | method | Returns assigned tags for one page. | array<int, array{id: int, name: string, slug: string}> Tag rows assigned to the page. | (none) |
| Raven\Core\Repository\PageRead::channelHomepagesForRouting() | method | Returns one landing-page slug map keyed by canonical channel path for routing inventory. | array<string, string> Channel path to homepage slug map; empty string means no homepage found. | (none) |
| Raven\Core\Repository\PageRead::count() | method | Returns total page count with optional prefilters. | int Total matching page count. | (none) |
| Raven\Core\Repository\PageRead::countByCategoryId() | method | Counts total pages linked to a category id. | int Published page count for this category. | (none) |
| Raven\Core\Repository\PageRead::countByCategorySlug() | method | Counts total pages linked to a category slug. | int Published page count for this category. | (none) |
| Raven\Core\Repository\PageRead::countByTagId() | method | Counts total pages linked to a tag id. | int Published page count for this tag. | (none) |
| Raven\Core\Repository\PageRead::countByTagSlug() | method | Counts total pages linked to a tag slug. | int Published page count for this tag. | (none) |
| Raven\Core\Repository\PageRead::findById() | method | Returns one page by id with channel context. | array<string, mixed>\|null Hydrated page row with channel context, or null when not found. | (none) |
| Raven\Core\Repository\PageRead::findByIdWithGalleryRows() | method | Returns the hydrated page row and raw image/variant join rows for the page editor. | array{page: array<string, mixed>, gallery_rows: array<int, array<string, mixed>>}\|null Null when not found. | (none) |
| Raven\Core\Repository\PageRead::findBySlug() | method | Returns one page by slug and optional channel scope. | array<string, mixed>\|null Hydrated page row, or null when not found. | (none) |
| Raven\Core\Repository\PageRead::findChannelHomepage() | method | Finds the channel homepage by published home page, with index fallback. | array{channel: array<string,mixed>, page: ?array<string,mixed>}\|null Null when channel not found. | (none) |
| Raven\Core\Repository\PageRead::findHomepage() | method | Finds the root homepage by slug priority: home first, then index. | array<string, mixed>\|null Hydrated page row, or null when no root homepage is published. | (none) |
| Raven\Core\Repository\PageRead::findPublishedById() | method | Finds one published page by id and optional channel slug. | array<string, mixed>\|null Hydrated page row with channel context, or null when not found. | (none) |
| Raven\Core\Repository\PageRead::findPublishedBySlug() | method | Finds one published page by slug and optional channel slug. | array<string, mixed>\|null Hydrated page row with channel context, or null when not found. | (none) |
| Raven\Core\Repository\PageRead::idBySlug() | method | Returns one page id by slug and optional channel scope, or null when not found. | int\|null Matching page id, or null when not found. | (none) |
| Raven\Core\Repository\PageRead::listAllForRouting() | method | Returns all pages with channel context for routing inventory screens. | array<int, array<string, mixed>> Flat page rows with id, title, slug, status, created, channel. | (none) |
| Raven\Core\Repository\PageRead::listByCategoryId() | method | Returns paginated pages for one category id ordered newest-first. | array<int, array<string, mixed>> Hydrated published page rows. | (none) |
| Raven\Core\Repository\PageRead::listByCategorySlug() | method | Returns paginated pages for one category slug ordered newest-first. | array<int, array<string, mixed>> Hydrated published page rows. | (none) |
| Raven\Core\Repository\PageRead::listByTagId() | method | Returns paginated pages for one tag id ordered newest-first. | array<int, array<string, mixed>> Hydrated published page rows. | (none) |
| Raven\Core\Repository\PageRead::listByTagSlug() | method | Returns paginated pages for one tag slug ordered newest-first. | array<int, array<string, mixed>> Hydrated published page rows. | (none) |
| Raven\Core\Repository\PageRead::listPage() | method | Returns one paginated page-list page plus total row count. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\PageRead::listPageByCategoryId() | method | Returns one paginated category-page result with total count by category id. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\PageRead::listPageByCategorySlug() | method | Returns one paginated category-page result with total count. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\PageRead::listPageByTagId() | method | Returns one paginated tag-page result with total count by tag id. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\PageRead::listPageByTagSlug() | method | Returns one paginated tag-page result with total count. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\PageRead::listPaged() | method | Returns paginated page list with optional prefilters. | array<int, array<string, mixed>> Paginated page rows with channel context. | (none) |
| Raven\Core\Repository\PageRead::listRecentPublished() | method | Returns newest published pages, optionally scoped to one channel slug. | array<int, array<string, mixed>> Hydrated published page rows. | (none) |
| Raven\Core\Repository\PageRead::listRecentPublishedForChannels() | method | Returns newest published pages scoped to an explicit list of channel slugs. | array<int, array<string, mixed>> Hydrated published page rows. | (none) |
| Raven\Core\Repository\PageRead::taxonomyAssignmentIdsByPage() | method | Returns category/tag assignment ids grouped by page id. | array<int, array{categories: array<int>, tags: array<int>}> Assignments keyed by page id. | (none) |
| Raven\Core\Repository\PageShared::normalizeIds() | method | Normalizes an id list into unique positive integers. | array<int> Deduplicated, sorted array of positive integer ids. | (none) |
| Raven\Core\Repository\PageWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\PageWrite::deleteById() | method | Deletes one page and clears its category/tag links first. | void | (none) |
| Raven\Core\Repository\PageWrite::save() | method | Creates or updates a page row from a normalized form payload. | int The saved page id (inserted id on create, passed id on update). | (none) |
| Raven\Core\Repository\RedirectRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\RedirectRead::count() | method | Returns total redirect count. | int Total redirect row count. | (none) |
| Raven\Core\Repository\RedirectRead::findActiveByPath() | method | Resolves one active redirect for public URL matching. | array<string, mixed>\|null Active redirect row with channel context, or null. | (none) |
| Raven\Core\Repository\RedirectRead::findById() | method | Returns one redirect row by id. | array<string, mixed>\|null Redirect row with channel context, or null when not found. | (none) |
| Raven\Core\Repository\RedirectRead::findBySlug() | method | Returns one redirect row by slug and optional channel scope. | array<string, mixed>\|null Redirect row with channel context, or null when not found. | (none) |
| Raven\Core\Repository\RedirectRead::idBySlug() | method | Returns one redirect id by slug and optional channel scope, or null when not found. | int\|null Redirect id, or null when not found. | (none) |
| Raven\Core\Repository\RedirectRead::listAll() | method | Returns all redirect rows with optional linked channel metadata. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\RedirectRead::listPage() | method | Returns one paginated redirect page plus total row count in one query. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\RedirectRead::listPaged() | method | Returns paginated redirect rows with optional linked channel metadata. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\RedirectWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\RedirectWrite::deleteById() | method | Deletes one redirect record by id. | void | (none) |
| Raven\Core\Repository\RedirectWrite::save() | method | Creates or updates one redirect record and returns the redirect id. | int The saved redirect id. | (none) |
| Raven\Core\Repository\SetRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\SetRead::clearCache() | method | Clears the in-process record cache. | void | (none) |
| Raven\Core\Repository\SetRead::existsId() | method | Returns true when a taxonomy set with the given id exists. | bool True when the set exists. | (none) |
| Raven\Core\Repository\SetRead::findById() | method | Returns one taxonomy set record by its numeric id. | array<string, mixed>\|null Set record, or null when not found. | (none) |
| Raven\Core\Repository\SetRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\SetRead::listAll() | method | Returns all taxonomy set records, sorted with the default set first then alphabetically by name. | array<int, array<string, mixed>> Canonicalized set records. | (none) |
| Raven\Core\Repository\SetRead::listOptions() | method | Returns minimal set option rows suitable for select controls and parser lookups. | array<int, array{id: int, name: string, slug: string, is_root: bool}> Set option rows. | (none) |
| Raven\Core\Repository\SetWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\SetWrite::deleteById() | method | Deletes one taxonomy set record by id. | void | (none) |
| Raven\Core\Repository\SetWrite::deleteRecordById() | method | Deletes all set files on disk that belong to the given set id. | void | (none) |
| Raven\Core\Repository\SetWrite::ensureRootRecord() | method | Ensures the stock default set exists with canonical field values. | void | (none) |
| Raven\Core\Repository\SetWrite::normalizeStorageLayout() | method | Ensures all stored set files use canonical filenames and canonical field values. | void | (none) |
| Raven\Core\Repository\SetWrite::save() | method | Creates or updates one taxonomy set record and returns its id. | int The saved (or assigned) taxonomy set id. | (none) |
| Raven\Core\Repository\SetWrite::writeRecordById() | method | Atomically writes one set record to disk and removes stale duplicate paths for the same id. | void | (none) |
| Raven\Core\Repository\TagRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\TagRead::count() | method | Returns total tag count, optionally filtered by taxonomy set id. | int Total matching tag count. | (none) |
| Raven\Core\Repository\TagRead::countsBySetId() | method | Returns tag counts grouped by taxonomy set id. | array<int, int> Map of taxonomy set id to tag count. | (none) |
| Raven\Core\Repository\TagRead::existingIds() | method | Returns only ids that currently exist in storage. | array<int> Subset of ids that match rows in the tags table. | (none) |
| Raven\Core\Repository\TagRead::findById() | method | Returns one tag by id. | array<string, mixed>\|null Hydrated tag row, or null when not found. | (none) |
| Raven\Core\Repository\TagRead::findBySlug() | method | Returns one tag by slug. | array<string, mixed>\|null Hydrated tag row, or null when not found. | (none) |
| Raven\Core\Repository\TagRead::idBySlug() | method | Returns one tag id by slug, or null when not found. | int\|null Tag id, or null when no match exists. | (none) |
| Raven\Core\Repository\TagRead::listAll() | method | Returns all tags with linked page counts. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\TagRead::listOptions() | method | Returns minimal tag options suitable for select controls and parser lookups. | array<int, array{id: int, name: string, slug: string, set: int}> | (none) |
| Raven\Core\Repository\TagRead::listPage() | method | Returns one paginated tag page plus total row count in one query. | array{rows: array<int, array<string, mixed>>, total: int} Paginated rows and total count. | (none) |
| Raven\Core\Repository\TagRead::listPaged() | method | Returns paginated tags with linked page counts, optionally filtered by taxonomy set. | array<int, array<string, mixed>> Hydrated tag rows with page counts. | (none) |
| Raven\Core\Repository\TagRead::setIdsByIds() | method | Returns a map of tag id → set id for a given list of tag ids. | array<int, int> Map of tag id to its taxonomy set id (0 when unassigned). | (none) |
| Raven\Core\Repository\TagWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\TagWrite::deleteById() | method | Deletes one tag and removes its page assignment rows. | void | (none) |
| Raven\Core\Repository\TagWrite::reassignSetToDefault() | method | Moves all tags in the given set to the default set. | void | (none) |
| Raven\Core\Repository\TagWrite::save() | method | Creates or updates one tag and returns the tag id. | int The saved tag id. | (none) |
| Raven\Core\Repository\TagWrite::updateImageFiles() | method | Updates one tag's cover/preview/icon image files. | void | (none) |
| Raven\Core\Repository\UserRead::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\UserRead::count() | method | Returns total user count with optional group-name filter. | int Total matching user count. | (none) |
| Raven\Core\Repository\UserRead::emailExistsForOtherUser() | method | Returns true when an email already exists on another user row. | bool True when another user already uses this email. | (none) |
| Raven\Core\Repository\UserRead::findById() | method | Returns one user by id including assigned group ids. | array<string, mixed>\|null Hydrated user row with group ids, or null when not found. | (none) |
| Raven\Core\Repository\UserRead::findProfileSummaryById() | method | Returns one profile summary row by numeric user id. | array{id: int, username: string, string: string, name: string, avatar: string\|null, contact: array<int, array{type: string, value: string}>}\|null | (none) |
| Raven\Core\Repository\UserRead::findProfileSummaryByString() | method | Returns one profile summary row by unique user string token. | array{id: int, username: string, string: string, name: string, avatar: string\|null, contact: array<int, array{type: string, value: string}>}\|null | (none) |
| Raven\Core\Repository\UserRead::findProfileSummaryByUsername() | method | Returns one profile summary row by username. | array{id: int, username: string, string: string, name: string, avatar: string\|null, contact: array<int, array{type: string, value: string}>}\|null | (none) |
| Raven\Core\Repository\UserRead::groupIdsForUser() | method | Returns assigned group ids for one user. | array<int> Ordered list of group ids assigned to this user. | (none) |
| Raven\Core\Repository\UserRead::int() | method | (No summary.) | (No @return.) | (none) |
| Raven\Core\Repository\UserRead::listAll() | method | Returns all users with group-name summaries. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\UserRead::listAllForRouting() | method | Returns routing-safe user rows with group summaries in one query. | array<int, array<string, mixed>> | (none) |
| Raven\Core\Repository\UserRead::listPage() | method | Returns one paginated user page plus total row count and full group catalog. | array{ | (none) |
| Raven\Core\Repository\UserRead::listPaged() | method | Returns paginated users with group summaries. | array<int, array<string, mixed>> Hydrated user rows. | (none) |
| Raven\Core\Repository\UserRead::listProfileSummariesByGroupId() | method | Returns profile summary rows assigned to one group id. | array<int, array{id: int, username: string, string: string, name: string, avatar: string\|null}> | (none) |
| Raven\Core\Repository\UserRead::listRoutingData() | method | Returns routing-table auth payload (group/user rows) using one combined query. | array{ | (none) |
| Raven\Core\Repository\UserRead::usernameExistsForOtherUser() | method | Returns true when a username already exists on another user row. | bool True when another user already uses this username. | (none) |
| Raven\Core\Repository\UserRead::userStringById() | method | Returns the unique user string token for one user by id. | string\|null The user's string token, or null when the user is not found. | (none) |
| Raven\Core\Repository\UserWrite::__construct() | method | (No summary.) | void | (none) |
| Raven\Core\Repository\UserWrite::deleteById() | method | Deletes one user and all its group memberships. | void | (none) |
| Raven\Core\Repository\UserWrite::save() | method | Creates or updates one user and sets group memberships. | int The saved user id (inserted id on create, passed id on update). | (none) |
| Raven\Core\Repository\UserWrite::setUserGroups() | method | Replaces one user's group memberships atomically. | void | (none) |

Service-Key Grouping (context[&#039;rvn&#039;])

  • No $rvn[...] service keys detected for this group.

Parameter Details

Raven\Core\Repository\AuthWrite::__construct()

  • File: private/sys/Repository/AuthWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $authDb Auth-database connection for \users\ table writes.
  • string $driver Active PDO driver name used for table-name resolution.
  • string $prefix Configured auth-table prefix before sanitization.

Raven\Core\Repository\AuthWrite::updatePreferences()

  • File: private/sys/Repository/AuthWrite.php
  • Service Keys: (none)
  • Params:
  • int $userId Auth-user id to update.
  • array{

Raven\Core\Repository\AuthWrite::updateTwoFactorMethods()

  • File: private/sys/Repository/AuthWrite.php
  • Service Keys: (none)
  • Params:
  • int $userId Target user id.
  • array&lt;int, array&lt;string, mixed&gt;&gt; $methods Submitted 2FA method rows.

Raven\Core\Repository\CategoryRead::__construct()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.

Raven\Core\Repository\CategoryRead::count()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • int|null $setId Optional taxonomy set id filter; null returns unfiltered count.

Raven\Core\Repository\CategoryRead::countsBySetId()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\CategoryRead::existingIds()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;int&gt; $ids Candidate id list; non-positive values are ignored.

Raven\Core\Repository\CategoryRead::findById()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • int $id Category id to resolve.

Raven\Core\Repository\CategoryRead::findBySlug()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Category slug to resolve.

Raven\Core\Repository\CategoryRead::idBySlug()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Category slug to resolve.

Raven\Core\Repository\CategoryRead::listAll()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\CategoryRead::listOptions()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\CategoryRead::listPage()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • int|null $setId Optional taxonomy set id filter; null returns all sets.

Raven\Core\Repository\CategoryRead::listPaged()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • int|null $setId Optional taxonomy set id filter; null returns all sets.

Raven\Core\Repository\CategoryRead::setIdsByIds()

  • File: private/sys/Repository/CategoryRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;int&gt; $ids Category ids to look up.

Raven\Core\Repository\CategoryWrite::__construct()

  • File: private/sys/Repository/CategoryWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • CategoryRead $read Read-side instance used for existence lookups during validation.

Raven\Core\Repository\CategoryWrite::deleteById()

  • File: private/sys/Repository/CategoryWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Category id to delete.

Raven\Core\Repository\CategoryWrite::reassignSetToDefault()

  • File: private/sys/Repository/CategoryWrite.php
  • Service Keys: (none)
  • Params:
  • int $fromSetId Taxonomy set id being removed.
  • int $defaultSetId Taxonomy set id to reassign orphaned categories to.

Raven\Core\Repository\CategoryWrite::save()

  • File: private/sys/Repository/CategoryWrite.php
  • Service Keys: (none)
  • Params:
  • array{id: int|null, name: string, slug: string, set: int, description: string} $data Normalized category fields.

Raven\Core\Repository\CategoryWrite::updateImageFiles()

  • File: private/sys/Repository/CategoryWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Category id to update.
  • array{

Raven\Core\Repository\ChannelRead::__construct()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • string|null $channelDirectory Absolute path to the channel file directory; defaults to private/dat/channel.

Raven\Core\Repository\ChannelRead::applyBasicChannelContext()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $row Row array to augment.
  • array&lt;string, mixed&gt;|null $channel Channel record, or null when the row has no channel.

Raven\Core\Repository\ChannelRead::applyPageChannelContext()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $row Page row array to augment.
  • array&lt;string, mixed&gt;|null $channel Channel record, or null when the page has no channel.

Raven\Core\Repository\ChannelRead::candidatePathsForIdInDirectory()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $channelDirectory Absolute channel directory path.
  • int $id Channel id to search for.

Raven\Core\Repository\ChannelRead::canonicalizeRecordStatic()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int $id Resolved channel id.
  • string $slug Resolved channel slug.
  • array&lt;string, mixed&gt; $raw Source data to normalize.

Raven\Core\Repository\ChannelRead::channelsByIdMap()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;int, array&lt;string, mixed&gt;&gt; $channelRecords Flat list of channel record arrays.

Raven\Core\Repository\ChannelRead::clearCache()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::count()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::countExplicitTaxonomySetAssignments()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $kind Taxonomy type: &#039;category&#039; or &#039;tag&#039;.
  • int $setId Taxonomy set id to check for explicit assignments.

Raven\Core\Repository\ChannelRead::explicitTaxonomySetCounts()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $kind Taxonomy kind key: &#039;category&#039; or &#039;tag&#039;.

Raven\Core\Repository\ChannelRead::filenameIdStatic()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $path Absolute or relative path to a channel PHP file.

Raven\Core\Repository\ChannelRead::findById()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int $id Channel id to resolve; must be &gt;= ROOT_CHANNEL_ID (0).

Raven\Core\Repository\ChannelRead::findByIdOrSlug()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int|string $idOrSlug Channel id (int) or slug (string).

Raven\Core\Repository\ChannelRead::findByPath()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $path Slash-separated channel path, excluding the root channel.

Raven\Core\Repository\ChannelRead::findBySlug()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Channel slug to resolve.

Raven\Core\Repository\ChannelRead::findPathBySlugInDirectory()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $channelDirectory Absolute channel directory path.
  • string $slug Channel slug.

Raven\Core\Repository\ChannelRead::idBySlug()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Slug to resolve.

Raven\Core\Repository\ChannelRead::int()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::int()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::int()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::int()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::int()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::int()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::invalidatePhpFileCacheStatic()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $path Absolute path to invalidate.

Raven\Core\Repository\ChannelRead::listAll()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::listOptions()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::listPage()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.

Raven\Core\Repository\ChannelRead::listPaged()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.

Raven\Core\Repository\ChannelRead::listParentOptions()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int|null $excludeId Channel id being edited, or null while creating a channel.

Raven\Core\Repository\ChannelRead::listRecords()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::listRoutingOptions()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::loadRawByPathStatic()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $path Absolute path to the channel PHP file.

Raven\Core\Repository\ChannelRead::loadRawBySlug()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Channel slug to look up.

Raven\Core\Repository\ChannelRead::pageCountsByChannelId()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::pathForChannel()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int $id Channel id whose ancestor path should be returned.

Raven\Core\Repository\ChannelRead::rawChannelFilePathsInDirectory()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $channelDirectory Absolute channel directory path.

Raven\Core\Repository\ChannelRead::recordIdFromRawStatic()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $raw Raw data loaded from the file.
  • string $path Absolute path of the file (used for fallback id extraction).

Raven\Core\Repository\ChannelRead::recordSlugFromRawStatic()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $raw Raw data loaded from the file.
  • int $id Resolved channel id.
  • string $fallback Basename (without .php) to try as a slug source.

Raven\Core\Repository\ChannelRead::slugExists()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Normalized slug to check.

Raven\Core\Repository\ChannelRead::slugFromFilenameStatic()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • string $path Absolute or relative path to a channel PHP file.

Raven\Core\Repository\ChannelRead::string()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\ChannelRead::themeOverrideForChannelHierarchy()

  • File: private/sys/Repository/ChannelRead.php
  • Service Keys: (none)
  • Params:
  • int $id Channel id whose theme hierarchy should be inspected.

Raven\Core\Repository\ChannelShared::isRootChannelId()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • int $id Channel id to test.

Raven\Core\Repository\ChannelShared::isRootChannelSlug()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • string $slug Slug to test.

Raven\Core\Repository\ChannelShared::isValidSlug()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • string $slug Slug to test.

Raven\Core\Repository\ChannelShared::normalizeEditorOverride()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • string $value Raw override value.

Raven\Core\Repository\ChannelShared::normalizeFeedEnabled()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw value; accepts bool, int, float, or truthy string.

Raven\Core\Repository\ChannelShared::normalizeNullablePath()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw value; must be scalar or null.

Raven\Core\Repository\ChannelShared::normalizeParentId()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw parent id value from a form or channel record.

Raven\Core\Repository\ChannelShared::normalizeThemeOverride()

  • File: private/sys/Repository/ChannelShared.php
  • Service Keys: (none)
  • Params:
  • string $value Raw channel theme override value.

Raven\Core\Repository\ChannelWrite::__construct()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • ChannelRead $read Read-side instance for existence lookups and cache invalidation.
  • string|null $channelDirectory Absolute path to the channel file directory; defaults to private/dat/channel.

Raven\Core\Repository\ChannelWrite::deleteById()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Channel id to delete.

Raven\Core\Repository\ChannelWrite::deleteRecordById()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • string $channelDirectory Absolute path to the channel file directory.
  • int $id Channel id whose files should be removed.

Raven\Core\Repository\ChannelWrite::normalizeStorageLayout()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • string $channelDirectory Absolute path to the channel file directory.

Raven\Core\Repository\ChannelWrite::persistChannelId()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • string $channelDirectory Absolute path to the channel file directory.
  • string $slug Channel slug to locate the existing file.
  • int $id New channel id to assign.

Raven\Core\Repository\ChannelWrite::save()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • array{

Raven\Core\Repository\ChannelWrite::updateImagePaths()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Channel id to update.
  • array{

Raven\Core\Repository\ChannelWrite::writeRecordById()

  • File: private/sys/Repository/ChannelWrite.php
  • Service Keys: (none)
  • Params:
  • string $channelDirectory Absolute path to the channel file directory.
  • int $id Channel id to write.
  • string $slug Slug for the canonical filename.
  • array&lt;string, mixed&gt; $record Record data array to persist.

Raven\Core\Repository\ConfigRead::bool()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw config value.
  • bool $default Fallback when the input cannot be normalized.

Raven\Core\Repository\ConfigRead::detectScalarType()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw config value.

Raven\Core\Repository\ConfigRead::float()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw config value.
  • float $default Fallback when the input cannot be normalized.
  • float|null $min Optional lower bound applied after parsing.
  • float|null $max Optional upper bound applied after parsing.

Raven\Core\Repository\ConfigRead::get()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $config Config tree to read from.
  • string $key Dot-delimited config key path.
  • mixed $default Value returned when the path does not resolve.

Raven\Core\Repository\ConfigRead::getBySegments()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $config Config tree to read from.
  • array&lt;int, string&gt; $segments Pre-split config path segments.
  • mixed $default Value returned when the path does not resolve.

Raven\Core\Repository\ConfigRead::int()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw config value.
  • int $default Fallback when the input cannot be normalized.
  • int|null $min Optional lower bound applied after parsing.
  • int|null $max Optional upper bound applied after parsing.

Raven\Core\Repository\ConfigRead::readNestedString()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $submitted Nested submitted data.
  • array&lt;int, string&gt; $segments Nested config path segments.

Raven\Core\Repository\ConfigRead::segments()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • string $key Dot-delimited config key path.

Raven\Core\Repository\ConfigRead::stringifyScalar()

  • File: private/sys/Repository/ConfigRead.php
  • Service Keys: (none)
  • Params:
  • mixed $value Raw config value.

Raven\Core\Repository\ConfigWrite::persist()

  • File: private/sys/Repository/ConfigWrite.php
  • Service Keys: (none)
  • Params:
  • string $path Absolute path to the config file on disk.
  • array&lt;string, mixed&gt; $data Config tree to persist.

Raven\Core\Repository\ConfigWrite::persistValue()

  • File: private/sys/Repository/ConfigWrite.php
  • Service Keys: (none)
  • Params:
  • string $path Absolute path to the config file on disk.
  • array&lt;string, mixed&gt; $data Current config tree.
  • string $key Dot-delimited config key path.
  • mixed $value Value to persist at the resolved path.

Raven\Core\Repository\ConfigWrite::set()

  • File: private/sys/Repository/ConfigWrite.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $config Config tree being mutated.
  • string $key Dot-delimited config key path.
  • mixed $value Value to store at the resolved path.

Raven\Core\Repository\ConfigWrite::setNested()

  • File: private/sys/Repository/ConfigWrite.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $config Config tree being mutated.
  • array&lt;int, string&gt; $segments Nested config path segments.
  • mixed $value Value to store at the resolved path.

Raven\Core\Repository\GroupRead::__construct()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.

Raven\Core\Repository\GroupRead::count()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\GroupRead::findById()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • int $id Group id to resolve.

Raven\Core\Repository\GroupRead::findBySlug()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Group slug to resolve (case-insensitive).

Raven\Core\Repository\GroupRead::findRoutedBySlugWithMembers()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Group slug to resolve.

Raven\Core\Repository\GroupRead::idByName()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • string $name Group name to look up.

Raven\Core\Repository\GroupRead::idBySlug()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Group slug to look up.

Raven\Core\Repository\GroupRead::listAll()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\GroupRead::listOptions()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\GroupRead::listPage()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.

Raven\Core\Repository\GroupRead::listPaged()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.

Raven\Core\Repository\GroupRead::nameExistsForOtherGroup()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • int $id Group id to exclude from the check (the group being edited).
  • string $name Proposed group name to test for uniqueness.

Raven\Core\Repository\GroupRead::slugExistsForOtherGroup()

  • File: private/sys/Repository/GroupRead.php
  • Service Keys: (none)
  • Params:
  • int $id Group id to exclude from the check (the group being edited).
  • string $slug Proposed group slug to test for uniqueness.

Raven\Core\Repository\GroupWrite::__construct()

  • File: private/sys/Repository/GroupWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • GroupRead $read Read-side instance used for existence lookups during validation.

Raven\Core\Repository\GroupWrite::deleteById()

  • File: private/sys/Repository/GroupWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Group id to delete.

Raven\Core\Repository\GroupWrite::save()

  • File: private/sys/Repository/GroupWrite.php
  • Service Keys: (none)
  • Params:
  • array{id: int|null, name: string, slug?: string, description?: string, route?: int|bool, permissions?: int} $data Normalized group fields.

Raven\Core\Repository\GroupWrite::updateImageFiles()

  • File: private/sys/Repository/GroupWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Group id to update.
  • array{

Raven\Core\Repository\InviteRead::__construct()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • PDO $authDb Auth-database connection for invite-token reads.
  • string $driver PDO driver name used for table resolution.
  • string $prefix Configured table prefix for auth tables.

Raven\Core\Repository\InviteRead::findUsableByToken()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • string $submittedToken Submitted invite token value from panel/public input.
  • int $now Current unix timestamp used for expiration checks.

Raven\Core\Repository\InviteRead::formatDisplayToken()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • string $normalizedToken Canonical uppercase token string.
  • int $groupSize Display group size before dash separators.

Raven\Core\Repository\InviteRead::generateNormalizedToken()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • int $length Requested token length; must be at least 1.

Raven\Core\Repository\InviteRead::listAll()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\InviteRead::normalizeCreatedByUserId()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • int|null $createdByUserId Optional creator user id.

Raven\Core\Repository\InviteRead::normalizeExpiresAt()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • int|null $expiresAt Optional unix timestamp from controller/repository input.

Raven\Core\Repository\InviteRead::normalizeSubmittedToken()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • string $rawToken Raw invite token string with optional separators.

Raven\Core\Repository\InviteRead::tokenHash()

  • File: private/sys/Repository/InviteRead.php
  • Service Keys: (none)
  • Params:
  • string $normalizedToken Uppercase alphanumeric invite token string.

Raven\Core\Repository\InviteWrite::__construct()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $authDb Auth-database connection for invite-token writes.
  • string $driver PDO driver name used for table resolution and duplicate handling.
  • string $prefix Configured table prefix for auth tables.
  • InviteRead $read Read-side instance for normalization and generation helpers.

Raven\Core\Repository\InviteWrite::consume()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Invite id to consume.
  • bool $reusable Whether the invite may be consumed more than once.
  • int $now Current unix timestamp used for last_used and expiry checks.

Raven\Core\Repository\InviteWrite::createSingleUseBatch()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • int $count Number of tokens to create (clamped to 1–100).
  • int|null $expiresAt Optional unix expiration timestamp.
  • int|null $createdByUserId Optional creator user id.

Raven\Core\Repository\InviteWrite::createToken()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • bool $reusable Whether the invite may be consumed more than once.
  • int|null $expiresAt Optional unix expiration timestamp.
  • int|null $createdByUserId Optional creator user id.
  • string|null $manualToken Optional caller-supplied token value.

Raven\Core\Repository\InviteWrite::deleteById()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Invite id to delete.

Raven\Core\Repository\InviteWrite::formatDisplayToken()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • string $normalizedToken Canonical uppercase token string.
  • int $groupSize Display group size before dash separators.

Raven\Core\Repository\InviteWrite::generateNormalizedToken()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • int $length Requested token length before validation bounds are applied.

Raven\Core\Repository\InviteWrite::insertTokenRecord()

  • File: private/sys/Repository/InviteWrite.php
  • Service Keys: (none)
  • Params:
  • string $normalizedToken Canonical uppercase token string.
  • string $displayToken Display token string persisted for panel output.
  • bool $reusable Whether the invite may be reused after first consumption.
  • int|null $expiresAt Optional unix expiration timestamp.
  • int|null $createdByUserId Optional creator user id.
  • string $createdAt UTC timestamp string for the created column.

Raven\Core\Repository\MediaRead::__construct()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.

Raven\Core\Repository\MediaRead::coverLargeVariantUrlForPage()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page whose cover image variant URL to resolve.

Raven\Core\Repository\MediaRead::hasHashForPage()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page id to scope the duplicate check.
  • string $sha256 SHA-256 hash of the candidate image file.

Raven\Core\Repository\MediaRead::int()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\MediaRead::isGalleryEnabledForPage()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page id to check.

Raven\Core\Repository\MediaRead::listDisplayReadyForPage()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page whose gallery images to load.

Raven\Core\Repository\MediaRead::listForPage()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page id whose images to load.

Raven\Core\Repository\MediaRead::nextSortOrderForPage()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page whose current maximum sort order is inspected.

Raven\Core\Repository\MediaRead::pageExists()

  • File: private/sys/Repository/MediaRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page id to check.

Raven\Core\Repository\MediaWrite::__construct()

  • File: private/sys/Repository/MediaWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.

Raven\Core\Repository\MediaWrite::deleteAllForPage()

  • File: private/sys/Repository/MediaWrite.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page whose images to delete.

Raven\Core\Repository\MediaWrite::deleteImageForPage()

  • File: private/sys/Repository/MediaWrite.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page that owns the image (used as a safety scope check).
  • int $imageId Image id to delete.

Raven\Core\Repository\MediaWrite::insertImageWithVariants()

  • File: private/sys/Repository/MediaWrite.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, scalar|null&gt; $image Image metadata fields for the source row.
  • array&lt;int, array&lt;string, scalar|null&gt;&gt; $variants Variant rows keyed by sequential index.

Raven\Core\Repository\MediaWrite::updateGalleryForPage()

  • File: private/sys/Repository/MediaWrite.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page whose gallery metadata to update.
  • array&lt;int, array&lt;string, scalar|null&gt;&gt; $imageUpdates Per-image metadata fields keyed by sequential index.

Raven\Core\Repository\PageRead::__construct()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • ChannelRead $channelRepo Channel read-side repository for channel resolution.
  • bool $categoryEnabled Whether category taxonomy support is active.
  • bool $tagEnabled Whether tag taxonomy support is active.

Raven\Core\Repository\PageRead::assignedCategoryRowsForPage()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page id to query assigned categories for.

Raven\Core\Repository\PageRead::assignedTagRowsForPage()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page id to query assigned tags for.

Raven\Core\Repository\PageRead::channelHomepagesForRouting()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\PageRead::count()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int|null $channelId Optional channel id filter resolved before repository entry.
  • int|null $categoryId Optional category id filter.
  • int|null $tagId Optional tag id filter.

Raven\Core\Repository\PageRead::countByCategoryId()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $categoryId Category id to count pages for.

Raven\Core\Repository\PageRead::countByCategorySlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Normalized category slug to count pages for.

Raven\Core\Repository\PageRead::countByTagId()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $tagId Tag id to count pages for.

Raven\Core\Repository\PageRead::countByTagSlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Normalized tag slug to count pages for.

Raven\Core\Repository\PageRead::findById()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $id Page id to resolve.

Raven\Core\Repository\PageRead::findByIdWithGalleryRows()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $id Page id to load.

Raven\Core\Repository\PageRead::findBySlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $pageSlug Exact page slug to look up.
  • int|string|null $channel Channel id, slug, or null for root.

Raven\Core\Repository\PageRead::findChannelHomepage()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $channelSlug Normalized parent-aware channel path to look up.

Raven\Core\Repository\PageRead::findHomepage()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\PageRead::findPublishedById()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $pageId Page id to resolve.
  • string|null $channelSlug Optional parent-aware channel path to scope the lookup.

Raven\Core\Repository\PageRead::findPublishedBySlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $pageSlug Exact page slug to look up.
  • string|null $channelSlug Optional parent-aware channel path to scope the lookup.

Raven\Core\Repository\PageRead::idBySlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $pageSlug Exact page slug to look up.
  • int|string|null $channel Channel id, slug, or null for root.

Raven\Core\Repository\PageRead::listAllForRouting()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\PageRead::listByCategoryId()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $categoryId Category id to scope results to.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listByCategorySlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Normalized category slug to query.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listByTagId()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $tagId Tag id to scope results to.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listByTagSlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Normalized tag slug to query.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listPage()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • int|null $channelId Optional channel id filter resolved before repository entry.
  • int|null $categoryId Optional category id filter.
  • int|null $tagId Optional tag id filter.

Raven\Core\Repository\PageRead::listPageByCategoryId()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $categoryId Category id to scope results to.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listPageByCategorySlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Normalized category slug to query.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listPageByTagId()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $tagId Tag id to scope results to.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listPageByTagSlug()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Normalized tag slug to query.
  • int $limit Maximum rows to return.
  • int $offset Zero-based row offset.

Raven\Core\Repository\PageRead::listPaged()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • int|null $channelId Optional channel id filter resolved before repository entry.
  • int|null $categoryId Optional category id filter.
  • int|null $tagId Optional tag id filter.

Raven\Core\Repository\PageRead::listRecentPublished()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • string|null $channelSlug Optional channel slug to scope results.

Raven\Core\Repository\PageRead::listRecentPublishedForChannels()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • array&lt;int, string&gt; $channelSlugs Channel slugs to restrict the query to.

Raven\Core\Repository\PageRead::taxonomyAssignmentIdsByPage()

  • File: private/sys/Repository/PageRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;int&gt; $pageIds Page ids to query taxonomy assignments for.

Raven\Core\Repository\PageShared::normalizeIds()

  • File: private/sys/Repository/PageShared.php
  • Service Keys: (none)
  • Params:
  • mixed $ids Raw id array from any caller.

Raven\Core\Repository\PageWrite::__construct()

  • File: private/sys/Repository/PageWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • ChannelRead $channelRepo Channel read-side repository for channel slug resolution.
  • bool $categoryEnabled Whether category taxonomy support is active.
  • bool $tagEnabled Whether tag taxonomy support is active.

Raven\Core\Repository\PageWrite::deleteById()

  • File: private/sys/Repository/PageWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Page id to delete.

Raven\Core\Repository\PageWrite::save()

  • File: private/sys/Repository/PageWrite.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $data Normalized page fields from any caller (panel, CLI, or extension).

Raven\Core\Repository\RedirectRead::__construct()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • ChannelRead $channelRepo Channel read instance for slug/id resolution and context hydration.

Raven\Core\Repository\RedirectRead::count()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\RedirectRead::findActiveByPath()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params:
  • string $slug URL slug to match against redirect records.
  • string|null $channelSlug Optional parent-aware channel path scope; null matches root redirects.

Raven\Core\Repository\RedirectRead::findById()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params:
  • int $id Redirect id to resolve.

Raven\Core\Repository\RedirectRead::findBySlug()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Redirect slug to resolve.
  • int|string|null $channel Optional channel id/path scope; null means root scope.

Raven\Core\Repository\RedirectRead::idBySlug()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Redirect slug to look up.
  • int|string|null $channel Optional channel scope; null means root scope.

Raven\Core\Repository\RedirectRead::listAll()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\RedirectRead::listPage()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.

Raven\Core\Repository\RedirectRead::listPaged()

  • File: private/sys/Repository/RedirectRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.

Raven\Core\Repository\RedirectWrite::__construct()

  • File: private/sys/Repository/RedirectWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • ChannelRead $channelRepo Channel read instance used for slug resolution.

Raven\Core\Repository\RedirectWrite::deleteById()

  • File: private/sys/Repository/RedirectWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Redirect id to delete.

Raven\Core\Repository\RedirectWrite::save()

  • File: private/sys/Repository/RedirectWrite.php
  • Service Keys: (none)
  • Params:
  • array{

Raven\Core\Repository\SetRead::__construct()

  • File: private/sys/Repository/SetRead.php
  • Service Keys: (none)
  • Params:
  • string $taxonomyType Lowercase taxonomy type (&#039;category&#039; or &#039;tag&#039;).
  • string $setDirectory Absolute path to the directory holding set JSON files.

Raven\Core\Repository\SetRead::clearCache()

  • File: private/sys/Repository/SetRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\SetRead::existsId()

  • File: private/sys/Repository/SetRead.php
  • Service Keys: (none)
  • Params:
  • int $id Taxonomy set id to check.

Raven\Core\Repository\SetRead::findById()

  • File: private/sys/Repository/SetRead.php
  • Service Keys: (none)
  • Params:
  • int $id Taxonomy set id to resolve.

Raven\Core\Repository\SetRead::int()

  • File: private/sys/Repository/SetRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\SetRead::listAll()

  • File: private/sys/Repository/SetRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\SetRead::listOptions()

  • File: private/sys/Repository/SetRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\SetWrite::__construct()

  • File: private/sys/Repository/SetWrite.php
  • Service Keys: (none)
  • Params:
  • string $taxonomyType Lowercase taxonomy type (&#039;category&#039; or &#039;tag&#039;).
  • string $setDirectory Absolute path to the directory holding set JSON files.
  • SetRead $read Read-side instance for slug-uniqueness validation during save.

Raven\Core\Repository\SetWrite::deleteById()

  • File: private/sys/Repository/SetWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Taxonomy set id to delete.

Raven\Core\Repository\SetWrite::deleteRecordById()

  • File: private/sys/Repository/SetWrite.php
  • Service Keys: (none)
  • Params:
  • string $setDirectory Absolute path to the set directory.
  • string $taxonomyType Taxonomy type label.
  • int $id Set id whose files should be removed.

Raven\Core\Repository\SetWrite::ensureRootRecord()

  • File: private/sys/Repository/SetWrite.php
  • Service Keys: (none)
  • Params:
  • string $setDirectory Absolute path to the set directory.
  • string $taxonomyType Taxonomy type label.
  • array&lt;string, mixed&gt; $rootRecord Canonical data for the default set.

Raven\Core\Repository\SetWrite::normalizeStorageLayout()

  • File: private/sys/Repository/SetWrite.php
  • Service Keys: (none)
  • Params:
  • string $setDirectory Absolute path to the set directory.
  • string $taxonomyType Taxonomy type label (e.g. &#039;category&#039; or &#039;tag&#039;).

Raven\Core\Repository\SetWrite::save()

  • File: private/sys/Repository/SetWrite.php
  • Service Keys: (none)
  • Params:
  • array&lt;string, mixed&gt; $data Set fields; &#039;name&#039; and a valid &#039;slug&#039; are required for non-default sets.

Raven\Core\Repository\SetWrite::writeRecordById()

  • File: private/sys/Repository/SetWrite.php
  • Service Keys: (none)
  • Params:
  • string $setDirectory Absolute path to the set directory.
  • string $taxonomyType Taxonomy type label.
  • int $id Set id to write.
  • array&lt;string, mixed&gt; $record Record data array to persist.

Raven\Core\Repository\TagRead::__construct()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.

Raven\Core\Repository\TagRead::count()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • int|null $setId Optional taxonomy set id filter; null returns unfiltered count.

Raven\Core\Repository\TagRead::countsBySetId()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\TagRead::existingIds()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;int&gt; $ids Candidate id list; non-positive values are ignored.

Raven\Core\Repository\TagRead::findById()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • int $id Tag id to resolve.

Raven\Core\Repository\TagRead::findBySlug()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Tag slug to resolve.

Raven\Core\Repository\TagRead::idBySlug()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • string $slug Tag slug to resolve.

Raven\Core\Repository\TagRead::listAll()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\TagRead::listOptions()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\TagRead::listPage()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • int|null $setId Optional taxonomy set id filter; null returns all sets.

Raven\Core\Repository\TagRead::listPaged()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • int|null $setId Optional taxonomy set id filter; null returns all sets.

Raven\Core\Repository\TagRead::setIdsByIds()

  • File: private/sys/Repository/TagRead.php
  • Service Keys: (none)
  • Params:
  • array&lt;int&gt; $ids Tag ids to look up.

Raven\Core\Repository\TagWrite::__construct()

  • File: private/sys/Repository/TagWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $db Active database connection.
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.
  • TagRead $read Read-side instance used for existence lookups during validation.

Raven\Core\Repository\TagWrite::deleteById()

  • File: private/sys/Repository/TagWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Tag id to delete.

Raven\Core\Repository\TagWrite::reassignSetToDefault()

  • File: private/sys/Repository/TagWrite.php
  • Service Keys: (none)
  • Params:
  • int $fromSetId Taxonomy set id being removed.
  • int $defaultSetId Taxonomy set id to reassign orphaned tags to.

Raven\Core\Repository\TagWrite::save()

  • File: private/sys/Repository/TagWrite.php
  • Service Keys: (none)
  • Params:
  • array{id: int|null, name: string, slug: string, set: int, description: string} $data Normalized tag fields.

Raven\Core\Repository\TagWrite::updateImageFiles()

  • File: private/sys/Repository/TagWrite.php
  • Service Keys: (none)
  • Params:
  • int $id Tag id to update.
  • array{

Raven\Core\Repository\UserRead::__construct()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • PDO $authDb Auth-database connection (users/passwords).
  • PDO $rvnDb App-database connection (group memberships, routing data).
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.

Raven\Core\Repository\UserRead::count()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • string|null $groupNameFilter Optional group name to filter results by membership.

Raven\Core\Repository\UserRead::emailExistsForOtherUser()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $id User id to exclude from the check (the user being edited).
  • string $email Proposed email to test for uniqueness.

Raven\Core\Repository\UserRead::findById()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $id User id to resolve.

Raven\Core\Repository\UserRead::findProfileSummaryById()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $userId User id to resolve.

Raven\Core\Repository\UserRead::findProfileSummaryByString()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • string $userString Unique user string token to resolve.

Raven\Core\Repository\UserRead::findProfileSummaryByUsername()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • string $username Exact username to look up.

Raven\Core\Repository\UserRead::groupIdsForUser()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $userId User id to look up group memberships for.

Raven\Core\Repository\UserRead::int()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\UserRead::listAll()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\UserRead::listAllForRouting()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params: (none)

Raven\Core\Repository\UserRead::listPage()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • string|null $groupNameFilter Optional group name to filter results by membership.

Raven\Core\Repository\UserRead::listPaged()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $limit Maximum number of rows to return.
  • int $offset Zero-based row offset for pagination.
  • string|null $groupNameFilter Optional group name to filter results by membership.

Raven\Core\Repository\UserRead::listProfileSummariesByGroupId()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $groupId Group id to look up members for.

Raven\Core\Repository\UserRead::listRoutingData()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • bool $includeGroups Whether to include group routing rows in the result.
  • bool $includeUsers Whether to include user routing rows in the result.

Raven\Core\Repository\UserRead::usernameExistsForOtherUser()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $id User id to exclude from the check (the user being edited).
  • string $username Proposed username to test for uniqueness.

Raven\Core\Repository\UserRead::userStringById()

  • File: private/sys/Repository/UserRead.php
  • Service Keys: (none)
  • Params:
  • int $id User id to look up.

Raven\Core\Repository\UserWrite::__construct()

  • File: private/sys/Repository/UserWrite.php
  • Service Keys: (none)
  • Params:
  • PDO $authDb Auth-database connection (users/passwords).
  • PDO $rvnDb App-database connection (group memberships).
  • string $driver Database driver string (&#039;mysql&#039;, &#039;sqlite&#039;, &#039;pgsql&#039;).
  • string $prefix Table name prefix for this Raven installation.

Raven\Core\Repository\UserWrite::deleteById()

  • File: private/sys/Repository/UserWrite.php
  • Service Keys: (none)
  • Params:
  • int $id User id to delete.

Raven\Core\Repository\UserWrite::save()

  • File: private/sys/Repository/UserWrite.php
  • Service Keys: (none)
  • Params:
  • array{

Raven\Core\Repository\UserWrite::setUserGroups()

  • File: private/sys/Repository/UserWrite.php
  • Service Keys: (none)
  • Params:
  • int $userId User whose memberships to replace.
  • array&lt;int&gt; $groupIds New group id list; duplicates and non-positive values are removed.