/** * Private constructor, use fromArray() or fromEncryptedString() * @param string|null $sort * @param string $direction * @param int $page * @param int $perPage * @param array<string, mixed> $filters * @param array<string, mixed> $defaults * @param array<string, string> $aliases */ Defined in .../app/Core/Lib/Listing/ListRequest.php:79
/** * Return immutable copy with new sort * @param string|null $sort * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:201
/** * Return immutable copy with new direction * @param string $direction * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:214
/** * Return immutable copy with new page * @param int $page * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:227
/** * Return immutable copy with new perPage * @param int $perPage * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:239
/** * Return immutable copy with added/updated filter * @param string $key * @param mixed $value * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:253
/** * Toggle sort direction if same column, else set new column * @param string $column * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:266
/** * Convert to query array (s,d,p,pp + filters) * @return array<string, mixed> */ Defined in .../app/Core/Lib/Listing/ListRequest.php:284
/** * Encrypt query to URL-safe string * @return string */ Defined in .../app/Core/Lib/Listing/ListRequest.php:300
Defined in .../app/Core/Lib/Listing/ListRequest.php:305
/** * Get original query * @return array<string, mixed> */ Defined in .../app/Core/Lib/Listing/ListRequest.php:405
/** * Set original query * @param array<string, mixed> $originalQuery * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:415
/** * Get encrypted key * @return string|null */ Defined in .../app/Core/Lib/Listing/ListRequest.php:425
/** * Set encrypted key * @param string $encryptedKey * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:435
/** * Get sort column * @return string|null */ Defined in .../app/Core/Lib/Listing/ListRequest.php:445
/** * Set sort column * @param string $sort * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:455
/** * Get sort direction * @return string */ Defined in .../app/Core/Lib/Listing/ListRequest.php:465
/** * Set sort direction * @param string $direction * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:475
/** * Get current page * @return int */ Defined in .../app/Core/Lib/Listing/ListRequest.php:485
/** * Set current page * @param int $page * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:495
/** * Get items per page * @return int */ Defined in .../app/Core/Lib/Listing/ListRequest.php:505
/** * Calculate offset for pagination queries. * Useful for SQL LIMIT/OFFSET. * @return int Offset calculated as (page - 1) * perPage */ Defined in .../app/Core/Lib/Listing/ListRequest.php:515
/** * Set items per page * @param int $perPage * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:525
/** * Get filter value by key * @param string $key * @param mixed|null $default * @return mixed */ Defined in .../app/Core/Lib/Listing/ListRequest.php:537
/** * Set filter value by key * @param string $key * @param mixed $value * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:548
/** * Get all filters * @return array<string, mixed> */ Defined in .../app/Core/Lib/Listing/ListRequest.php:558
/** * Default parameter values * @return array<string, mixed> */ Defined in .../app/Core/Lib/Listing/ListRequest.php:102
/** * Default input aliases * @return array<string, string> */ Defined in .../app/Core/Lib/Listing/ListRequest.php:117
/** * Create ListRequest from array (e.g. $_GET) * @param array<string, mixed> $data * @param array<string, mixed> $defaults * @param array<string, string> $aliases * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:139
/** * Create ListRequest from encrypted string * @param string|null $encrypted * @param array<string, mixed> $defaults * @param array<string, string> $aliases * @return self */ Defined in .../app/Core/Lib/Listing/ListRequest.php:171
Defined in .../app/Core/Lib/Listing/ListRequest.php:178
Defined in .../app/Core/Lib/Listing/ListRequest.php:190
/** * Encrypt array using Encryption service * @param array<string, mixed> $data * @return string */ Defined in .../app/Core/Lib/Listing/ListRequest.php:328
/** * Decrypt string to array using Encryption service * @param string $encrypted * @return array<string, mixed> */ Defined in .../app/Core/Lib/Listing/ListRequest.php:338
/** * Normalize sort value * Trims the string and converts empty to null * @param string|null $value * @return string|null */ Defined in .../app/Core/Lib/Listing/ListRequest.php:349
/** * Normalize sort direction * Converts to lowercase, validates 'asc' or 'desc', returns default if invalid * @param string $value * @param string $default Default value if input invalid * @return string */ Defined in .../app/Core/Lib/Listing/ListRequest.php:362
/** * Normalize page value * Converts to integer, ensures minimum 1, returns default if invalid * @param int|string $value * @param int $default Default page if input invalid * @return int */ Defined in .../app/Core/Lib/Listing/ListRequest.php:378
/** * Normalize items per page * Converts to integer, applies min 1 and max limit * @param int|string $value * @param int $max Maximum allowed perPage * @return int */ Defined in .../app/Core/Lib/Listing/ListRequest.php:391
m4bm0z53DkQ-swBLf6ot2is4C0y9ILJIebxGbgjI2LTzY9BJc9Oq2juHQ4R3vLVAlNV_QpaYZr_t0GrsCxxXtgIdsHnamngWd8RRNw