{"$schema":"https://yii2-framework.github.io/docs/reference/reference.schema.json","schemaVersion":1,"package":"yii2","title":"Yii 22.0","repository":"https://github.com/yiisoft/yii2","ref":"22.0","commit":"f126a8bfdbb83540656229be834cfd0bb3cf4ac0","generatedAt":"2026-10-18","url":"https://yii2-framework.github.io/docs/api/","types":{"Yii":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/global/yii/","summary":"Yii is a helper class serving common framework functionalities.","since":"2.0","extends":"yii\\BaseYii","inherited":{"properties":{"aliases":"yii\\BaseYii","app":"yii\\BaseYii","container":"yii\\BaseYii"},"methods":{"beginProfile":"yii\\BaseYii","configure":"yii\\BaseYii","createObject":"yii\\BaseYii","debug":"yii\\BaseYii","endProfile":"yii\\BaseYii","error":"yii\\BaseYii","getAlias":"yii\\BaseYii","getLogger":"yii\\BaseYii","getObjectVars":"yii\\BaseYii","getRootAlias":"yii\\BaseYii","getVersion":"yii\\BaseYii","info":"yii\\BaseYii","setAlias":"yii\\BaseYii","setLogger":"yii\\BaseYii","t":"yii\\BaseYii","warning":"yii\\BaseYii"}}},"YiiRequirementChecker":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/global/yiirequirementchecker/","summary":"YiiRequirementChecker allows checking, if current system meets the requirements for running the Yii application.","since":"2.0","properties":{"result":{"type":"array|null","default":"null","description":"The check results, this property is for internal usage only."}},"methods":{"check":{"signature":"public function check(array|string $requirements): $this","summary":"Check the given requirements, collecting results into internal field.","params":[{"name":"$requirements","type":"array|string","description":"Requirements to be checked. If an array, it is treated as the set of requirements; If a string, it is treated as the path of the file, which contains the requirements;"}],"return":{"type":"$this","description":"Self instance."}},"checkPhpExtensionVersion":{"signature":"public function checkPhpExtensionVersion(string $extensionName, string $version, string $compare = '>='): bool","summary":"Checks if the given PHP extension is available and its version matches the given one.","params":[{"name":"$extensionName","type":"string","description":"PHP extension name."},{"name":"$version","type":"string","description":"Required PHP extension version."},{"name":"$compare","type":"string","default":"'>='","optional":true,"description":"Comparison operator, by default '>='"}],"return":{"type":"bool","description":"If PHP extension version matches."}},"checkPhpIniOff":{"signature":"public function checkPhpIniOff(string $name): bool","summary":"Checks if PHP configuration option (from php.ini) is off.","params":[{"name":"$name","type":"string","description":"Configuration option name."}],"return":{"type":"bool","description":"Option is off."}},"checkPhpIniOn":{"signature":"public function checkPhpIniOn(string $name): bool","summary":"Checks if PHP configuration option (from php.ini) is on.","params":[{"name":"$name","type":"string","description":"Configuration option name."}],"return":{"type":"bool","description":"Option is on."}},"checkUploadMaxFileSize":{"signature":"public function checkUploadMaxFileSize(string|null $min = \\null, string|null $max = \\null): bool","summary":"Checks if upload max file size matches the given range.","params":[{"name":"$min","type":"string|null","default":"\\null","optional":true,"description":"Verbose file size minimum required value, pass null to skip minimum check."},{"name":"$max","type":"string|null","default":"\\null","optional":true,"description":"Verbose file size maximum required value, pass null to skip maximum check."}],"return":{"type":"bool","description":"Success."}},"checkYii":{"signature":"public function checkYii(): YiiRequirementChecker","summary":"Performs the check for the Yii core requirements.","return":{"type":"YiiRequirementChecker","description":"Self instance."}},"compareByteSize":{"signature":"public function compareByteSize(string $a, string $b, string $compare = '>='): bool","summary":"Compare byte sizes of values given in the verbose representation, like '5M', '15K' etc.","params":[{"name":"$a","type":"string","description":"First value."},{"name":"$b","type":"string","description":"Second value."},{"name":"$compare","type":"string","default":"'>='","optional":true,"description":"Comparison operator, by default '>='."}],"return":{"type":"bool","description":"Comparison result."}},"evaluateExpression":{"signature":"public function evaluateExpression(string $expression): mixed","summary":"Evaluates a PHP expression under the context of this class.","params":[{"name":"$expression","type":"string","description":"A PHP expression to be evaluated."}],"return":{"type":"mixed","description":"The expression result."}},"getByteSize":{"signature":"public function getByteSize(string $verboseSize): int","summary":"Gets the size in bytes from verbose size representation.","params":[{"name":"$verboseSize","type":"string","description":"Verbose size representation."}],"return":{"type":"int","description":"Actual size in bytes."}},"getNowDate":{"signature":"public function getNowDate(): string","summary":"Returns the now date if possible in string representation.","return":{"type":"string","description":"Now date."}},"getResult":{"signature":"public function getResult(): array|null","summary":"Return the check results.","return":{"type":"array|null","description":"Check results in format: ``` array( 'summary' => array( 'total' => total number of checks, 'errors' => number of errors, 'warnings' => number of warnings, ), 'requirements' => array( array( ... 'error' => is there an error, 'warning' => is there a warning, ), ... ), ) ```"}},"getServerInfo":{"signature":"public function getServerInfo(): string","summary":"Returns the server information.","return":{"type":"string","description":"Server information."}},"normalizeRequirement":{"signature":"public function normalizeRequirement(array $requirement, int $requirementKey = 0): array","summary":"Normalizes requirement ensuring it has correct format.","params":[{"name":"$requirement","type":"array","description":"Raw requirement."},{"name":"$requirementKey","type":"int","default":"0","optional":true,"description":"Requirement key in the list."}],"return":{"type":"array","description":"Normalized requirement."}},"render":{"signature":"public function render(): mixed","summary":"Renders the requirements check result.","return":{"type":"mixed"}},"renderViewFile":{"signature":"public function renderViewFile(string $_viewFile_, array|null $_data_ = \\null, bool $_return_ = \\false): string|null","summary":"Renders a view file.","params":[{"name":"$_viewFile_","type":"string","description":"View file"},{"name":"$_data_","type":"array|null","default":"\\null","optional":true,"description":"Data to be extracted and made available to the view file"},{"name":"$_return_","type":"bool","default":"\\false","optional":true,"description":"Whether the rendering result should be returned as a string"}],"return":{"type":"string|null","description":"The rendering result. Null if the rendering result is not required."}},"usageError":{"signature":"public function usageError(string $message): mixed","summary":"Displays a usage error.","params":[{"name":"$message","type":"string","description":"The error message"}],"return":{"type":"mixed"}}}},"yii\\BaseYii":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/baseyii/","summary":"BaseYii is the core helper class for the Yii framework.","since":"2.0","properties":{"aliases":{"type":"array","default":"['@yii' => __DIR__]","description":"Registered path aliases","static":true},"app":{"type":"yii\\console\\Application|yii\\web\\Application<yii\\TUserIdentity>|null","default":"null","description":"The application instance","static":true},"container":{"type":"yii\\di\\Container","default":"null","description":"The dependency injection (DI) container used by `createObject()`.","static":true}},"methods":{"beginProfile":{"signature":"public static function beginProfile(string $token, string $category = 'application'): mixed","summary":"Marks the beginning of a code block for profiling.","params":[{"name":"$token","type":"string","description":"Token for the code block"},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"The category of this log message"}],"return":{"type":"mixed"},"static":true},"configure":{"signature":"public static function configure(object $object, array $properties): object","summary":"Configures an object with the initial property values.","params":[{"name":"$object","type":"object","description":"The object to be configured"},{"name":"$properties","type":"array","description":"The property initial values given in terms of name-value pairs."}],"return":{"type":"object","description":"The object itself"},"static":true},"createObject":{"signature":"public static function createObject(class-string<yii\\T>|array{class?: class-string<yii\\T>, __class?: class-string<yii\\T>}|callable(): yii\\T $type, array $params = []): yii\\T","summary":"Creates a new object using the given configuration.","params":[{"name":"$type","type":"class-string<yii\\T>|array{class?: class-string<yii\\T>, __class?: class-string<yii\\T>}|callable(): yii\\T","description":"The object type. This can be specified in one of the following forms: - a string: representing the class name of the object to be created - a configuration array: the array must contain a `class` element which is treated as the object class, and the rest of the name-value pairs will be used to initialize the corresponding object properties - a PHP callable: either an anonymous function or an array representing a class method (`[$class or $object, $method]`). The callable should return a new instance of the object being created."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The constructor parameters"}],"return":{"type":"yii\\T","description":"The created object"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the configuration is invalid."}],"static":true},"debug":{"signature":"public static function debug(string|array $message, string $category = 'application'): mixed","summary":"Logs a debug message.","params":[{"name":"$message","type":"string|array","description":"The message to be logged. This can be a simple string or a more complex data structure, such as an array."},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"The category of the message."}],"return":{"type":"mixed"},"static":true,"since":"2.0.14"},"endProfile":{"signature":"public static function endProfile(string $token, string $category = 'application'): mixed","summary":"Marks the end of a code block for profiling.","params":[{"name":"$token","type":"string","description":"Token for the code block"},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"The category of this log message"}],"return":{"type":"mixed"},"static":true},"error":{"signature":"public static function error(string|array|Throwable $message, string $category = 'application'): mixed","summary":"Logs an error message.","params":[{"name":"$message","type":"string|array|Throwable","description":"The message to be logged. This can be a simple string or a more complex data structure, such as an array."},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"The category of the message."}],"return":{"type":"mixed"},"static":true},"getAlias":{"signature":"public static function getAlias(string $alias, bool $throwException = true): ($throwException is true ? string : string|false)","summary":"Translates a path alias into an actual path.","params":[{"name":"$alias","type":"string","description":"The alias to be translated."},{"name":"$throwException","type":"bool","default":"true","optional":true,"description":"Whether to throw an exception if the given alias is invalid. If this is false and an invalid alias is given, false will be returned by this method."}],"return":{"type":"($throwException is true ? string : string|false)","description":"The path corresponding to the alias, false if the root alias is not previously registered."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the alias is invalid while $throwException is true."}],"static":true},"getLogger":{"signature":"public static function getLogger(): yii\\log\\Logger","return":{"type":"yii\\log\\Logger","description":"Message logger"},"static":true},"getObjectVars":{"signature":"public static function getObjectVars(object $object): array","summary":"Returns the public member variables of an object.","params":[{"name":"$object","type":"object","description":"The object to be handled"}],"return":{"type":"array","description":"The public member variables of the object"},"static":true},"getRootAlias":{"signature":"public static function getRootAlias(string $alias): string|false","summary":"Returns the root alias part of a given alias.","params":[{"name":"$alias","type":"string","description":"The alias"}],"return":{"type":"string|false","description":"The root alias, or false if no root alias is found"},"static":true},"getVersion":{"signature":"public static function getVersion(): string","summary":"Returns a string representing the current version of the Yii framework.","return":{"type":"string","description":"The version of Yii framework"},"static":true},"info":{"signature":"public static function info(string|array|Throwable $message, string $category = 'application'): mixed","summary":"Logs an informative message.","params":[{"name":"$message","type":"string|array|Throwable","description":"The message to be logged. This can be a simple string or a more complex data structure, such as an array."},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"The category of the message."}],"return":{"type":"mixed"},"static":true},"setAlias":{"signature":"public static function setAlias(string $alias, string|null $path): mixed","summary":"Registers a path alias.","params":[{"name":"$alias","type":"string","description":"The alias name (e.g. \"@yii\"). It must start with a '@' character. It may contain the forward-slash '/' which serves as a boundary character when performing alias translation by `getAlias()`."},{"name":"$path","type":"string|null","description":"The path corresponding to the alias. If this is null, the alias will be removed. Trailing '/' and '\\' characters will be trimmed. This can be - a directory or a file path (e.g. `/tmp`, `/tmp/main.txt`) - a URL (e.g. `https://www.yiiframework.com`) - a path alias (e.g. `@yii/base`). In this case, the path alias will be converted into the actual path first by calling `getAlias()`."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if $path is an invalid alias."}],"static":true},"setLogger":{"signature":"public static function setLogger(yii\\log\\Logger|null $logger): mixed","summary":"Sets the logger object.","params":[{"name":"$logger","type":"yii\\log\\Logger|null","description":"The logger object."}],"return":{"type":"mixed"},"static":true},"t":{"signature":"public static function t(string $category, string $message, array $params = [], string|null $language = null): string","summary":"Translates a message to the specified language.","params":[{"name":"$category","type":"string","description":"The message category."},{"name":"$message","type":"string","description":"The message to be translated."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters that will be used to replace the corresponding placeholders in the message."},{"name":"$language","type":"string|null","default":"null","optional":true,"description":"The language code (e.g. `en-US`, `en`). If this is null, the current application language (`yii\\base\\Application::$language`) will be used."}],"return":{"type":"string","description":"The translated message."},"static":true},"warning":{"signature":"public static function warning(string|array|Throwable $message, string $category = 'application'): mixed","summary":"Logs a warning message.","params":[{"name":"$message","type":"string|array|Throwable","description":"The message to be logged. This can be a simple string or a more complex data structure, such as an array."},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"The category of the message."}],"return":{"type":"mixed"},"static":true}}},"yii\\base\\Action":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/action/","summary":"Action is the base class for all controller action classes.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"controller":{"type":"yii\\base\\T|null","default":"null","description":"The controller that owns this action, or `null` when the action runs standalone. via `yii\\base\\Module::$actionMap`"},"id":{"type":"string|null","default":"null","description":"ID of the action; `null` between construction and dispatcher post-assignment for standalone actions resolved through `yii\\base\\Module::$actionMap` or `yii\\base\\Module::$actionNamespace`."},"module":{"type":"yii\\base\\Module|null","description":"The owning module, or `null` if neither a module nor a controller is attached.","virtual":true,"since":"22.0"},"uniqueId":{"type":"string","description":"The unique ID of this action among the whole application.","access":"read-only","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(string|null $id = null, yii\\base\\T|null $controller = null, array<string, mixed> $config = [])","summary":"Constructor.","params":[{"name":"$id","type":"string|null","default":"null","optional":true,"description":"The ID of this action, or `null` when the action is instantiated through the DI container and the ID is assigned afterwards by the dispatcher."},{"name":"$controller","type":"yii\\base\\T|null","default":"null","optional":true,"description":"The controller that owns this action, or `null` for standalone handlers."},{"name":"$config","type":"array<string, mixed>","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties."}]},"afterRun":{"signature":"protected function afterRun(): mixed","summary":"This method is called right after `run()` is executed.","return":{"type":"mixed"},"visibility":"protected"},"beforeRun":{"signature":"protected function beforeRun(): bool","summary":"This method is called right before `run()` is executed.","return":{"type":"bool","description":"Whether to run the action."},"visibility":"protected"},"getModule":{"signature":"public function getModule(): yii\\base\\Module|null","summary":"Returns the module that owns this action when invoked standalone.","return":{"type":"yii\\base\\Module|null","description":"The owning module, or `null` if neither a module nor a controller is attached."},"since":"22.0"},"getUniqueId":{"signature":"public function getUniqueId(): string","summary":"Returns the unique ID of this action among the whole application.","return":{"type":"string","description":"The unique ID of this action among the whole application."}},"resolveStandaloneParams":{"signature":"protected function resolveStandaloneParams(array $params): array<array-key, mixed>","summary":"Resolves typed parameters of `run()` when the action is invoked without a hosting controller.","params":[{"name":"$params","type":"array","description":"Route parameters to be matched by name against `run()`'s signature."}],"return":{"type":"array<array-key, mixed>","description":"The resolved positional argument list for `run()`."},"visibility":"protected","since":"22.0"},"runWithParams":{"signature":"public function runWithParams(array $params): mixed","summary":"Runs this action with the specified parameters.","params":[{"name":"$params","type":"array","description":"The parameters to be bound to the action's `run()` method."}],"return":{"type":"mixed","description":"The result of the action."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the action class does not have a `run()` method."}]},"setModule":{"signature":"public function setModule(yii\\base\\Module|null $module): void","summary":"Sets the module that owns this action when invoked standalone.","params":[{"name":"$module","type":"yii\\base\\Module|null","description":"The owning module, or `null` to detach."}],"return":{"type":"void"},"since":"22.0"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\ActionEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/actionevent/","summary":"ActionEvent represents the event parameter used for an action event.","since":"2.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"action":{"type":"yii\\base\\T","default":"null","description":"The action currently being executed"},"isValid":{"type":"bool","default":"true","description":"Whether to continue running the action."},"result":{"type":"mixed","default":"null","description":"The action result."}},"methods":{"__construct":{"signature":"public function __construct(yii\\base\\T $action, array<string, mixed> $config = [])","summary":"Constructor.","params":[{"name":"$action","type":"yii\\base\\T","description":"The action associated with this action event."},{"name":"$config","type":"array<string, mixed>","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\base\\ActionFilter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/actionfilter/","summary":"ActionFilter is the base class for action filters.","since":"2.0","extends":"yii\\base\\Behavior","implements":["yii\\base\\Configurable"],"properties":{"except":{"type":"array","default":"[]","description":"List of action IDs that this filter should not apply to."},"only":{"type":"array","default":"[]","description":"List of action IDs that this filter should apply to."}},"methods":{"afterAction":{"signature":"public function afterAction(yii\\base\\Action $action, mixed $result): mixed","summary":"This method is invoked right after an action is executed.","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action just executed."},{"name":"$result","type":"mixed","description":"The action execution result"}],"return":{"type":"mixed","description":"The processed action result."}},"afterFilter":{"signature":"public function afterFilter(yii\\base\\ActionEvent $event): mixed","params":[{"name":"$event","type":"yii\\base\\ActionEvent"}],"return":{"type":"mixed"}},"attach":{"signature":"public function attach(mixed $owner): mixed","summary":"Attaches the behavior object to the component.","params":[{"name":"$owner","type":"mixed","description":"The component that this behavior is to be attached to."}],"return":{"type":"mixed"}},"beforeAction":{"signature":"public function beforeAction(yii\\base\\Action $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"beforeFilter":{"signature":"public function beforeFilter(yii\\base\\ActionEvent $event): mixed","params":[{"name":"$event","type":"yii\\base\\ActionEvent"}],"return":{"type":"mixed"}},"detach":{"signature":"public function detach(): mixed","summary":"Detaches the behavior object from the component.","return":{"type":"mixed"}},"getActionId":{"signature":"protected function getActionId(yii\\base\\Action $action): string","summary":"Returns an action ID by converting `yii\\base\\Action::$uniqueId` into an ID relative to the module.","params":[{"name":"$action","type":"yii\\base\\Action"}],"return":{"type":"string"},"visibility":"protected","since":"2.0.7"},"isActive":{"signature":"protected function isActive(yii\\base\\Action $action): bool","summary":"Returns a value indicating whether the filter is active for the given action.","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action being filtered"}],"return":{"type":"bool","description":"Whether the filter is active for the given action."},"visibility":"protected"}},"inherited":{"properties":{"owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","events":"yii\\base\\Behavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\base\\Application":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/base/application/","summary":"Application is the base class for all application classes.","since":"2.0","extends":"yii\\base\\Module","implements":["yii\\base\\Configurable"],"properties":{"assetManager":{"type":"yii\\web\\AssetManager","description":"The asset manager application component.","access":"read-only","virtual":true},"authManager":{"type":"yii\\rbac\\ManagerInterface|null","description":"The auth manager application component or null if it's not configured.","access":"read-only","virtual":true},"basePath":{"type":"string","description":"The root directory of the application.","virtual":true},"bootstrap":{"type":"array","default":"[]","description":"List of components that should be run during the application bootstrapping process (`bootstrap()`)."},"cache":{"type":"yii\\caching\\CacheInterface|null","description":"The cache application component.","access":"read-only","virtual":true},"charset":{"type":"string","default":"'UTF-8'","description":"The charset currently used for the application."},"container":{"type":"array","description":"Values given in terms of name-value pairs.","access":"write-only","virtual":true},"controller":{"type":"yii\\base\\Controller|null","default":"null","description":"The currently active controller instance"},"controllerNamespace":{"type":"string","default":"'app\\controllers'","description":"The namespace that controller classes are located in."},"db":{"type":"yii\\db\\Connection","description":"The database connection.","access":"read-only","virtual":true},"errorHandler":{"type":"yii\\web\\ErrorHandler|yii\\console\\ErrorHandler","description":"The error handler application component.","access":"read-only","virtual":true},"extensions":{"type":"array|null","default":"null","description":"List of installed Yii extensions."},"formatter":{"type":"yii\\i18n\\Formatter","description":"The formatter application component.","access":"read-only","virtual":true},"i18n":{"type":"yii\\i18n\\I18N","description":"The internationalization application component.","access":"read-only","virtual":true},"language":{"type":"string","default":"'en-US'","description":"The language that is meant to be used for end users."},"layout":{"type":"string|bool","default":"'main'","description":"The layout that should be applied for views in this application."},"loadedModules":{"type":"array","default":"[]","description":"List of loaded modules indexed by their class names."},"log":{"type":"yii\\log\\Dispatcher","description":"The log dispatcher application component.","access":"read-only","virtual":true},"mailer":{"type":"yii\\mail\\MailerInterface","description":"The mailer application component.","access":"read-only","virtual":true},"name":{"type":"string","default":"'My Application'","description":"The application name."},"request":{"type":"yii\\web\\Request|yii\\console\\Request","description":"The request component.","access":"read-only","virtual":true},"requestedAction":{"type":"yii\\base\\Action<yii\\base\\Controller>|null","default":"null","description":"The requested Action."},"requestedParams":{"type":"array|null","default":"null","description":"The parameters supplied to the requested action."},"requestedRoute":{"type":"string","default":"null","description":"The requested route"},"response":{"type":"yii\\web\\Response|yii\\console\\Response","description":"The response component.","access":"read-only","virtual":true},"runtimePath":{"type":"string","description":"The directory that stores runtime files.","virtual":true},"security":{"type":"yii\\base\\Security","description":"The security application component.","access":"read-only","virtual":true},"sourceLanguage":{"type":"string","default":"'en-US'","description":"The language that the application is written in."},"state":{"type":"int","default":"null","description":"The current application state during a request handling life cycle."},"timeZone":{"type":"string","description":"The time zone used by this application.","virtual":true},"uniqueId":{"type":"string","description":"The unique ID of the module.","access":"read-only","virtual":true},"urlManager":{"type":"yii\\web\\UrlManager","description":"The URL manager for this application.","access":"read-only","virtual":true},"vendorPath":{"type":"string","description":"The directory that stores vendor files.","virtual":true},"view":{"type":"yii\\base\\View|yii\\web\\View","description":"The view application component that is used to render various view files.","access":"read-only","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(array<array-key, mixed> $config = [])","summary":"Constructor.","params":[{"name":"$config","type":"array<array-key, mixed>","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties. Note that the configuration must contain both `$id` and `$basePath`."}],"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if either `$id` or `$basePath` configuration is missing."}]},"bootstrap":{"signature":"protected function bootstrap(): mixed","summary":"Initializes extensions and executes bootstrap components.","return":{"type":"mixed"},"visibility":"protected"},"coreComponents":{"signature":"public function coreComponents(): array","summary":"Returns the configuration of core application components.","return":{"type":"array"}},"end":{"signature":"public function end(int $status = 0, yii\\base\\Response|null $response = null): mixed","summary":"Terminates the application.","params":[{"name":"$status","type":"int","default":"0","optional":true,"description":"The exit status (value 0 means normal exit while other values mean abnormal exit)."},{"name":"$response","type":"yii\\base\\Response|null","default":"null","optional":true,"description":"The response to be sent. If not set, the default application `$response` component will be used."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\ExitException","description":"if the application is in testing mode"}]},"getAssetManager":{"signature":"public function getAssetManager(): yii\\web\\AssetManager","summary":"Returns the asset manager.","return":{"type":"yii\\web\\AssetManager","description":"The asset manager application component."}},"getAuthManager":{"signature":"public function getAuthManager(): yii\\rbac\\ManagerInterface|null","summary":"Returns the auth manager for this application.","return":{"type":"yii\\rbac\\ManagerInterface|null","description":"The auth manager application component or null if it's not configured."}},"getCache":{"signature":"public function getCache(): yii\\caching\\CacheInterface|null","summary":"Returns the cache component.","return":{"type":"yii\\caching\\CacheInterface|null","description":"The cache application component. Null if the component is not enabled."}},"getDb":{"signature":"public function getDb(): yii\\db\\Connection","summary":"Returns the database connection component.","return":{"type":"yii\\db\\Connection","description":"The database connection."}},"getErrorHandler":{"signature":"public function getErrorHandler(): yii\\web\\ErrorHandler|yii\\console\\ErrorHandler","summary":"Returns the error handler component.","return":{"type":"yii\\web\\ErrorHandler|yii\\console\\ErrorHandler","description":"The error handler application component."}},"getFormatter":{"signature":"public function getFormatter(): yii\\i18n\\Formatter","summary":"Returns the formatter component.","return":{"type":"yii\\i18n\\Formatter","description":"The formatter application component."}},"getI18n":{"signature":"public function getI18n(): yii\\i18n\\I18N","summary":"Returns the internationalization (i18n) component.","return":{"type":"yii\\i18n\\I18N","description":"The internationalization application component."}},"getLog":{"signature":"public function getLog(): yii\\log\\Dispatcher","summary":"Returns the log dispatcher component.","return":{"type":"yii\\log\\Dispatcher","description":"The log dispatcher application component."}},"getMailer":{"signature":"public function getMailer(): yii\\mail\\MailerInterface","summary":"Returns the mailer component.","return":{"type":"yii\\mail\\MailerInterface","description":"The mailer application component."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"If this component is not configured."}]},"getRequest":{"signature":"public function getRequest(): yii\\web\\Request|yii\\console\\Request","summary":"Returns the request component.","return":{"type":"yii\\web\\Request|yii\\console\\Request","description":"The request component."}},"getResponse":{"signature":"public function getResponse(): yii\\web\\Response|yii\\console\\Response","summary":"Returns the response component.","return":{"type":"yii\\web\\Response|yii\\console\\Response","description":"The response component."}},"getRuntimePath":{"signature":"public function getRuntimePath(): string","summary":"Returns the directory that stores runtime files.","return":{"type":"string","description":"The directory that stores runtime files. Defaults to the \"runtime\" subdirectory under `$basePath`."}},"getSecurity":{"signature":"public function getSecurity(): yii\\base\\Security","summary":"Returns the security component.","return":{"type":"yii\\base\\Security","description":"The security application component."}},"getTimeZone":{"signature":"public function getTimeZone(): string","summary":"Returns the time zone used by this application.","return":{"type":"string","description":"The time zone used by this application."}},"getUniqueId":{"signature":"public function getUniqueId(): string","summary":"Returns an ID that uniquely identifies this module among all modules within the current application.","return":{"type":"string","description":"The unique ID of the module."}},"getUrlManager":{"signature":"public function getUrlManager(): yii\\web\\UrlManager","summary":"Returns the URL manager for this application.","return":{"type":"yii\\web\\UrlManager","description":"The URL manager for this application."}},"getVendorPath":{"signature":"public function getVendorPath(): string","summary":"Returns the directory that stores vendor files.","return":{"type":"string","description":"The directory that stores vendor files. Defaults to \"vendor\" directory under `$basePath`."}},"getView":{"signature":"public function getView(): yii\\base\\View|yii\\web\\View","summary":"Returns the view object.","return":{"type":"yii\\base\\View|yii\\web\\View","description":"The view application component that is used to render various view files."}},"handleRequest":{"signature":"abstract public function handleRequest(yii\\base\\Request $request): yii\\base\\Response","summary":"Handles the specified request.","params":[{"name":"$request","type":"yii\\base\\Request","description":"The request to be handled"}],"return":{"type":"yii\\base\\Response","description":"The resulting response"},"abstract":true},"init":{"signature":"public function init(): mixed","summary":"Initializes the module.","return":{"type":"mixed"}},"preInit":{"signature":"public function preInit(array &$config): mixed","summary":"Pre-initializes the application.","params":[{"name":"$config","type":"array","byReference":true,"description":"The application configuration"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if either `$id` or `$basePath` configuration is missing."}]},"registerErrorHandler":{"signature":"protected function registerErrorHandler(array &$config): mixed","summary":"Registers the errorHandler component as a PHP error handler.","params":[{"name":"$config","type":"array","byReference":true,"description":"Application config"}],"return":{"type":"mixed"},"visibility":"protected"},"run":{"signature":"public function run(): int","summary":"Runs the application.","return":{"type":"int","description":"The exit status (0 means normal, non-zero values mean abnormal)"}},"setBasePath":{"signature":"public function setBasePath(string $path): mixed","summary":"Sets the root directory of the application and the @app alias.","params":[{"name":"$path","type":"string","description":"The root directory of the application."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the directory does not exist."}]},"setContainer":{"signature":"public function setContainer(array $config): mixed","summary":"Configures `Yii::$container` with the $config.","params":[{"name":"$config","type":"array","description":"Values given in terms of name-value pairs"}],"return":{"type":"mixed"},"since":"2.0.11"},"setRuntimePath":{"signature":"public function setRuntimePath(string $path): mixed","summary":"Sets the directory that stores runtime files.","params":[{"name":"$path","type":"string","description":"The directory that stores runtime files."}],"return":{"type":"mixed"}},"setTimeZone":{"signature":"public function setTimeZone(string $value): mixed","summary":"Sets the time zone used by this application.","params":[{"name":"$value","type":"string","description":"The time zone used by this application."}],"return":{"type":"mixed"}},"setVendorPath":{"signature":"public function setVendorPath(string $path): mixed","summary":"Sets the directory that stores vendor files.","params":[{"name":"$path","type":"string","description":"The directory that stores vendor files."}],"return":{"type":"mixed"}}},"constants":{"STATE_BEGIN":{"value":"0","description":"Application state used by `$state`: application just started."},"STATE_INIT":{"value":"1","description":"Application state used by `$state`: application is initializing."},"STATE_BEFORE_REQUEST":{"value":"2","description":"Application state used by `$state`: application is triggering `EVENT_BEFORE_REQUEST`."},"STATE_HANDLING_REQUEST":{"value":"3","description":"Application state used by `$state`: application is handling the request."},"STATE_AFTER_REQUEST":{"value":"4","description":"Application state used by `$state`: application is triggering `EVENT_AFTER_REQUEST`."},"STATE_SENDING_RESPONSE":{"value":"5","description":"Application state used by `$state`: application is about to send response."},"STATE_END":{"value":"6","description":"Application state used by `$state`: application has ended."}},"events":{"EVENT_BEFORE_REQUEST":{"value":"'beforeRequest'","type":"yii\\base\\Event","description":"An event raised before the application starts to handle a request."},"EVENT_AFTER_REQUEST":{"value":"'afterRequest'","type":"yii\\base\\Event","description":"An event raised after the application successfully handles a request (before the response is sent out)."}},"inherited":{"properties":{"actionMap":"yii\\base\\Module","actionNamespace":"yii\\base\\Module","aliases":"yii\\base\\Module","behaviors":"yii\\base\\Component","components":"yii\\di\\ServiceLocator","controllerMap":"yii\\base\\Module","controllerPath":"yii\\base\\Module","defaultRoute":"yii\\base\\Module","id":"yii\\base\\Module","layoutPath":"yii\\base\\Module","module":"yii\\base\\Module","modules":"yii\\base\\Module","params":"yii\\base\\Module","version":"yii\\base\\Module","viewPath":"yii\\base\\Module"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\di\\ServiceLocator","__isset":"yii\\di\\ServiceLocator","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterAction":"yii\\base\\Module","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\base\\Module","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clear":"yii\\di\\ServiceLocator","createController":"yii\\base\\Module","createControllerByID":"yii\\base\\Module","createStandaloneAction":"yii\\base\\Module","defaultVersion":"yii\\base\\Module","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","get":"yii\\base\\Module","getBasePath":"yii\\base\\Module","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getComponents":"yii\\di\\ServiceLocator","getControllerPath":"yii\\base\\Module","getInstance":"yii\\base\\Module","getLayoutPath":"yii\\base\\Module","getModule":"yii\\base\\Module","getModules":"yii\\base\\Module","getVersion":"yii\\base\\Module","getViewPath":"yii\\base\\Module","has":"yii\\base\\Module","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasModule":"yii\\base\\Module","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","runAction":"yii\\base\\Module","runMappedAction":"yii\\base\\Module","runStandaloneAction":"yii\\base\\Module","set":"yii\\di\\ServiceLocator","setAliases":"yii\\base\\Module","setComponents":"yii\\di\\ServiceLocator","setControllerPath":"yii\\base\\Module","setInstance":"yii\\base\\Module","setLayoutPath":"yii\\base\\Module","setModule":"yii\\base\\Module","setModules":"yii\\base\\Module","setVersion":"yii\\base\\Module","setViewPath":"yii\\base\\Module","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Module","EVENT_AFTER_ACTION":"yii\\base\\Module"}}},"yii\\base\\ArrayAccessTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/base/arrayaccesstrait/","summary":"ArrayAccessTrait provides the implementation for `IteratorAggregate`, `ArrayAccess` and `Countable`.","since":"2.0","properties":{"data":{"type":"array<array-key, mixed>","virtual":true}},"methods":{"count":{"signature":"public function count(): int","summary":"Returns the number of data items.","return":{"type":"int","description":"Number of data elements."}},"getIterator":{"signature":"public function getIterator(): ArrayIterator<array-key, mixed>","summary":"Returns an iterator for traversing the data.","return":{"type":"ArrayIterator<array-key, mixed>","description":"An iterator for traversing the cookies in the collection."}},"offsetExists":{"signature":"public function offsetExists(int|string $offset): bool","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to check on"}],"return":{"type":"bool"}},"offsetGet":{"signature":"public function offsetGet(int|string $offset): mixed","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to retrieve element."}],"return":{"type":"mixed","description":"The element at the offset, null if no element is found at the offset"}},"offsetSet":{"signature":"public function offsetSet(int|string $offset, mixed $item): mixed","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to set element"},{"name":"$item","type":"mixed","description":"The element value"}],"return":{"type":"mixed"}},"offsetUnset":{"signature":"public function offsetUnset(int|string $offset): mixed","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to unset element"}],"return":{"type":"mixed"}}}},"yii\\base\\Arrayable":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/base/arrayable/","summary":"Arrayable is the interface that should be implemented by classes who want to support customizable representation of their instances.","since":"2.0","methods":{"extraFields":{"signature":"abstract public function extraFields(): array","summary":"Returns the list of additional fields that can be returned by `toArray()` in addition to those listed in `fields()`.","return":{"type":"array","description":"The list of expandable field names or field definitions. Please refer to `fields()` on the format of the return value."},"abstract":true},"fields":{"signature":"abstract public function fields(): array","summary":"Returns the list of fields that should be returned by default by `toArray()` when no specific fields are specified.","return":{"type":"array","description":"The list of field names or field definitions."},"abstract":true},"toArray":{"signature":"abstract public function toArray(array $fields = [], array $expand = [], bool $recursive = true): array","summary":"Converts the object into an array.","params":[{"name":"$fields","type":"array","default":"[]","optional":true,"description":"The fields that the output array should contain. Fields not specified in `fields()` will be ignored. If this parameter is empty, all fields as specified in `fields()` will be returned."},{"name":"$expand","type":"array","default":"[]","optional":true,"description":"The additional fields that the output array should contain. Fields not specified in `extraFields()` will be ignored. If this parameter is empty, no extra fields will be returned."},{"name":"$recursive","type":"bool","default":"true","optional":true,"description":"Whether to recursively return array representation of embedded objects."}],"return":{"type":"array","description":"The array representation of the object"},"abstract":true}}},"yii\\base\\ArrayableTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/base/arrayabletrait/","summary":"ArrayableTrait provides a common implementation of the `yii\\base\\Arrayable` interface.","since":"2.0","methods":{"extractFieldsFor":{"signature":"protected function extractFieldsFor(array $fields, string $rootField): array","summary":"Extract nested fields from a fields collection for a given root field Nested fields are separated with dots (.). e.g: \"item.id\" The previous example would extract \"id\".","params":[{"name":"$fields","type":"array","description":"The fields requested for extraction"},{"name":"$rootField","type":"string","description":"The root field for which we want to extract the nested fields"}],"return":{"type":"array","description":"Nested fields extracted for the given field"},"visibility":"protected","since":"2.0.14"},"extractRootFields":{"signature":"protected function extractRootFields(array $fields): array","summary":"Extracts the root field names from nested fields.","params":[{"name":"$fields","type":"array","description":"The fields requested for extraction"}],"return":{"type":"array","description":"Root fields extracted from the given nested fields"},"visibility":"protected","since":"2.0.14"},"extraFields":{"signature":"public function extraFields(): array","summary":"Returns the list of fields that can be expanded further and returned by `toArray()`.","return":{"type":"array","description":"The list of expandable field names or field definitions. Please refer to `fields()` on the format of the return value."}},"fields":{"signature":"public function fields(): array","summary":"Returns the list of fields that should be returned by default by `toArray()` when no specific fields are specified.","return":{"type":"array","description":"The list of field names or field definitions."}},"resolveFields":{"signature":"protected function resolveFields(array $fields, array $expand): array","summary":"Determines which fields can be returned by `toArray()`.","params":[{"name":"$fields","type":"array","description":"The fields being requested for exporting"},{"name":"$expand","type":"array","description":"The additional fields being requested for exporting"}],"return":{"type":"array","description":"The list of fields to be exported. The array keys are the field names, and the array values are the corresponding object property names or PHP callables returning the field values."},"visibility":"protected"},"toArray":{"signature":"public function toArray(array $fields = [], array $expand = [], bool $recursive = true): array","summary":"Converts the model into an array.","params":[{"name":"$fields","type":"array","default":"[]","optional":true,"description":"The fields being requested. If empty or if it contains '*', all fields as specified by `fields()` will be returned. Fields can be nested, separated with dots (.). e.g.: item.field.sub-field `$recursive` must be true for nested fields to be extracted. If `$recursive` is false, only the root fields will be extracted."},{"name":"$expand","type":"array","default":"[]","optional":true,"description":"The additional fields being requested for exporting. Only fields declared in `extraFields()` will be considered. Expand can also be nested, separated with dots (.). e.g.: item.expand1.expand2 `$recursive` must be true for nested expands to be extracted. If `$recursive` is false, only the root expands will be extracted."},{"name":"$recursive","type":"bool","default":"true","optional":true,"description":"Whether to recursively return array representation of embedded objects."}],"return":{"type":"array","description":"The array representation of the object"}}}},"yii\\base\\BaseObject":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/baseobject/","summary":"BaseObject is the base class that implements the *property* feature.","since":"2.0.13","implements":["yii\\base\\Configurable"],"methods":{"__call":{"signature":"public function __call(string $name, array $params): mixed","summary":"Calls the named method which is not a class method.","params":[{"name":"$name","type":"string","description":"The method name"},{"name":"$params","type":"array","description":"Method parameters"}],"return":{"type":"mixed","description":"The method return value"},"throws":[{"type":"yii\\base\\UnknownMethodException","description":"when calling unknown method"}]},"__construct":{"signature":"public function __construct(array<string, mixed> $config = [])","summary":"Constructor.","params":[{"name":"$config","type":"array<string, mixed>","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"__get":{"signature":"public function __get(string $name): mixed","summary":"Returns the value of an object property.","params":[{"name":"$name","type":"string","description":"The property name"}],"return":{"type":"mixed","description":"The property value"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is write-only"}]},"__isset":{"signature":"public function __isset(string $name): bool","summary":"Checks if a property is set, i.e. defined and not null.","params":[{"name":"$name","type":"string","description":"The property name or the event name"}],"return":{"type":"bool","description":"Whether the named property is set (not null)."}},"__set":{"signature":"public function __set(string $name, mixed $value): mixed","summary":"Sets value of an object property.","params":[{"name":"$name","type":"string","description":"The property name or the event name"},{"name":"$value","type":"mixed","description":"The property value"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is read-only"}]},"__unset":{"signature":"public function __unset(string $name): mixed","summary":"Sets an object property to null.","params":[{"name":"$name","type":"string","description":"The property name"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the property is read only."}]},"canGetProperty":{"signature":"public function canGetProperty(string $name, bool $checkVars = true): bool","summary":"Returns a value indicating whether a property can be read.","params":[{"name":"$name","type":"string","description":"The property name"},{"name":"$checkVars","type":"bool","default":"true","optional":true,"description":"Whether to treat member variables as properties"}],"return":{"type":"bool","description":"Whether the property can be read"}},"canSetProperty":{"signature":"public function canSetProperty(string $name, bool $checkVars = true): bool","summary":"Returns a value indicating whether a property can be set.","params":[{"name":"$name","type":"string","description":"The property name"},{"name":"$checkVars","type":"bool","default":"true","optional":true,"description":"Whether to treat member variables as properties"}],"return":{"type":"bool","description":"Whether the property can be written"}},"className":{"signature":"public static function className(): string","summary":"Returns the fully qualified name of this class.","return":{"type":"string","description":"The fully qualified name of this class."},"static":true},"hasMethod":{"signature":"public function hasMethod(string $name): bool","summary":"Returns a value indicating whether a method is defined.","params":[{"name":"$name","type":"string","description":"The method name"}],"return":{"type":"bool","description":"Whether the method is defined"}},"hasProperty":{"signature":"public function hasProperty(string $name, bool $checkVars = true): bool","summary":"Returns a value indicating whether a property is defined.","params":[{"name":"$name","type":"string","description":"The property name"},{"name":"$checkVars","type":"bool","default":"true","optional":true,"description":"Whether to treat member variables as properties"}],"return":{"type":"bool","description":"Whether the property is defined"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}}},"yii\\base\\Behavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/behavior/","summary":"Behavior is the base class for all behavior classes.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"owner":{"type":"yii\\base\\T|null","default":"null","description":"The owner of this behavior"}},"methods":{"attach":{"signature":"public function attach(yii\\base\\T $owner): mixed","summary":"Attaches the behavior object to the component.","params":[{"name":"$owner","type":"yii\\base\\T","description":"The component that this behavior is to be attached to."}],"return":{"type":"mixed"}},"detach":{"signature":"public function detach(): mixed","summary":"Detaches the behavior object from the component.","return":{"type":"mixed"}},"events":{"signature":"public function events(): array","summary":"Declares event handlers for the `$owner`'s events.","return":{"type":"array","description":"Events (array keys) and the corresponding event handler methods (array values)."}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\base\\BootstrapInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/base/bootstrapinterface/","summary":"BootstrapInterface is the interface that should be implemented by classes who want to participate in the application bootstrap process.","since":"2.0","methods":{"bootstrap":{"signature":"abstract public function bootstrap(yii\\base\\Application $app): mixed","summary":"Bootstrap method to be called during application bootstrap stage.","params":[{"name":"$app","type":"yii\\base\\Application","description":"The application currently running"}],"return":{"type":"mixed"},"abstract":true}}},"yii\\base\\Component":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/component/","summary":"Component is the base class that implements the *property*, *event* and *behavior* features.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"behaviors":{"type":"array<yii\\base\\Behavior<static>>","description":"List of behaviors attached to this component.","access":"read-only","virtual":true}},"methods":{"__call":{"signature":"public function __call(string $name, array $params): mixed","summary":"Calls the named method which is not a class method.","params":[{"name":"$name","type":"string","description":"The method name"},{"name":"$params","type":"array","description":"Method parameters"}],"return":{"type":"mixed","description":"The method return value"},"throws":[{"type":"yii\\base\\UnknownMethodException","description":"when calling unknown method"}]},"__clone":{"signature":"public function __clone(): mixed","summary":"This method is called after the object is created by cloning an existing one.","return":{"type":"mixed"}},"__get":{"signature":"public function __get(string $name): mixed","summary":"Returns the value of a component property.","params":[{"name":"$name","type":"string","description":"The property name"}],"return":{"type":"mixed","description":"The property value or the value of a behavior's property"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is write-only."}]},"__isset":{"signature":"public function __isset(string $name): bool","summary":"Checks if a property is set, i.e. defined and not null.","params":[{"name":"$name","type":"string","description":"The property name or the event name"}],"return":{"type":"bool","description":"Whether the named property is set"}},"__set":{"signature":"public function __set(string $name, mixed $value): mixed","summary":"Sets the value of a component property.","params":[{"name":"$name","type":"string","description":"The property name or the event name"},{"name":"$value","type":"mixed","description":"The property value"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is read-only."}]},"__unset":{"signature":"public function __unset(string $name): mixed","summary":"Sets a component property to be null.","params":[{"name":"$name","type":"string","description":"The property name"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the property is read only."}]},"attachBehavior":{"signature":"public function attachBehavior(string $name, string|array|yii\\base\\Behavior $behavior): yii\\base\\Behavior<static>","summary":"Attaches a behavior to this component.","params":[{"name":"$name","type":"string","description":"The name of the behavior."},{"name":"$behavior","type":"string|array|yii\\base\\Behavior","description":"The behavior configuration. This can be one of the following: - a `yii\\base\\Behavior` object - a string specifying the behavior class - an object configuration array that will be passed to `Yii::createObject()` to create the behavior object."}],"return":{"type":"yii\\base\\Behavior<static>","description":"The behavior object"}},"attachBehaviors":{"signature":"public function attachBehaviors(array $behaviors): mixed","summary":"Attaches a list of behaviors to the component.","params":[{"name":"$behaviors","type":"array","description":"List of behaviors to be attached to the component"}],"return":{"type":"mixed"}},"behaviors":{"signature":"public function behaviors(): array<array-key, class-string|array{class: class-string}|yii\\base\\Behavior>","summary":"Returns a list of behaviors that this component should behave as.","return":{"type":"array<array-key, class-string|array{class: class-string}|yii\\base\\Behavior>","description":"The behavior configurations."}},"canGetProperty":{"signature":"public function canGetProperty(string $name, bool $checkVars = true, bool $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be read.","params":[{"name":"$name","type":"string","description":"The property name"},{"name":"$checkVars","type":"bool","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"bool","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be read"}},"canSetProperty":{"signature":"public function canSetProperty(string $name, bool $checkVars = true, bool $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be set.","params":[{"name":"$name","type":"string","description":"The property name"},{"name":"$checkVars","type":"bool","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"bool","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be written"}},"detachBehavior":{"signature":"public function detachBehavior(string $name): yii\\base\\Behavior<static>|null","summary":"Detaches a behavior from the component.","params":[{"name":"$name","type":"string","description":"The behavior's name."}],"return":{"type":"yii\\base\\Behavior<static>|null","description":"The detached behavior. Null if the behavior does not exist."}},"detachBehaviors":{"signature":"public function detachBehaviors(): mixed","summary":"Detaches all behaviors from the component.","return":{"type":"mixed"}},"ensureBehaviors":{"signature":"public function ensureBehaviors(): mixed","summary":"Makes sure that the behaviors declared in `behaviors()` are attached to this component.","return":{"type":"mixed"}},"getBehavior":{"signature":"public function getBehavior(string $name): yii\\base\\Behavior<static>|null","summary":"Returns the named behavior object.","params":[{"name":"$name","type":"string","description":"The behavior name"}],"return":{"type":"yii\\base\\Behavior<static>|null","description":"The behavior object, or null if the behavior does not exist"}},"getBehaviors":{"signature":"public function getBehaviors(): array<yii\\base\\Behavior<static>>","summary":"Returns all behaviors attached to this component.","return":{"type":"array<yii\\base\\Behavior<static>>","description":"List of behaviors attached to this component"}},"hasEventHandlers":{"signature":"public function hasEventHandlers(string $name): bool","summary":"Returns a value indicating whether there is any handler attached to the named event.","params":[{"name":"$name","type":"string","description":"The event name"}],"return":{"type":"bool","description":"Whether there is any handler attached to the event."}},"hasMethod":{"signature":"public function hasMethod(string $name, bool $checkBehaviors = true): bool","summary":"Returns a value indicating whether a method is defined.","params":[{"name":"$name","type":"string","description":"The property name"},{"name":"$checkBehaviors","type":"bool","default":"true","optional":true,"description":"Whether to treat behaviors' methods as methods of this component"}],"return":{"type":"bool","description":"Whether the method is defined"}},"hasProperty":{"signature":"public function hasProperty(string $name, bool $checkVars = true, bool $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property is defined for this component.","params":[{"name":"$name","type":"string","description":"The property name"},{"name":"$checkVars","type":"bool","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"bool","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property is defined"}},"off":{"signature":"public function off(string $name, callable|null $handler = null): bool","summary":"Detaches an existing event handler from this component.","params":[{"name":"$name","type":"string","description":"Event name"},{"name":"$handler","type":"callable|null","default":"null","optional":true,"description":"The event handler to be removed. If it is null, all handlers attached to the named event will be removed."}],"return":{"type":"bool","description":"If a handler is found and detached"}},"on":{"signature":"public function on(string $name, callable $handler, mixed $data = null, bool $append = true): mixed","summary":"Attaches an event handler to an event.","params":[{"name":"$name","type":"string","description":"The event name"},{"name":"$handler","type":"callable","description":"The event handler"},{"name":"$data","type":"mixed","default":"null","optional":true,"description":"The data to be passed to the event handler when the event is triggered. When the event handler is invoked, this data can be accessed via `yii\\base\\Event::$data`."},{"name":"$append","type":"bool","default":"true","optional":true,"description":"Whether to append new event handler to the end of the existing handler list. If false, the new handler will be inserted at the beginning of the existing handler list."}],"return":{"type":"mixed"}},"trigger":{"signature":"public function trigger(string $name, yii\\base\\Event|null $event = null): mixed","summary":"Triggers an event.","params":[{"name":"$name","type":"string","description":"The event name"},{"name":"$event","type":"yii\\base\\Event|null","default":"null","optional":true,"description":"The event instance. If not set, a default `yii\\base\\Event` object will be created."}],"return":{"type":"mixed"}}},"inherited":{"methods":{"__construct":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\base\\Configurable":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/base/configurable/","summary":"Configurable is the interface that should be implemented by classes who support configuring its properties through the last parameter to its constructor.","since":"2.0.3"},"yii\\base\\Controller":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/controller/","summary":"Controller is the base class for classes containing controller logic.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"action":{"type":"yii\\base\\Action<static>|null","default":"null","description":"The action that is currently being executed."},"defaultAction":{"type":"string","default":"'index'","description":"The ID of the action that is used when the action ID is not specified in the request."},"id":{"type":"string","default":"null","description":"The ID of this controller."},"layout":{"type":"string|null|false","default":"null","description":"The name of the layout to be applied to this controller's views."},"module":{"type":"yii\\base\\T","default":"null","description":"The module that this controller belongs to."},"modules":{"type":"yii\\base\\Module[]","description":"All ancestor modules that this controller is located within.","access":"read-only","virtual":true},"request":{"type":"yii\\base\\Request|array|string","default":"'request'","description":"The request.","since":"2.0.36"},"response":{"type":"yii\\base\\Response|array|string","default":"'response'","description":"The response.","since":"2.0.36"},"route":{"type":"string","description":"The route (module ID, controller ID and action ID) of the current request.","access":"read-only","virtual":true},"uniqueId":{"type":"string","description":"The controller ID that is prefixed with the module ID (if any).","access":"read-only","virtual":true},"view":{"type":"yii\\base\\View|yii\\web\\View","description":"The view object that can be used to render views or view files.","virtual":true},"viewPath":{"type":"string","description":"The directory containing the view files for this controller.","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(string $id, yii\\base\\T $module, array<string, mixed> $config = [])","params":[{"name":"$id","type":"string","description":"The ID of this controller."},{"name":"$module","type":"yii\\base\\T","description":"The module that this controller belongs to."},{"name":"$config","type":"array<string, mixed>","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties."}]},"actions":{"signature":"public function actions(): array<array-key, class-string|array{class: class-string}>","summary":"Declares external actions for the controller.","return":{"type":"array<array-key, class-string|array{class: class-string}>"}},"afterAction":{"signature":"public function afterAction(yii\\base\\Action<static> $action, mixed $result): mixed","summary":"This method is invoked right after an action is executed.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action just executed."},{"name":"$result","type":"mixed","description":"The action return result."}],"return":{"type":"mixed","description":"The processed action result."}},"beforeAction":{"signature":"public function beforeAction(yii\\base\\Action<static> $action): bool","summary":"This method is invoked right before an action is executed.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to run."}},"bindActionParams":{"signature":"public function bindActionParams(yii\\base\\Action<static> $action, array<array-key, mixed> $params): mixed[]","summary":"Binds the parameters to the action.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action to be bound with parameters."},{"name":"$params","type":"array<array-key, mixed>","description":"The parameters to be bound to the action."}],"return":{"type":"mixed[]","description":"The valid parameters that the action can run with."}},"bindInjectedParams":{"signature":"final protected function bindInjectedParams(ReflectionNamedType $type, string $name, array &$args, array &$requestedParams): mixed","summary":"Fills parameters based on types and names in action method signature.","params":[{"name":"$type","type":"ReflectionNamedType","description":"The reflected type of the action parameter."},{"name":"$name","type":"string","description":"The name of the parameter."},{"name":"$args","type":"array","byReference":true,"description":"The array of arguments for the action, this function may append items to it."},{"name":"$requestedParams","type":"array","byReference":true,"description":"The array with requested params, this function may write specific keys to it."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\ErrorException","description":"when we cannot load a required service."},{"type":"yii\\base\\InvalidConfigException","description":"Thrown when there is an error in the DI configuration."},{"type":"yii\\di\\NotInstantiableException","description":"Thrown when a definition cannot be resolved to a concrete class (for example an interface type hint) without a proper definition in the container."}],"visibility":"protected","since":"2.0.36"},"createAction":{"signature":"public function createAction(string $id): yii\\base\\Action<static>|null","summary":"Creates an action based on the given action ID.","params":[{"name":"$id","type":"string","description":"The action ID."}],"return":{"type":"yii\\base\\Action<static>|null","description":"The newly created action instance. Null if the ID doesn't resolve into any action."}},"findLayoutFile":{"signature":"public function findLayoutFile(yii\\base\\View $view): string|bool","summary":"Finds the applicable layout file.","params":[{"name":"$view","type":"yii\\base\\View","description":"The view object to render the layout file."}],"return":{"type":"string|bool","description":"The layout file path, or false if layout is not needed. Please refer to `render()` on how to specify this parameter."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if an invalid path alias is used to specify the layout."}]},"getModules":{"signature":"public function getModules(): yii\\base\\Module[]","summary":"Returns all ancestor modules of this controller.","return":{"type":"yii\\base\\Module[]","description":"All ancestor modules that this controller is located within."}},"getRoute":{"signature":"public function getRoute(): string","summary":"Returns the route of the current request.","return":{"type":"string","description":"The route (module ID, controller ID and action ID) of the current request."}},"getUniqueId":{"signature":"public function getUniqueId(): string","summary":"Returns the unique ID of the controller.","return":{"type":"string","description":"The controller ID that is prefixed with the module ID (if any)."}},"getView":{"signature":"public function getView(): yii\\base\\View|yii\\web\\View","summary":"Returns the view object that can be used to render views or view files.","return":{"type":"yii\\base\\View|yii\\web\\View","description":"The view object that can be used to render views or view files."}},"getViewPath":{"signature":"public function getViewPath(): string","summary":"Returns the directory containing view files for this controller.","return":{"type":"string","description":"The directory containing the view files for this controller."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"},"since":"2.0.36"},"render":{"signature":"public function render(string $view, array<string, mixed> $params = []): string","summary":"Renders a view and applies layout if available.","params":[{"name":"$view","type":"string","description":"The view name."},{"name":"$params","type":"array<string, mixed>","default":"[]","optional":true,"description":"The parameters (name-value pairs) that should be made available in the view. These parameters will not be available in the layout."}],"return":{"type":"string","description":"The rendering result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the view file or the layout file does not exist."}]},"renderContent":{"signature":"public function renderContent(string $content): string","summary":"Renders a static string by applying a layout.","params":[{"name":"$content","type":"string","description":"The static string being rendered"}],"return":{"type":"string","description":"The rendering result of the layout with the given static string as the `$content` variable. If the layout is disabled, the string will be returned back."},"since":"2.0.1"},"renderFile":{"signature":"public function renderFile(string $file, array<string, mixed> $params = []): string","summary":"Renders a view file.","params":[{"name":"$file","type":"string","description":"The view file to be rendered. This can be either a file path or a [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."},{"name":"$params","type":"array<string, mixed>","default":"[]","optional":true,"description":"The parameters (name-value pairs) that should be made available in the view."}],"return":{"type":"string","description":"The rendering result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the view file does not exist."}]},"renderPartial":{"signature":"public function renderPartial(string $view, array<string, mixed> $params = []): string","summary":"Renders a view without applying layout.","params":[{"name":"$view","type":"string","description":"The view name. Please refer to `render()` on how to specify a view name."},{"name":"$params","type":"array<string, mixed>","default":"[]","optional":true,"description":"The parameters (name-value pairs) that should be made available in the view."}],"return":{"type":"string","description":"The rendering result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the view file does not exist."}]},"run":{"signature":"public function run(string $route, array<array-key, mixed> $params = []): mixed","summary":"Runs a request specified in terms of a route.","params":[{"name":"$route","type":"string","description":"The route to be handled, e.g., 'view', 'comment/view', '/admin/comment/view'."},{"name":"$params","type":"array<array-key, mixed>","default":"[]","optional":true,"description":"The parameters to be passed to the action."}],"return":{"type":"mixed","description":"The result of the action."}},"runAction":{"signature":"public function runAction(string $id, array<array-key, mixed> $params = []): mixed","summary":"Runs an action within this controller with the specified action ID and parameters.","params":[{"name":"$id","type":"string","description":"The ID of the action to be executed."},{"name":"$params","type":"array<array-key, mixed>","default":"[]","optional":true,"description":"The parameters (name-value pairs) to be passed to the action."}],"return":{"type":"mixed","description":"The result of the action."},"throws":[{"type":"yii\\base\\InvalidRouteException","description":"if the requested action ID cannot be resolved into an action successfully."}]},"setView":{"signature":"public function setView(yii\\base\\View|yii\\web\\View $view): mixed","summary":"Sets the view object to be used by this controller.","params":[{"name":"$view","type":"yii\\base\\View|yii\\web\\View","description":"The view object that can be used to render views or view files."}],"return":{"type":"mixed"}},"setViewPath":{"signature":"public function setViewPath(string $path): mixed","summary":"Sets the directory that contains the view files.","params":[{"name":"$path","type":"string","description":"The root directory of view files."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the directory is invalid"}],"since":"2.0.7"}},"events":{"EVENT_BEFORE_ACTION":{"value":"'beforeAction'","type":"yii\\base\\ActionEvent","description":"An event raised right before executing a controller action."},"EVENT_AFTER_ACTION":{"value":"'afterAction'","type":"yii\\base\\ActionEvent","description":"An event raised right after executing a controller action."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\DynamicContentAwareInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/base/dynamiccontentawareinterface/","summary":"DynamicContentAwareInterface is the interface that should be implemented by classes which support a `yii\\base\\View` dynamic content feature.","since":"2.0.14","methods":{"addDynamicPlaceholder":{"signature":"abstract public function addDynamicPlaceholder(string $name, string $statements): mixed","summary":"Adds a placeholder for dynamic content.","params":[{"name":"$name","type":"string","description":"The placeholder name."},{"name":"$statements","type":"string","description":"The PHP statements for generating the dynamic content."}],"return":{"type":"mixed"},"abstract":true},"getDynamicPlaceholders":{"signature":"abstract public function getDynamicPlaceholders(): array","summary":"Returns a list of placeholders for dynamic content. This method is used internally to implement the content caching feature.","return":{"type":"array","description":"A list of placeholders."},"abstract":true},"setDynamicPlaceholders":{"signature":"abstract public function setDynamicPlaceholders(array $placeholders): mixed","summary":"Sets a list of placeholders for dynamic content. This method is used internally to implement the content caching feature.","params":[{"name":"$placeholders","type":"array","description":"A list of placeholders."}],"return":{"type":"mixed"},"abstract":true}}},"yii\\base\\DynamicContentAwareTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/base/dynamiccontentawaretrait/","summary":"DynamicContentAwareTrait implements common methods for classes which support a `yii\\base\\View` dynamic content feature.","since":"2.0.14","methods":{"addDynamicPlaceholder":{"signature":"public function addDynamicPlaceholder(mixed $name, mixed $statements): mixed","summary":"Adds a placeholder for dynamic content.","params":[{"name":"$name","type":"mixed","description":"The placeholder name."},{"name":"$statements","type":"mixed","description":"The PHP statements for generating the dynamic content."}],"return":{"type":"mixed"}},"getDynamicPlaceholders":{"signature":"public function getDynamicPlaceholders(): array","summary":"Returns a list of placeholders for dynamic content. This method is used internally to implement the content caching feature.","return":{"type":"array","description":"A list of placeholders."}},"getView":{"signature":"abstract protected function getView(): yii\\base\\View","summary":"Returns the view object that can be used to render views or view files using dynamic contents.","return":{"type":"yii\\base\\View","description":"The view object that can be used to render views or view files."},"visibility":"protected","abstract":true},"setDynamicPlaceholders":{"signature":"public function setDynamicPlaceholders(mixed $placeholders): mixed","summary":"Sets a list of placeholders for dynamic content. This method is used internally to implement the content caching feature.","params":[{"name":"$placeholders","type":"mixed","description":"A list of placeholders."}],"return":{"type":"mixed"}},"updateDynamicContent":{"signature":"protected function updateDynamicContent(string $content, string[] $placeholders, bool $isRestoredFromCache = false): string","summary":"Replaces placeholders in $content with results of evaluated dynamic statements.","params":[{"name":"$content","type":"string","description":"Content to be parsed."},{"name":"$placeholders","type":"string[]","description":"Placeholders and their values."},{"name":"$isRestoredFromCache","type":"bool","default":"false","optional":true,"description":"Whether content is going to be restored from cache."}],"return":{"type":"string","description":"Final content."},"visibility":"protected"}}},"yii\\base\\DynamicModel":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/dynamicmodel/","summary":"DynamicModel is a model class that supports defining attributes at run-time (the so-called \"dynamic attributes\") using its constructor or `defineAttribute()`. DynamicModel can be used to support ad hoc data validation.","since":"2.0","extends":"yii\\base\\Model","implements":["yii\\base\\Configurable","yii\\base\\StaticInstanceInterface","IteratorAggregate","ArrayAccess","yii\\base\\Arrayable"],"traits":["yii\\base\\ArrayableTrait","yii\\base\\StaticInstanceTrait"],"properties":{"attributeLabels":{"type":"string[]","description":"Attribute labels.","access":"write-only","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(array<string, mixed>|string[] $attributes = [], array<string, mixed> $config = [])","summary":"Constructor.","params":[{"name":"$attributes","type":"array<string, mixed>|string[]","default":"[]","optional":true,"description":"The attributes (name-value pairs, or names) being defined."},{"name":"$config","type":"array<string, mixed>","default":"[]","optional":true,"description":"The configuration array to be applied to this object."}]},"__get":{"signature":"public function __get(mixed $name): mixed","summary":"Returns the value of a component property.","params":[{"name":"$name","type":"mixed","description":"The property name"}],"return":{"type":"mixed","description":"The property value or the value of a behavior's property"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is write-only."}]},"__isset":{"signature":"public function __isset(mixed $name): bool","summary":"Checks if a property is set, i.e. defined and not null.","params":[{"name":"$name","type":"mixed","description":"The property name or the event name"}],"return":{"type":"bool","description":"Whether the named property is set"}},"__set":{"signature":"public function __set(mixed $name, mixed $value): mixed","summary":"Sets the value of a component property.","params":[{"name":"$name","type":"mixed","description":"The property name or the event name"},{"name":"$value","type":"mixed","description":"The property value"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is read-only."}]},"__unset":{"signature":"public function __unset(mixed $name): mixed","summary":"Sets a component property to be null.","params":[{"name":"$name","type":"mixed","description":"The property name"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the property is read only."}]},"addRule":{"signature":"public function addRule(string|array $attributes, string|yii\\validators\\Validator|Closure $validator, array $options = []): $this","summary":"Adds a validation rule to this model.","params":[{"name":"$attributes","type":"string|array","description":"The attribute(s) to be validated by the rule."},{"name":"$validator","type":"string|yii\\validators\\Validator|Closure","description":"The validator. This can be either: * a built-in validator name listed in `builtInValidators`; * a method name of the model class; * an anonymous function; * a validator class name. * a Validator."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The options (name-value pairs) to be applied to the validator."}],"return":{"type":"$this"}},"attributeLabels":{"signature":"public function attributeLabels(): array<string, string>","summary":"Returns the attribute labels.","return":{"type":"array<string, string>","description":"Attribute labels (name => label)"}},"attributes":{"signature":"public function attributes(): string[]","summary":"Returns the list of attribute names.","return":{"type":"string[]","description":"List of attribute names."}},"canGetProperty":{"signature":"public function canGetProperty(mixed $name, mixed $checkVars = true, mixed $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be read.","params":[{"name":"$name","type":"mixed","description":"The property name"},{"name":"$checkVars","type":"mixed","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"mixed","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be read"}},"canSetProperty":{"signature":"public function canSetProperty(mixed $name, mixed $checkVars = true, mixed $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be set.","params":[{"name":"$name","type":"mixed","description":"The property name"},{"name":"$checkVars","type":"mixed","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"mixed","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be written"}},"defineAttribute":{"signature":"public function defineAttribute(string $name, mixed $value = null): mixed","summary":"Defines an attribute.","params":[{"name":"$name","type":"string","description":"The attribute name."},{"name":"$value","type":"mixed","default":"null","optional":true,"description":"The attribute value."}],"return":{"type":"mixed"}},"hasAttribute":{"signature":"public function hasAttribute(string $name): bool","summary":"Returns a value indicating whether the model has an attribute with the specified name.","params":[{"name":"$name","type":"string","description":"The name of the attribute."}],"return":{"type":"bool","description":"Whether the model has an attribute with the specified name."},"since":"2.0.16"},"setAttributeLabel":{"signature":"public function setAttributeLabel(string $attribute, string $label): $this","summary":"Sets a label for a single attribute.","params":[{"name":"$attribute","type":"string","description":"Attribute name."},{"name":"$label","type":"string","description":"Attribute label value."}],"return":{"type":"$this"},"since":"2.0.35"},"setAttributeLabels":{"signature":"public function setAttributeLabels(string[] $labels = []): $this","summary":"Sets the labels for all attributes.","params":[{"name":"$labels","type":"string[]","default":"[]","optional":true,"description":"Attribute labels."}],"return":{"type":"$this"},"since":"2.0.35"},"undefineAttribute":{"signature":"public function undefineAttribute(string $name): mixed","summary":"Undefines an attribute.","params":[{"name":"$name","type":"string","description":"The attribute name."}],"return":{"type":"mixed"}},"validateData":{"signature":"public static function validateData(array $data, array $rules = []): static","summary":"Validates the given data with the specified validation rules.","params":[{"name":"$data","type":"array","description":"The data (name-value pairs) to be validated."},{"name":"$rules","type":"array","default":"[]","optional":true,"description":"The validation rules. Please refer to `yii\\base\\Model::rules()` on the format of this parameter."}],"return":{"type":"static","description":"The model instance that contains the data being validated."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a validation rule is not specified correctly."}],"static":true}},"inherited":{"properties":{"activeValidators":"yii\\base\\Model","attributes":"yii\\base\\Model","behaviors":"yii\\base\\Component","errors":"yii\\base\\Model","firstErrors":"yii\\base\\Model","iterator":"yii\\base\\Model","scenario":"yii\\base\\Model","validators":"yii\\base\\Model"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Model","activeAttributes":"yii\\base\\Model","addError":"yii\\base\\Model","addErrors":"yii\\base\\Model","afterValidate":"yii\\base\\Model","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","attributeHints":"yii\\base\\Model","beforeValidate":"yii\\base\\Model","behaviors":"yii\\base\\Component","className":"yii\\base\\BaseObject","clearErrors":"yii\\base\\Model","createValidators":"yii\\base\\Model","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","extractFieldsFor":"yii\\base\\ArrayableTrait","extractRootFields":"yii\\base\\ArrayableTrait","extraFields":"yii\\base\\ArrayableTrait","fields":"yii\\base\\Model","formName":"yii\\base\\Model","generateAttributeLabel":"yii\\base\\Model","getActiveValidators":"yii\\base\\Model","getAttributeHint":"yii\\base\\Model","getAttributeLabel":"yii\\base\\Model","getAttributes":"yii\\base\\Model","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getErrors":"yii\\base\\Model","getErrorSummary":"yii\\base\\Model","getFirstError":"yii\\base\\Model","getFirstErrors":"yii\\base\\Model","getIterator":"yii\\base\\Model","getScenario":"yii\\base\\Model","getValidators":"yii\\base\\Model","hasErrors":"yii\\base\\Model","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","instance":"yii\\base\\StaticInstanceTrait","isAttributeActive":"yii\\base\\Model","isAttributeRequired":"yii\\base\\Model","isAttributeSafe":"yii\\base\\Model","load":"yii\\base\\Model","loadMultiple":"yii\\base\\Model","off":"yii\\base\\Component","offsetExists":"yii\\base\\Model","offsetGet":"yii\\base\\Model","offsetSet":"yii\\base\\Model","offsetUnset":"yii\\base\\Model","on":"yii\\base\\Component","onUnsafeAttribute":"yii\\base\\Model","resolveFields":"yii\\base\\ArrayableTrait","rules":"yii\\base\\Model","safeAttributes":"yii\\base\\Model","scenarios":"yii\\base\\Model","setAttributes":"yii\\base\\Model","setScenario":"yii\\base\\Model","toArray":"yii\\base\\ArrayableTrait","trigger":"yii\\base\\Component","validate":"yii\\base\\Model","validateMultiple":"yii\\base\\Model"},"constants":{"SCENARIO_DEFAULT":"yii\\base\\Model"},"events":{"EVENT_BEFORE_VALIDATE":"yii\\base\\Model","EVENT_AFTER_VALIDATE":"yii\\base\\Model"}}},"yii\\base\\ErrorException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/errorexception/","summary":"ErrorException represents a PHP error.","since":"2.0","extends":"ErrorException","methods":{"__construct":{"signature":"public function __construct(string $message = '', int $code = 0, int $severity = 1, string $filename = __FILE__, int $lineno = __LINE__, Throwable|null $previous = null)","summary":"Constructs the exception.","params":[{"name":"$message","type":"string","default":"''","optional":true,"description":"[optional]"},{"name":"$code","type":"int","default":"0","optional":true,"description":"[optional]"},{"name":"$severity","type":"int","default":"1","optional":true,"description":"[optional]"},{"name":"$filename","type":"string","default":"__FILE__","optional":true,"description":"[optional]"},{"name":"$lineno","type":"int","default":"__LINE__","optional":true,"description":"[optional]"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"[optional]"}]},"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}},"isFatalError":{"signature":"public static function isFatalError(array $error): bool","summary":"Returns if error is one of fatal type.","params":[{"name":"$error","type":"array","description":"Error got from error_get_last()"}],"return":{"type":"bool","description":"If error is one of fatal type"},"static":true}}},"yii\\base\\ErrorHandler":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/base/errorhandler/","summary":"ErrorHandler handles uncaught PHP errors and exceptions.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"discardExistingOutput":{"type":"bool","default":"true","description":"Whether to discard any existing page output before error display."},"exception":{"type":"Throwable|null","default":"null","description":"The exception that is being handled currently."},"memoryReserveSize":{"type":"int","default":"262144","description":"The size of the reserved memory."},"silentExitOnException":{"type":"bool","default":"null","description":"If true - `handleException()` will finish script with `ExitCode::OK`. false - `ExitCode::UNSPECIFIED_ERROR`.","since":"2.0.36"}},"methods":{"clearOutput":{"signature":"public function clearOutput(): mixed","summary":"Removes all output echoed before calling this method.","return":{"type":"mixed"}},"convertExceptionToString":{"signature":"public static function convertExceptionToString(Throwable $exception): string","summary":"Converts an exception into a simple string.","params":[{"name":"$exception","type":"Throwable","description":"The exception being converted"}],"return":{"type":"string","description":"The string representation of the exception."},"static":true},"convertExceptionToVerboseString":{"signature":"public static function convertExceptionToVerboseString(Throwable $exception): string","summary":"Converts an exception into a string that has verbose information about the exception and its trace.","params":[{"name":"$exception","type":"Throwable","description":"The exception being converted"}],"return":{"type":"string","description":"The string representation of the exception."},"static":true,"since":"2.0.14"},"handleError":{"signature":"public function handleError(int $code, string $message, string $file, int $line): bool","summary":"Handles PHP execution errors such as warnings and notices.","params":[{"name":"$code","type":"int","description":"The level of the error raised."},{"name":"$message","type":"string","description":"The error message."},{"name":"$file","type":"string","description":"The filename that the error was raised in."},{"name":"$line","type":"int","description":"The line number the error was raised at."}],"return":{"type":"bool","description":"Whether the normal error handler continues."},"throws":[{"type":"yii\\base\\ErrorException"}]},"handleException":{"signature":"public function handleException(Throwable $exception): mixed","summary":"Handles uncaught PHP exceptions.","params":[{"name":"$exception","type":"Throwable","description":"The exception that is not caught"}],"return":{"type":"mixed"}},"handleFallbackExceptionMessage":{"signature":"protected function handleFallbackExceptionMessage(Throwable $exception, Throwable $previousException): mixed","summary":"Handles exception thrown during exception processing in `handleException()`.","params":[{"name":"$exception","type":"Throwable","description":"Exception that was thrown during main exception processing."},{"name":"$previousException","type":"Throwable","description":"Main exception processed in `handleException()`."}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.11"},"handleFatalError":{"signature":"public function handleFatalError(): mixed","summary":"Handles fatal PHP errors.","return":{"type":"mixed"}},"init":{"signature":"public function init(): mixed","return":{"type":"mixed"}},"logException":{"signature":"public function logException(Throwable $exception): mixed","summary":"Logs the given exception.","params":[{"name":"$exception","type":"Throwable","description":"The exception to be logged"}],"return":{"type":"mixed"}},"register":{"signature":"public function register(): mixed","summary":"Register this error handler.","return":{"type":"mixed"}},"renderException":{"signature":"abstract protected function renderException(Throwable $exception): mixed","summary":"Renders the exception.","params":[{"name":"$exception","type":"Throwable","description":"The exception to be rendered."}],"return":{"type":"mixed"},"visibility":"protected","abstract":true},"unregister":{"signature":"public function unregister(): mixed","summary":"Unregisters this error handler by restoring the PHP error and exception handlers.","return":{"type":"mixed"}}},"events":{"EVENT_SHUTDOWN":{"value":"'shutdown'","type":"yii\\base\\Event","description":"An event that is triggered when the handler is called by shutdown function via `handleFatalError()`.","since":"2.0.46"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\Event":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/event/","summary":"Event is the base class for all event classes.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"data":{"type":"mixed","default":"null","description":"The data that is passed to `yii\\base\\Component::on()` when attaching an event handler."},"handled":{"type":"bool","default":"false","description":"Whether the event is handled."},"name":{"type":"string","default":"null","description":"The event name."},"sender":{"type":"object|null","default":"null","description":"The sender of this event."}},"methods":{"hasHandlers":{"signature":"public static function hasHandlers(string|object $class, string $name): bool","summary":"Returns a value indicating whether there is any handler attached to the specified class-level event.","params":[{"name":"$class","type":"string|object","description":"The object or the fully qualified class name specifying the class-level event."},{"name":"$name","type":"string","description":"The event name."}],"return":{"type":"bool","description":"Whether there is any handler attached to the event."},"static":true},"off":{"signature":"public static function off(string $class, string $name, callable|null $handler = null): bool","summary":"Detaches an event handler from a class-level event.","params":[{"name":"$class","type":"string","description":"The fully qualified class name from which the event handler needs to be detached."},{"name":"$name","type":"string","description":"The event name."},{"name":"$handler","type":"callable|null","default":"null","optional":true,"description":"The event handler to be removed. If it is `null`, all handlers attached to the named event will be removed."}],"return":{"type":"bool","description":"Whether a handler is found and detached."},"static":true},"offAll":{"signature":"public static function offAll(): mixed","summary":"Detaches all registered class-level event handlers.","return":{"type":"mixed"},"static":true,"since":"2.0.10"},"on":{"signature":"public static function on(string $class, string $name, callable $handler, mixed $data = null, bool $append = true): mixed","summary":"Attaches an event handler to a class-level event.","params":[{"name":"$class","type":"string","description":"The fully qualified class name to which the event handler needs to attach."},{"name":"$name","type":"string","description":"The event name."},{"name":"$handler","type":"callable","description":"The event handler."},{"name":"$data","type":"mixed","default":"null","optional":true,"description":"The data to be passed to the event handler when the event is triggered. When the event handler is invoked, this data can be accessed via `yii\\base\\Event::$data`."},{"name":"$append","type":"bool","default":"true","optional":true,"description":"Whether to append new event handler to the end of the existing handler list. If `false`, the new handler will be inserted at the beginning of the existing handler list."}],"return":{"type":"mixed"},"static":true},"trigger":{"signature":"public static function trigger(string|object $class, string $name, yii\\base\\Event|null $event = null): mixed","summary":"Triggers a class-level event.","params":[{"name":"$class","type":"string|object","description":"The object or the fully qualified class name specifying the class-level event."},{"name":"$name","type":"string","description":"The event name."},{"name":"$event","type":"yii\\base\\Event|null","default":"null","optional":true,"description":"The event parameter. If not set, a default `yii\\base\\Event` object will be created."}],"return":{"type":"mixed"},"static":true}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\base\\Exception":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/exception/","summary":"Exception represents a generic exception for all purposes.","since":"2.0","extends":"Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\ExitException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/exitexception/","summary":"ExitException represents a normal termination of an application.","since":"2.0","extends":"Exception","properties":{"statusCode":{"type":"int","default":"null","description":"The exit status code"}},"methods":{"__construct":{"signature":"public function __construct(int $status = 0, string $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$status","type":"int","default":"0","optional":true,"description":"The exit status code"},{"name":"$message","type":"string","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}}},"yii\\base\\InlineAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/inlineaction/","summary":"InlineAction represents an action that is defined as a controller method.","since":"2.0","extends":"yii\\base\\Action","implements":["yii\\base\\Configurable"],"properties":{"actionMethod":{"type":"string","default":"''","description":"The controller method that this inline action is associated with."}},"methods":{"__construct":{"signature":"public function __construct(string $id, yii\\base\\T $controller, string $actionMethod, array<string, mixed> $config = [])","params":[{"name":"$id","type":"string","description":"The ID of this action"},{"name":"$controller","type":"yii\\base\\T","description":"The controller that owns this action"},{"name":"$actionMethod","type":"string","description":"The controller method that this inline action is associated with"},{"name":"$config","type":"array<string, mixed>","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"runWithParams":{"signature":"public function runWithParams(array $params): mixed","summary":"Runs this action with the specified parameters.","params":[{"name":"$params","type":"array","description":"Action parameters."}],"return":{"type":"mixed","description":"The result of the action, or `null` if `beforeRun()` returned `false`."}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","controller":"yii\\base\\Action","id":"yii\\base\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\base\\InvalidArgumentException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/invalidargumentexception/","summary":"InvalidArgumentException represents an exception caused by invalid arguments passed to a method.","since":"2.0.14","extends":"BadMethodCallException","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\InvalidCallException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/invalidcallexception/","summary":"InvalidCallException represents an exception caused by calling a method in a wrong way.","since":"2.0","extends":"BadMethodCallException","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\InvalidConfigException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/invalidconfigexception/","summary":"InvalidConfigException represents an exception caused by incorrect object configuration.","since":"2.0","extends":"yii\\base\\Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\InvalidRouteException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/invalidrouteexception/","summary":"InvalidRouteException represents an exception caused by an invalid route.","since":"2.0","extends":"yii\\base\\UserException","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\InvalidValueException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/invalidvalueexception/","summary":"InvalidValueException represents an exception caused by a function returning a value of unexpected type.","since":"2.0","extends":"UnexpectedValueException","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\Model":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/model/","summary":"Model is the base class for data models.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\StaticInstanceInterface","IteratorAggregate","ArrayAccess","yii\\base\\Arrayable","yii\\base\\Configurable"],"traits":["yii\\base\\ArrayableTrait","yii\\base\\StaticInstanceTrait"],"properties":{"activeValidators":{"type":"yii\\validators\\Validator[]","description":"The validators applicable to the current `$scenario`.","access":"read-only","virtual":true},"attributes":{"type":"array<string, mixed>","description":"Attribute values (name => value).","virtual":true},"errors":{"type":"array<string, string[]>","description":"Errors for all attributes.","access":"read-only","virtual":true},"firstErrors":{"type":"array<string, string>","description":"The first errors.","access":"read-only","virtual":true},"iterator":{"type":"ArrayIterator<string, mixed>","description":"An iterator for traversing the items in the list.","access":"read-only","virtual":true},"scenario":{"type":"string","description":"The scenario that this model is in.","virtual":true},"validators":{"type":"ArrayObject<int, yii\\validators\\Validator>|yii\\validators\\Validator[]","description":"All the validators declared in the model.","access":"read-only","virtual":true}},"methods":{"__clone":{"signature":"public function __clone(): mixed","summary":"This method is called after the object is created by cloning an existing one.","return":{"type":"mixed"}},"activeAttributes":{"signature":"public function activeAttributes(): string[]","summary":"Returns the attribute names that are subject to validation in the current scenario.","return":{"type":"string[]","description":"Safe attribute names"}},"addError":{"signature":"public function addError(string $attribute, string $error = ''): mixed","summary":"Adds a new error to the specified attribute.","params":[{"name":"$attribute","type":"string","description":"Attribute name"},{"name":"$error","type":"string","default":"''","optional":true,"description":"New error message"}],"return":{"type":"mixed"}},"addErrors":{"signature":"public function addErrors(array $items): mixed","summary":"Adds a list of errors.","params":[{"name":"$items","type":"array","description":"A list of errors. The array keys must be attribute names. The array values should be error messages. If an attribute has multiple errors, these errors must be given in terms of an array. You may use the result of `getErrors()` as the value for this parameter."}],"return":{"type":"mixed"},"since":"2.0.2"},"afterValidate":{"signature":"public function afterValidate(): mixed","summary":"This method is invoked after validation ends.","return":{"type":"mixed"}},"attributeHints":{"signature":"public function attributeHints(): array<string, string>","summary":"Returns the attribute hints.","return":{"type":"array<string, string>","description":"Attribute hints (name => hint)"},"since":"2.0.4"},"attributeLabels":{"signature":"public function attributeLabels(): array<string, string>","summary":"Returns the attribute labels.","return":{"type":"array<string, string>","description":"Attribute labels (name => label)"}},"attributes":{"signature":"public function attributes(): string[]","summary":"Returns the list of attribute names.","return":{"type":"string[]","description":"List of attribute names."}},"beforeValidate":{"signature":"public function beforeValidate(): bool","summary":"This method is invoked before validation starts.","return":{"type":"bool","description":"Whether the validation should be executed. Defaults to true. If false is returned, the validation will stop and the model is considered invalid."}},"clearErrors":{"signature":"public function clearErrors(string|null $attribute = null): mixed","summary":"Removes errors for all attributes or a single attribute.","params":[{"name":"$attribute","type":"string|null","default":"null","optional":true,"description":"Attribute name. Use null to remove errors for all attributes."}],"return":{"type":"mixed"}},"createValidators":{"signature":"public function createValidators(): ArrayObject<int, yii\\validators\\Validator>","summary":"Creates validator objects based on the validation rules specified in `rules()`.","return":{"type":"ArrayObject<int, yii\\validators\\Validator>","description":"Validators"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if any validation rule configuration is invalid"}]},"fields":{"signature":"public function fields(): array","summary":"Returns the list of fields that should be returned by default by `toArray()` when no specific fields are specified.","return":{"type":"array","description":"The list of field names or field definitions."}},"formName":{"signature":"public function formName(): string","summary":"Returns the form name that this model class should use.","return":{"type":"string","description":"The form name of this model class."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when form is defined with anonymous class and `formName()` method is not overridden."}]},"generateAttributeLabel":{"signature":"public function generateAttributeLabel(string $name): string","summary":"Generates a user friendly attribute label based on the give attribute name.","params":[{"name":"$name","type":"string","description":"The column name"}],"return":{"type":"string","description":"The attribute label"}},"getActiveValidators":{"signature":"public function getActiveValidators(string|null $attribute = null): yii\\validators\\Validator[]","summary":"Returns the validators applicable to the current `$scenario`.","params":[{"name":"$attribute","type":"string|null","default":"null","optional":true,"description":"The name of the attribute whose applicable validators should be returned. If this is null, the validators for ALL attributes in the model will be returned."}],"return":{"type":"yii\\validators\\Validator[]","description":"The validators applicable to the current `$scenario`."}},"getAttributeHint":{"signature":"public function getAttributeHint(string $attribute): string","summary":"Returns the text hint for the specified attribute.","params":[{"name":"$attribute","type":"string","description":"The attribute name"}],"return":{"type":"string","description":"The attribute hint"},"since":"2.0.4"},"getAttributeLabel":{"signature":"public function getAttributeLabel(string $attribute): string","summary":"Returns the text label for the specified attribute.","params":[{"name":"$attribute","type":"string","description":"The attribute name"}],"return":{"type":"string","description":"The attribute label"}},"getAttributes":{"signature":"public function getAttributes(array|null $names = null, array $except = []): array<string, mixed>","summary":"Returns attribute values.","params":[{"name":"$names","type":"array|null","default":"null","optional":true,"description":"List of attributes whose value needs to be returned. Defaults to null, meaning all attributes listed in `attributes()` will be returned. If it is an array, only the attributes in the array will be returned."},{"name":"$except","type":"array","default":"[]","optional":true,"description":"List of attributes whose value should NOT be returned."}],"return":{"type":"array<string, mixed>","description":"Attribute values (name => value)."}},"getErrors":{"signature":"public function getErrors(string|null $attribute = null): ($attribute is null ? array<string, string[]> : string[])","summary":"Returns the errors for all attributes or a single attribute.","params":[{"name":"$attribute","type":"string|null","default":"null","optional":true,"description":"Attribute name. Use null to retrieve errors for all attributes."}],"return":{"type":"($attribute is null ? array<string, string[]> : string[])","description":"Errors for all attributes or the specified attribute. Empty array is returned if no error. Note that when returning errors for all attributes, the result is a two-dimensional array, like the following: ``` [ 'username' => [ 'Username is required.', 'Username must contain only word characters.', ], 'email' => [ 'Email address is invalid.', ] ] ```"}},"getErrorSummary":{"signature":"public function getErrorSummary(bool $showAllErrors): string[]","summary":"Returns the errors for all attributes as a one-dimensional array.","params":[{"name":"$showAllErrors","type":"bool","description":"Boolean, if set to true every error message for each attribute will be shown otherwise only the first error message for each attribute will be shown."}],"return":{"type":"string[]","description":"Errors for all attributes as a one-dimensional array. Empty array is returned if no error."},"since":"2.0.14"},"getFirstError":{"signature":"public function getFirstError(string $attribute): string|null","summary":"Returns the first error of the specified attribute.","params":[{"name":"$attribute","type":"string","description":"Attribute name."}],"return":{"type":"string|null","description":"The error message. Null is returned if no error."}},"getFirstErrors":{"signature":"public function getFirstErrors(): array<string, string>","summary":"Returns the first error of every attribute in the model.","return":{"type":"array<string, string>","description":"The first errors. The array keys are the attribute names, and the array values are the corresponding error messages. An empty array will be returned if there is no error."}},"getIterator":{"signature":"public function getIterator(): ArrayIterator<string, mixed>","summary":"Returns an iterator for traversing the attributes in the model.","return":{"type":"ArrayIterator<string, mixed>","description":"An iterator for traversing the items in the list."}},"getScenario":{"signature":"public function getScenario(): string","summary":"Returns the scenario that this model is used in.","return":{"type":"string","description":"The scenario that this model is in. Defaults to `SCENARIO_DEFAULT`."}},"getValidators":{"signature":"public function getValidators(): ArrayObject<int, yii\\validators\\Validator>|yii\\validators\\Validator[]","summary":"Returns all the validators declared in `rules()`.","return":{"type":"ArrayObject<int, yii\\validators\\Validator>|yii\\validators\\Validator[]","description":"All the validators declared in the model."}},"hasErrors":{"signature":"public function hasErrors(string|null $attribute = null): bool","summary":"Returns a value indicating whether there is any validation error.","params":[{"name":"$attribute","type":"string|null","default":"null","optional":true,"description":"Attribute name. Use null to check all attributes."}],"return":{"type":"bool","description":"Whether there is any error."}},"isAttributeActive":{"signature":"public function isAttributeActive(string $attribute): bool","summary":"Returns a value indicating whether the attribute is active in the current scenario.","params":[{"name":"$attribute","type":"string","description":"Attribute name"}],"return":{"type":"bool","description":"Whether the attribute is active in the current scenario"}},"isAttributeRequired":{"signature":"public function isAttributeRequired(string $attribute): bool","summary":"Returns a value indicating whether the attribute is required.","params":[{"name":"$attribute","type":"string","description":"Attribute name"}],"return":{"type":"bool","description":"Whether the attribute is required"}},"isAttributeSafe":{"signature":"public function isAttributeSafe(string $attribute): bool","summary":"Returns a value indicating whether the attribute is safe for massive assignments.","params":[{"name":"$attribute","type":"string","description":"Attribute name"}],"return":{"type":"bool","description":"Whether the attribute is safe for massive assignments"}},"load":{"signature":"public function load(array $data, string|null $formName = null): bool","summary":"Populates the model with input data.","params":[{"name":"$data","type":"array","description":"The data array to load, typically `$_POST` or `$_GET`."},{"name":"$formName","type":"string|null","default":"null","optional":true,"description":"The form name to use to load the data into the model, empty string when form not use. If not set, `formName()` is used."}],"return":{"type":"bool","description":"Whether `load()` found the expected form in `$data`."}},"loadMultiple":{"signature":"public static function loadMultiple(array $models, array $data, string|null $formName = null): bool","summary":"Populates a set of models with the data from end user.","params":[{"name":"$models","type":"array","description":"The models to be populated. Note that all models should have the same class."},{"name":"$data","type":"array","description":"The data array. This is usually `$_POST` or `$_GET`, but can also be any valid array supplied by end user."},{"name":"$formName","type":"string|null","default":"null","optional":true,"description":"The form name to be used for loading the data into the models. If not set, it will use the `formName()` value of the first model in `$models`. This parameter is available since version 2.0.1."}],"return":{"type":"bool","description":"Whether at least one of the models is successfully populated."},"static":true},"offsetExists":{"signature":"public function offsetExists(string $offset): bool","summary":"Returns whether there is an element at the specified offset.","params":[{"name":"$offset","type":"string","description":"The offset to check on."}],"return":{"type":"bool","description":"Whether or not an offset exists."}},"offsetGet":{"signature":"public function offsetGet(string $offset): mixed","summary":"Returns the element at the specified offset.","params":[{"name":"$offset","type":"string","description":"The offset to retrieve element."}],"return":{"type":"mixed","description":"The element at the offset, null if no element is found at the offset"}},"offsetSet":{"signature":"public function offsetSet(string $offset, mixed $value): mixed","summary":"Sets the element at the specified offset.","params":[{"name":"$offset","type":"string","description":"The offset to set element"},{"name":"$value","type":"mixed","description":"The element value"}],"return":{"type":"mixed"}},"offsetUnset":{"signature":"public function offsetUnset(string $offset): mixed","summary":"Sets the element value at the specified offset to null.","params":[{"name":"$offset","type":"string","description":"The offset to unset element"}],"return":{"type":"mixed"}},"onUnsafeAttribute":{"signature":"public function onUnsafeAttribute(string $name, mixed $value): mixed","summary":"This method is invoked when an unsafe attribute is being massively assigned.","params":[{"name":"$name","type":"string","description":"The unsafe attribute name"},{"name":"$value","type":"mixed","description":"The attribute value"}],"return":{"type":"mixed"}},"rules":{"signature":"public function rules(): array<int, array<array-key, mixed>|yii\\validators\\Validator>","summary":"Returns the validation rules for attributes.","return":{"type":"array<int, array<array-key, mixed>|yii\\validators\\Validator>","description":"Validation rules"}},"safeAttributes":{"signature":"public function safeAttributes(): string[]","summary":"Returns the attribute names that are safe to be massively assigned in the current scenario.","return":{"type":"string[]","description":"Safe attribute names"}},"scenarios":{"signature":"public function scenarios(): array<string, string[]>","summary":"Returns a list of scenarios and the corresponding active attributes.","return":{"type":"array<string, string[]>","description":"A list of scenarios and the corresponding active attributes."}},"setAttributes":{"signature":"public function setAttributes(array<string, mixed> $values, bool $safeOnly = true): mixed","summary":"Sets the attribute values in a massive way.","params":[{"name":"$values","type":"array<string, mixed>","description":"Attribute values (name => value) to be assigned to the model."},{"name":"$safeOnly","type":"bool","default":"true","optional":true,"description":"Whether the assignments should only be done to the safe attributes. A safe attribute is one that is associated with a validation rule in the current `$scenario`."}],"return":{"type":"mixed"}},"setScenario":{"signature":"public function setScenario(string $value): mixed","summary":"Sets the scenario for the model.","params":[{"name":"$value","type":"string","description":"The scenario that this model is in."}],"return":{"type":"mixed"}},"validate":{"signature":"public function validate(string[]|string|null $attributeNames = null, bool $clearErrors = true): bool","summary":"Performs the data validation.","params":[{"name":"$attributeNames","type":"string[]|string|null","default":"null","optional":true,"description":"Attribute name or list of attribute names that should be validated. If this parameter is empty, it means any attribute listed in the applicable validation rules should be validated."},{"name":"$clearErrors","type":"bool","default":"true","optional":true,"description":"Whether to call `clearErrors()` before performing validation"}],"return":{"type":"bool","description":"Whether the validation is successful without any error."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the current scenario is unknown."}]},"validateMultiple":{"signature":"public static function validateMultiple(array $models, array|null $attributeNames = null): bool","summary":"Validates multiple models.","params":[{"name":"$models","type":"array","description":"The models to be validated"},{"name":"$attributeNames","type":"array|null","default":"null","optional":true,"description":"List of attribute names that should be validated. If this parameter is empty, it means any attribute listed in the applicable validation rules should be validated."}],"return":{"type":"bool","description":"Whether all models are valid. False will be returned if one or multiple models have validation error."},"static":true}},"constants":{"SCENARIO_DEFAULT":{"value":"'default'","description":"The name of the default scenario."}},"events":{"EVENT_BEFORE_VALIDATE":{"value":"'beforeValidate'","type":"yii\\base\\ModelEvent","description":"An event raised at the beginning of `validate()`."},"EVENT_AFTER_VALIDATE":{"value":"'afterValidate'","type":"yii\\base\\Event","description":"An event raised at the end of `validate()`"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","extractFieldsFor":"yii\\base\\ArrayableTrait","extractRootFields":"yii\\base\\ArrayableTrait","extraFields":"yii\\base\\ArrayableTrait","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","instance":"yii\\base\\StaticInstanceTrait","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveFields":"yii\\base\\ArrayableTrait","toArray":"yii\\base\\ArrayableTrait","trigger":"yii\\base\\Component"}}},"yii\\base\\ModelEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/modelevent/","summary":"ModelEvent represents the parameter needed by `yii\\base\\Model` events.","since":"2.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"isValid":{"type":"bool","default":"true","description":"Whether the model is in valid status."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\base\\Module":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/module/","summary":"Module is the base class for module and application classes.","since":"2.0","extends":"yii\\di\\ServiceLocator","implements":["yii\\base\\Configurable"],"properties":{"actionMap":{"type":"array<string, class-string|array<string, mixed>>","default":"[]","description":"Mapping from action IDs to standalone `yii\\base\\Action` class configurations.","since":"22.0"},"actionNamespace":{"type":"string|null","default":"null","description":"The namespace where standalone `yii\\base\\Action` subclasses are located for convention-based discovery, parallel to `$controllerNamespace` for controllers.","since":"22.0"},"aliases":{"type":"array","description":"List of path aliases to be defined.","access":"write-only","virtual":true},"basePath":{"type":"string","description":"The root directory of the module.","virtual":true},"controllerMap":{"type":"array","default":"[]","description":"Mapping from controller ID to controller configurations."},"controllerNamespace":{"type":"string|null","default":"null","description":"The namespace that controller classes are in."},"controllerPath":{"type":"string","description":"The directory that contains the controller classes.","virtual":true},"defaultRoute":{"type":"string","default":"'default'","description":"The default route of this module."},"id":{"type":"string","default":"null","description":"An ID that uniquely identifies this module among other modules which have the same parent (`$module`)."},"layout":{"type":"string|bool|null","default":"null","description":"The layout that should be applied for views within this module."},"layoutPath":{"type":"string","description":"The root directory of layout files.","virtual":true},"module":{"type":"yii\\base\\Module|null","default":"null","description":"The parent module of this module. `null` if this module does not have a parent."},"modules":{"type":"array","description":"The modules (indexed by their IDs).","virtual":true},"params":{"type":"array","default":"[]","description":"Custom module parameters (name => value)."},"uniqueId":{"type":"string","description":"The unique ID of the module.","access":"read-only","virtual":true},"version":{"type":"string|callable|null","description":"The version of this module.","virtual":true},"viewPath":{"type":"string","description":"The root directory of view files.","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(string $id, yii\\base\\Module|null $parent = null, array<string, mixed> $config = [])","summary":"Constructor.","params":[{"name":"$id","type":"string","description":"The ID of this module."},{"name":"$parent","type":"yii\\base\\Module|null","default":"null","optional":true,"description":"The parent module (if any)."},{"name":"$config","type":"array<string, mixed>","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties."}]},"afterAction":{"signature":"public function afterAction(yii\\base\\Action<yii\\base\\Controller<static>> $action, mixed $result): mixed","summary":"This method is invoked right after an action within this module is executed.","params":[{"name":"$action","type":"yii\\base\\Action<yii\\base\\Controller<static>>","description":"The action just executed."},{"name":"$result","type":"mixed","description":"The action return result."}],"return":{"type":"mixed","description":"The processed action result."}},"beforeAction":{"signature":"public function beforeAction(yii\\base\\Action<yii\\base\\Controller<static>> $action): bool","summary":"This method is invoked right before an action within this module is executed.","params":[{"name":"$action","type":"yii\\base\\Action<yii\\base\\Controller<static>>","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"createController":{"signature":"public function createController(string $route): array{yii\\base\\Controller<static>, string}|false","summary":"Creates a controller instance based on the given route.","params":[{"name":"$route","type":"string","description":"The route consisting of module, controller and action IDs."}],"return":{"type":"array{yii\\base\\Controller<static>, string}|false","description":"If the controller is created successfully, it will be returned together with the requested action ID. Otherwise `false` will be returned."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the controller class and its file do not match."}]},"createControllerByID":{"signature":"public function createControllerByID(string $id): yii\\base\\Controller<static>|null","summary":"Creates a controller based on the given controller ID.","params":[{"name":"$id","type":"string","description":"The controller ID."}],"return":{"type":"yii\\base\\Controller<static>|null","description":"The newly created controller instance, or `null` if the controller ID is invalid."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the controller class and its file name do not match. This exception is only thrown when in debug mode."}]},"createStandaloneAction":{"signature":"protected function createStandaloneAction(string $route): yii\\base\\Action|null","summary":"Resolves a route to a standalone `yii\\base\\Action` class through convention-based discovery under `$actionNamespace`.","params":[{"name":"$route","type":"string","description":"The route relative to this module."}],"return":{"type":"yii\\base\\Action|null","description":"A resolved standalone action ready for dispatch, or `null` when no class matches."},"visibility":"protected","since":"22.0"},"defaultVersion":{"signature":"protected function defaultVersion(): string","summary":"Returns default module version.","return":{"type":"string","description":"The version of this module."},"visibility":"protected","since":"2.0.11"},"get":{"signature":"public function get(mixed $id, mixed $throwException = true): ($throwException is true ? object : object|null)","summary":"Returns the component instance with the specified ID.","params":[{"name":"$id","type":"mixed","description":"Component ID (e.g. `db`)."},{"name":"$throwException","type":"mixed","default":"true","optional":true,"description":"Whether to throw an exception if `$id` is not registered with the locator before."}],"return":{"type":"($throwException is true ? object : object|null)","description":"The component of the specified ID. If `$throwException` is false and `$id` is not registered before, null will be returned."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$id` refers to a nonexistent component ID"}]},"getBasePath":{"signature":"public function getBasePath(): string","summary":"Returns the root directory of the module.","return":{"type":"string","description":"The root directory of the module."}},"getControllerPath":{"signature":"public function getControllerPath(): string","summary":"Returns the directory that contains the controller classes according to `$controllerNamespace`.","return":{"type":"string","description":"The directory that contains the controller classes."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if there is no alias defined for the root namespace of `$controllerNamespace`."}]},"getInstance":{"signature":"public static function getInstance(): static|null","summary":"Returns the currently requested instance of this module class.","return":{"type":"static|null","description":"The currently requested instance of this module class, or `null` if the module class is not requested."},"static":true},"getLayoutPath":{"signature":"public function getLayoutPath(): string","summary":"Returns the directory that contains layout view files for this module.","return":{"type":"string","description":"The root directory of layout files. Defaults to \"`$viewPath`/layouts\"."}},"getModule":{"signature":"public function getModule(string $id, bool $load = true): yii\\base\\Module|null","summary":"Retrieves the child module of the specified ID.","params":[{"name":"$id","type":"string","description":"Module ID (case-sensitive). To retrieve grand child modules, use ID path relative to this module (e.g. `admin/content`)."},{"name":"$load","type":"bool","default":"true","optional":true,"description":"Whether to load the module if it is not yet loaded."}],"return":{"type":"yii\\base\\Module|null","description":"The module instance, `null` if the module does not exist."}},"getModules":{"signature":"public function getModules(bool $loadedOnly = false): array","summary":"Returns the sub-modules in this module.","params":[{"name":"$loadedOnly","type":"bool","default":"false","optional":true,"description":"Whether to return the loaded sub-modules only. If this is set `false`, then all sub-modules registered in this module will be returned, whether they are loaded or not. Loaded modules will be returned as objects, while unloaded modules as configuration arrays."}],"return":{"type":"array","description":"The modules (indexed by their IDs)."}},"getUniqueId":{"signature":"public function getUniqueId(): string","summary":"Returns an ID that uniquely identifies this module among all modules within the current application.","return":{"type":"string","description":"The unique ID of the module."}},"getVersion":{"signature":"public function getVersion(): string","summary":"Returns current module version.","return":{"type":"string","description":"The version of this module."},"since":"2.0.11"},"getViewPath":{"signature":"public function getViewPath(): string","summary":"Returns the directory that contains the view files for this module.","return":{"type":"string","description":"The root directory of view files. Defaults to \"`$basePath`/views\"."}},"has":{"signature":"public function has(mixed $id, mixed $checkInstance = false): bool","summary":"Returns a value indicating whether the locator has the specified component definition or has instantiated the component.","params":[{"name":"$id","type":"mixed","description":"Component ID (e.g. `db`)."},{"name":"$checkInstance","type":"mixed","default":"false","optional":true,"description":"Whether the method should check if the component is shared and instantiated."}],"return":{"type":"bool","description":"Whether the locator has the specified component definition or has instantiated the component."}},"hasModule":{"signature":"public function hasModule(string $id): bool","summary":"Checks whether the child module of the specified ID exists.","params":[{"name":"$id","type":"string","description":"Module ID. For grand child modules, use ID path relative to this module (e.g. `admin/content`)."}],"return":{"type":"bool","description":"Whether the named module exists. Both loaded and unloaded modules are considered."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the module.","return":{"type":"mixed"}},"runAction":{"signature":"public function runAction(string $route, array $params = []): mixed","summary":"Runs a controller action specified by a route.","params":[{"name":"$route","type":"string","description":"The route that specifies the action."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be passed to the action."}],"return":{"type":"mixed","description":"The result of the action."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a controller method and a standalone Action class both match the same route."},{"type":"yii\\base\\InvalidRouteException","description":"if the requested route cannot be resolved into an action successfully."}]},"runMappedAction":{"signature":"protected function runMappedAction(string $id, array $params): mixed","summary":"Runs a standalone action registered in `$actionMap`.","params":[{"name":"$id","type":"string","description":"The action ID present in `$actionMap`."},{"name":"$params","type":"array","description":"The parameters to be matched against the action's `run()` signature."}],"return":{"type":"mixed","description":"The action result, or `null` if execution was canceled by a before-action listener."},"visibility":"protected","since":"22.0"},"runStandaloneAction":{"signature":"protected function runStandaloneAction(yii\\base\\Action $action, array $params): mixed","summary":"Runs a standalone `yii\\base\\Action` instance through the standard module/action event lifecycle.","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action to run."},{"name":"$params","type":"array","description":"The parameters to be matched against the action's `run()` signature."}],"return":{"type":"mixed","description":"The action result, or `null` if execution was canceled by a before-action listener."},"visibility":"protected","since":"22.0"},"setAliases":{"signature":"public function setAliases(array $aliases): mixed","summary":"Defines path aliases.","params":[{"name":"$aliases","type":"array","description":"List of path aliases to be defined. The array keys are alias names (must start with `@`) and the array values are the corresponding paths or aliases. For example, ``` [ '@models' => '@app/models', // an existing alias '@backend' => __DIR__ . '/../backend', // a directory ] ```"}],"return":{"type":"mixed"}},"setBasePath":{"signature":"public function setBasePath(string $path): mixed","summary":"Sets the root directory of the module.","params":[{"name":"$path","type":"string","description":"The root directory of the module. This can be either a directory name or a [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the directory does not exist."}]},"setControllerPath":{"signature":"public function setControllerPath(string $path): mixed","summary":"Sets the directory that contains the controller classes.","params":[{"name":"$path","type":"string","description":"The root directory that contains the controller classes."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the directory is invalid."}],"since":"2.0.44"},"setInstance":{"signature":"public static function setInstance(yii\\base\\Module|null $instance): mixed","summary":"Sets the currently requested instance of this module class.","params":[{"name":"$instance","type":"yii\\base\\Module|null","description":"The currently requested instance of this module class. If it is `null`, the instance of the calling class will be removed, if any."}],"return":{"type":"mixed"},"static":true},"setLayoutPath":{"signature":"public function setLayoutPath(string $path): mixed","summary":"Sets the directory that contains the layout files.","params":[{"name":"$path","type":"string","description":"The root directory or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) of layout files."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the directory is invalid"}]},"setModule":{"signature":"public function setModule(string $id, yii\\base\\Module|array|null $module): mixed","summary":"Adds a sub-module to this module.","params":[{"name":"$id","type":"string","description":"Module ID."},{"name":"$module","type":"yii\\base\\Module|array|null","description":"The sub-module to be added to this module. This can be one of the following: - a `yii\\base\\Module` object - a configuration array: when `getModule()` is called initially, the array will be used to instantiate the sub-module - `null`: the named sub-module will be removed from this module"}],"return":{"type":"mixed"}},"setModules":{"signature":"public function setModules(array $modules): mixed","summary":"Registers sub-modules in the current module.","params":[{"name":"$modules","type":"array","description":"Modules (id => module configuration or instances)."}],"return":{"type":"mixed"}},"setVersion":{"signature":"public function setVersion(string|callable|null $version): mixed","summary":"Sets current module version.","params":[{"name":"$version","type":"string|callable|null","description":"The version of this module. Version can be specified as a PHP callback, which can accept module instance as an argument and should return the actual version. For example: ``` function (Module $module) { //return string } ```"}],"return":{"type":"mixed"},"since":"2.0.11"},"setViewPath":{"signature":"public function setViewPath(string $path): mixed","summary":"Sets the directory that contains the view files.","params":[{"name":"$path","type":"string","description":"The root directory of view files."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the directory is invalid."}]}},"events":{"EVENT_BEFORE_ACTION":{"value":"'beforeAction'","type":"yii\\base\\ActionEvent","description":"An event raised before executing a controller action."},"EVENT_AFTER_ACTION":{"value":"'afterAction'","type":"yii\\base\\ActionEvent","description":"An event raised after executing a controller action."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","components":"yii\\di\\ServiceLocator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\di\\ServiceLocator","__isset":"yii\\di\\ServiceLocator","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clear":"yii\\di\\ServiceLocator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getComponents":"yii\\di\\ServiceLocator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","set":"yii\\di\\ServiceLocator","setComponents":"yii\\di\\ServiceLocator","trigger":"yii\\base\\Component"}}},"yii\\base\\NotSupportedException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/notsupportedexception/","summary":"NotSupportedException represents an exception caused by accessing features that are not supported.","since":"2.0","extends":"yii\\base\\Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\Request":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/base/request/","summary":"Request represents a request that is handled by an `yii\\base\\Application`.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"isConsoleRequest":{"type":"bool","description":"The value indicating whether the current request is made via console.","virtual":true},"scriptFile":{"type":"string","description":"Entry script file path (processed w/ realpath()).","virtual":true}},"methods":{"getIsConsoleRequest":{"signature":"public function getIsConsoleRequest(): bool","summary":"Returns a value indicating whether the current request is made via command line.","return":{"type":"bool","description":"The value indicating whether the current request is made via console"}},"getScriptFile":{"signature":"public function getScriptFile(): string","summary":"Returns entry script file path.","return":{"type":"string","description":"Entry script file path (processed w/ realpath())"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the entry script file path cannot be determined automatically."}]},"resolve":{"signature":"abstract public function resolve(): array","summary":"Resolves the current request into a route and the associated parameters.","return":{"type":"array","description":"The first element is the route, and the second is the associated parameters."},"abstract":true},"setIsConsoleRequest":{"signature":"public function setIsConsoleRequest(bool $value): mixed","summary":"Sets the value indicating whether the current request is made via command line.","params":[{"name":"$value","type":"bool","description":"The value indicating whether the current request is made via command line"}],"return":{"type":"mixed"}},"setScriptFile":{"signature":"public function setScriptFile(string $value): mixed","summary":"Sets the entry script file path.","params":[{"name":"$value","type":"string","description":"The entry script file path. This can be either a file path or a [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the provided entry script file path is invalid."}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\Response":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/response/","summary":"Response represents the response of an `yii\\base\\Application` to a `yii\\base\\Request`.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"exitStatus":{"type":"int","default":"0","description":"The exit status."}},"methods":{"clearOutputBuffers":{"signature":"public function clearOutputBuffers(): mixed","summary":"Removes all existing output buffers.","return":{"type":"mixed"}},"send":{"signature":"public function send(): mixed","summary":"Sends the response to client.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\Security":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/security/","summary":"Security provides a set of methods to handle common security-related tasks.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"allowedCiphers":{"type":"array[]","default":"['AES-128-CBC' => [16, 16], 'AES-192-CBC' => [16, 24], 'AES-256-CBC' => [16, 32]]","description":"Look-up table of block sizes and key sizes for each supported OpenSSL cipher."},"authKeyInfo":{"type":"string","default":"'AuthorizationKey'","description":"HKDF info value for derivation of message authentication key."},"cipher":{"type":"string","default":"'AES-128-CBC'","description":"The cipher to use for encryption and decryption."},"derivationIterations":{"type":"int","default":"100000","description":"Derivation iterations count."},"kdfHash":{"type":"string","default":"'sha256'","description":"Hash algorithm for key derivation."},"macHash":{"type":"string","default":"'sha256'","description":"Hash algorithm for message authentication."},"passwordHashCost":{"type":"int","default":"13","description":"Default cost used for password hashing.","since":"2.0.6"}},"methods":{"compareString":{"signature":"public function compareString(string $expected, string $actual): bool","summary":"Performs string comparison using timing attack resistant approach.","params":[{"name":"$expected","type":"string","description":"String to compare."},{"name":"$actual","type":"string","description":"User-supplied string."}],"return":{"type":"bool","description":"Whether strings are equal."}},"decrypt":{"signature":"protected function decrypt(string $data, bool $passwordBased, string $secret, string|null $info): bool|string","summary":"Decrypts data.","params":[{"name":"$data","type":"string","description":"Encrypted data to be decrypted."},{"name":"$passwordBased","type":"bool","description":"Set true to use password-based key derivation"},{"name":"$secret","type":"string","description":"The decryption password or key"},{"name":"$info","type":"string|null","description":"Context/application specific information, @see encrypt()"}],"return":{"type":"bool|string","description":"The decrypted data or false on authentication failure"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"on OpenSSL not loaded"},{"type":"yii\\base\\Exception","description":"on OpenSSL error"}],"visibility":"protected"},"decryptByKey":{"signature":"public function decryptByKey(string $data, string $inputKey, string|null $info = null): bool|string","summary":"Verifies and decrypts data encrypted with `encryptByKey()`.","params":[{"name":"$data","type":"string","description":"The encrypted data to decrypt"},{"name":"$inputKey","type":"string","description":"The input to use for encryption and authentication"},{"name":"$info","type":"string|null","default":"null","optional":true,"description":"Optional context and application specific information, see `hkdf()`"}],"return":{"type":"bool|string","description":"The decrypted data or false on authentication failure"}},"decryptByPassword":{"signature":"public function decryptByPassword(string $data, string $password): bool|string","summary":"Verifies and decrypts data encrypted with `encryptByPassword()`.","params":[{"name":"$data","type":"string","description":"The encrypted data to decrypt"},{"name":"$password","type":"string","description":"The password to use for decryption"}],"return":{"type":"bool|string","description":"The decrypted data or false on authentication failure"}},"encrypt":{"signature":"protected function encrypt(string $data, bool $passwordBased, string $secret, string|null $info): string","summary":"Encrypts data.","params":[{"name":"$data","type":"string","description":"Data to be encrypted"},{"name":"$passwordBased","type":"bool","description":"Set true to use password-based key derivation"},{"name":"$secret","type":"string","description":"The encryption password or key"},{"name":"$info","type":"string|null","description":"Context/application specific information, e.g. a user ID See [RFC 5869 Section 3.2](https://tools.ietf.org/html/rfc5869#section-3.2) for more details."}],"return":{"type":"string","description":"The encrypted data as byte string"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"on OpenSSL not loaded"},{"type":"yii\\base\\Exception","description":"on OpenSSL error"}],"visibility":"protected"},"encryptByKey":{"signature":"public function encryptByKey(string $data, string $inputKey, string|null $info = null): string","summary":"Encrypts data using a cryptographic key.","params":[{"name":"$data","type":"string","description":"The data to encrypt"},{"name":"$inputKey","type":"string","description":"The input to use for encryption and authentication"},{"name":"$info","type":"string|null","default":"null","optional":true,"description":"Optional context and application specific information, see `hkdf()`"}],"return":{"type":"string","description":"The encrypted data as byte string"}},"encryptByPassword":{"signature":"public function encryptByPassword(string $data, string $password): string","summary":"Encrypts data using a password.","params":[{"name":"$data","type":"string","description":"The data to encrypt"},{"name":"$password","type":"string","description":"The password to use for encryption"}],"return":{"type":"string","description":"The encrypted data as byte string"}},"generatePasswordHash":{"signature":"public function generatePasswordHash(string $password, int|null $cost = null): string","summary":"Generates a secure hash from a password and a random salt.","params":[{"name":"$password","type":"string","description":"The password to be hashed."},{"name":"$cost","type":"int|null","default":"null","optional":true,"description":"Cost parameter used by the Blowfish hash algorithm. The higher the value of cost, the longer it takes to generate the hash and to verify a password against it. Higher cost therefore slows down a brute-force attack. For best protection against brute-force attacks, set it to the highest value that is tolerable on production servers. The time taken to compute the hash doubles for every increment by one of $cost."}],"return":{"type":"string","description":"The password hash string. The output length might increase in future versions of PHP (https://www.php.net/manual/en/function.password-hash.php)"},"throws":[{"type":"yii\\base\\Exception","description":"on bad password parameter or cost parameter."}]},"generateRandomKey":{"signature":"public function generateRandomKey(int $length = 32): string","summary":"Generates specified number of random bytes.","params":[{"name":"$length","type":"int","default":"32","optional":true,"description":"The number of bytes to generate"}],"return":{"type":"string","description":"The generated random bytes"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if wrong length is specified"},{"type":"yii\\base\\Exception","description":"on failure."}]},"generateRandomString":{"signature":"public function generateRandomString(int $length = 32): string","summary":"Generates a random string of specified length.","params":[{"name":"$length","type":"int","default":"32","optional":true,"description":"The length of the key in characters"}],"return":{"type":"string","description":"The generated random key"},"throws":[{"type":"yii\\base\\Exception","description":"on failure."}]},"hashData":{"signature":"public function hashData(string $data, string $key, bool $rawHash = false): string","summary":"Prefixes data with a keyed hash value so that it can later be detected if it is tampered.","params":[{"name":"$data","type":"string","description":"The data to be protected"},{"name":"$key","type":"string","description":"The secret key to be used for generating hash. Should be a secure cryptographic key."},{"name":"$rawHash","type":"bool","default":"false","optional":true,"description":"Whether the generated hash value is in raw binary format. If false, lowercase hex digits will be generated."}],"return":{"type":"string","description":"The data prefixed with the keyed hash"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when HMAC generation fails."}]},"hkdf":{"signature":"public function hkdf(string $algo, string $inputKey, string|null $salt = null, string|null $info = null, int $length = 0): string","summary":"Derives a key from the given input key using the standard HKDF algorithm.","params":[{"name":"$algo","type":"string","description":"A hash algorithm supported by `hash_hmac()`, e.g. 'SHA-256'"},{"name":"$inputKey","type":"string","description":"The source key"},{"name":"$salt","type":"string|null","default":"null","optional":true,"description":"The random salt"},{"name":"$info","type":"string|null","default":"null","optional":true,"description":"Optional info to bind the derived key material to application- and context-specific information, e.g. a user ID or API version, see [RFC 5869](https://tools.ietf.org/html/rfc5869)"},{"name":"$length","type":"int","default":"0","optional":true,"description":"Length of the output key in bytes. If 0, the output key is the length of the hash algorithm output."}],"return":{"type":"string","description":"The derived key"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when HMAC generation fails."}]},"maskToken":{"signature":"public function maskToken(string $token): string","summary":"Masks a token to make it uncompressible.","params":[{"name":"$token","type":"string","description":"An unmasked token."}],"return":{"type":"string","description":"A masked token."},"since":"2.0.12"},"pbkdf2":{"signature":"public function pbkdf2(string $algo, string $password, string $salt, int $iterations, int $length = 0): string","summary":"Derives a key from the given password using the standard PBKDF2 algorithm.","params":[{"name":"$algo","type":"string","description":"A hash algorithm supported by `hash_hmac()`, e.g. 'SHA-256'"},{"name":"$password","type":"string","description":"The source password"},{"name":"$salt","type":"string","description":"The random salt"},{"name":"$iterations","type":"int","description":"The number of iterations of the hash algorithm. Set as high as possible to hinder dictionary password attacks."},{"name":"$length","type":"int","default":"0","optional":true,"description":"Length of the output key in bytes. If 0, the output key is the length of the hash algorithm output."}],"return":{"type":"string","description":"The derived key"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when hash generation fails due to invalid params given."}]},"unmaskToken":{"signature":"public function unmaskToken(string $maskedToken): string","summary":"Unmasks a token previously masked by `maskToken`.","params":[{"name":"$maskedToken","type":"string","description":"A masked token."}],"return":{"type":"string","description":"An unmasked token, or an empty string in case of token format is invalid."},"since":"2.0.12"},"validateData":{"signature":"public function validateData(string $data, string $key, bool $rawHash = false): string|false","summary":"Validates if the given data is tampered.","params":[{"name":"$data","type":"string","description":"The data to be validated. The data must be previously generated by `hashData()`."},{"name":"$key","type":"string","description":"The secret key that was previously used to generate the hash for the data in `hashData()`. function to see the supported hashing algorithms on your system. This must be the same as the value passed to `hashData()` when generating the hash for the data."},{"name":"$rawHash","type":"bool","default":"false","optional":true,"description":"This should take the same value as when you generate the data using `hashData()`. It indicates whether the hash value in the data is in binary format. If false, it means the hash value consists of lowercase hex digits only. hex digits will be generated."}],"return":{"type":"string|false","description":"The real data with the hash stripped off. False if the data is tampered."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when HMAC generation fails."}]},"validatePassword":{"signature":"public function validatePassword(string $password, string $hash): bool","summary":"Verifies a password against a hash.","params":[{"name":"$password","type":"string","description":"The password to verify."},{"name":"$hash","type":"string","description":"The hash to verify the password against."}],"return":{"type":"bool","description":"Whether the password is correct."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"on bad password/hash parameters."}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\StaticInstanceInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/base/staticinstanceinterface/","summary":"StaticInstanceInterface is the interface for providing static instances to classes, which can be used to obtain class meta information that can not be expressed in static methods.","since":"2.0.13","methods":{"instance":{"signature":"abstract public static function instance(bool $refresh = false): static","summary":"Returns static class instance, which can be used to obtain meta information.","params":[{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to re-create static instance even, if it is already cached."}],"return":{"type":"static","description":"Class instance."},"static":true,"abstract":true}}},"yii\\base\\StaticInstanceTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/base/staticinstancetrait/","summary":"StaticInstanceTrait provides methods to satisfy `yii\\base\\StaticInstanceInterface` interface.","since":"2.0.13","methods":{"instance":{"signature":"public static function instance(bool $refresh = false): static","summary":"Returns static class instance, which can be used to obtain meta information.","params":[{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to re-create static instance even, if it is already cached."}],"return":{"type":"static","description":"Class instance."},"static":true}}},"yii\\base\\Theme":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/theme/","summary":"Theme represents an application theme.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"basePath":{"type":"string","description":"The root path of this theme.","virtual":true},"baseUrl":{"type":"string|null","description":"The base URL (without ending slash) for this theme.","virtual":true},"pathMap":{"type":"array|null","default":"null","description":"The mapping between view directories and their corresponding themed versions."}},"methods":{"applyTo":{"signature":"public function applyTo(string $path): string","summary":"Converts a file to a themed file if possible.","params":[{"name":"$path","type":"string","description":"The file to be themed"}],"return":{"type":"string","description":"The themed file, or the original file if the themed version is not available."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$basePath` is not set"}]},"getBasePath":{"signature":"public function getBasePath(): string","return":{"type":"string","description":"The root path of this theme. All resources of this theme are located under this directory."}},"getBaseUrl":{"signature":"public function getBaseUrl(): string|null","return":{"type":"string|null","description":"The base URL (without ending slash) for this theme. All resources of this theme are considered to be under this base URL."}},"getPath":{"signature":"public function getPath(string $path): string","summary":"Converts a relative file path into an absolute one using `$basePath`.","params":[{"name":"$path","type":"string","description":"The relative file path to be converted."}],"return":{"type":"string","description":"The absolute file path"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$basePath` is not set"}]},"getUrl":{"signature":"public function getUrl(string $url): string","summary":"Converts a relative URL into an absolute URL using `$baseUrl`.","params":[{"name":"$url","type":"string","description":"The relative URL to be converted."}],"return":{"type":"string","description":"The absolute URL"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$baseUrl` is not set"}]},"setBasePath":{"signature":"public function setBasePath(string $path): mixed","params":[{"name":"$path","type":"string","description":"The root path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) of this theme. All resources of this theme are located under this directory."}],"return":{"type":"mixed"}},"setBaseUrl":{"signature":"public function setBaseUrl(string|null $url): mixed","params":[{"name":"$url","type":"string|null","description":"The base URL or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) for this theme. All resources of this theme are considered to be under this base URL."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\UnknownClassException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/unknownclassexception/","summary":"UnknownClassException represents an exception caused by using an unknown class.","since":"2.0","extends":"yii\\base\\Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\UnknownMethodException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/unknownmethodexception/","summary":"UnknownMethodException represents an exception caused by accessing an unknown object method.","since":"2.0","extends":"BadMethodCallException","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\UnknownPropertyException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/unknownpropertyexception/","summary":"UnknownPropertyException represents an exception caused by accessing unknown object properties.","since":"2.0","extends":"yii\\base\\Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\UserException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/userexception/","summary":"UserException is the base class for exceptions that are meant to be shown to end users.","since":"2.0","extends":"yii\\base\\Exception","inherited":{"methods":{"getName":"yii\\base\\Exception"}}},"yii\\base\\View":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/view/","summary":"View represents a view object in the MVC pattern.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\DynamicContentAwareInterface","yii\\base\\Configurable"],"properties":{"blocks":{"type":"array","default":"null","description":"A list of named output blocks."},"context":{"type":"yii\\base\\ViewContextInterface","default":"null","description":"The context under which the `renderFile()` method is being invoked."},"defaultExtension":{"type":"string","default":"'php'","description":"The default view file extension."},"dynamicContents":{"type":"yii\\base\\DynamicContentAwareInterface[]","description":"Class instances supporting dynamic contents.","access":"read-only","virtual":true},"dynamicPlaceholders":{"type":"array","description":"A list of placeholders.","virtual":true},"params":{"type":"array","default":"[]","description":"Custom parameters that are shared among view templates."},"renderers":{"type":"array|null","default":"null","description":"A list of available renderers indexed by their corresponding supported file extensions."},"theme":{"type":"yii\\base\\Theme|array|string|null","default":"null","description":"The theme object or the configuration for creating the theme object."},"viewFile":{"type":"string|bool","description":"The view file currently being rendered.","access":"read-only","virtual":true}},"methods":{"addDynamicPlaceholder":{"signature":"public function addDynamicPlaceholder(mixed $placeholder, mixed $statements): mixed","summary":"Adds a placeholder for dynamic content.","params":[{"name":"$placeholder","type":"mixed"},{"name":"$statements","type":"mixed","description":"The PHP statements for generating the dynamic content."}],"return":{"type":"mixed"}},"afterRender":{"signature":"public function afterRender(string $viewFile, array $params, string &$output): mixed","summary":"This method is invoked right after `renderFile()` renders a view file.","params":[{"name":"$viewFile","type":"string","description":"The view file being rendered."},{"name":"$params","type":"array","description":"The parameter array passed to the `render()` method."},{"name":"$output","type":"string","byReference":true,"description":"The rendering result of the view file. Updates to this parameter will be passed back and returned by `renderFile()`."}],"return":{"type":"mixed"}},"beforeRender":{"signature":"public function beforeRender(string $viewFile, array $params): bool","summary":"This method is invoked right before `renderFile()` renders a view file.","params":[{"name":"$viewFile","type":"string","description":"The view file to be rendered."},{"name":"$params","type":"array","description":"The parameter array passed to the `render()` method."}],"return":{"type":"bool","description":"Whether to continue rendering the view file."}},"beginBlock":{"signature":"public function beginBlock(string $id, bool $renderInPlace = false): yii\\widgets\\Block","summary":"Begins recording a block.","params":[{"name":"$id","type":"string","description":"The block ID."},{"name":"$renderInPlace","type":"bool","default":"false","optional":true,"description":"Whether to render the block content in place. Defaults to false, meaning the captured block will not be displayed."}],"return":{"type":"yii\\widgets\\Block","description":"The Block widget instance"}},"beginCache":{"signature":"public function beginCache(string $id, array $properties = []): bool","summary":"Begins fragment caching.","params":[{"name":"$id","type":"string","description":"A unique ID identifying the fragment to be cached."},{"name":"$properties","type":"array","default":"[]","optional":true,"description":"Initial property values for `yii\\widgets\\FragmentCache`"}],"return":{"type":"bool","description":"Whether you should generate the content for caching. False if the cached version is available."}},"beginContent":{"signature":"public function beginContent(string $viewFile, array $params = []): yii\\widgets\\ContentDecorator","summary":"Begins the rendering of content that is to be decorated by the specified view.","params":[{"name":"$viewFile","type":"string","description":"The view file that will be used to decorate the content enclosed by this widget. This can be specified as either the view file path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The variables (name => value) to be extracted and made available in the decorative view."}],"return":{"type":"yii\\widgets\\ContentDecorator","description":"The ContentDecorator widget instance"}},"beginPage":{"signature":"public function beginPage(): mixed","summary":"Marks the beginning of a page.","return":{"type":"mixed"}},"endBlock":{"signature":"public function endBlock(): mixed","summary":"Ends recording a block.","return":{"type":"mixed"}},"endCache":{"signature":"public function endCache(): mixed","summary":"Ends fragment caching.","return":{"type":"mixed"}},"endContent":{"signature":"public function endContent(): mixed","summary":"Ends the rendering of content.","return":{"type":"mixed"}},"endPage":{"signature":"public function endPage(): mixed","summary":"Marks the ending of a page.","return":{"type":"mixed"}},"evaluateDynamicContent":{"signature":"public function evaluateDynamicContent(string $statements): mixed","summary":"Evaluates the given PHP statements.","params":[{"name":"$statements","type":"string","description":"The PHP statements to be evaluated."}],"return":{"type":"mixed","description":"The return value of the PHP statements."}},"findViewFile":{"signature":"protected function findViewFile(string $view, object|null $context = null): string","summary":"Finds the view file based on the given view name.","params":[{"name":"$view","type":"string","description":"The view name or the [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) of the view file. Please refer to `render()` on how to specify this parameter."},{"name":"$context","type":"object|null","default":"null","optional":true,"description":"The context to be assigned to the view and can later be accessed via `$context` in the view. If the context implements `yii\\base\\ViewContextInterface`, it may also be used to locate the view file corresponding to a relative view name."}],"return":{"type":"string","description":"The view file path. Note that the file may not exist."},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if a relative view name is given while there is no active context to determine the corresponding view file."}],"visibility":"protected"},"getDynamicContents":{"signature":"public function getDynamicContents(): yii\\base\\DynamicContentAwareInterface[]","summary":"Returns a list of currently active dynamic content class instances.","return":{"type":"yii\\base\\DynamicContentAwareInterface[]","description":"Class instances supporting dynamic contents."},"since":"2.0.14"},"getDynamicPlaceholders":{"signature":"public function getDynamicPlaceholders(): array","summary":"Returns a list of placeholders for dynamic content. This method is used internally to implement the content caching feature.","return":{"type":"array","description":"A list of placeholders."}},"getRequestedViewFile":{"signature":"protected function getRequestedViewFile(): string|bool","return":{"type":"string|bool","description":"The requested view currently being rendered. False if no view file is being rendered."},"visibility":"protected","since":"2.0.16"},"getViewFile":{"signature":"public function getViewFile(): string|bool","return":{"type":"string|bool","description":"The view file currently being rendered. False if no view file is being rendered."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the view component.","return":{"type":"mixed"}},"popDynamicContent":{"signature":"public function popDynamicContent(): mixed","summary":"Removes a last class instance supporting dynamic contents from a list of currently active dynamic content class instances.","return":{"type":"mixed"},"since":"2.0.14"},"pushDynamicContent":{"signature":"public function pushDynamicContent(yii\\base\\DynamicContentAwareInterface $instance): mixed","summary":"Adds a class instance supporting dynamic contents to the end of a list of currently active dynamic content class instances.","params":[{"name":"$instance","type":"yii\\base\\DynamicContentAwareInterface","description":"Class instance supporting dynamic contents."}],"return":{"type":"mixed"},"since":"2.0.14"},"render":{"signature":"public function render(string $view, array $params = [], object|null $context = null): string","summary":"Renders a view.","params":[{"name":"$view","type":"string","description":"The view name."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that will be extracted and made available in the view file."},{"name":"$context","type":"object|null","default":"null","optional":true,"description":"The context to be assigned to the view and can later be accessed via `$context` in the view. If the context implements `yii\\base\\ViewContextInterface`, it may also be used to locate the view file corresponding to a relative view name."}],"return":{"type":"string","description":"The rendering result"},"throws":[{"type":"yii\\base\\ViewNotFoundException","description":"if the view file does not exist."},{"type":"yii\\base\\InvalidCallException","description":"if the view cannot be resolved."}]},"renderDynamic":{"signature":"public function renderDynamic(string $statements): string","summary":"Renders dynamic content returned by the given PHP statements.","params":[{"name":"$statements","type":"string","description":"The PHP statements for generating the dynamic content."}],"return":{"type":"string","description":"The placeholder of the dynamic content, or the dynamic content if there is no active content cache currently. Note that most methods that indirectly modify layout such as registerJS() or registerJSFile() do not work with dynamic rendering."}},"renderFile":{"signature":"public function renderFile(string $viewFile, array $params = [], object|null $context = null): string","summary":"Renders a view file.","params":[{"name":"$viewFile","type":"string","description":"The view file. This can be either an absolute file path or an alias of it."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that will be extracted and made available in the view file."},{"name":"$context","type":"object|null","default":"null","optional":true,"description":"The context that the view should use for rendering the view. If null, existing `$context` will be used."}],"return":{"type":"string","description":"The rendering result"},"throws":[{"type":"yii\\base\\ViewNotFoundException","description":"if the view file does not exist"}]},"renderPhpFile":{"signature":"public function renderPhpFile(string $_file_, array $_params_ = []): string","summary":"Renders a view file as a PHP script.","params":[{"name":"$_file_","type":"string","description":"The view file."},{"name":"$_params_","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that will be extracted and made available in the view file."}],"return":{"type":"string","description":"The rendering result"},"throws":[{"type":"Throwable"}]},"setDynamicPlaceholders":{"signature":"public function setDynamicPlaceholders(mixed $placeholders): mixed","summary":"Sets a list of placeholders for dynamic content. This method is used internally to implement the content caching feature.","params":[{"name":"$placeholders","type":"mixed","description":"A list of placeholders."}],"return":{"type":"mixed"}}},"events":{"EVENT_BEGIN_PAGE":{"value":"'beginPage'","type":"yii\\base\\Event","description":"An event that is triggered by `beginPage()`."},"EVENT_END_PAGE":{"value":"'endPage'","type":"yii\\base\\Event","description":"An event that is triggered by `endPage()`."},"EVENT_BEFORE_RENDER":{"value":"'beforeRender'","type":"yii\\base\\ViewEvent","description":"An event that is triggered by `renderFile()` right before it renders a view file."},"EVENT_AFTER_RENDER":{"value":"'afterRender'","type":"yii\\base\\ViewEvent","description":"An event that is triggered by `renderFile()` right after it renders a view file."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\ViewContextInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/base/viewcontextinterface/","summary":"ViewContextInterface is the interface that should implemented by classes who want to support relative view names.","since":"2.0","methods":{"getViewPath":{"signature":"abstract public function getViewPath(): string","return":{"type":"string","description":"The view path that may be prefixed to a relative view name."},"abstract":true}}},"yii\\base\\ViewEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/viewevent/","summary":"ViewEvent represents events triggered by the `yii\\base\\View` component.","since":"2.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"isValid":{"type":"bool","default":"true","description":"Whether to continue rendering the view file."},"output":{"type":"string","default":"null","description":"The rendering result of `yii\\base\\View::renderFile()`."},"params":{"type":"array","default":"null","description":"The parameter array passed to the `yii\\base\\View::render()` method."},"viewFile":{"type":"string","default":"null","description":"The view file being rendered."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\base\\ViewNotFoundException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/viewnotfoundexception/","summary":"ViewNotFoundException represents an exception caused by view file not found.","since":"2.0.10","extends":"yii\\base\\InvalidArgumentException","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\base\\ViewRenderer":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/base/viewrenderer/","summary":"ViewRenderer is the base class for view renderer classes.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"methods":{"render":{"signature":"abstract public function render(yii\\base\\View $view, string $file, array $params): string","summary":"Renders a view file.","params":[{"name":"$view","type":"yii\\base\\View","description":"The view object used for rendering the file."},{"name":"$file","type":"string","description":"The view file."},{"name":"$params","type":"array","description":"The parameters to be passed to the view file."}],"return":{"type":"string","description":"The rendering result"},"abstract":true}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\Widget":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/widget/","summary":"Widget is the base class for widgets.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"autoIdPrefix":{"type":"string","default":"'w'","description":"The prefix to the automatically generated widget IDs.","static":true},"id":{"type":"string","description":"Id of the widget.","virtual":true},"view":{"type":"yii\\web\\View","description":"The view object that can be used to render views or view files.","virtual":true},"viewPath":{"type":"string","description":"The directory containing the view files for this widget.","access":"read-only","virtual":true}},"methods":{"afterRun":{"signature":"public function afterRun(mixed $result): mixed","summary":"This method is invoked right after a widget is executed.","params":[{"name":"$result","type":"mixed","description":"The widget return result."}],"return":{"type":"mixed","description":"The processed widget result."},"since":"2.0.11"},"beforeRun":{"signature":"public function beforeRun(): bool","summary":"This method is invoked right before the widget is executed.","return":{"type":"bool","description":"Whether the widget should continue to be executed."},"since":"2.0.11"},"begin":{"signature":"public static function begin(array $config = []): static","summary":"Begins a widget.","params":[{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}],"return":{"type":"static","description":"The newly created widget instance"},"static":true},"end":{"signature":"public static function end(): static","summary":"Ends a widget.","return":{"type":"static","description":"The widget instance that is ended."},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if `begin()` and `end()` calls are not properly nested"}],"static":true},"getId":{"signature":"public function getId(bool $autoGenerate = true): string|null","summary":"Returns the ID of the widget.","params":[{"name":"$autoGenerate","type":"bool","default":"true","optional":true,"description":"Whether to generate an ID if it is not set previously"}],"return":{"type":"string|null","description":"ID of the widget."}},"getView":{"signature":"public function getView(): yii\\web\\View","summary":"Returns the view object that can be used to render views or view files.","return":{"type":"yii\\web\\View","description":"The view object that can be used to render views or view files."}},"getViewPath":{"signature":"public function getViewPath(): string","summary":"Returns the directory containing the view files for this widget.","return":{"type":"string","description":"The directory containing the view files for this widget."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"render":{"signature":"public function render(string $view, array $params = []): string","summary":"Renders a view.","params":[{"name":"$view","type":"string","description":"The view name."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that should be made available in the view."}],"return":{"type":"string","description":"The rendering result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the view file does not exist."}]},"renderFile":{"signature":"public function renderFile(string $file, array $params = []): string","summary":"Renders a view file.","params":[{"name":"$file","type":"string","description":"The view file to be rendered. This can be either a file path or a [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that should be made available in the view."}],"return":{"type":"string","description":"The rendering result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the view file does not exist."}]},"run":{"signature":"public function run(): string|void","summary":"Executes the widget.","return":{"type":"string|void","description":"The rendering result may be directly \"echoed\" or returned as a string"}},"setId":{"signature":"public function setId(string $value): mixed","summary":"Sets the ID of the widget.","params":[{"name":"$value","type":"string","description":"Id of the widget."}],"return":{"type":"mixed"}},"setView":{"signature":"public function setView(yii\\web\\View $view): mixed","summary":"Sets the view object to be used by this widget.","params":[{"name":"$view","type":"yii\\web\\View","description":"The view object that can be used to render views or view files."}],"return":{"type":"mixed"}},"widget":{"signature":"public static function widget(array $config = []): string","summary":"Creates a widget instance and runs it.","params":[{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}],"return":{"type":"string","description":"The rendering result of the widget."},"throws":[{"type":"Throwable"}],"static":true}},"events":{"EVENT_INIT":{"value":"'init'","type":"yii\\base\\Event","description":"An event that is triggered when the widget is initialized via `init()`.","since":"2.0.11"},"EVENT_BEFORE_RUN":{"value":"'beforeRun'","type":"yii\\base\\WidgetEvent","description":"An event raised right before executing a widget.","since":"2.0.11"},"EVENT_AFTER_RUN":{"value":"'afterRun'","type":"yii\\base\\WidgetEvent","description":"An event raised right after executing a widget.","since":"2.0.11"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\base\\WidgetEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/base/widgetevent/","summary":"WidgetEvent represents the event parameter used for a widget event.","since":"2.0.11","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"isValid":{"type":"bool","default":"true","description":"Whether to continue running the widget."},"result":{"type":"mixed","default":"null","description":"The widget result."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\behaviors\\AttributeBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/attributebehavior/","summary":"AttributeBehavior automatically assigns a specified value to one or multiple attributes of an ActiveRecord object when certain events happen.","since":"2.0","extends":"yii\\base\\Behavior","implements":["yii\\base\\Configurable"],"properties":{"attributes":{"type":"array","default":"[]","description":"List of attributes that are to be automatically filled with the value specified via `$value`."},"preserveNonEmptyValues":{"type":"bool","default":"false","description":"Whether to preserve non-empty attribute values.","since":"2.0.13"},"skipUpdateOnClean":{"type":"bool","default":"true","description":"Whether to skip this behavior when the `$owner` has not been modified","since":"2.0.8"},"value":{"type":"mixed","default":"null","description":"The value that will be assigned to the current attributes."}},"methods":{"evaluateAttributes":{"signature":"public function evaluateAttributes(yii\\base\\Event $event): mixed","summary":"Evaluates the attribute value and assigns it to the current attributes.","params":[{"name":"$event","type":"yii\\base\\Event"}],"return":{"type":"mixed"}},"events":{"signature":"public function events(): array","summary":"Declares event handlers for the `$owner`'s events.","return":{"type":"array","description":"Events (array keys) and the corresponding event handler methods (array values)."}},"getValue":{"signature":"protected function getValue(yii\\base\\Event $event): mixed","summary":"Returns the value for the current attributes.","params":[{"name":"$event","type":"yii\\base\\Event","description":"The event that triggers the current attribute updating."}],"return":{"type":"mixed","description":"The attribute value"},"visibility":"protected"}},"inherited":{"properties":{"owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\base\\Behavior","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\behaviors\\AttributeTypecastBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/attributetypecastbehavior/","summary":"AttributeTypecastBehavior provides an ability of automatic model attribute typecasting.","since":"2.0.10","extends":"yii\\base\\Behavior","implements":["yii\\base\\Configurable"],"properties":{"attributeTypes":{"type":"array|null","default":"null","description":"Attribute typecast map in format: attributeName => type."},"owner":{"type":"yii\\behaviors\\T|null","default":"null","description":"The owner of this behavior."},"skipOnNull":{"type":"bool","default":"true","description":"Whether to skip typecasting of `null` values."},"typecastAfterFind":{"type":"bool","default":"false","description":"Whether to perform typecasting after retrieving owner model data from the database (after find or refresh)."},"typecastAfterSave":{"type":"bool","default":"false","description":"Whether to perform typecasting after saving owner model (insert or update).","since":"2.0.14"},"typecastAfterValidate":{"type":"bool","default":"true","description":"Whether to perform typecasting after owner model validation."},"typecastBeforeSave":{"type":"bool","default":"false","description":"Whether to perform typecasting before saving owner model (insert or update)."}},"methods":{"afterFind":{"signature":"public function afterFind(yii\\base\\Event $event): mixed","summary":"Handles owner 'afterFind' event, ensuring attribute typecasting.","params":[{"name":"$event","type":"yii\\base\\Event","description":"Event instance."}],"return":{"type":"mixed"}},"afterSave":{"signature":"public function afterSave(yii\\base\\Event $event): mixed","summary":"Handles owner 'afterInsert' and 'afterUpdate' events, ensuring attribute typecasting.","params":[{"name":"$event","type":"yii\\base\\Event","description":"Event instance."}],"return":{"type":"mixed"},"since":"2.0.14"},"afterValidate":{"signature":"public function afterValidate(yii\\base\\Event $event): mixed","summary":"Handles owner 'afterValidate' event, ensuring attribute typecasting.","params":[{"name":"$event","type":"yii\\base\\Event","description":"Event instance."}],"return":{"type":"mixed"}},"attach":{"signature":"public function attach(mixed $owner): mixed","summary":"Attaches the behavior object to the component.","params":[{"name":"$owner","type":"mixed","description":"The component that this behavior is to be attached to."}],"return":{"type":"mixed"}},"beforeSave":{"signature":"public function beforeSave(yii\\base\\Event $event): mixed","summary":"Handles owner 'beforeInsert' and 'beforeUpdate' events, ensuring attribute typecasting.","params":[{"name":"$event","type":"yii\\base\\Event","description":"Event instance."}],"return":{"type":"mixed"}},"clearAutoDetectedAttributeTypes":{"signature":"public static function clearAutoDetectedAttributeTypes(): mixed","summary":"Clears internal static cache of auto detected `$attributeTypes` values over all affected owner classes.","return":{"type":"mixed"},"static":true},"detectAttributeTypes":{"signature":"protected function detectAttributeTypes(): array","summary":"Composes default value for `$attributeTypes` from the owner validation rules.","return":{"type":"array","description":"Attribute type map."},"visibility":"protected"},"events":{"signature":"public function events(): array","summary":"Declares event handlers for the `$owner`'s events.","return":{"type":"array","description":"Events (array keys) and the corresponding event handler methods (array values)."}},"resetOldAttributes":{"signature":"protected function resetOldAttributes(): mixed","summary":"Resets the old values of the named attributes.","return":{"type":"mixed"},"visibility":"protected"},"typecastAttributes":{"signature":"public function typecastAttributes(array|null $attributeNames = null): mixed","summary":"Typecast owner attributes according to `$attributeTypes`.","params":[{"name":"$attributeNames","type":"array|null","default":"null","optional":true,"description":"List of attribute names that should be type-casted. If this parameter is empty, it means any attribute listed in the `$attributeTypes` should be type-casted."}],"return":{"type":"mixed"}},"typecastValue":{"signature":"protected function typecastValue(mixed $value, string|callable $type): mixed","summary":"Casts the given value to the specified type.","params":[{"name":"$value","type":"mixed","description":"Value to be type-casted."},{"name":"$type","type":"string|callable","description":"Type name or typecast callable."}],"return":{"type":"mixed","description":"Typecast result."},"visibility":"protected"}},"constants":{"TYPE_INTEGER":{"value":"'integer'"},"TYPE_FLOAT":{"value":"'float'"},"TYPE_BOOLEAN":{"value":"'boolean'"},"TYPE_STRING":{"value":"'string'"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\behaviors\\AttributesBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/attributesbehavior/","summary":"AttributesBehavior automatically assigns values specified to one or multiple attributes of an ActiveRecord object when certain events happen.","since":"2.0.13","extends":"yii\\base\\Behavior","implements":["yii\\base\\Configurable"],"properties":{"attributes":{"type":"array","default":"[]","description":"List of attributes that are to be automatically filled with the values specified via enclosed arrays."},"order":{"type":"array","default":"[]","description":"List of order of attributes that are to be automatically filled with the event."},"preserveNonEmptyValues":{"type":"bool","default":"false","description":"Whether to preserve non-empty attribute values."},"skipUpdateOnClean":{"type":"bool","default":"true","description":"Whether to skip this behavior when the `$owner` has not been modified"}},"methods":{"evaluateAttributes":{"signature":"public function evaluateAttributes(yii\\base\\Event $event): mixed","summary":"Evaluates the attributes values and assigns it to the current attributes.","params":[{"name":"$event","type":"yii\\base\\Event"}],"return":{"type":"mixed"}},"events":{"signature":"public function events(): array","summary":"Declares event handlers for the `$owner`'s events.","return":{"type":"array","description":"Events (array keys) and the corresponding event handler methods (array values)."}},"getValue":{"signature":"protected function getValue(string $attribute, yii\\base\\Event $event): mixed","summary":"Returns the value for the current attributes.","params":[{"name":"$attribute","type":"string","description":"Target attribute name"},{"name":"$event","type":"yii\\base\\Event","description":"The event that triggers the current attribute updating."}],"return":{"type":"mixed","description":"The attribute value"},"visibility":"protected"}},"inherited":{"properties":{"owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\base\\Behavior","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\behaviors\\BlameableBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/blameablebehavior/","summary":"BlameableBehavior automatically fills the specified attributes with the current user ID.","since":"2.0","extends":"yii\\behaviors\\AttributeBehavior","implements":["yii\\base\\Configurable"],"properties":{"createdByAttribute":{"type":"string|false","default":"'created_by'","description":"The attribute that will receive current user ID value Set this property to false if you do not want to record the creator ID."},"defaultValue":{"type":"mixed","default":"null","description":"Default value for cases when the user is guest","since":"2.0.14"},"updatedByAttribute":{"type":"string|false","default":"'updated_by'","description":"The attribute that will receive current user ID value Set this property to false if you do not want to record the updater ID."},"value":{"type":"mixed","default":"null"}},"methods":{"getDefaultValue":{"signature":"protected function getDefaultValue(yii\\base\\Event $event): array|mixed","summary":"Get default value","params":[{"name":"$event","type":"yii\\base\\Event"}],"return":{"type":"array|mixed"},"visibility":"protected","since":"2.0.14"},"getValue":{"signature":"protected function getValue(mixed $event): mixed","summary":"Returns the value for the current attributes.","params":[{"name":"$event","type":"mixed","description":"The event that triggers the current attribute updating."}],"return":{"type":"mixed","description":"The attribute value"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"attributes":"yii\\behaviors\\AttributeBehavior","owner":"yii\\base\\Behavior","preserveNonEmptyValues":"yii\\behaviors\\AttributeBehavior","skipUpdateOnClean":"yii\\behaviors\\AttributeBehavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\base\\Behavior","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","evaluateAttributes":"yii\\behaviors\\AttributeBehavior","events":"yii\\behaviors\\AttributeBehavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\behaviors\\CacheableWidgetBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/cacheablewidgetbehavior/","summary":"Cacheable widget behavior automatically caches widget contents according to duration and dependencies specified.","since":"2.0.14","extends":"yii\\base\\Behavior","implements":["yii\\base\\Configurable"],"properties":{"cache":{"type":"yii\\caching\\CacheInterface|string|array","default":"'cache'","description":"A cache object or a cache component ID or a configuration array for creating a cache object."},"cacheDependency":{"type":"yii\\caching\\Dependency|array|null","default":"null","description":"A cache dependency or a configuration array for creating a cache dependency or `null` meaning no cache dependency."},"cacheDuration":{"type":"int","default":"60","description":"Cache duration in seconds."},"cacheEnabled":{"type":"bool","default":"true","description":"Whether to enable caching or not."},"cacheKeyVariations":{"type":"string[]|string","default":"[]","description":"An array of strings or a single string which would cause the variation of the content being cached (e.g. an application language, a GET parameter)."}},"methods":{"afterRun":{"signature":"public function afterRun(yii\\base\\WidgetEvent $event): mixed","summary":"Outputs widget contents and ends fragment caching.","params":[{"name":"$event","type":"yii\\base\\WidgetEvent","description":"`Widget::EVENT_AFTER_RUN` event."}],"return":{"type":"mixed"}},"attach":{"signature":"public function attach(mixed $owner): mixed","summary":"Attaches the behavior object to the component.","params":[{"name":"$owner","type":"mixed","description":"The component that this behavior is to be attached to."}],"return":{"type":"mixed"}},"beforeRun":{"signature":"public function beforeRun(yii\\base\\WidgetEvent $event): mixed","summary":"Begins fragment caching. Prevents owner widget from execution if its contents can be retrieved from the cache.","params":[{"name":"$event","type":"yii\\base\\WidgetEvent","description":"`Widget::EVENT_BEFORE_RUN` event."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","events":"yii\\base\\Behavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\behaviors\\OptimisticLockBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/optimisticlockbehavior/","summary":"OptimisticLockBehavior automatically upgrades a model's lock version using the column name returned by optimisticLock() (`yii\\db\\BaseActiveRecord::optimisticLock()`).","since":"2.0.16","extends":"yii\\behaviors\\AttributeBehavior","implements":["yii\\base\\Configurable"],"properties":{"skipUpdateOnClean":{"type":"bool","default":"false","since":"2.0.8"},"value":{"type":"mixed","default":"null"}},"methods":{"attach":{"signature":"public function attach(mixed $owner): mixed","summary":"Attaches the behavior object to the component.","params":[{"name":"$owner","type":"mixed","description":"The component that this behavior is to be attached to."}],"return":{"type":"mixed"}},"events":{"signature":"public function events(): array","summary":"Declares event handlers for the `$owner`'s events.","return":{"type":"array","description":"Events (array keys) and the corresponding event handler methods (array values)."}},"getLockAttribute":{"signature":"protected function getLockAttribute(): string","summary":"Returns the column name to hold the version value as defined in optimisticLock() (`yii\\db\\BaseActiveRecord::optimisticLock()`).","return":{"type":"string","description":"The property name."},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if optimisticLock() (`yii\\db\\BaseActiveRecord::optimisticLock()`) is not properly configured."}],"visibility":"protected","since":"2.0.16"},"getValue":{"signature":"protected function getValue(mixed $event): mixed","summary":"Returns the value for the current attributes.","params":[{"name":"$event","type":"mixed","description":"The event that triggers the current attribute updating."}],"return":{"type":"mixed","description":"The attribute value"},"visibility":"protected"},"upgrade":{"signature":"public function upgrade(): mixed","summary":"Upgrades the version value by one and stores it to database.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if owner is a new record."}],"since":"2.0.16"}},"inherited":{"properties":{"attributes":"yii\\behaviors\\AttributeBehavior","owner":"yii\\base\\Behavior","preserveNonEmptyValues":"yii\\behaviors\\AttributeBehavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","evaluateAttributes":"yii\\behaviors\\AttributeBehavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\behaviors\\SluggableBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/sluggablebehavior/","summary":"SluggableBehavior automatically fills the specified attribute with a value that can be used a slug in a URL.","since":"2.0","extends":"yii\\behaviors\\AttributeBehavior","implements":["yii\\base\\Configurable"],"properties":{"attribute":{"type":"string|array|null","default":"null","description":"The attribute or list of attributes whose value will be converted into a slug or `null` meaning that the `$value` property will be used to generate a slug."},"ensureUnique":{"type":"bool","default":"false","description":"Whether to ensure generated slug value to be unique among owner class records."},"immutable":{"type":"bool","default":"false","description":"Whether to generate a new slug if it has already been generated before.","since":"2.0.2"},"skipOnEmpty":{"type":"bool","default":"false","description":"Whether to skip slug generation if `$attribute` is null or an empty string.","since":"2.0.13"},"slugAttribute":{"type":"string","default":"'slug'","description":"The attribute that will receive the slug value"},"uniqueSlugGenerator":{"type":"callable|null","default":"null","description":"Slug unique value generator."},"uniqueValidator":{"type":"array","default":"[]","description":"Configuration for slug uniqueness validator."},"value":{"type":"callable|string|null","default":"null","description":"The value that will be used as a slug."}},"methods":{"generateSlug":{"signature":"protected function generateSlug(array $slugParts): string","summary":"This method is called by `getValue()` to generate the slug.","params":[{"name":"$slugParts","type":"array","description":"An array of strings that should be concatenated and converted to generate the slug value."}],"return":{"type":"string","description":"The conversion result."},"visibility":"protected"},"generateUniqueSlug":{"signature":"protected function generateUniqueSlug(string $baseSlug, int $iteration): string","summary":"Generates slug using configured callback or increment of iteration.","params":[{"name":"$baseSlug","type":"string","description":"Base slug value"},{"name":"$iteration","type":"int","description":"Iteration number"}],"return":{"type":"string","description":"New slug value"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"visibility":"protected"},"getValue":{"signature":"protected function getValue(mixed $event): mixed","summary":"Returns the value for the current attributes.","params":[{"name":"$event","type":"mixed","description":"The event that triggers the current attribute updating."}],"return":{"type":"mixed","description":"The attribute value"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"isEmpty":{"signature":"protected function isEmpty(string $slugPart): bool","summary":"Checks if $slugPart is empty string or null.","params":[{"name":"$slugPart","type":"string","description":"One of attributes that is used for slug generation."}],"return":{"type":"bool","description":"Whether $slugPart empty or not."},"visibility":"protected","since":"2.0.13"},"isNewSlugNeeded":{"signature":"protected function isNewSlugNeeded(): bool","summary":"Checks whether the new slug generation is needed This method is called by `getValue()` to check whether the new slug generation is needed.","return":{"type":"bool"},"visibility":"protected","since":"2.0.7"},"makeUnique":{"signature":"protected function makeUnique(string $slug): string","summary":"This method is called by `getValue()` when `$ensureUnique` is true to generate the unique slug.","params":[{"name":"$slug","type":"string","description":"Basic slug value"}],"return":{"type":"string","description":"Unique slug"},"visibility":"protected","since":"2.0.7"},"validateSlug":{"signature":"protected function validateSlug(string $slug): bool","summary":"Checks if given slug value is unique.","params":[{"name":"$slug","type":"string","description":"Slug value"}],"return":{"type":"bool","description":"Whether slug is unique."},"visibility":"protected"}},"inherited":{"properties":{"attributes":"yii\\behaviors\\AttributeBehavior","owner":"yii\\base\\Behavior","preserveNonEmptyValues":"yii\\behaviors\\AttributeBehavior","skipUpdateOnClean":"yii\\behaviors\\AttributeBehavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\base\\Behavior","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","evaluateAttributes":"yii\\behaviors\\AttributeBehavior","events":"yii\\behaviors\\AttributeBehavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\behaviors\\TimestampBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/behaviors/timestampbehavior/","summary":"TimestampBehavior automatically fills the specified attributes with the current timestamp.","since":"2.0","extends":"yii\\behaviors\\AttributeBehavior","implements":["yii\\base\\Configurable"],"properties":{"createdAtAttribute":{"type":"string|false","default":"'created_at'","description":"The attribute that will receive timestamp value Set this property to false if you do not want to record the creation time."},"updatedAtAttribute":{"type":"string|false","default":"'updated_at'","description":"The attribute that will receive timestamp value."},"value":{"type":"mixed","default":"null"}},"methods":{"getValue":{"signature":"protected function getValue(mixed $event): mixed","summary":"Returns the value for the current attributes.","params":[{"name":"$event","type":"mixed","description":"The event that triggers the current attribute updating."}],"return":{"type":"mixed","description":"The attribute value"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"touch":{"signature":"public function touch(string $attribute): mixed","summary":"Updates a timestamp attribute to the current timestamp.","params":[{"name":"$attribute","type":"string","description":"The name of the attribute to update."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if owner is a new record (since version 2.0.6)."}]}},"inherited":{"properties":{"attributes":"yii\\behaviors\\AttributeBehavior","owner":"yii\\base\\Behavior","preserveNonEmptyValues":"yii\\behaviors\\AttributeBehavior","skipUpdateOnClean":"yii\\behaviors\\AttributeBehavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\base\\Behavior","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","evaluateAttributes":"yii\\behaviors\\AttributeBehavior","events":"yii\\behaviors\\AttributeBehavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\caching\\ApcuCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/apcucache/","summary":"ApcuCache provides APCu caching in terms of an application component.","since":"22.0","extends":"yii\\caching\\Cache","implements":["yii\\base\\Configurable","yii\\caching\\CacheInterface"],"methods":{"addValue":{"signature":"protected function addValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached."},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. `0` means never expire."}],"return":{"type":"bool","description":"`true` if the value is successfully stored into cache, `false` otherwise."},"visibility":"protected"},"addValues":{"signature":"protected function addValues(array $data, int $duration): array","summary":"Adds multiple key-value pairs to cache.","params":[{"name":"$data","type":"array","description":"Array where key corresponds to cache key while value is the value stored."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached values will expire. `0` means never expire."}],"return":{"type":"array","description":"Array of failed keys."},"visibility":"protected"},"deleteValue":{"signature":"protected function deleteValue(string $key): bool","summary":"Deletes a value with the specified key from cache.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted."}],"return":{"type":"bool","description":"If no error happens during deletion."},"visibility":"protected"},"exists":{"signature":"public function exists(mixed $key): bool","summary":"Checks whether a specified key exists in the cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"`true` if a value exists in cache, `false` if the value is not in the cache or expired."}},"flushValues":{"signature":"protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected"},"getValue":{"signature":"protected function getValue(string $key): mixed|false","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A unique key identifying the cached value."}],"return":{"type":"mixed|false","description":"The value stored in cache, `false` if the value is not in the cache or expired."},"visibility":"protected"},"getValues":{"signature":"protected function getValues(array $keys): array","summary":"Retrieves multiple values from cache with the specified keys.","params":[{"name":"$keys","type":"array","description":"A list of keys identifying the cached values."}],"return":{"type":"array","description":"A list of cached values indexed by the keys."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes this application component.","return":{"type":"mixed"}},"setValue":{"signature":"protected function setValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached."},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. `0` means never expire."}],"return":{"type":"bool","description":"`true` if the value is successfully stored into cache, `false` otherwise."},"visibility":"protected"},"setValues":{"signature":"protected function setValues(array $data, int $duration): array","summary":"Stores multiple key-value pairs in cache.","params":[{"name":"$data","type":"array","description":"Array where key corresponds to cache key while value is the value stored."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached values will expire. `0` means never expire."}],"return":{"type":"array","description":"Array of failed keys."},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultDuration":"yii\\caching\\Cache","keyPrefix":"yii\\caching\\Cache","serializer":"yii\\caching\\Cache"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\caching\\Cache","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","buildKey":"yii\\caching\\Cache","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","delete":"yii\\caching\\Cache","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","flush":"yii\\caching\\Cache","get":"yii\\caching\\Cache","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getOrSet":"yii\\caching\\Cache","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","multiAdd":"yii\\caching\\Cache","multiGet":"yii\\caching\\Cache","multiSet":"yii\\caching\\Cache","off":"yii\\base\\Component","offsetExists":"yii\\caching\\Cache","offsetGet":"yii\\caching\\Cache","offsetSet":"yii\\caching\\Cache","offsetUnset":"yii\\caching\\Cache","on":"yii\\base\\Component","set":"yii\\caching\\Cache","trigger":"yii\\base\\Component"}}},"yii\\caching\\ArrayCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/arraycache/","summary":"ArrayCache provides caching for the current request only by storing the values in an array.","since":"2.0","extends":"yii\\caching\\Cache","implements":["yii\\base\\Configurable","yii\\caching\\CacheInterface"],"methods":{"addValue":{"signature":"protected function addValue(mixed $key, mixed $value, mixed $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"mixed","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"mixed","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"deleteValue":{"signature":"protected function deleteValue(mixed $key): bool","summary":"Deletes a value with the specified key from cache This method should be implemented by child classes to delete the data from actual cache storage.","params":[{"name":"$key","type":"mixed","description":"The key of the value to be deleted"}],"return":{"type":"bool","description":"If no error happens during deletion"},"visibility":"protected"},"exists":{"signature":"public function exists(mixed $key): bool","summary":"Checks whether a specified key exists in the cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"True if a value exists in cache, false if the value is not in the cache or expired."}},"flushValues":{"signature":"protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected"},"getValue":{"signature":"protected function getValue(mixed $key): mixed|false","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"mixed","description":"A unique key identifying the cached value"}],"return":{"type":"mixed|false","description":"The value stored in cache, false if the value is not in the cache or expired. Most often value is a string. If you have disabled `$serializer`, it could be something else."},"visibility":"protected"},"setValue":{"signature":"protected function setValue(mixed $key, mixed $value, mixed $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"mixed","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"mixed","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultDuration":"yii\\caching\\Cache","keyPrefix":"yii\\caching\\Cache","serializer":"yii\\caching\\Cache"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\caching\\Cache","addValues":"yii\\caching\\Cache","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","buildKey":"yii\\caching\\Cache","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","delete":"yii\\caching\\Cache","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","flush":"yii\\caching\\Cache","get":"yii\\caching\\Cache","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getOrSet":"yii\\caching\\Cache","getValues":"yii\\caching\\Cache","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\caching\\Cache","multiAdd":"yii\\caching\\Cache","multiGet":"yii\\caching\\Cache","multiSet":"yii\\caching\\Cache","off":"yii\\base\\Component","offsetExists":"yii\\caching\\Cache","offsetGet":"yii\\caching\\Cache","offsetSet":"yii\\caching\\Cache","offsetUnset":"yii\\caching\\Cache","on":"yii\\base\\Component","set":"yii\\caching\\Cache","setValues":"yii\\caching\\Cache","trigger":"yii\\base\\Component"}}},"yii\\caching\\Cache":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/caching/cache/","summary":"Cache is the base class for cache classes supporting different cache storage implementations.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\caching\\CacheInterface","yii\\base\\Configurable"],"properties":{"defaultDuration":{"type":"int","default":"0","description":"Default duration in seconds before a cache entry will expire.","since":"2.0.11"},"keyPrefix":{"type":"string","default":"null","description":"A string prefixed to every cache key so that it is unique globally in the whole cache storage."},"serializer":{"type":"array|null|false","default":"null","description":"The functions used to serialize and unserialize cached data."}},"methods":{"add":{"signature":"public function add(mixed $key, mixed $value, int $duration = 0, yii\\caching\\Dependency|null $dependency = null): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be cached. This can be a simple string or a complex data structure consisting of factors representing the key."},{"name":"$value","type":"mixed","description":"The value to be cached"},{"name":"$duration","type":"int","default":"0","optional":true,"description":"The number of seconds in which the cached value will expire. 0 means never expire."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached item. If the dependency changes, the corresponding value in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `$serializer` is false."}],"return":{"type":"bool","description":"Whether the value is successfully stored into cache"}},"addValue":{"signature":"abstract protected function addValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected","abstract":true},"addValues":{"signature":"protected function addValues(array $data, int $duration): array","summary":"Adds multiple key-value pairs to cache.","params":[{"name":"$data","type":"array","description":"Array where key corresponds to cache key while value is the value stored."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached values will expire. 0 means never expire."}],"return":{"type":"array","description":"Array of failed keys"},"visibility":"protected"},"buildKey":{"signature":"public function buildKey(mixed $key): string","summary":"Builds a normalized cache key from a given key.","params":[{"name":"$key","type":"mixed","description":"The key to be normalized"}],"return":{"type":"string","description":"The generated cache key"}},"delete":{"signature":"public function delete(mixed $key): bool","summary":"Deletes a value with the specified key from cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be deleted from cache. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"If no error happens during deletion"}},"deleteValue":{"signature":"abstract protected function deleteValue(string $key): bool","summary":"Deletes a value with the specified key from cache This method should be implemented by child classes to delete the data from actual cache storage.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted"}],"return":{"type":"bool","description":"If no error happens during deletion"},"visibility":"protected","abstract":true},"exists":{"signature":"public function exists(mixed $key): bool","summary":"Checks whether a specified key exists in the cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"True if a value exists in cache, false if the value is not in the cache or expired."}},"flush":{"signature":"public function flush(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."}},"flushValues":{"signature":"abstract protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected","abstract":true},"get":{"signature":"public function get(mixed $key): mixed","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"mixed","description":"The value stored in cache, false if the value is not in the cache, expired, or the dependency associated with the cached data has changed."}},"getOrSet":{"signature":"public function getOrSet(mixed $key, callable|Closure $callable, int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): mixed","summary":"Method combines both `set()` and `get()` methods to retrieve value identified by a $key, or to store the result of $callable execution if there is no cache available for the $key.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be cached. This can be a simple string or a complex data structure consisting of factors representing the key."},{"name":"$callable","type":"callable|Closure","description":"The callable or closure that will be used to generate a value to be cached. If you use $callable that can return `false`, then keep in mind that `getOrSet()` may work inefficiently because the `yii\\caching\\Cache::get()` method uses `false` return value to indicate the data item is not found in the cache. Thus, caching of `false` value will lead to unnecessary internal calls."},{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"Default duration in seconds before the cache will expire. If not set, `$defaultDuration` value will be used."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached item. If the dependency changes, the corresponding value in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `$serializer` is `false`."}],"return":{"type":"mixed","description":"Result of $callable execution"},"since":"2.0.11"},"getValue":{"signature":"abstract protected function getValue(string $key): mixed|false","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A unique key identifying the cached value"}],"return":{"type":"mixed|false","description":"The value stored in cache, false if the value is not in the cache or expired. Most often value is a string. If you have disabled `$serializer`, it could be something else."},"visibility":"protected","abstract":true},"getValues":{"signature":"protected function getValues(array $keys): array","summary":"Retrieves multiple values from cache with the specified keys.","params":[{"name":"$keys","type":"array","description":"A list of keys identifying the cached values"}],"return":{"type":"array","description":"A list of cached values indexed by the keys"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"multiAdd":{"signature":"public function multiAdd(array $items, int $duration = 0, yii\\caching\\Dependency|null $dependency = null): array","summary":"Stores multiple items in cache. Each item contains a value identified by a key.","params":[{"name":"$items","type":"array","description":"The items to be cached, as key-value pairs."},{"name":"$duration","type":"int","default":"0","optional":true,"description":"Default number of seconds in which the cached values will expire. 0 means never expire."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached items. If the dependency changes, the corresponding values in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `$serializer` is false."}],"return":{"type":"array","description":"Array of failed keys"},"since":"2.0.7"},"multiGet":{"signature":"public function multiGet(string[] $keys): array","summary":"Retrieves multiple values from cache with the specified keys.","params":[{"name":"$keys","type":"string[]","description":"List of string keys identifying the cached values"}],"return":{"type":"array","description":"List of cached values corresponding to the specified keys. The array is returned in terms of (key, value) pairs. If a value is not cached or expired, the corresponding array value will be false."},"since":"2.0.7"},"multiSet":{"signature":"public function multiSet(array $items, int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): array","summary":"Stores multiple items in cache. Each item contains a value identified by a key.","params":[{"name":"$items","type":"array","description":"The items to be cached, as key-value pairs."},{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"Default duration in seconds before the cache will expire. If not set, default `$defaultDuration` value is used."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached items. If the dependency changes, the corresponding values in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `$serializer` is false."}],"return":{"type":"array","description":"Array of failed keys"},"since":"2.0.7"},"offsetExists":{"signature":"public function offsetExists(string $key): bool","summary":"Returns whether there is a cache entry with a specified key.","params":[{"name":"$key","type":"string","description":"A key identifying the cached value"}],"return":{"type":"bool"}},"offsetGet":{"signature":"public function offsetGet(string $key): mixed","summary":"Retrieves the value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A key identifying the cached value"}],"return":{"type":"mixed","description":"The value stored in cache, false if the value is not in the cache or expired."}},"offsetSet":{"signature":"public function offsetSet(string $key, mixed $value): mixed","summary":"Stores the value identified by a key into cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached"}],"return":{"type":"mixed"}},"offsetUnset":{"signature":"public function offsetUnset(string $key): mixed","summary":"Deletes the value with the specified key from cache This method is required by the interface `ArrayAccess`.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted"}],"return":{"type":"mixed"}},"set":{"signature":"public function set(mixed $key, mixed $value, int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): bool","summary":"Stores a value identified by a key into cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be cached. This can be a simple string or a complex data structure consisting of factors representing the key."},{"name":"$value","type":"mixed","description":"The value to be cached"},{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"Default duration in seconds before the cache will expire. If not set, default `$defaultDuration` value is used."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached item. If the dependency changes, the corresponding value in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `$serializer` is false."}],"return":{"type":"bool","description":"Whether the value is successfully stored into cache"}},"setValue":{"signature":"abstract protected function setValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected","abstract":true},"setValues":{"signature":"protected function setValues(array $data, int $duration): array","summary":"Stores multiple key-value pairs in cache.","params":[{"name":"$data","type":"array","description":"Array where key corresponds to cache key while value is the value stored"},{"name":"$duration","type":"int","description":"The number of seconds in which the cached values will expire. 0 means never expire."}],"return":{"type":"array","description":"Array of failed keys"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\caching\\CacheInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/caching/cacheinterface/","summary":"CacheInterface is the base interface for cache.","implements":["ArrayAccess"],"methods":{"add":{"signature":"abstract public function add(mixed $key, mixed $value, int $duration = 0, yii\\caching\\Dependency|null $dependency = null): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be cached. This can be a simple string or a complex data structure consisting of factors representing the key."},{"name":"$value","type":"mixed","description":"The value to be cached"},{"name":"$duration","type":"int","default":"0","optional":true,"description":"The number of seconds in which the cached value will expire. 0 means never expire."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached item. If the dependency changes, the corresponding value in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `serializer` is false."}],"return":{"type":"bool","description":"Whether the value is successfully stored into cache"},"abstract":true},"buildKey":{"signature":"abstract public function buildKey(mixed $key): string","summary":"Builds a normalized cache key from a given key.","params":[{"name":"$key","type":"mixed","description":"The key to be normalized"}],"return":{"type":"string","description":"The generated cache key"},"abstract":true},"delete":{"signature":"abstract public function delete(mixed $key): bool","summary":"Deletes a value with the specified key from cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be deleted from cache. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"If no error happens during deletion"},"abstract":true},"exists":{"signature":"abstract public function exists(mixed $key): bool","summary":"Checks whether a specified key exists in the cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"True if a value exists in cache, false if the value is not in the cache or expired."},"abstract":true},"flush":{"signature":"abstract public function flush(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"abstract":true},"get":{"signature":"abstract public function get(mixed $key): mixed","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"mixed","description":"The value stored in cache, false if the value is not in the cache, expired, or the dependency associated with the cached data has changed."},"abstract":true},"getOrSet":{"signature":"abstract public function getOrSet(mixed $key, callable(): yii\\caching\\TResult|Closure(): yii\\caching\\TResult $callable, int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): yii\\caching\\TResult","summary":"Method combines both `set()` and `get()` methods to retrieve value identified by a $key, or to store the result of $callable execution if there is no cache available for the $key.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be cached. This can be a simple string or a complex data structure consisting of factors representing the key."},{"name":"$callable","type":"callable(): yii\\caching\\TResult|Closure(): yii\\caching\\TResult","description":"The callable or closure that will be used to generate a value to be cached. In case $callable returns `false`, the value will not be cached."},{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"Default duration in seconds before the cache will expire. If not set, `defaultDuration` value will be used."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached item. If the dependency changes, the corresponding value in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `serializer` is `false`."}],"return":{"type":"yii\\caching\\TResult","description":"Result of $callable execution"},"abstract":true},"multiAdd":{"signature":"abstract public function multiAdd(array $items, int $duration = 0, yii\\caching\\Dependency|null $dependency = null): array","summary":"Stores multiple items in cache. Each item contains a value identified by a key.","params":[{"name":"$items","type":"array","description":"The items to be cached, as key-value pairs."},{"name":"$duration","type":"int","default":"0","optional":true,"description":"Default number of seconds in which the cached values will expire. 0 means never expire."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached items. If the dependency changes, the corresponding values in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `serializer` is false."}],"return":{"type":"array","description":"Array of failed keys"},"abstract":true},"multiGet":{"signature":"abstract public function multiGet(string[] $keys): array","summary":"Retrieves multiple values from cache with the specified keys.","params":[{"name":"$keys","type":"string[]","description":"List of string keys identifying the cached values"}],"return":{"type":"array","description":"List of cached values corresponding to the specified keys. The array is returned in terms of (key, value) pairs. If a value is not cached or expired, the corresponding array value will be false."},"abstract":true},"multiSet":{"signature":"abstract public function multiSet(array $items, int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): array","summary":"Stores multiple items in cache. Each item contains a value identified by a key.","params":[{"name":"$items","type":"array","description":"The items to be cached, as key-value pairs."},{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"Default duration in seconds before the cache will expire. If not set, default `defaultDuration` value is used."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached items. If the dependency changes, the corresponding values in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `serializer` is false."}],"return":{"type":"array","description":"Array of failed keys"},"abstract":true},"set":{"signature":"abstract public function set(mixed $key, mixed $value, int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): bool","summary":"Stores a value identified by a key into cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the value to be cached. This can be a simple string or a complex data structure consisting of factors representing the key."},{"name":"$value","type":"mixed","description":"The value to be cached"},{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"Default duration in seconds before the cache will expire. If not set, default `defaultDuration` value is used."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"Dependency of the cached item. If the dependency changes, the corresponding value in the cache will be invalidated when it is fetched via `get()`. This parameter is ignored if `serializer` is false."}],"return":{"type":"bool","description":"Whether the value is successfully stored into cache"},"abstract":true}}},"yii\\caching\\CallbackDependency":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/callbackdependency/","summary":"CallbackDependency represents a dependency based on the result of a callback function.","since":"2.0.50","extends":"yii\\caching\\Dependency","implements":["yii\\base\\Configurable"],"properties":{"callback":{"type":"callable","default":"null","description":"The PHP callback that will be called to determine if the dependency has been changed."}},"methods":{"generateDependencyData":{"signature":"protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency has been changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"visibility":"protected"}},"inherited":{"properties":{"data":"yii\\caching\\Dependency","reusable":"yii\\caching\\Dependency"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","evaluateDependency":"yii\\caching\\Dependency","generateReusableHash":"yii\\caching\\Dependency","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isChanged":"yii\\caching\\Dependency","resetReusableData":"yii\\caching\\Dependency"}}},"yii\\caching\\ChainedDependency":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/chaineddependency/","summary":"ChainedDependency represents a dependency which is composed of a list of other dependencies.","since":"2.0","extends":"yii\\caching\\Dependency","implements":["yii\\base\\Configurable"],"properties":{"dependencies":{"type":"yii\\caching\\Dependency[]","default":"[]","description":"List of dependencies that this dependency is composed of."},"dependOnAll":{"type":"bool","default":"true","description":"Whether this dependency is depending on every dependency in `$dependencies`."}},"methods":{"evaluateDependency":{"signature":"public function evaluateDependency(yii\\caching\\CacheInterface $cache): mixed","summary":"Evaluates the dependency by generating and saving the data related with dependency.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed"}},"generateDependencyData":{"signature":"protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency has been changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"visibility":"protected"},"isChanged":{"signature":"public function isChanged(mixed $cache): bool","summary":"Checks whether the dependency is changed.","params":[{"name":"$cache","type":"mixed","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"bool","description":"Whether the dependency has changed."},"since":"2.0.11"}},"inherited":{"properties":{"data":"yii\\caching\\Dependency","reusable":"yii\\caching\\Dependency"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","generateReusableHash":"yii\\caching\\Dependency","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","resetReusableData":"yii\\caching\\Dependency"}}},"yii\\caching\\DbCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/dbcache/","summary":"DbCache implements a cache application component by storing cached data in a database.","since":"2.0","extends":"yii\\caching\\Cache","implements":["yii\\caching\\CacheInterface","yii\\base\\Configurable"],"properties":{"cacheTable":{"type":"string","default":"'{{%cache}}'","description":"Name of the DB table to store cache content."},"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."},"gcProbability":{"type":"int","default":"100","description":"The probability (parts per million) that garbage collection (GC) should be performed when storing a piece of data in the cache."}},"methods":{"addValue":{"signature":"protected function addValue(string $key, string $value, int $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"string","description":"The value to be cached. Other types (if you have disabled `$serializer`) cannot be saved."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"deleteValue":{"signature":"protected function deleteValue(string $key): bool","summary":"Deletes a value with the specified key from cache This is the implementation of the method declared in the parent class.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted"}],"return":{"type":"bool","description":"If no error happens during deletion"},"visibility":"protected"},"exists":{"signature":"public function exists(mixed $key): bool","summary":"Checks whether a specified key exists in the cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"True if a value exists in cache, false if the value is not in the cache or expired."}},"flushValues":{"signature":"protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected"},"gc":{"signature":"public function gc(bool $force = false): mixed","summary":"Removes the expired data values.","params":[{"name":"$force","type":"bool","default":"false","optional":true,"description":"Whether to enforce the garbage collection regardless of `$gcProbability`. Defaults to false, meaning the actual deletion happens with the probability as specified by `$gcProbability`."}],"return":{"type":"mixed"}},"getDataFieldName":{"signature":"protected function getDataFieldName(): string","summary":"Returns the name of the `data` column read by `getValue()` and `getValues()`.","return":{"type":"string","description":"Column name or expression aliased as `data`."},"visibility":"protected","since":"2.0.42"},"getDataFieldValue":{"signature":"protected function getDataFieldValue(mixed $value): mixed","params":[{"name":"$value","type":"mixed"}],"return":{"type":"mixed","description":"Value prepared by the `data` column schema."},"visibility":"protected","since":"2.0.42"},"getValue":{"signature":"protected function getValue(string $key): string|false","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A unique key identifying the cached value"}],"return":{"type":"string|false","description":"The value stored in cache, false if the value is not in the cache or expired."},"visibility":"protected"},"getValues":{"signature":"protected function getValues(array $keys): array","summary":"Retrieves multiple values from cache with the specified keys.","params":[{"name":"$keys","type":"array","description":"A list of keys identifying the cached values."}],"return":{"type":"array","description":"A list of cached values indexed by the keys."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the DbCache component.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is invalid."}]},"setValue":{"signature":"protected function setValue(string $key, string $value, int $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"string","description":"The value to be cached. Other types (if you have disabled `$serializer`) cannot be saved."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultDuration":"yii\\caching\\Cache","keyPrefix":"yii\\caching\\Cache","serializer":"yii\\caching\\Cache"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\caching\\Cache","addValues":"yii\\caching\\Cache","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","buildKey":"yii\\caching\\Cache","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","delete":"yii\\caching\\Cache","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","flush":"yii\\caching\\Cache","get":"yii\\caching\\Cache","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getOrSet":"yii\\caching\\Cache","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","multiAdd":"yii\\caching\\Cache","multiGet":"yii\\caching\\Cache","multiSet":"yii\\caching\\Cache","off":"yii\\base\\Component","offsetExists":"yii\\caching\\Cache","offsetGet":"yii\\caching\\Cache","offsetSet":"yii\\caching\\Cache","offsetUnset":"yii\\caching\\Cache","on":"yii\\base\\Component","set":"yii\\caching\\Cache","setValues":"yii\\caching\\Cache","trigger":"yii\\base\\Component"}}},"yii\\caching\\DbDependency":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/dbdependency/","summary":"DbDependency represents a dependency based on the query result of a SQL statement.","since":"2.0","extends":"yii\\caching\\Dependency","implements":["yii\\base\\Configurable"],"properties":{"db":{"type":"yii\\db\\Connection|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."},"params":{"type":"array","default":"[]","description":"The parameters (name => value) to be bound to the SQL statement specified by `$sql`."},"sql":{"type":"string|null","default":"null","description":"The SQL query whose result is used to determine if the dependency has been changed."}},"methods":{"generateDependencyData":{"signature":"protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency has been changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is not a valid application component ID"}],"visibility":"protected"}},"inherited":{"properties":{"data":"yii\\caching\\Dependency","reusable":"yii\\caching\\Dependency"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","evaluateDependency":"yii\\caching\\Dependency","generateReusableHash":"yii\\caching\\Dependency","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isChanged":"yii\\caching\\Dependency","resetReusableData":"yii\\caching\\Dependency"}}},"yii\\caching\\DbQueryDependency":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/dbquerydependency/","summary":"DbQueryDependency represents a dependency based on the query result of an `yii\\db\\QueryInterface` instance.","since":"2.0.12","extends":"yii\\caching\\Dependency","implements":["yii\\base\\Configurable"],"properties":{"db":{"type":"string|array|object","default":"null","description":"The application component ID of the database connection, connection object or its array configuration."},"method":{"type":"string|callable|null","default":"null","description":"Method which should be invoked in over the `$query` object."},"query":{"type":"yii\\db\\QueryInterface","default":"null","description":"The query which result is used to determine if the dependency has been changed."}},"methods":{"generateDependencyData":{"signature":"protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency is changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"on invalid configuration."}],"visibility":"protected"}},"inherited":{"properties":{"data":"yii\\caching\\Dependency","reusable":"yii\\caching\\Dependency"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","evaluateDependency":"yii\\caching\\Dependency","generateReusableHash":"yii\\caching\\Dependency","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isChanged":"yii\\caching\\Dependency","resetReusableData":"yii\\caching\\Dependency"}}},"yii\\caching\\Dependency":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/caching/dependency/","summary":"Dependency is the base class for cache dependency classes.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"data":{"type":"mixed","default":"null","description":"The dependency data that is saved in cache and later is compared with the latest dependency data."},"reusable":{"type":"bool","default":"false","description":"Whether this dependency is reusable or not."}},"methods":{"evaluateDependency":{"signature":"public function evaluateDependency(yii\\caching\\CacheInterface $cache): mixed","summary":"Evaluates the dependency by generating and saving the data related with dependency.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed"}},"generateDependencyData":{"signature":"abstract protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency is changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"visibility":"protected","abstract":true},"generateReusableHash":{"signature":"protected function generateReusableHash(): string","summary":"Generates a unique hash that can be used for retrieving reusable dependency data.","return":{"type":"string","description":"A unique hash value for this cache dependency."},"visibility":"protected"},"isChanged":{"signature":"public function isChanged(yii\\caching\\CacheInterface $cache): bool","summary":"Checks whether the dependency is changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"bool","description":"Whether the dependency has changed."},"since":"2.0.11"},"resetReusableData":{"signature":"public static function resetReusableData(): mixed","summary":"Resets all cached data for reusable dependencies.","return":{"type":"mixed"},"static":true}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\caching\\DummyCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/dummycache/","summary":"DummyCache is a placeholder cache component.","since":"2.0","extends":"yii\\caching\\Cache","implements":["yii\\caching\\CacheInterface","yii\\base\\Configurable"],"methods":{"addValue":{"signature":"protected function addValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached"},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"deleteValue":{"signature":"protected function deleteValue(string $key): bool","summary":"Deletes a value with the specified key from cache This is the implementation of the method declared in the parent class.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted"}],"return":{"type":"bool","description":"If no error happens during deletion"},"visibility":"protected"},"flushValues":{"signature":"protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected"},"getValue":{"signature":"protected function getValue(string $key): mixed|false","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A unique key identifying the cached value"}],"return":{"type":"mixed|false","description":"The value stored in cache, false if the value is not in the cache or expired."},"visibility":"protected"},"setValue":{"signature":"protected function setValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached"},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultDuration":"yii\\caching\\Cache","keyPrefix":"yii\\caching\\Cache","serializer":"yii\\caching\\Cache"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\caching\\Cache","addValues":"yii\\caching\\Cache","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","buildKey":"yii\\caching\\Cache","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","delete":"yii\\caching\\Cache","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","exists":"yii\\caching\\Cache","flush":"yii\\caching\\Cache","get":"yii\\caching\\Cache","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getOrSet":"yii\\caching\\Cache","getValues":"yii\\caching\\Cache","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\caching\\Cache","multiAdd":"yii\\caching\\Cache","multiGet":"yii\\caching\\Cache","multiSet":"yii\\caching\\Cache","off":"yii\\base\\Component","offsetExists":"yii\\caching\\Cache","offsetGet":"yii\\caching\\Cache","offsetSet":"yii\\caching\\Cache","offsetUnset":"yii\\caching\\Cache","on":"yii\\base\\Component","set":"yii\\caching\\Cache","setValues":"yii\\caching\\Cache","trigger":"yii\\base\\Component"}}},"yii\\caching\\ExpressionDependency":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/expressiondependency/","summary":"ExpressionDependency represents a dependency based on the result of a PHP expression.","since":"2.0","extends":"yii\\caching\\Dependency","implements":["yii\\base\\Configurable"],"properties":{"expression":{"type":"string","default":"'true'","description":"The string representation of a PHP expression whose result is used to determine the dependency."},"params":{"type":"mixed","default":"null","description":"Custom parameters associated with this dependency."}},"methods":{"generateDependencyData":{"signature":"protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency has been changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"visibility":"protected"}},"inherited":{"properties":{"data":"yii\\caching\\Dependency","reusable":"yii\\caching\\Dependency"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","evaluateDependency":"yii\\caching\\Dependency","generateReusableHash":"yii\\caching\\Dependency","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isChanged":"yii\\caching\\Dependency","resetReusableData":"yii\\caching\\Dependency"}}},"yii\\caching\\FileCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/filecache/","summary":"FileCache implements a cache component using files.","since":"2.0","extends":"yii\\caching\\Cache","implements":["yii\\caching\\CacheInterface","yii\\base\\Configurable"],"properties":{"cacheFileSuffix":{"type":"string","default":"'.bin'","description":"Cache file suffix."},"cachePath":{"type":"string","default":"'@runtime/cache'","description":"The directory to store cache files."},"directoryLevel":{"type":"int","default":"1","description":"The level of sub-directories to store cache files."},"dirMode":{"type":"int","default":"0775","description":"The permission to be set for newly created directories."},"fileMode":{"type":"int|null","default":"null","description":"The permission to be set for newly created cache files."},"gcProbability":{"type":"int","default":"10","description":"The probability (parts per million) that garbage collection (GC) should be performed when storing a piece of data in the cache."},"keyPrefix":{"type":"string","default":"''","description":"A string prefixed to every cache key."}},"methods":{"addValue":{"signature":"protected function addValue(string $key, string $value, int $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"string","description":"The value to be cached. Other types (if you have disabled `$serializer`) unable to get is correct in `getValue()`."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"deleteValue":{"signature":"protected function deleteValue(string $key): bool","summary":"Deletes a value with the specified key from cache This is the implementation of the method declared in the parent class.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted"}],"return":{"type":"bool","description":"If no error happens during deletion"},"visibility":"protected"},"exists":{"signature":"public function exists(mixed $key): bool","summary":"Checks whether a specified key exists in the cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"True if a value exists in cache, false if the value is not in the cache or expired."}},"flushValues":{"signature":"protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected"},"gc":{"signature":"public function gc(bool $force = false, bool $expiredOnly = true): mixed","summary":"Removes expired cache files.","params":[{"name":"$force","type":"bool","default":"false","optional":true,"description":"Whether to enforce the garbage collection regardless of `$gcProbability`. Defaults to false, meaning the actual deletion happens with the probability as specified by `$gcProbability`."},{"name":"$expiredOnly","type":"bool","default":"true","optional":true,"description":"Whether to removed expired cache files only. If false, all cache files under `$cachePath` will be removed."}],"return":{"type":"mixed"}},"gcRecursive":{"signature":"protected function gcRecursive(string $path, bool $expiredOnly): mixed","summary":"Recursively removing expired cache files under a directory.","params":[{"name":"$path","type":"string","description":"The directory under which expired cache files are removed."},{"name":"$expiredOnly","type":"bool","description":"Whether to only remove expired cache files. If false, all files under `$path` will be removed."}],"return":{"type":"mixed"},"visibility":"protected"},"getCacheFile":{"signature":"protected function getCacheFile(string $normalizedKey): string","summary":"Returns the cache file path given the normalized cache key.","params":[{"name":"$normalizedKey","type":"string","description":"Normalized cache key by `buildKey()` method"}],"return":{"type":"string","description":"The cache file path"},"visibility":"protected"},"getValue":{"signature":"protected function getValue(string $key): string|false","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A unique key identifying the cached value"}],"return":{"type":"string|false","description":"The value stored in cache, false if the value is not in the cache or expired."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes this component by ensuring the existence of the cache path.","return":{"type":"mixed"}},"setValue":{"signature":"protected function setValue(string $key, string $value, int $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"string","description":"The value to be cached. Other types (If you have disabled `$serializer`) unable to get is correct in `getValue()`."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. Fewer than or equal to 0 means 1 year expiration time."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultDuration":"yii\\caching\\Cache","serializer":"yii\\caching\\Cache"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\caching\\Cache","addValues":"yii\\caching\\Cache","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","buildKey":"yii\\caching\\Cache","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","delete":"yii\\caching\\Cache","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","flush":"yii\\caching\\Cache","get":"yii\\caching\\Cache","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getOrSet":"yii\\caching\\Cache","getValues":"yii\\caching\\Cache","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","multiAdd":"yii\\caching\\Cache","multiGet":"yii\\caching\\Cache","multiSet":"yii\\caching\\Cache","off":"yii\\base\\Component","offsetExists":"yii\\caching\\Cache","offsetGet":"yii\\caching\\Cache","offsetSet":"yii\\caching\\Cache","offsetUnset":"yii\\caching\\Cache","on":"yii\\base\\Component","set":"yii\\caching\\Cache","setValues":"yii\\caching\\Cache","trigger":"yii\\base\\Component"}}},"yii\\caching\\FileDependency":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/filedependency/","summary":"FileDependency represents a dependency based on a file's last modification time.","since":"2.0","extends":"yii\\caching\\Dependency","implements":["yii\\base\\Configurable"],"properties":{"fileName":{"type":"string","default":"null","description":"The file path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) whose last modification time is used to check if the dependency has been changed."}},"methods":{"generateDependencyData":{"signature":"protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency has been changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$fileName` is not set"}],"visibility":"protected"}},"inherited":{"properties":{"data":"yii\\caching\\Dependency","reusable":"yii\\caching\\Dependency"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","evaluateDependency":"yii\\caching\\Dependency","generateReusableHash":"yii\\caching\\Dependency","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isChanged":"yii\\caching\\Dependency","resetReusableData":"yii\\caching\\Dependency"}}},"yii\\caching\\MemCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/memcache/","summary":"MemCache implements a cache application component based on [memcache](https://pecl.php.net/package/memcache) and [memcached](https://pecl.php.net/package/memcached).","since":"2.0","extends":"yii\\caching\\Cache","implements":["yii\\caching\\CacheInterface","yii\\base\\Configurable"],"properties":{"memcache":{"type":"Memcache|Memcached","description":"The memcache (or memcached) object used by this cache component.","access":"read-only","virtual":true},"options":{"type":"array","default":"null","description":"Options for Memcached."},"password":{"type":"string","default":"null","description":"Memcached sasl password."},"persistentId":{"type":"string","default":"null","description":"An ID that identifies a Memcached instance."},"servers":{"type":"array","description":"List of memcache or memcached server configurations.","virtual":true},"useMemcached":{"type":"bool","default":"false","description":"Whether to use memcached or memcache as the underlying caching extension."},"username":{"type":"string","default":"null","description":"Memcached sasl username."}},"methods":{"addMemcachedServers":{"signature":"protected function addMemcachedServers(Memcached $cache, yii\\caching\\MemCacheServer[] $servers): mixed","summary":"Add servers to the server pool of the cache specified Used for memcached PECL extension.","params":[{"name":"$cache","type":"Memcached"},{"name":"$servers","type":"yii\\caching\\MemCacheServer[]"}],"return":{"type":"mixed"},"visibility":"protected"},"addMemcacheServers":{"signature":"protected function addMemcacheServers(Memcache $cache, yii\\caching\\MemCacheServer[] $servers): mixed","summary":"Add servers to the server pool of the cache specified Used for memcache PECL extension.","params":[{"name":"$cache","type":"Memcache"},{"name":"$servers","type":"yii\\caching\\MemCacheServer[]"}],"return":{"type":"mixed"},"visibility":"protected"},"addServers":{"signature":"protected function addServers(Memcache|Memcached $cache, yii\\caching\\MemCacheServer[] $servers): mixed","summary":"Add servers to the server pool of the cache specified.","params":[{"name":"$cache","type":"Memcache|Memcached"},{"name":"$servers","type":"yii\\caching\\MemCacheServer[]"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"visibility":"protected"},"addValue":{"signature":"protected function addValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached"},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"deleteValue":{"signature":"protected function deleteValue(string $key): bool","summary":"Deletes a value with the specified key from cache This is the implementation of the method declared in the parent class.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted"}],"return":{"type":"bool","description":"If no error happens during deletion"},"visibility":"protected"},"flushValues":{"signature":"protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected"},"getMemcache":{"signature":"public function getMemcache(): Memcache|Memcached","summary":"Returns the underlying memcache (or memcached) object.","return":{"type":"Memcache|Memcached","description":"The memcache (or memcached) object used by this cache component."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if memcache or memcached extension is not loaded"}]},"getServers":{"signature":"public function getServers(): yii\\caching\\MemCacheServer[]","summary":"Returns the memcache or memcached server configurations.","return":{"type":"yii\\caching\\MemCacheServer[]","description":"List of memcache server configurations."}},"getValue":{"signature":"protected function getValue(string $key): mixed|false","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A unique key identifying the cached value"}],"return":{"type":"mixed|false","description":"The value stored in cache, false if the value is not in the cache or expired."},"visibility":"protected"},"getValues":{"signature":"protected function getValues(array $keys): array","summary":"Retrieves multiple values from cache with the specified keys.","params":[{"name":"$keys","type":"array","description":"A list of keys identifying the cached values"}],"return":{"type":"array","description":"A list of cached values indexed by the keys"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes this application component.","return":{"type":"mixed"}},"normalizeDuration":{"signature":"protected function normalizeDuration(int $duration): int","summary":"Normalizes duration value","params":[{"name":"$duration","type":"int"}],"return":{"type":"int"},"visibility":"protected","since":"2.0.31"},"setServers":{"signature":"public function setServers(array $config): mixed","params":[{"name":"$config","type":"array","description":"List of memcache or memcached server configurations. Each element must be an array with the following keys: host, port, persistent, weight, timeout, retryInterval, status."}],"return":{"type":"mixed"}},"setValue":{"signature":"protected function setValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"setValues":{"signature":"protected function setValues(array $data, int $duration): array","summary":"Stores multiple key-value pairs in cache.","params":[{"name":"$data","type":"array","description":"Array where key corresponds to cache key while value is the value stored"},{"name":"$duration","type":"int","description":"The number of seconds in which the cached values will expire. 0 means never expire."}],"return":{"type":"array","description":"Array of failed keys."},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultDuration":"yii\\caching\\Cache","keyPrefix":"yii\\caching\\Cache","serializer":"yii\\caching\\Cache"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\caching\\Cache","addValues":"yii\\caching\\Cache","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","buildKey":"yii\\caching\\Cache","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","delete":"yii\\caching\\Cache","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","exists":"yii\\caching\\Cache","flush":"yii\\caching\\Cache","get":"yii\\caching\\Cache","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getOrSet":"yii\\caching\\Cache","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","multiAdd":"yii\\caching\\Cache","multiGet":"yii\\caching\\Cache","multiSet":"yii\\caching\\Cache","off":"yii\\base\\Component","offsetExists":"yii\\caching\\Cache","offsetGet":"yii\\caching\\Cache","offsetSet":"yii\\caching\\Cache","offsetUnset":"yii\\caching\\Cache","on":"yii\\base\\Component","set":"yii\\caching\\Cache","trigger":"yii\\base\\Component"}}},"yii\\caching\\MemCacheServer":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/memcacheserver/","summary":"MemCacheServer represents the configuration data for a single memcache or memcached server.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"failureCallback":{"type":"Closure","default":"null","description":"This callback function will run upon encountering an error."},"host":{"type":"string","default":"null","description":"Memcache server hostname or IP address"},"persistent":{"type":"bool","default":"true","description":"Whether to use a persistent connection."},"port":{"type":"int","default":"11211","description":"Memcache server port"},"retryInterval":{"type":"int","default":"15","description":"How often a failed server will be retried (in seconds)."},"status":{"type":"bool","default":"true","description":"If the server should be flagged as online upon a failure."},"timeout":{"type":"int","default":"1000","description":"Timeout in milliseconds which will be used for connecting to the server."},"weight":{"type":"int","default":"1","description":"Probability of using this server among all servers."}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\caching\\TagDependency":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/tagdependency/","summary":"TagDependency associates a cached data item with one or multiple `$tags`.","since":"2.0","extends":"yii\\caching\\Dependency","implements":["yii\\base\\Configurable"],"properties":{"tags":{"type":"string|array","default":"[]","description":"A list of tag names for this dependency."}},"methods":{"generateDependencyData":{"signature":"protected function generateDependencyData(yii\\caching\\CacheInterface $cache): mixed","summary":"Generates the data needed to determine if dependency has been changed.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"mixed","description":"The data needed to determine if dependency has been changed."},"visibility":"protected"},"getTimestamps":{"signature":"protected function getTimestamps(yii\\caching\\CacheInterface $cache, string[] $tags): array","summary":"Returns the timestamps for the specified tags.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface"},{"name":"$tags","type":"string[]"}],"return":{"type":"array","description":"The timestamps indexed by the specified tags."},"visibility":"protected"},"invalidate":{"signature":"public static function invalidate(yii\\caching\\CacheInterface $cache, string|array $tags): mixed","summary":"Invalidates all of the cached data items that are associated with any of the specified `$tags`.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface","description":"The cache component that caches the data items"},{"name":"$tags","type":"string|array"}],"return":{"type":"mixed"},"static":true},"isChanged":{"signature":"public function isChanged(mixed $cache): bool","summary":"Checks whether the dependency is changed.","params":[{"name":"$cache","type":"mixed","description":"The cache component that is currently evaluating this dependency"}],"return":{"type":"bool","description":"Whether the dependency has changed."},"since":"2.0.11"},"touchKeys":{"signature":"protected static function touchKeys(yii\\caching\\CacheInterface $cache, string[] $keys): array","summary":"Generates the timestamp for the specified cache keys.","params":[{"name":"$cache","type":"yii\\caching\\CacheInterface"},{"name":"$keys","type":"string[]"}],"return":{"type":"array","description":"The timestamp indexed by cache keys"},"visibility":"protected","static":true}},"inherited":{"properties":{"data":"yii\\caching\\Dependency","reusable":"yii\\caching\\Dependency"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","evaluateDependency":"yii\\caching\\Dependency","generateReusableHash":"yii\\caching\\Dependency","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","resetReusableData":"yii\\caching\\Dependency"}}},"yii\\caching\\WinCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/caching/wincache/","summary":"WinCache provides Windows Cache caching in terms of an application component.","since":"2.0","extends":"yii\\caching\\Cache","implements":["yii\\caching\\CacheInterface","yii\\base\\Configurable"],"methods":{"addValue":{"signature":"protected function addValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key into cache if the cache does not contain this key.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"addValues":{"signature":"protected function addValues(array $data, int $duration): array","summary":"Adds multiple key-value pairs to cache.","params":[{"name":"$data","type":"array","description":"Array where key corresponds to cache key while value is the value stored"},{"name":"$duration","type":"int","description":"The number of seconds in which the cached values will expire. 0 means never expire."}],"return":{"type":"array","description":"Array of failed keys"},"visibility":"protected"},"deleteValue":{"signature":"protected function deleteValue(string $key): bool","summary":"Deletes a value with the specified key from cache This is the implementation of the method declared in the parent class.","params":[{"name":"$key","type":"string","description":"The key of the value to be deleted"}],"return":{"type":"bool","description":"If no error happens during deletion"},"visibility":"protected"},"exists":{"signature":"public function exists(mixed $key): bool","summary":"Checks whether a specified key exists in the cache.","params":[{"name":"$key","type":"mixed","description":"A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key."}],"return":{"type":"bool","description":"True if a value exists in cache, false if the value is not in the cache or expired."}},"flushValues":{"signature":"protected function flushValues(): bool","summary":"Deletes all values from cache.","return":{"type":"bool","description":"Whether the flush operation was successful."},"visibility":"protected"},"getValue":{"signature":"protected function getValue(string $key): string|bool","summary":"Retrieves a value from cache with a specified key.","params":[{"name":"$key","type":"string","description":"A unique key identifying the cached value"}],"return":{"type":"string|bool","description":"The value stored in cache, false if the value is not in the cache or expired."},"visibility":"protected"},"getValues":{"signature":"protected function getValues(array $keys): array","summary":"Retrieves multiple values from cache with the specified keys.","params":[{"name":"$keys","type":"array","description":"A list of keys identifying the cached values"}],"return":{"type":"array","description":"A list of cached values indexed by the keys"},"visibility":"protected"},"setValue":{"signature":"protected function setValue(string $key, mixed $value, int $duration): bool","summary":"Stores a value identified by a key in cache.","params":[{"name":"$key","type":"string","description":"The key identifying the value to be cached"},{"name":"$value","type":"mixed","description":"The value to be cached. Most often it's a string. If you have disabled `$serializer`, it could be something else."},{"name":"$duration","type":"int","description":"The number of seconds in which the cached value will expire. 0 means never expire."}],"return":{"type":"bool","description":"True if the value is successfully stored into cache, false otherwise"},"visibility":"protected"},"setValues":{"signature":"protected function setValues(array $data, int $duration): array","summary":"Stores multiple key-value pairs in cache.","params":[{"name":"$data","type":"array","description":"Array where key corresponds to cache key while value is the value stored"},{"name":"$duration","type":"int","description":"The number of seconds in which the cached values will expire. 0 means never expire."}],"return":{"type":"array","description":"Array of failed keys"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultDuration":"yii\\caching\\Cache","keyPrefix":"yii\\caching\\Cache","serializer":"yii\\caching\\Cache"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\caching\\Cache","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","buildKey":"yii\\caching\\Cache","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","delete":"yii\\caching\\Cache","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","flush":"yii\\caching\\Cache","get":"yii\\caching\\Cache","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getOrSet":"yii\\caching\\Cache","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\caching\\Cache","multiAdd":"yii\\caching\\Cache","multiGet":"yii\\caching\\Cache","multiSet":"yii\\caching\\Cache","off":"yii\\base\\Component","offsetExists":"yii\\caching\\Cache","offsetGet":"yii\\caching\\Cache","offsetSet":"yii\\caching\\Cache","offsetUnset":"yii\\caching\\Cache","on":"yii\\base\\Component","set":"yii\\caching\\Cache","trigger":"yii\\base\\Component"}}},"yii\\captcha\\Captcha":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/captcha/captcha/","summary":"Captcha renders a CAPTCHA image and an input field that takes user-entered verification code.","since":"2.0","extends":"yii\\widgets\\InputWidget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"captchaAction":{"type":"string|array","default":"'site/captcha'","description":"The route of the action that generates the CAPTCHA images."},"clientOptions":{"type":"array","description":"The options","access":"read-only","virtual":true},"clientScript":{"type":"array|yii\\web\\client\\ClientScriptInterface|null","default":"null","description":"Client script strategy used to register CAPTCHA client-side behaviour."},"imageOptions":{"type":"array","default":"[]","description":"HTML attributes to be applied to the CAPTCHA image tag."},"options":{"type":"array","default":"[]","description":"The HTML attributes for the input tag."},"template":{"type":"string","default":"'{image} {input}'","description":"The template for arranging the CAPTCHA image tag and the text input tag."}},"methods":{"checkRequirements":{"signature":"public static function checkRequirements(): string","summary":"Checks if there is graphic extension available to generate CAPTCHA images.","return":{"type":"string","description":"The name of the graphic extension, either \"imagick\" or \"gd\"."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if neither ImageMagick nor GD is installed."}],"static":true},"getClientOptions":{"signature":"public function getClientOptions(): array","summary":"Returns the options for the captcha JS widget.","return":{"type":"array","description":"The options"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the widget.","return":{"type":"mixed"}},"registerClientScript":{"signature":"public function registerClientScript(): mixed","summary":"Registers the needed JavaScript.","return":{"type":"mixed"}},"run":{"signature":"public function run(): mixed","summary":"Renders the widget.","return":{"type":"mixed"}}},"inherited":{"properties":{"attribute":"yii\\widgets\\InputWidget","autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","field":"yii\\widgets\\InputWidget","id":"yii\\base\\Widget","model":"yii\\widgets\\InputWidget","name":"yii\\widgets\\InputWidget","value":"yii\\widgets\\InputWidget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasModel":"yii\\widgets\\InputWidget","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","renderInputHtml":"yii\\widgets\\InputWidget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\captcha\\CaptchaAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/captcha/captchaaction/","summary":"CaptchaAction renders a CAPTCHA image.","since":"2.0","extends":"yii\\base\\Action","implements":["yii\\base\\Configurable"],"properties":{"backColor":{"type":"int","default":"0xffffff","description":"The background color."},"fixedVerifyCode":{"type":"string|null","default":"null","description":"The fixed verification code."},"fontFile":{"type":"string","default":"'@yii/captcha/SpicyRice.ttf'","description":"The TrueType font file."},"foreColor":{"type":"int","default":"0x2040a0","description":"The font color."},"height":{"type":"int","default":"50","description":"The height of the generated CAPTCHA image."},"imageLibrary":{"type":"string|null","default":"null","description":"The rendering library to use.","since":"2.0.7"},"maxLength":{"type":"int","default":"7","description":"The maximum length for randomly generated word."},"minLength":{"type":"int","default":"6","description":"The minimum length for randomly generated word."},"offset":{"type":"int","default":"-2","description":"The offset between characters."},"padding":{"type":"int","default":"2","description":"Padding around the text."},"testLimit":{"type":"int","default":"3","description":"How many times should the same CAPTCHA be displayed."},"transparent":{"type":"bool","default":"false","description":"Whether to use transparent background."},"verifyCode":{"type":"string","description":"The verification code.","access":"read-only","virtual":true},"width":{"type":"int","default":"120","description":"The width of the generated CAPTCHA image."}},"methods":{"generateValidationHash":{"signature":"public function generateValidationHash(string $code): int","summary":"Generates a hash code that can be used for client-side validation.","params":[{"name":"$code","type":"string","description":"The CAPTCHA code"}],"return":{"type":"int","description":"A hash code generated from the CAPTCHA code"}},"generateVerifyCode":{"signature":"protected function generateVerifyCode(): string","summary":"Generates a new verification code.","return":{"type":"string","description":"The generated verification code"},"visibility":"protected"},"getSessionKey":{"signature":"protected function getSessionKey(): string","summary":"Returns the session variable name used to store verification code.","return":{"type":"string","description":"The session variable name"},"visibility":"protected"},"getVerifyCode":{"signature":"public function getVerifyCode(bool $regenerate = false): string","summary":"Gets the verification code.","params":[{"name":"$regenerate","type":"bool","default":"false","optional":true,"description":"Whether the verification code should be regenerated."}],"return":{"type":"string","description":"The verification code."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the action.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the font file does not exist."}]},"renderImage":{"signature":"protected function renderImage(string $code): string","summary":"Renders the CAPTCHA image.","params":[{"name":"$code","type":"string","description":"The verification code"}],"return":{"type":"string","description":"Image contents"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if imageLibrary is not supported"}],"visibility":"protected"},"renderImageByGD":{"signature":"protected function renderImageByGD(string $code): string","summary":"Renders the CAPTCHA image based on the code using GD library.","params":[{"name":"$code","type":"string","description":"The verification code"}],"return":{"type":"string","description":"Image contents in PNG format."},"visibility":"protected"},"renderImageByImagick":{"signature":"protected function renderImageByImagick(string $code): string","summary":"Renders the CAPTCHA image based on the code using ImageMagick library.","params":[{"name":"$code","type":"string","description":"The verification code"}],"return":{"type":"string","description":"Image contents in PNG format."},"visibility":"protected"},"run":{"signature":"public function run(): mixed","summary":"Runs the action.","return":{"type":"mixed"}},"setHttpHeaders":{"signature":"protected function setHttpHeaders(): mixed","summary":"Sets the HTTP headers needed by image response.","return":{"type":"mixed"},"visibility":"protected"},"validate":{"signature":"public function validate(string $input, bool $caseSensitive): bool","summary":"Validates the input to see if it matches the generated code.","params":[{"name":"$input","type":"string","description":"User input"},{"name":"$caseSensitive","type":"bool","description":"Whether the comparison should be case-sensitive"}],"return":{"type":"bool","description":"Whether the input is valid"}}},"constants":{"REFRESH_GET_VAR":{"value":"'refresh'","description":"The name of the GET parameter indicating whether the CAPTCHA image should be regenerated."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","controller":"yii\\base\\Action","id":"yii\\base\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\captcha\\CaptchaAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/captcha/captchaasset/","summary":"This asset bundle provides the javascript files needed for the `yii\\captcha\\Captcha` widget.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"['yii\\web\\YiiAsset']"},"js":{"default":"['yii.captcha.js']"},"sourcePath":{"default":"'@yii/assets'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\captcha\\CaptchaValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/captcha/captchavalidator/","summary":"CaptchaValidator validates that the attribute value is the same as the verification code displayed in the CAPTCHA.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"captchaAction":{"type":"string","default":"'site/captcha'","description":"The route of the controller action that renders the CAPTCHA image."},"caseSensitive":{"type":"bool","default":"false","description":"Whether the comparison is case sensitive."},"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script strategy used to register CAPTCHA client-side validation."},"skipOnEmpty":{"type":"bool","default":"false","description":"Whether to skip this validator if the input is empty."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"createCaptchaAction":{"signature":"public function createCaptchaAction(): yii\\captcha\\CaptchaAction","summary":"Creates the CAPTCHA action object from the route specified by `$captchaAction`.","return":{"type":"yii\\captcha\\CaptchaAction","description":"The action object"},"throws":[{"type":"yii\\base\\InvalidConfigException"}]},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttribute":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\console\\Application":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/application/","summary":"Application represents a console application.","since":"2.0","extends":"yii\\base\\Application","implements":["yii\\base\\Configurable"],"properties":{"controller":{"type":"yii\\console\\Controller|null","default":"null","description":"The currently active controller instance"},"defaultRoute":{"type":"string","default":"'help'","description":"The default route of this application."},"enableCoreCommands":{"type":"bool","default":"true","description":"Whether to enable the commands provided by the core framework."},"errorHandler":{"type":"yii\\console\\ErrorHandler","description":"The error handler application component.","access":"read-only","virtual":true},"request":{"type":"yii\\console\\Request","description":"The request component.","access":"read-only","virtual":true},"response":{"type":"yii\\console\\Response","description":"The response component.","access":"read-only","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(mixed $config = [])","summary":"Constructor.","params":[{"name":"$config","type":"mixed","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties. Note that the configuration must contain both `$id` and `$basePath`."}],"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if either `$id` or `$basePath` configuration is missing."}]},"coreCommands":{"signature":"public function coreCommands(): array","summary":"Returns the configuration of the built-in commands.","return":{"type":"array","description":"The configuration of the built-in commands."}},"coreComponents":{"signature":"public function coreComponents(): array","summary":"Returns the configuration of core application components.","return":{"type":"array"}},"getErrorHandler":{"signature":"public function getErrorHandler(): yii\\console\\ErrorHandler","summary":"Returns the error handler component.","return":{"type":"yii\\console\\ErrorHandler","description":"The error handler application component."}},"getRequest":{"signature":"public function getRequest(): yii\\console\\Request","summary":"Returns the request component.","return":{"type":"yii\\console\\Request","description":"The request component."}},"getResponse":{"signature":"public function getResponse(): yii\\console\\Response","summary":"Returns the response component.","return":{"type":"yii\\console\\Response","description":"The response component."}},"handleRequest":{"signature":"public function handleRequest(yii\\console\\Request $request): yii\\console\\Response","summary":"Handles the specified request.","params":[{"name":"$request","type":"yii\\console\\Request","description":"The request to be handled"}],"return":{"type":"yii\\console\\Response","description":"The resulting response"}},"init":{"signature":"public function init(): mixed","summary":"Initialize the application.","return":{"type":"mixed"}},"loadConfig":{"signature":"protected function loadConfig(array $config): array","summary":"Loads the configuration.","params":[{"name":"$config","type":"array","description":"The configuration provided in the constructor."}],"return":{"type":"array","description":"The actual configuration to be used by the application."},"visibility":"protected"},"runAction":{"signature":"public function runAction(string $route, array $params = []): int|yii\\console\\Response|null","summary":"Runs a controller action specified by a route.","params":[{"name":"$route","type":"string","description":"The route that specifies the action."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be passed to the action"}],"return":{"type":"int|yii\\console\\Response|null","description":"The result of the action. This can be either an exit code or Response object. Exit code 0 means normal, and other values mean abnormal. Exit code of `null` is treated as `0` as well."},"throws":[{"type":"yii\\console\\Exception","description":"if the route is invalid"}]}},"constants":{"OPTION_APPCONFIG":{"value":"'appconfig'","description":"The option name for specifying the application configuration file path."}},"inherited":{"properties":{"actionMap":"yii\\base\\Module","actionNamespace":"yii\\base\\Module","aliases":"yii\\base\\Module","assetManager":"yii\\base\\Application","authManager":"yii\\base\\Application","basePath":"yii\\base\\Application","behaviors":"yii\\base\\Component","bootstrap":"yii\\base\\Application","cache":"yii\\base\\Application","charset":"yii\\base\\Application","components":"yii\\di\\ServiceLocator","container":"yii\\base\\Application","controllerMap":"yii\\base\\Module","controllerNamespace":"yii\\base\\Application","controllerPath":"yii\\base\\Module","db":"yii\\base\\Application","extensions":"yii\\base\\Application","formatter":"yii\\base\\Application","i18n":"yii\\base\\Application","id":"yii\\base\\Module","language":"yii\\base\\Application","layout":"yii\\base\\Application","layoutPath":"yii\\base\\Module","loadedModules":"yii\\base\\Application","log":"yii\\base\\Application","mailer":"yii\\base\\Application","module":"yii\\base\\Module","modules":"yii\\base\\Module","name":"yii\\base\\Application","params":"yii\\base\\Module","requestedAction":"yii\\base\\Application","requestedParams":"yii\\base\\Application","requestedRoute":"yii\\base\\Application","runtimePath":"yii\\base\\Application","security":"yii\\base\\Application","sourceLanguage":"yii\\base\\Application","state":"yii\\base\\Application","timeZone":"yii\\base\\Application","uniqueId":"yii\\base\\Application","urlManager":"yii\\base\\Application","vendorPath":"yii\\base\\Application","version":"yii\\base\\Module","view":"yii\\base\\Application","viewPath":"yii\\base\\Module"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\di\\ServiceLocator","__isset":"yii\\di\\ServiceLocator","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterAction":"yii\\base\\Module","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\base\\Module","behaviors":"yii\\base\\Component","bootstrap":"yii\\base\\Application","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clear":"yii\\di\\ServiceLocator","createController":"yii\\base\\Module","createControllerByID":"yii\\base\\Module","createStandaloneAction":"yii\\base\\Module","defaultVersion":"yii\\base\\Module","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Application","ensureBehaviors":"yii\\base\\Component","get":"yii\\base\\Module","getAssetManager":"yii\\base\\Application","getAuthManager":"yii\\base\\Application","getBasePath":"yii\\base\\Module","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCache":"yii\\base\\Application","getComponents":"yii\\di\\ServiceLocator","getControllerPath":"yii\\base\\Module","getDb":"yii\\base\\Application","getFormatter":"yii\\base\\Application","getI18n":"yii\\base\\Application","getInstance":"yii\\base\\Module","getLayoutPath":"yii\\base\\Module","getLog":"yii\\base\\Application","getMailer":"yii\\base\\Application","getModule":"yii\\base\\Module","getModules":"yii\\base\\Module","getRuntimePath":"yii\\base\\Application","getSecurity":"yii\\base\\Application","getTimeZone":"yii\\base\\Application","getUniqueId":"yii\\base\\Application","getUrlManager":"yii\\base\\Application","getVendorPath":"yii\\base\\Application","getVersion":"yii\\base\\Module","getView":"yii\\base\\Application","getViewPath":"yii\\base\\Module","has":"yii\\base\\Module","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasModule":"yii\\base\\Module","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","preInit":"yii\\base\\Application","registerErrorHandler":"yii\\base\\Application","run":"yii\\base\\Application","runMappedAction":"yii\\base\\Module","runStandaloneAction":"yii\\base\\Module","set":"yii\\di\\ServiceLocator","setAliases":"yii\\base\\Module","setBasePath":"yii\\base\\Application","setComponents":"yii\\di\\ServiceLocator","setContainer":"yii\\base\\Application","setControllerPath":"yii\\base\\Module","setInstance":"yii\\base\\Module","setLayoutPath":"yii\\base\\Module","setModule":"yii\\base\\Module","setModules":"yii\\base\\Module","setRuntimePath":"yii\\base\\Application","setTimeZone":"yii\\base\\Application","setVendorPath":"yii\\base\\Application","setVersion":"yii\\base\\Module","setViewPath":"yii\\base\\Module","trigger":"yii\\base\\Component"},"constants":{"STATE_BEGIN":"yii\\base\\Application","STATE_INIT":"yii\\base\\Application","STATE_BEFORE_REQUEST":"yii\\base\\Application","STATE_HANDLING_REQUEST":"yii\\base\\Application","STATE_AFTER_REQUEST":"yii\\base\\Application","STATE_SENDING_RESPONSE":"yii\\base\\Application","STATE_END":"yii\\base\\Application"},"events":{"EVENT_BEFORE_REQUEST":"yii\\base\\Application","EVENT_AFTER_REQUEST":"yii\\base\\Application","EVENT_BEFORE_ACTION":"yii\\base\\Module","EVENT_AFTER_ACTION":"yii\\base\\Module"}}},"yii\\console\\Controller":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controller/","summary":"Controller is the base class of console command classes.","since":"2.0","extends":"yii\\base\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"color":{"type":"bool|null","default":"null","description":"Whether to enable ANSI color in the output."},"help":{"type":"bool","default":"false","description":"Whether to display help information about current command.","since":"2.0.10"},"helpSummary":{"type":"string","description":"The one-line short summary describing this controller.","access":"read-only","virtual":true},"interactive":{"type":"bool","default":"true","description":"Whether to run the command interactively."},"passedOptions":{"type":"array","description":"The names of the options passed during execution.","access":"read-only","virtual":true},"passedOptionValues":{"type":"array","description":"The properties corresponding to the passed options.","access":"read-only","virtual":true},"request":{"type":"yii\\console\\Request","description":"The request object.","virtual":true},"response":{"type":"yii\\console\\Response","description":"The response object.","virtual":true},"silentExitOnException":{"type":"bool|null","default":"null","description":"If true - script finish with `ExitCode::OK` in case of exception. false - `ExitCode::UNSPECIFIED_ERROR`.","since":"2.0.36"}},"methods":{"ansiFormat":{"signature":"public function ansiFormat(string $string): string","summary":"Formats a string with ANSI codes.","params":[{"name":"$string","type":"string","description":"The string to be formatted"}],"return":{"type":"string"}},"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is executed.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to run."}},"bindActionParams":{"signature":"public function bindActionParams(yii\\base\\Action<static> $action, array<array-key, mixed> $params): mixed[]","summary":"Binds the parameters to the action.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action to be bound with parameters"},{"name":"$params","type":"array<array-key, mixed>","description":"The parameters to be bound to the action"}],"return":{"type":"mixed[]","description":"The valid parameters that the action can run with."},"throws":[{"type":"yii\\console\\Exception","description":"if there are unknown options or missing arguments"}]},"confirm":{"signature":"public function confirm(string $message, bool $default = false): bool","summary":"Asks user to confirm by typing y or n.","params":[{"name":"$message","type":"string","description":"To echo out before waiting for user input"},{"name":"$default","type":"bool","default":"false","optional":true,"description":"This value is returned if no selection is made."}],"return":{"type":"bool","description":"Whether user confirmed. Will return true if `$interactive` is false."}},"getActionArgsHelp":{"signature":"public function getActionArgsHelp(yii\\base\\Action<static> $action): array","summary":"Returns the help information for the anonymous arguments for the action.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action instance"}],"return":{"type":"array","description":"The help information of the action arguments"}},"getActionHelp":{"signature":"public function getActionHelp(yii\\base\\Action<static> $action): string","summary":"Returns the detailed help information for the specified action.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"Action to get help for"}],"return":{"type":"string","description":"The detailed help information for the specified action."}},"getActionHelpSummary":{"signature":"public function getActionHelpSummary(yii\\base\\Action<static> $action): string","summary":"Returns a one-line short summary describing the specified action.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"Action to get summary for"}],"return":{"type":"string","description":"A one-line short summary describing the specified action."}},"getActionMethodReflection":{"signature":"protected function getActionMethodReflection(yii\\base\\Action<static> $action): ReflectionFunctionAbstract","params":[{"name":"$action","type":"yii\\base\\Action<static>"}],"return":{"type":"ReflectionFunctionAbstract"},"visibility":"protected"},"getActionOptionsHelp":{"signature":"public function getActionOptionsHelp(yii\\base\\Action<static> $action): array","summary":"Returns the help information for the options for the action.","params":[{"name":"$action","type":"yii\\base\\Action<static>"}],"return":{"type":"array","description":"The help information of the action options"}},"getHelp":{"signature":"public function getHelp(): string","summary":"Returns help information for this controller.","return":{"type":"string","description":"The help information for this controller."}},"getHelpSummary":{"signature":"public function getHelpSummary(): string","summary":"Returns one-line short summary describing this controller.","return":{"type":"string","description":"The one-line short summary describing this controller."}},"getOptionValues":{"signature":"public function getOptionValues(string $actionID): array","summary":"Returns properties corresponding to the options for the action id Child classes may override this method to specify possible properties.","params":[{"name":"$actionID","type":"string","description":"The action id of the current request"}],"return":{"type":"array","description":"Properties corresponding to the options for the action"}},"getPassedOptions":{"signature":"public function getPassedOptions(): array","summary":"Returns the names of valid options passed during execution.","return":{"type":"array","description":"The names of the options passed during execution"}},"getPassedOptionValues":{"signature":"public function getPassedOptionValues(): array","summary":"Returns the properties corresponding to the passed options.","return":{"type":"array","description":"The properties corresponding to the passed options"}},"isColorEnabled":{"signature":"public function isColorEnabled(resource $stream = \\STDOUT): bool","summary":"Returns a value indicating whether ANSI color is enabled.","params":[{"name":"$stream","type":"resource","default":"\\STDOUT","optional":true,"description":"The stream to check."}],"return":{"type":"bool","description":"Whether to enable ANSI style in output."}},"optionAliases":{"signature":"public function optionAliases(): array","summary":"Returns option alias names.","return":{"type":"array","description":"The options alias names valid for the action where the keys is alias name for option and value is option name."},"since":"2.0.8"},"options":{"signature":"public function options(string $actionID): string[]","summary":"Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name.","params":[{"name":"$actionID","type":"string","description":"The action id of the current request"}],"return":{"type":"string[]","description":"The names of the options valid for the action"}},"parseDocCommentDetail":{"signature":"protected function parseDocCommentDetail(ReflectionClass<static>|ReflectionProperty|ReflectionFunctionAbstract $reflection): string","summary":"Returns full description from the docblock.","params":[{"name":"$reflection","type":"ReflectionClass<static>|ReflectionProperty|ReflectionFunctionAbstract"}],"return":{"type":"string"},"visibility":"protected"},"parseDocCommentSummary":{"signature":"protected function parseDocCommentSummary(ReflectionClass<static>|ReflectionProperty|ReflectionFunctionAbstract $reflection): string","summary":"Returns the first line of docblock.","params":[{"name":"$reflection","type":"ReflectionClass<static>|ReflectionProperty|ReflectionFunctionAbstract"}],"return":{"type":"string"},"visibility":"protected"},"parseDocCommentTags":{"signature":"protected function parseDocCommentTags(ReflectionClass<object>|ReflectionProperty|ReflectionFunctionAbstract $reflection): array","summary":"Parses the comment block into tags.","params":[{"name":"$reflection","type":"ReflectionClass<object>|ReflectionProperty|ReflectionFunctionAbstract","description":"The comment block"}],"return":{"type":"array","description":"The parsed tags"},"visibility":"protected"},"prompt":{"signature":"public function prompt(string $text, array $options = []): string","summary":"Prompts the user for input and validates it.","params":[{"name":"$text","type":"string","description":"Prompt string"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The options to validate the input: - required: whether it is required or not - default: default value if no input is inserted by the user - pattern: regular expression pattern to validate user input - validator: a callable function to validate input. The function must accept two parameters: - $input: the user input to validate - $error: the error value passed by reference if validation failed. An example of how to use the prompt method with a validator function. ``` $code = $this->prompt('Enter 4-Chars-Pin', ['required' => true, 'validator' => function($input, &$error) { if (strlen($input) !== 4) { $error = 'The Pin must be exactly 4 chars!'; return false; } return true; }]); ```"}],"return":{"type":"string","description":"The user input"}},"runAction":{"signature":"public function runAction(string $id, array $params = []): mixed","summary":"Runs an action with the specified action ID and parameters.","params":[{"name":"$id","type":"string","description":"The ID of the action to be executed."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) to be passed to the action."}],"return":{"type":"mixed","description":"The result of the action."},"throws":[{"type":"yii\\base\\InvalidRouteException","description":"if the requested action ID cannot be resolved into an action successfully."},{"type":"yii\\console\\Exception","description":"if there are unknown options or missing arguments"}]},"select":{"signature":"public function select(string $prompt, array $options = [], string|null $default = null): string","summary":"Gives the user an option to choose from. Giving '?' as an input will show a list of options to choose from and their explanations.","params":[{"name":"$prompt","type":"string","description":"The prompt message"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Key-value array of options to choose from"},{"name":"$default","type":"string|null","default":"null","optional":true,"description":"Value to use when the user doesn't provide an option. If the default is `null`, the user is required to select an option."}],"return":{"type":"string","description":"An option character the user chose"}},"stderr":{"signature":"public function stderr(string $string): int|bool","summary":"Prints a string to STDERR.","params":[{"name":"$string","type":"string","description":"The string to print"}],"return":{"type":"int|bool","description":"Number of bytes printed or false on error"}},"stdout":{"signature":"public function stdout(string $string): int|bool","summary":"Prints a string to STDOUT.","params":[{"name":"$string","type":"string","description":"The string to print"}],"return":{"type":"int|bool","description":"Number of bytes printed or false on error"}}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","defaultAction":"yii\\base\\Controller","id":"yii\\base\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","route":"yii\\base\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModules":"yii\\base\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\ErrorHandler":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/errorhandler/","summary":"ErrorHandler handles uncaught PHP errors and exceptions.","since":"2.0","extends":"yii\\base\\ErrorHandler","implements":["yii\\base\\Configurable"],"methods":{"formatMessage":{"signature":"protected function formatMessage(string $message, array $format = [\\yii\\helpers\\Console::FG_RED, \\yii\\helpers\\Console::BOLD]): string","summary":"Colorizes a message for console output.","params":[{"name":"$message","type":"string","description":"The message to colorize."},{"name":"$format","type":"array","default":"[\\yii\\helpers\\Console::FG_RED, \\yii\\helpers\\Console::BOLD]","optional":true,"description":"The message format."}],"return":{"type":"string","description":"The colorized message."},"visibility":"protected"},"renderException":{"signature":"protected function renderException(Throwable $exception): mixed","summary":"Renders an exception using ansi format for console output.","params":[{"name":"$exception","type":"Throwable","description":"The exception to be rendered."}],"return":{"type":"mixed"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","discardExistingOutput":"yii\\base\\ErrorHandler","exception":"yii\\base\\ErrorHandler","memoryReserveSize":"yii\\base\\ErrorHandler","silentExitOnException":"yii\\base\\ErrorHandler"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clearOutput":"yii\\base\\ErrorHandler","convertExceptionToString":"yii\\base\\ErrorHandler","convertExceptionToVerboseString":"yii\\base\\ErrorHandler","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","handleError":"yii\\base\\ErrorHandler","handleException":"yii\\base\\ErrorHandler","handleFallbackExceptionMessage":"yii\\base\\ErrorHandler","handleFatalError":"yii\\base\\ErrorHandler","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\ErrorHandler","logException":"yii\\base\\ErrorHandler","off":"yii\\base\\Component","on":"yii\\base\\Component","register":"yii\\base\\ErrorHandler","trigger":"yii\\base\\Component","unregister":"yii\\base\\ErrorHandler"},"events":{"EVENT_SHUTDOWN":"yii\\base\\ErrorHandler"}}},"yii\\console\\Exception":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/exception/","summary":"Exception represents an exception caused by incorrect usage of a console command.","since":"2.0","extends":"yii\\base\\UserException","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\console\\ExitCode":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/exitcode/","summary":"This class provides constants for defining console command exit codes.","since":"2.0.13","properties":{"reasons":{"type":"array","default":"[self::OK => 'Success', self::UNSPECIFIED_ERROR => 'Unspecified error', self::USAGE => 'Incorrect usage, argument or option error', self::DATAERR => 'Error in input data', self::NOINPUT => 'Input file not found or unreadable', self::NOUSER => 'User not found', self::NOHOST => 'Host not found', self::UNAVAILABLE => 'A required service is unavailable', self::SOFTWARE => 'Internal error', self::OSERR => 'Error making system call or using OS service', self::OSFILE => 'Error accessing system file', self::CANTCREAT => 'Cannot create output file', self::IOERR => 'I/O error', self::TEMPFAIL => 'Temporary failure', self::PROTOCOL => 'Unexpected remote service behavior', self::NOPERM => 'Insufficient permissions', self::CONFIG => 'Configuration error']","description":"A map of reason descriptions for exit codes.","static":true}},"methods":{"getReason":{"signature":"public static function getReason(int $exitCode): string","summary":"Returns a short reason text for the given exit code.","params":[{"name":"$exitCode","type":"int","description":"One of the constants defined in this class."}],"return":{"type":"string","description":"The reason text, or `\"Unknown exit code\"` if the code is not listed in `$reasons`."},"static":true}},"constants":{"OK":{"value":"0","description":"The command completed successfully."},"UNSPECIFIED_ERROR":{"value":"1","description":"The command exited with an error code that says nothing about the error."},"USAGE":{"value":"64","description":"The command was used incorrectly, e.g., with the wrong number of arguments, a bad flag, a bad syntax in a parameter, or whatever."},"DATAERR":{"value":"65","description":"The input data was incorrect in some way. This should only be used for user's data and not system files."},"NOINPUT":{"value":"66","description":"An input file (not a system file) did not exist or was not readable."},"NOUSER":{"value":"67","description":"The user specified did not exist. This might be used for mail addresses or remote logins."},"NOHOST":{"value":"68","description":"The host specified did not exist. This is used in mail addresses or network requests."},"UNAVAILABLE":{"value":"69","description":"A service is unavailable. This can occur if a support program or file does not exist. This can also be used as a catchall message when something you wanted to do does not work, but you do not know why."},"SOFTWARE":{"value":"70","description":"An internal software error has been detected. This should be limited to non-operating system related errors as possible."},"OSERR":{"value":"71","description":"An operating system error has been detected. This is intended to be used for such things as ``cannot fork'', ``cannot create pipe'', or the like. It includes things like getuid returning a user that does not exist in the passwd file."},"OSFILE":{"value":"72","description":"Some system file (e.g., /etc/passwd, /var/run/utx.active, etc.) does not exist, cannot be opened, or has some sort of error (e.g., syntax error)."},"CANTCREAT":{"value":"73","description":"A (user specified) output file cannot be created."},"IOERR":{"value":"74","description":"An error occurred while doing I/O on some file."},"TEMPFAIL":{"value":"75","description":"Temporary failure, indicating something that is not really an error. In sendmail, this means that a mailer (e.g.) could not create a connection, and the request should be reattempted later."},"PROTOCOL":{"value":"76","description":"The remote system returned something that was ``not possible'' during a protocol exchange."},"NOPERM":{"value":"77","description":"You did not have sufficient permission to perform the operation. This is not intended for file system problems, which should use NOINPUT or CANTCREAT, but rather for higher level permissions."},"CONFIG":{"value":"78","description":"Something was found in an unconfigured or misconfigured state."}}},"yii\\console\\Markdown":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/markdown/","summary":"A Markdown parser that enhances markdown for reading in console environments.","since":"2.0","extends":"cebe\\markdown\\Parser","traits":["cebe\\markdown\\block\\FencedCodeTrait","cebe\\markdown\\inline\\CodeTrait","cebe\\markdown\\inline\\EmphStrongTrait","cebe\\markdown\\inline\\StrikeoutTrait"],"properties":{"escapeCharacters":{"type":"array","default":"['\\\\', '`', '*', '_', '~']","description":"These are \"escapeable\" characters.","visibility":"protected"}},"methods":{"renderCode":{"signature":"protected function renderCode(array $block): string","summary":"Renders a code block.","params":[{"name":"$block","type":"array"}],"return":{"type":"string"},"visibility":"protected"},"renderEmph":{"signature":"protected function renderEmph(array $element): string","summary":"Renders empathized elements.","params":[{"name":"$element","type":"array"}],"return":{"type":"string"},"visibility":"protected"},"renderInlineCode":{"signature":"protected function renderInlineCode(array $element): string","summary":"Renders an inline code span `` ` ``.","params":[{"name":"$element","type":"array"}],"return":{"type":"string"},"visibility":"protected"},"renderParagraph":{"signature":"protected function renderParagraph(array $block): string","summary":"Render a paragraph block.","params":[{"name":"$block","type":"array"}],"return":{"type":"string"},"visibility":"protected"},"renderStrike":{"signature":"protected function renderStrike(array $element): string","summary":"Renders the strike through feature.","params":[{"name":"$element","type":"array"}],"return":{"type":"string"},"visibility":"protected"},"renderStrong":{"signature":"protected function renderStrong(array $element): string","summary":"Renders strong elements.","params":[{"name":"$element","type":"array"}],"return":{"type":"string"},"visibility":"protected"}}},"yii\\console\\Request":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/request/","summary":"The console Request represents the environment information for a console application.","since":"2.0","extends":"yii\\base\\Request","implements":["yii\\base\\Configurable"],"properties":{"params":{"type":"array","description":"The command line arguments.","virtual":true}},"methods":{"getParams":{"signature":"public function getParams(): array","summary":"Returns the command line arguments.","return":{"type":"array","description":"The command line arguments. It does not include the entry script name."}},"resolve":{"signature":"public function resolve(): array","summary":"Resolves the current request into a route and the associated parameters.","return":{"type":"array","description":"The first element is the route, and the second is the associated parameters."},"throws":[{"type":"yii\\console\\Exception","description":"when parameter is wrong and can not be resolved"}]},"setParams":{"signature":"public function setParams(array $params): mixed","summary":"Sets the command line arguments.","params":[{"name":"$params","type":"array","description":"The command line arguments"}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","isConsoleRequest":"yii\\base\\Request","scriptFile":"yii\\base\\Request"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getIsConsoleRequest":"yii\\base\\Request","getScriptFile":"yii\\base\\Request","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","setIsConsoleRequest":"yii\\base\\Request","setScriptFile":"yii\\base\\Request","trigger":"yii\\base\\Component"}}},"yii\\console\\Response":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/response/","summary":"The console Response represents the result of a console application.","since":"2.0","extends":"yii\\base\\Response","implements":["yii\\base\\Configurable"],"inherited":{"properties":{"behaviors":"yii\\base\\Component","exitStatus":"yii\\base\\Response"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clearOutputBuffers":"yii\\base\\Response","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","send":"yii\\base\\Response","trigger":"yii\\base\\Component"}}},"yii\\console\\UnknownCommandException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/unknowncommandexception/","summary":"UnknownCommandException represents an exception caused by incorrect usage of a console command.","since":"2.0.11","extends":"yii\\console\\Exception","properties":{"application":{"type":"yii\\console\\Application","default":"null","visibility":"protected"},"command":{"type":"string","default":"null","description":"The name of the command that could not be recognized."}},"methods":{"__construct":{"signature":"public function __construct(string $route, yii\\console\\Application $application, int $code = 0, Throwable|null $previous = null)","summary":"Construct the exception.","params":[{"name":"$route","type":"string","description":"The route of the command that could not be found."},{"name":"$application","type":"yii\\console\\Application","description":"The console application instance involved."},{"name":"$code","type":"int","default":"0","optional":true,"description":"The Exception code."},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]},"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}},"getSuggestedAlternatives":{"signature":"public function getSuggestedAlternatives(): array","summary":"Suggest alternative commands for `$command` based on string similarity.","return":{"type":"array","description":"A list of suggested alternatives sorted by similarity."}}}},"yii\\console\\controllers\\AssetController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/assetcontroller/","summary":"Allows you to combine and compress your JavaScript and CSS files.","since":"2.0","extends":"yii\\console\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"assetManager":{"type":"yii\\web\\AssetManager|array","description":"Asset manager instance or its array configuration.","virtual":true},"bundles":{"type":"array","default":"[]","description":"List of asset bundles to be compressed."},"cssCompressor":{"type":"string|callable","default":"'java -jar yuicompressor.jar --type css {from} -o {to}'","description":"CSS file compressor."},"defaultAction":{"type":"string","default":"'compress'","description":"Controller default action ID."},"deleteSource":{"type":"bool","default":"false","description":"Whether to delete asset source files after compression.","since":"2.0.10"},"jsCompressor":{"type":"string|callable","default":"'java -jar compiler.jar --js {from} --js_output_file {to}'","description":"JavaScript file compressor."},"targets":{"type":"array","default":"[]","description":"List of asset bundles, which represents output compressed files."}},"methods":{"actionCompress":{"signature":"public function actionCompress(string $configFile, string $bundleFile): mixed","summary":"Combines and compresses the asset files according to the given configuration.","params":[{"name":"$configFile","type":"string","description":"Configuration file name."},{"name":"$bundleFile","type":"string","description":"Output asset bundles configuration file name."}],"return":{"type":"mixed"}},"actionTemplate":{"signature":"public function actionTemplate(string $configFile): int","summary":"Creates template of configuration file for `actionCompress()`.","params":[{"name":"$configFile","type":"string","description":"Output file name."}],"return":{"type":"int","description":"CLI exit code"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}]},"adjustCssUrl":{"signature":"protected function adjustCssUrl(string $cssContent, string $inputFilePath, string $outputFilePath): string","summary":"Adjusts CSS content allowing URL references pointing to the original resources.","params":[{"name":"$cssContent","type":"string","description":"Source CSS content."},{"name":"$inputFilePath","type":"string","description":"Input CSS file name."},{"name":"$outputFilePath","type":"string","description":"Output CSS file name."}],"return":{"type":"string","description":"Adjusted CSS content."},"visibility":"protected"},"adjustDependency":{"signature":"protected function adjustDependency(yii\\web\\AssetBundle[] $targets, yii\\web\\AssetBundle[] $bundles): yii\\web\\AssetBundle[]","summary":"Adjust dependencies between asset bundles in the way source bundles begin to depend on output ones.","params":[{"name":"$targets","type":"yii\\web\\AssetBundle[]","description":"Output asset bundles."},{"name":"$bundles","type":"yii\\web\\AssetBundle[]","description":"Source asset bundles."}],"return":{"type":"yii\\web\\AssetBundle[]","description":"Output asset bundles."},"visibility":"protected"},"buildTarget":{"signature":"protected function buildTarget(yii\\web\\AssetBundle $target, string $type, yii\\web\\AssetBundle[] $bundles): mixed","summary":"Builds output asset bundle.","params":[{"name":"$target","type":"yii\\web\\AssetBundle","description":"Output asset bundle"},{"name":"$type","type":"string","description":"Either 'js' or 'css'."},{"name":"$bundles","type":"yii\\web\\AssetBundle[]","description":"Source asset bundles."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}],"visibility":"protected"},"combineCssFiles":{"signature":"public function combineCssFiles(array $inputFiles, string $outputFile): mixed","summary":"Combines CSS files into a single one.","params":[{"name":"$inputFiles","type":"array","description":"Source file names."},{"name":"$outputFile","type":"string","description":"Output file name."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}]},"combineJsFiles":{"signature":"public function combineJsFiles(array $inputFiles, string $outputFile): mixed","summary":"Combines JavaScript files into a single one.","params":[{"name":"$inputFiles","type":"array","description":"Source file names."},{"name":"$outputFile","type":"string","description":"Output file name."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}]},"compressCssFiles":{"signature":"protected function compressCssFiles(array $inputFiles, string $outputFile): mixed","summary":"Compresses given CSS files and combines them into the single one.","params":[{"name":"$inputFiles","type":"array","description":"List of source file names."},{"name":"$outputFile","type":"string","description":"Output file name."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure"}],"visibility":"protected"},"compressJsFiles":{"signature":"protected function compressJsFiles(array $inputFiles, string $outputFile): mixed","summary":"Compresses given JavaScript files and combines them into the single one.","params":[{"name":"$inputFiles","type":"array","description":"List of source file names."},{"name":"$outputFile","type":"string","description":"Output file name."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure"}],"visibility":"protected"},"getAssetManager":{"signature":"public function getAssetManager(): yii\\web\\AssetManager","summary":"Returns the asset manager instance.","return":{"type":"yii\\web\\AssetManager","description":"Asset manager instance."},"throws":[{"type":"yii\\console\\Exception","description":"on invalid configuration."}]},"loadBundles":{"signature":"protected function loadBundles(string[] $bundles): yii\\web\\AssetBundle[]","summary":"Creates full list of source asset bundles.","params":[{"name":"$bundles","type":"string[]","description":"List of asset bundle names"}],"return":{"type":"yii\\web\\AssetBundle[]","description":"List of source asset bundles."},"visibility":"protected"},"loadConfiguration":{"signature":"protected function loadConfiguration(string $configFile): mixed","summary":"Applies configuration from the given file to self instance.","params":[{"name":"$configFile","type":"string","description":"Configuration file name."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}],"visibility":"protected"},"loadDependency":{"signature":"protected function loadDependency(yii\\web\\AssetBundle $bundle, array &$result): mixed","summary":"Loads asset bundle dependencies recursively.","params":[{"name":"$bundle","type":"yii\\web\\AssetBundle","description":"Bundle instance"},{"name":"$result","type":"array","byReference":true,"description":"Already loaded bundles list."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}],"visibility":"protected"},"loadTargets":{"signature":"protected function loadTargets(array $targets, yii\\web\\AssetBundle[] $bundles): yii\\web\\AssetBundle[]","summary":"Creates full list of output asset bundles.","params":[{"name":"$targets","type":"array","description":"Output asset bundles configuration."},{"name":"$bundles","type":"yii\\web\\AssetBundle[]","description":"List of source asset bundles."}],"return":{"type":"yii\\web\\AssetBundle[]","description":"List of output asset bundles."},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}],"visibility":"protected"},"registerBundle":{"signature":"protected function registerBundle(yii\\web\\AssetBundle[] $bundles, string $name, array &$registered): mixed","summary":"Registers asset bundles including their dependencies.","params":[{"name":"$bundles","type":"yii\\web\\AssetBundle[]","description":"Asset bundles list."},{"name":"$name","type":"string","description":"Bundle name."},{"name":"$registered","type":"array","byReference":true,"description":"Stores already registered names."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"if circular dependency is detected."}],"visibility":"protected"},"saveTargets":{"signature":"protected function saveTargets(yii\\web\\AssetBundle[] $targets, string $bundleFile): mixed","summary":"Saves new asset bundles configuration.","params":[{"name":"$targets","type":"yii\\web\\AssetBundle[]","description":"List of asset bundles to be saved."},{"name":"$bundleFile","type":"string","description":"Output file name."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}],"visibility":"protected"},"setAssetManager":{"signature":"public function setAssetManager(yii\\web\\AssetManager|array $assetManager): mixed","summary":"Sets asset manager instance or configuration.","params":[{"name":"$assetManager","type":"yii\\web\\AssetManager|array","description":"Asset manager instance or its array configuration."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on invalid argument type."}]}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\console\\Controller","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","isColorEnabled":"yii\\console\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","optionAliases":"yii\\console\\Controller","options":"yii\\console\\Controller","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\controllers\\BaseMigrateController":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/basemigratecontroller/","summary":"BaseMigrateController is the base class for migrate controllers.","since":"2.0","extends":"yii\\console\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"compact":{"type":"bool","default":"false","description":"Indicates whether the console output should be compacted.","since":"2.0.13"},"defaultAction":{"type":"string","default":"'up'","description":"The default command action."},"migrationNamespaces":{"type":"array","default":"[]","description":"List of namespaces containing the migration classes.","since":"2.0.10"},"migrationPath":{"type":"string|array|null","default":"['@app/migrations']","description":"The directory containing the migration classes."},"newFileMode":{"type":"int|null","default":"null","description":"The permission to be set for newly generated migration files.","since":"2.0.43"},"newFileOwnership":{"type":"string|int|null","default":"null","description":"The user and/or group ownership to be set for newly generated migration files.","since":"2.0.43"},"templateFile":{"type":"string","default":"null","description":"The template file for generating new migrations."}},"methods":{"actionCreate":{"signature":"public function actionCreate(string $name): mixed","summary":"Creates a new migration.","params":[{"name":"$name","type":"string","description":"The name of the new migration. This should only contain letters, digits, underscores and/or backslashes. Note: If the migration name is of a special form, for example create_xxx or drop_xxx, then the generated migration file will contain extra code, in this case for creating/dropping tables."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"if the name argument is invalid."}]},"actionDown":{"signature":"public function actionDown(int|string $limit = 1): int","summary":"Downgrades the application by reverting old migrations.","params":[{"name":"$limit","type":"int|string","default":"1","optional":true,"description":"The number of migrations to be reverted. Defaults to 1, meaning the last applied migration will be reverted. When value is \"all\", all migrations will be reverted."}],"return":{"type":"int","description":"The status of the action execution. 0 means normal, other values mean abnormal."},"throws":[{"type":"yii\\console\\Exception","description":"if the number of the steps specified is less than 1."}]},"actionFresh":{"signature":"public function actionFresh(): mixed","summary":"Drops all tables and related constraints. Starts the migration from the beginning.","return":{"type":"mixed"},"since":"2.0.13"},"actionHistory":{"signature":"public function actionHistory(int|string $limit = 10): mixed","summary":"Displays the migration history.","params":[{"name":"$limit","type":"int|string","default":"10","optional":true,"description":"The maximum number of migrations to be displayed. If it is \"all\", the whole migration history will be displayed."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"if invalid limit value passed"}]},"actionMark":{"signature":"public function actionMark(string $version): int","summary":"Modifies the migration history to the specified version.","params":[{"name":"$version","type":"string","description":"The version at which the migration history should be marked. This can be either the timestamp or the full name of the migration. You may specify the name `m000000_000000_base` to set the migration history to a state where no migration has been applied."}],"return":{"type":"int","description":"CLI exit code"},"throws":[{"type":"yii\\console\\Exception","description":"if the version argument is invalid or the version cannot be found."}]},"actionNew":{"signature":"public function actionNew(int|string $limit = 10): mixed","summary":"Displays the un-applied new migrations.","params":[{"name":"$limit","type":"int|string","default":"10","optional":true,"description":"The maximum number of new migrations to be displayed. If it is `all`, all available new migrations will be displayed."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"if invalid limit value passed"}]},"actionRedo":{"signature":"public function actionRedo(int|string $limit = 1): int","summary":"Redoes the last few migrations.","params":[{"name":"$limit","type":"int|string","default":"1","optional":true,"description":"The number of migrations to be redone. Defaults to 1, meaning the last applied migration will be redone. When equals \"all\", all migrations will be redone."}],"return":{"type":"int","description":"The status of the action execution. 0 means normal, other values mean abnormal."},"throws":[{"type":"yii\\console\\Exception","description":"if the number of the steps specified is less than 1."}]},"actionTo":{"signature":"public function actionTo(string $version): mixed","summary":"Upgrades or downgrades till the specified version.","params":[{"name":"$version","type":"string","description":"Either the version name or the certain time value in the past that the application should be migrated to. This can be either the timestamp, the full name of the migration, the UNIX timestamp, or the parseable datetime string."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"if the version argument is invalid."}]},"actionUp":{"signature":"public function actionUp(int $limit = 0): int","summary":"Upgrades the application by applying new migrations.","params":[{"name":"$limit","type":"int","default":"0","optional":true,"description":"The number of new migrations to be applied. If 0, it means applying all available new migrations."}],"return":{"type":"int","description":"The status of the action execution. 0 means normal, other values mean abnormal."}},"addMigrationHistory":{"signature":"abstract protected function addMigrationHistory(string $version): mixed","summary":"Adds new migration entry to the history.","params":[{"name":"$version","type":"string","description":"Migration version name."}],"return":{"type":"mixed"},"visibility":"protected","abstract":true},"beforeAction":{"signature":"public function beforeAction(yii\\base\\Action<static> $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) It checks the existence of the `$migrationPath`.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if directory specified in migrationPath doesn't exist and action isn't \"create\"."}]},"createMigration":{"signature":"protected function createMigration(string $class): yii\\db\\MigrationInterface","summary":"Creates a new migration instance.","params":[{"name":"$class","type":"string","description":"The migration class name"}],"return":{"type":"yii\\db\\MigrationInterface","description":"The migration instance"},"visibility":"protected"},"generateMigrationSourceCode":{"signature":"protected function generateMigrationSourceCode(array $params): string","summary":"Generates new migration source PHP code.","params":[{"name":"$params","type":"array","description":"Generation parameters, usually following parameters are present: - name: string migration base name - className: string migration class name"}],"return":{"type":"string","description":"Generated PHP code."},"visibility":"protected","since":"2.0.8"},"getMigrationHistory":{"signature":"abstract protected function getMigrationHistory(int|null $limit): array","summary":"Returns the migration history.","params":[{"name":"$limit","type":"int|null","description":"The maximum number of records in the history to be returned. `null` for \"no limit\"."}],"return":{"type":"array","description":"The migration history"},"visibility":"protected","abstract":true},"getMigrationNameLimit":{"signature":"protected function getMigrationNameLimit(): int|null","summary":"Return the maximum name length for a migration.","return":{"type":"int|null","description":"The maximum name length for a migration or `null` if no limit applies."},"visibility":"protected","since":"2.0.13"},"getNewMigrations":{"signature":"protected function getNewMigrations(): array","summary":"Returns the migrations that are not applied.","return":{"type":"array","description":"List of new migrations"},"visibility":"protected"},"includeMigrationFile":{"signature":"protected function includeMigrationFile(string $class): mixed","summary":"Includes the migration file for a given migration class name.","params":[{"name":"$class","type":"string","description":"The migration class name."}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.12"},"migrateDown":{"signature":"protected function migrateDown(string $class): bool","summary":"Downgrades with the specified migration class.","params":[{"name":"$class","type":"string","description":"The migration class name"}],"return":{"type":"bool","description":"Whether the migration is successful"},"visibility":"protected"},"migrateToTime":{"signature":"protected function migrateToTime(int $time): mixed","summary":"Migrates to the specified apply time in the past.","params":[{"name":"$time","type":"int","description":"UNIX timestamp value."}],"return":{"type":"mixed"},"visibility":"protected"},"migrateToVersion":{"signature":"protected function migrateToVersion(string $version): int","summary":"Migrates to the certain version.","params":[{"name":"$version","type":"string","description":"Name in the full format."}],"return":{"type":"int","description":"CLI exit code"},"throws":[{"type":"yii\\console\\Exception","description":"if the provided version cannot be found."}],"visibility":"protected"},"migrateUp":{"signature":"protected function migrateUp(string $class): bool","summary":"Upgrades with the specified migration class.","params":[{"name":"$class","type":"string","description":"The migration class name"}],"return":{"type":"bool","description":"Whether the migration is successful"},"visibility":"protected"},"options":{"signature":"public function options(mixed $actionID): string[]","summary":"Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name.","params":[{"name":"$actionID","type":"mixed","description":"The action id of the current request"}],"return":{"type":"string[]","description":"The names of the options valid for the action"}},"removeMigrationHistory":{"signature":"abstract protected function removeMigrationHistory(string $version): mixed","summary":"Removes existing migration from the history.","params":[{"name":"$version","type":"string","description":"Migration version name."}],"return":{"type":"mixed"},"visibility":"protected","abstract":true},"truncateDatabase":{"signature":"protected function truncateDatabase(): mixed","summary":"Truncates the database.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if not overridden"}],"visibility":"protected","since":"2.0.13"}},"constants":{"BASE_MIGRATION":{"value":"'m000000_000000_base'","description":"The name of the dummy migration that marks the beginning of the whole migration history."}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","isColorEnabled":"yii\\console\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","optionAliases":"yii\\console\\Controller","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\controllers\\CacheController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/cachecontroller/","summary":"Allows you to flush cache.","since":"2.0","extends":"yii\\console\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"methods":{"actionFlush":{"signature":"public function actionFlush(): mixed","summary":"Flushes given cache components.","return":{"type":"mixed"}},"actionFlushAll":{"signature":"public function actionFlushAll(): mixed","summary":"Flushes all caches registered in the system.","return":{"type":"mixed"}},"actionFlushSchema":{"signature":"public function actionFlushSchema(string $db = 'db'): int","summary":"Clears DB schema cache for a given connection component.","params":[{"name":"$db","type":"string","default":"'db'","optional":true,"description":"Id connection component"}],"return":{"type":"int","description":"Exit code"},"throws":[{"type":"yii\\console\\Exception"},{"type":"yii\\base\\InvalidConfigException"}],"since":"2.0.1"},"actionIndex":{"signature":"public function actionIndex(): mixed","summary":"Lists the caches that can be flushed.","return":{"type":"mixed"}}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","defaultAction":"yii\\base\\Controller","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\console\\Controller","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","isColorEnabled":"yii\\console\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","optionAliases":"yii\\console\\Controller","options":"yii\\console\\Controller","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\controllers\\FixtureController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/fixturecontroller/","summary":"Manages fixture data loading and unloading.","since":"2.0","extends":"yii\\console\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"traits":["yii\\test\\FixtureTrait"],"properties":{"defaultAction":{"type":"string","default":"'load'","description":"Controller default action ID."},"globalFixtures":{"type":"array","default":"['yii\\test\\InitDbFixture']","description":"Global fixtures that should be applied when loading and unloading."},"namespace":{"type":"string","default":"'tests\\unit\\fixtures'","description":"Default namespace to search fixtures in"}},"methods":{"actionLoad":{"signature":"public function actionLoad(array $fixturesInput = []): int","summary":"Loads the specified fixture data.","params":[{"name":"$fixturesInput","type":"array","default":"[]","optional":true}],"return":{"type":"int","description":"Return code"},"throws":[{"type":"yii\\console\\Exception","description":"if the specified fixture does not exist."}]},"actionUnload":{"signature":"public function actionUnload(array $fixturesInput = []): int","summary":"Unloads the specified fixtures.","params":[{"name":"$fixturesInput","type":"array","default":"[]","optional":true}],"return":{"type":"int","description":"Return code"},"throws":[{"type":"yii\\console\\Exception","description":"if the specified fixture does not exist."}]},"needToApplyAll":{"signature":"public function needToApplyAll(string $fixture): bool","summary":"Checks if needed to apply all fixtures.","params":[{"name":"$fixture","type":"string"}],"return":{"type":"bool"}},"notifyNothingToLoad":{"signature":"public function notifyNothingToLoad(array $foundFixtures, array $except): mixed","summary":"Notifies user that there are no fixtures to load according input conditions.","params":[{"name":"$foundFixtures","type":"array","description":"Array of found fixtures"},{"name":"$except","type":"array","description":"Array of names of fixtures that should not be loaded"}],"return":{"type":"mixed"}},"notifyNothingToUnload":{"signature":"public function notifyNothingToUnload(array $foundFixtures, array $except): mixed","summary":"Notifies user that there are no fixtures to unload according input conditions.","params":[{"name":"$foundFixtures","type":"array","description":"Array of found fixtures"},{"name":"$except","type":"array","description":"Array of names of fixtures that should not be loaded"}],"return":{"type":"mixed"}},"optionAliases":{"signature":"public function optionAliases(): array","summary":"Returns option alias names.","return":{"type":"array","description":"The options alias names valid for the action where the keys is alias name for option and value is option name."},"since":"2.0.8"},"options":{"signature":"public function options(mixed $actionID): string[]","summary":"Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name.","params":[{"name":"$actionID","type":"mixed","description":"The action id of the current request"}],"return":{"type":"string[]","description":"The names of the options valid for the action"}}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","fixtures":"yii\\test\\FixtureTrait","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\console\\Controller","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","createFixtures":"yii\\test\\FixtureTrait","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","fixtures":"yii\\test\\FixtureTrait","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFixture":"yii\\test\\FixtureTrait","getFixtures":"yii\\test\\FixtureTrait","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","globalFixtures":"yii\\test\\FixtureTrait","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","initFixtures":"yii\\test\\FixtureTrait","isColorEnabled":"yii\\console\\Controller","loadFixtures":"yii\\test\\FixtureTrait","off":"yii\\base\\Component","on":"yii\\base\\Component","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component","unloadFixtures":"yii\\test\\FixtureTrait"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\controllers\\HelpController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/helpcontroller/","summary":"Provides help information about console commands.","since":"2.0","extends":"yii\\console\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"commands":{"type":"array","description":"All available command names.","access":"read-only","virtual":true}},"methods":{"actionIndex":{"signature":"public function actionIndex(string|null $command = null): int","summary":"Displays available commands or the detailed information about a particular command.","params":[{"name":"$command","type":"string|null","default":"null","optional":true,"description":"The name of the command to show help about. If not provided, all available commands will be displayed."}],"return":{"type":"int","description":"The exit status"},"throws":[{"type":"yii\\console\\Exception","description":"if the command for help is unknown"}]},"actionList":{"signature":"public function actionList(): mixed","summary":"List all available controllers and actions in machine readable format.","return":{"type":"mixed"},"since":"2.0.11"},"actionListActionOptions":{"signature":"public function actionListActionOptions(string $action): mixed","summary":"List all available options for the $action in machine readable format.","params":[{"name":"$action","type":"string","description":"Route to action"}],"return":{"type":"mixed"},"since":"2.0.11"},"actionUsage":{"signature":"public function actionUsage(string $action): mixed","summary":"Displays usage information for $action.","params":[{"name":"$action","type":"string","description":"Route to action"}],"return":{"type":"mixed"},"since":"2.0.11"},"formatOptionAliases":{"signature":"protected function formatOptionAliases(yii\\console\\Controller $controller, string $option): string","params":[{"name":"$controller","type":"yii\\console\\Controller","description":"The controller instance"},{"name":"$option","type":"string","description":"The option name"}],"return":{"type":"string","description":"The formatted string for the alias argument or option"},"visibility":"protected","since":"2.0.8"},"formatOptionHelp":{"signature":"protected function formatOptionHelp(string $name, bool $required, string $type, mixed $defaultValue, string $comment): string","summary":"Generates a well-formed string for an argument or option.","params":[{"name":"$name","type":"string","description":"The name of the argument or option"},{"name":"$required","type":"bool","description":"Whether the argument is required"},{"name":"$type","type":"string","description":"The type of the option or argument"},{"name":"$defaultValue","type":"mixed","description":"The default value of the option or argument"},{"name":"$comment","type":"string","description":"Comment about the option or argument"}],"return":{"type":"string","description":"The formatted string for the argument or option"},"visibility":"protected"},"getActions":{"signature":"public function getActions(yii\\console\\Controller $controller): array","summary":"Returns all available actions of the specified controller.","params":[{"name":"$controller","type":"yii\\console\\Controller","description":"The controller instance"}],"return":{"type":"array","description":"All available action IDs."}},"getCommandDescriptions":{"signature":"protected function getCommandDescriptions(): array","summary":"Returns an array of commands an their descriptions.","return":{"type":"array","description":"All available commands as keys and their description as values."},"visibility":"protected"},"getCommandHelp":{"signature":"protected function getCommandHelp(yii\\console\\Controller $controller): mixed","summary":"Displays the overall information of the command.","params":[{"name":"$controller","type":"yii\\console\\Controller","description":"The controller instance"}],"return":{"type":"mixed"},"visibility":"protected"},"getCommands":{"signature":"public function getCommands(): array","summary":"Returns all available command names.","return":{"type":"array","description":"All available command names"}},"getDefaultHelp":{"signature":"protected function getDefaultHelp(): mixed","summary":"Displays all available commands.","return":{"type":"mixed"},"visibility":"protected"},"getDefaultHelpHeader":{"signature":"protected function getDefaultHelpHeader(): string","summary":"Return a default help header.","return":{"type":"string","description":"Default help header."},"visibility":"protected","since":"2.0.11"},"getModuleCommands":{"signature":"protected function getModuleCommands(yii\\base\\Module $module): array","summary":"Returns available commands of a specified module.","params":[{"name":"$module","type":"yii\\base\\Module","description":"The module instance"}],"return":{"type":"array","description":"The available command names"},"visibility":"protected"},"getScriptName":{"signature":"protected function getScriptName(): string","return":{"type":"string","description":"The name of the cli script currently running."},"visibility":"protected"},"getSubCommandHelp":{"signature":"protected function getSubCommandHelp(yii\\console\\Controller $controller, string $actionID): mixed","summary":"Displays the detailed information of a command action.","params":[{"name":"$controller","type":"yii\\console\\Controller","description":"The controller instance"},{"name":"$actionID","type":"string","description":"Action ID"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"if the action does not exist"}],"visibility":"protected"},"validateControllerClass":{"signature":"protected function validateControllerClass(string $controllerClass): bool","summary":"Validates if the given class is a valid console controller class.","params":[{"name":"$controllerClass","type":"string"}],"return":{"type":"bool"},"visibility":"protected"}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","defaultAction":"yii\\base\\Controller","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\console\\Controller","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","isColorEnabled":"yii\\console\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","optionAliases":"yii\\console\\Controller","options":"yii\\console\\Controller","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\controllers\\MessageController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/messagecontroller/","summary":"Extracts messages to be translated from source files.","since":"2.0","extends":"yii\\console\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"catalog":{"type":"string","default":"'messages'","description":"Name of the file that will be used for translations for \"po\" format."},"config":{"type":"array","default":"null","description":"Config for messages extraction.","visibility":"protected","since":"2.0.13"},"db":{"type":"string","default":"'db'","description":"Connection component ID for \"db\" format."},"defaultAction":{"type":"string","default":"'extract'","description":"Controller default action ID."},"except":{"type":"array|null","default":"['.*', '/.*', '/messages', '/tests', '/runtime', '/vendor', '/BaseYii.php']","description":"List of patterns that specify which files/directories should NOT be processed."},"format":{"type":"string","default":"'php'","description":"Generated file format."},"ignoreCategories":{"type":"array","default":"[]","description":"Message categories to ignore."},"languages":{"type":"array","default":"[]","description":"Required, list of language codes that the extracted messages should be translated to."},"markUnused":{"type":"bool","default":"true","description":"Whether to mark messages that no longer appear in the source code."},"messagePath":{"type":"string","default":"'@yii/messages'","description":"Required, root directory containing message translations."},"messageTable":{"type":"string","default":"'{{%message}}'","description":"Custom name for translation message table for \"db\" format."},"only":{"type":"array|null","default":"['*.php']","description":"List of patterns that specify which files (not directories) should be processed."},"overwrite":{"type":"bool","default":"true","description":"Whether the message file should be overwritten with the merged messages"},"phpDocBlock":{"type":"string|null","default":"null","description":"DocBlock used for messages array in generated PHP file.","since":"2.0.13"},"phpFileHeader":{"type":"string","default":"''","description":"File header in generated PHP file with messages.","since":"2.0.13"},"removeUnused":{"type":"bool","default":"false","description":"Whether to remove messages that no longer appear in the source code."},"sort":{"type":"bool","default":"false","description":"Whether to sort messages by keys when merging new messages with the existing ones."},"sourceMessageTable":{"type":"string","default":"'{{%source_message}}'","description":"Custom name for source message table for \"db\" format."},"sourcePath":{"type":"string","default":"'@yii'","description":"Required, root directory of all source files."},"translator":{"type":"string|string[]","default":"['Yii::t', '\\Yii::t']","description":"The name of the function for translating messages."}},"methods":{"actionConfig":{"signature":"public function actionConfig(string $filePath): int","summary":"Creates a configuration file for the \"extract\" command using command line options specified.","params":[{"name":"$filePath","type":"string","description":"Output file name or alias."}],"return":{"type":"int","description":"CLI exit code"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}]},"actionConfigTemplate":{"signature":"public function actionConfigTemplate(string $filePath): int","summary":"Creates a configuration file template for the \"extract\" command.","params":[{"name":"$filePath","type":"string","description":"Output file name or alias."}],"return":{"type":"int","description":"CLI exit code"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}]},"actionExtract":{"signature":"public function actionExtract(string|null $configFile = null): mixed","summary":"Extracts messages to be translated from source code.","params":[{"name":"$configFile","type":"string|null","default":"null","optional":true,"description":"The path or alias of the configuration file. You may use the \"yii message/config\" command to generate this file and then customize it for your needs."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"on failure."}]},"extractMessages":{"signature":"protected function extractMessages(string $fileName, string $translator, array $ignoreCategories = []): array","summary":"Extracts messages from a file.","params":[{"name":"$fileName","type":"string","description":"Name of the file to extract messages from"},{"name":"$translator","type":"string","description":"Name of the function used to translate messages"},{"name":"$ignoreCategories","type":"array","default":"[]","optional":true,"description":"Message categories to ignore. This parameter is available since version 2.0.4."}],"return":{"type":"array"},"visibility":"protected"},"extractMessagesFromTokens":{"signature":"protected function extractMessagesFromTokens(array $tokens, array $translatorTokens, array $ignoreCategories): array","summary":"Extracts messages from a parsed PHP tokens list.","params":[{"name":"$tokens","type":"array","description":"Tokens to be processed."},{"name":"$translatorTokens","type":"array","description":"Translator tokens."},{"name":"$ignoreCategories","type":"array","description":"Message categories to ignore."}],"return":{"type":"array","description":"Messages."},"visibility":"protected"},"getLine":{"signature":"protected function getLine(array $tokens): int|string","summary":"Finds out a line of the first non-char PHP token found.","params":[{"name":"$tokens","type":"array"}],"return":{"type":"int|string"},"visibility":"protected","since":"2.0.1"},"initConfig":{"signature":"protected function initConfig(string $configFile): mixed","params":[{"name":"$configFile","type":"string"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\console\\Exception","description":"If configuration file does not exists."}],"visibility":"protected","since":"2.0.13"},"isCategoryIgnored":{"signature":"protected function isCategoryIgnored(string $category, array $ignoreCategories): bool","summary":"The method checks, whether the $category is ignored according to $ignoreCategories array.","params":[{"name":"$category","type":"string","description":"Category that is checked"},{"name":"$ignoreCategories","type":"array","description":"Message categories to ignore."}],"return":{"type":"bool"},"visibility":"protected","since":"2.0.7"},"optionAliases":{"signature":"public function optionAliases(): array","summary":"Returns option alias names.","return":{"type":"array","description":"The options alias names valid for the action where the keys is alias name for option and value is option name."},"since":"2.0.8"},"options":{"signature":"public function options(mixed $actionID): string[]","summary":"Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name.","params":[{"name":"$actionID","type":"mixed","description":"The action id of the current request"}],"return":{"type":"string[]","description":"The names of the options valid for the action"}},"saveMessagesCategoryToPHP":{"signature":"protected function saveMessagesCategoryToPHP(array $messages, string $fileName, bool $overwrite, bool $removeUnused, bool $sort, string $category, bool $markUnused): int","summary":"Writes category messages into PHP file.","params":[{"name":"$messages","type":"array"},{"name":"$fileName","type":"string","description":"Name of the file to write to"},{"name":"$overwrite","type":"bool","description":"If existing file should be overwritten without backup"},{"name":"$removeUnused","type":"bool","description":"If obsolete translations should be removed"},{"name":"$sort","type":"bool","description":"If translations should be sorted"},{"name":"$category","type":"string","description":"Message category"},{"name":"$markUnused","type":"bool","description":"If obsolete translations should be marked"}],"return":{"type":"int","description":"Exit code"},"visibility":"protected"},"saveMessagesToDb":{"signature":"protected function saveMessagesToDb(array $messages, yii\\db\\Connection $db, string $sourceMessageTable, string $messageTable, bool $removeUnused, array $languages, bool $markUnused): mixed","summary":"Saves messages to database.","params":[{"name":"$messages","type":"array"},{"name":"$db","type":"yii\\db\\Connection"},{"name":"$sourceMessageTable","type":"string"},{"name":"$messageTable","type":"string"},{"name":"$removeUnused","type":"bool"},{"name":"$languages","type":"array"},{"name":"$markUnused","type":"bool"}],"return":{"type":"mixed"},"visibility":"protected"},"saveMessagesToPHP":{"signature":"protected function saveMessagesToPHP(array $messages, string $dirName, bool $overwrite, bool $removeUnused, bool $sort, bool $markUnused): mixed","summary":"Writes messages into PHP files.","params":[{"name":"$messages","type":"array"},{"name":"$dirName","type":"string","description":"Name of the directory to write to"},{"name":"$overwrite","type":"bool","description":"If existing file should be overwritten without backup"},{"name":"$removeUnused","type":"bool","description":"If obsolete translations should be removed"},{"name":"$sort","type":"bool","description":"If translations should be sorted"},{"name":"$markUnused","type":"bool","description":"If obsolete translations should be marked"}],"return":{"type":"mixed"},"visibility":"protected"},"saveMessagesToPO":{"signature":"protected function saveMessagesToPO(array $messages, string $dirName, bool $overwrite, bool $removeUnused, bool $sort, string $catalog, bool $markUnused): mixed","summary":"Writes messages into PO file.","params":[{"name":"$messages","type":"array"},{"name":"$dirName","type":"string","description":"Name of the directory to write to"},{"name":"$overwrite","type":"bool","description":"If existing file should be overwritten without backup"},{"name":"$removeUnused","type":"bool","description":"If obsolete translations should be removed"},{"name":"$sort","type":"bool","description":"If translations should be sorted"},{"name":"$catalog","type":"string","description":"Message catalog"},{"name":"$markUnused","type":"bool","description":"If obsolete translations should be marked"}],"return":{"type":"mixed"},"visibility":"protected"},"saveMessagesToPOT":{"signature":"protected function saveMessagesToPOT(array $messages, string $dirName, string $catalog): mixed","summary":"Writes messages into POT file.","params":[{"name":"$messages","type":"array"},{"name":"$dirName","type":"string","description":"Name of the directory to write to"},{"name":"$catalog","type":"string","description":"Message catalog"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.6"},"tokensEqual":{"signature":"protected function tokensEqual(array|string $a, array|string $b): bool","summary":"Finds out if two PHP tokens are equal.","params":[{"name":"$a","type":"array|string"},{"name":"$b","type":"array|string"}],"return":{"type":"bool"},"visibility":"protected","since":"2.0.1"}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\console\\Controller","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","isColorEnabled":"yii\\console\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\controllers\\MigrateController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/migratecontroller/","summary":"Manages application migrations.","since":"2.0","extends":"yii\\console\\controllers\\BaseMigrateController","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"comment":{"type":"string","default":"''","description":"The comment for the table being created.","since":"2.0.14"},"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection to use when applying migrations."},"fields":{"type":"array","default":"[]","description":"Column definition strings used for creating migration code.","since":"2.0.7"},"generatorTemplateFiles":{"type":"array","default":"['create_table' => '@yii/views/createTableMigration.php', 'drop_table' => '@yii/views/dropTableMigration.php', 'add_column' => '@yii/views/addColumnMigration.php', 'drop_column' => '@yii/views/dropColumnMigration.php', 'create_junction' => '@yii/views/createTableMigration.php']","description":"A set of template paths for generating migration code automatically.","since":"2.0.7"},"migrationTable":{"type":"string","default":"'{{%migration}}'","description":"The name of the table for keeping applied migration information."},"templateFile":{"type":"string","default":"'@yii/views/migration.php'"},"useTablePrefix":{"type":"bool","default":"true","description":"Indicates whether the table names generated should consider the `tablePrefix` setting of the DB connection.","since":"2.0.8"}},"methods":{"addDefaultPrimaryKey":{"signature":"protected function addDefaultPrimaryKey(array &$fields): mixed","summary":"Adds default primary key to fields list if there's no primary key specified.","params":[{"name":"$fields","type":"array","byReference":true,"description":"Parsed fields"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.7"},"addMigrationHistory":{"signature":"protected function addMigrationHistory(mixed $version): mixed","summary":"Adds new migration entry to the history.","params":[{"name":"$version","type":"mixed","description":"Migration version name."}],"return":{"type":"mixed"},"visibility":"protected"},"beforeAction":{"signature":"public function beforeAction(yii\\base\\Action<static> $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) It checks the existence of the `$migrationPath`.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"createMigration":{"signature":"protected function createMigration(string $class): yii\\db\\Migration","summary":"Creates a new migration instance.","params":[{"name":"$class","type":"string","description":"The migration class name"}],"return":{"type":"yii\\db\\Migration","description":"The migration instance"},"visibility":"protected"},"createMigrationHistoryTable":{"signature":"protected function createMigrationHistoryTable(): mixed","summary":"Creates the migration history table.","return":{"type":"mixed"},"visibility":"protected"},"generateMigrationSourceCode":{"signature":"protected function generateMigrationSourceCode(mixed $params): string","summary":"Generates new migration source PHP code.","params":[{"name":"$params","type":"mixed","description":"Generation parameters, usually following parameters are present: - name: string migration base name - className: string migration class name"}],"return":{"type":"string","description":"Generated PHP code."},"visibility":"protected","since":"2.0.8"},"generateTableName":{"signature":"protected function generateTableName(string $tableName): string","summary":"If `useTablePrefix` equals true, then the table name will contain the prefix format.","params":[{"name":"$tableName","type":"string","description":"The table name to generate."}],"return":{"type":"string"},"visibility":"protected","since":"2.0.8"},"getMigrationHistory":{"signature":"protected function getMigrationHistory(mixed $limit): array","summary":"Returns the migration history.","params":[{"name":"$limit","type":"mixed","description":"The maximum number of records in the history to be returned. `null` for \"no limit\"."}],"return":{"type":"array","description":"The migration history"},"visibility":"protected"},"getMigrationNameLimit":{"signature":"protected function getMigrationNameLimit(): int|null","summary":"Return the maximum name length for a migration.","return":{"type":"int|null","description":"The maximum name length for a migration or `null` if no limit applies."},"visibility":"protected","since":"2.0.13"},"optionAliases":{"signature":"public function optionAliases(): array","summary":"Returns option alias names.","return":{"type":"array","description":"The options alias names valid for the action where the keys is alias name for option and value is option name."},"since":"2.0.8"},"options":{"signature":"public function options(mixed $actionID): string[]","summary":"Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name.","params":[{"name":"$actionID","type":"mixed","description":"The action id of the current request"}],"return":{"type":"string[]","description":"The names of the options valid for the action"}},"parseFields":{"signature":"protected function parseFields(): array","summary":"Parse the command line migration fields.","return":{"type":"array","description":"Parse result with following fields: - fields: array, parsed fields - foreignKeys: array, detected foreign keys"},"visibility":"protected","since":"2.0.7"},"removeMigrationHistory":{"signature":"protected function removeMigrationHistory(mixed $version): mixed","summary":"Removes existing migration from the history.","params":[{"name":"$version","type":"mixed","description":"Migration version name."}],"return":{"type":"mixed"},"visibility":"protected"},"splitFieldIntoChunks":{"signature":"protected function splitFieldIntoChunks(string $field): string[]|false","summary":"Splits field into chunks","params":[{"name":"$field","type":"string"}],"return":{"type":"string[]|false"},"visibility":"protected"},"truncateDatabase":{"signature":"protected function truncateDatabase(): mixed","summary":"Truncates the database.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if not overridden"}],"visibility":"protected","since":"2.0.13"}},"constants":{"MAX_NAME_LENGTH":{"value":"180","description":"Maximum length of a migration name.","since":"2.0.13"}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","compact":"yii\\console\\controllers\\BaseMigrateController","defaultAction":"yii\\console\\controllers\\BaseMigrateController","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","migrationNamespaces":"yii\\console\\controllers\\BaseMigrateController","migrationPath":"yii\\console\\controllers\\BaseMigrateController","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","newFileMode":"yii\\console\\controllers\\BaseMigrateController","newFileOwnership":"yii\\console\\controllers\\BaseMigrateController","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actionCreate":"yii\\console\\controllers\\BaseMigrateController","actionDown":"yii\\console\\controllers\\BaseMigrateController","actionFresh":"yii\\console\\controllers\\BaseMigrateController","actionHistory":"yii\\console\\controllers\\BaseMigrateController","actionMark":"yii\\console\\controllers\\BaseMigrateController","actionNew":"yii\\console\\controllers\\BaseMigrateController","actionRedo":"yii\\console\\controllers\\BaseMigrateController","actions":"yii\\base\\Controller","actionTo":"yii\\console\\controllers\\BaseMigrateController","actionUp":"yii\\console\\controllers\\BaseMigrateController","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getNewMigrations":"yii\\console\\controllers\\BaseMigrateController","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","includeMigrationFile":"yii\\console\\controllers\\BaseMigrateController","init":"yii\\base\\Controller","isColorEnabled":"yii\\console\\Controller","migrateDown":"yii\\console\\controllers\\BaseMigrateController","migrateToTime":"yii\\console\\controllers\\BaseMigrateController","migrateToVersion":"yii\\console\\controllers\\BaseMigrateController","migrateUp":"yii\\console\\controllers\\BaseMigrateController","off":"yii\\base\\Component","on":"yii\\base\\Component","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component"},"constants":{"BASE_MIGRATION":"yii\\console\\controllers\\BaseMigrateController"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\controllers\\ServeController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/controllers/servecontroller/","summary":"Runs PHP built-in web server.","since":"2.0.7","extends":"yii\\console\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"docroot":{"type":"string","default":"'@app/web'","description":"Path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) to directory to serve"},"port":{"type":"int","default":"8080","description":"Port to serve on."},"router":{"type":"string","default":"null","description":"Path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) to router script."}},"methods":{"actionIndex":{"signature":"public function actionIndex(string $address = 'localhost'): int","summary":"Runs PHP built-in web server.","params":[{"name":"$address","type":"string","default":"'localhost'","optional":true,"description":"Address to serve on. Either \"host\" or \"host:port\"."}],"return":{"type":"int"}},"isAddressTaken":{"signature":"protected function isAddressTaken(string $address): bool","params":[{"name":"$address","type":"string","description":"Server address"}],"return":{"type":"bool","description":"If address is already in use"},"visibility":"protected"},"optionAliases":{"signature":"public function optionAliases(): array","summary":"Returns option alias names.","return":{"type":"array","description":"The options alias names valid for the action where the keys is alias name for option and value is option name."},"since":"2.0.8"},"options":{"signature":"public function options(mixed $actionID): string[]","summary":"Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name.","params":[{"name":"$actionID","type":"mixed","description":"The action id of the current request"}],"return":{"type":"string[]","description":"The names of the options valid for the action"}},"runCommand":{"signature":"protected function runCommand(mixed $command): mixed","params":[{"name":"$command","type":"mixed"}],"return":{"type":"mixed"},"visibility":"protected"}},"constants":{"EXIT_CODE_NO_DOCUMENT_ROOT":{"value":"2"},"EXIT_CODE_NO_ROUTING_FILE":{"value":"3"},"EXIT_CODE_ADDRESS_TAKEN_BY_ANOTHER_SERVER":{"value":"4"},"EXIT_CODE_ADDRESS_TAKEN_BY_ANOTHER_PROCESS":{"value":"5"}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","color":"yii\\console\\Controller","defaultAction":"yii\\base\\Controller","help":"yii\\console\\Controller","helpSummary":"yii\\console\\Controller","id":"yii\\base\\Controller","interactive":"yii\\console\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","passedOptions":"yii\\console\\Controller","passedOptionValues":"yii\\console\\Controller","request":"yii\\console\\Controller","response":"yii\\console\\Controller","route":"yii\\base\\Controller","silentExitOnException":"yii\\console\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","ansiFormat":"yii\\console\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\console\\Controller","behaviors":"yii\\base\\Component","bindActionParams":"yii\\console\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","confirm":"yii\\console\\Controller","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getActionArgsHelp":"yii\\console\\Controller","getActionHelp":"yii\\console\\Controller","getActionHelpSummary":"yii\\console\\Controller","getActionMethodReflection":"yii\\console\\Controller","getActionOptionsHelp":"yii\\console\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getHelp":"yii\\console\\Controller","getHelpSummary":"yii\\console\\Controller","getModules":"yii\\base\\Controller","getOptionValues":"yii\\console\\Controller","getPassedOptions":"yii\\console\\Controller","getPassedOptionValues":"yii\\console\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","isColorEnabled":"yii\\console\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","parseDocCommentDetail":"yii\\console\\Controller","parseDocCommentSummary":"yii\\console\\Controller","parseDocCommentTags":"yii\\console\\Controller","prompt":"yii\\console\\Controller","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\console\\Controller","select":"yii\\console\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","stderr":"yii\\console\\Controller","stdout":"yii\\console\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\console\\widgets\\Table":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/console/widgets/table/","summary":"Table class displays a table in console.","since":"2.0.13","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"chars":{"type":"array","default":"[self::CHAR_TOP => '═', self::CHAR_TOP_MID => '╤', self::CHAR_TOP_LEFT => '╔', self::CHAR_TOP_RIGHT => '╗', self::CHAR_BOTTOM => '═', self::CHAR_BOTTOM_MID => '╧', self::CHAR_BOTTOM_LEFT => '╚', self::CHAR_BOTTOM_RIGHT => '╝', self::CHAR_LEFT => '║', self::CHAR_LEFT_MID => '╟', self::CHAR_MID => '─', self::CHAR_MID_MID => '┼', self::CHAR_RIGHT => '║', self::CHAR_RIGHT_MID => '╢', self::CHAR_MIDDLE => '│']","description":"Table chars","visibility":"protected","since":"2.0.19"},"columnWidths":{"type":"array","default":"[]","description":"Table column widths","visibility":"protected","since":"2.0.19"},"headers":{"type":"array","default":"[]","description":"Table headers","visibility":"protected","since":"2.0.19"},"listPrefix":{"type":"string","default":"'• '","description":"List prefix","visibility":"protected","since":"2.0.19"},"rows":{"type":"array","default":"[]","description":"Table rows","visibility":"protected","since":"2.0.19"},"screenWidth":{"type":"int","default":"null","description":"Screen width","visibility":"protected","since":"2.0.19"}},"methods":{"calculateRowHeight":{"signature":"protected function calculateRowHeight(array $row): int","summary":"Calculate the height of a row.","params":[{"name":"$row","type":"array"}],"return":{"type":"int","description":"Maximum row per cell"},"visibility":"protected"},"calculateRowsSize":{"signature":"protected function calculateRowsSize(): mixed","summary":"Calculate the size of rows to draw anchor of columns in console.","return":{"type":"mixed"},"visibility":"protected"},"getScreenWidth":{"signature":"protected function getScreenWidth(): int","summary":"Getting screen width.","return":{"type":"int","description":"Screen width"},"visibility":"protected"},"renderRow":{"signature":"protected function renderRow(array $row, string $spanLeft, string $spanMiddle, string $spanRight): string","summary":"Renders a row of data into a string.","params":[{"name":"$row","type":"array","description":"Row of data"},{"name":"$spanLeft","type":"string","description":"Character for left border"},{"name":"$spanMiddle","type":"string","description":"Character for middle border"},{"name":"$spanRight","type":"string","description":"Character for right border"}],"return":{"type":"string"},"visibility":"protected"},"renderSeparator":{"signature":"protected function renderSeparator(string $spanLeft, string $spanMid, string $spanMidMid, string $spanRight): string","summary":"Renders separator.","params":[{"name":"$spanLeft","type":"string","description":"Character for left border"},{"name":"$spanMid","type":"string","description":"Character for middle border"},{"name":"$spanMidMid","type":"string","description":"Character for middle-middle border"},{"name":"$spanRight","type":"string","description":"Character for right border"}],"return":{"type":"string","description":"The generated separator row"},"visibility":"protected"},"run":{"signature":"public function run(): string","return":{"type":"string","description":"The rendered table"}},"setChars":{"signature":"public function setChars(array $chars): $this","summary":"Set table chars.","params":[{"name":"$chars","type":"array","description":"Table chars"}],"return":{"type":"$this"}},"setHeaders":{"signature":"public function setHeaders(array $headers): $this","summary":"Set table headers.","params":[{"name":"$headers","type":"array","description":"Table headers"}],"return":{"type":"$this"}},"setListPrefix":{"signature":"public function setListPrefix(string $listPrefix): $this","summary":"Set list prefix.","params":[{"name":"$listPrefix","type":"string","description":"List prefix"}],"return":{"type":"$this"}},"setRows":{"signature":"public function setRows(array $rows): $this","summary":"Set table rows.","params":[{"name":"$rows","type":"array","description":"Table rows"}],"return":{"type":"$this"}},"setScreenWidth":{"signature":"public function setScreenWidth(int $width): $this","summary":"Set screen width.","params":[{"name":"$width","type":"int","description":"Screen width"}],"return":{"type":"$this"}}},"constants":{"DEFAULT_CONSOLE_SCREEN_WIDTH":{"value":"120"},"CONSOLE_SCROLLBAR_OFFSET":{"value":"3"},"CHAR_TOP":{"value":"'top'"},"CHAR_TOP_MID":{"value":"'top-mid'"},"CHAR_TOP_LEFT":{"value":"'top-left'"},"CHAR_TOP_RIGHT":{"value":"'top-right'"},"CHAR_BOTTOM":{"value":"'bottom'"},"CHAR_BOTTOM_MID":{"value":"'bottom-mid'"},"CHAR_BOTTOM_LEFT":{"value":"'bottom-left'"},"CHAR_BOTTOM_RIGHT":{"value":"'bottom-right'"},"CHAR_LEFT":{"value":"'left'"},"CHAR_LEFT_MID":{"value":"'left-mid'"},"CHAR_MID":{"value":"'mid'"},"CHAR_MID_MID":{"value":"'mid-mid'"},"CHAR_RIGHT":{"value":"'right'"},"CHAR_RIGHT_MID":{"value":"'right-mid'"},"CHAR_MIDDLE":{"value":"'middle'"}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Widget","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\data\\ActiveDataFilter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/data/activedatafilter/","summary":"ActiveDataFilter allows composing a filtering condition in a format suitable for `yii\\db\\QueryInterface::where()`.","since":"2.0.13","extends":"yii\\data\\DataFilter","implements":["yii\\base\\StaticInstanceInterface","IteratorAggregate","ArrayAccess","yii\\base\\Arrayable","yii\\base\\Configurable"],"traits":["yii\\base\\ArrayableTrait","yii\\base\\StaticInstanceTrait"],"properties":{"conditionBuilders":{"type":"array","default":"['AND' => 'buildConjunctionCondition', 'OR' => 'buildConjunctionCondition', 'NOT' => 'buildBlockCondition', '<' => 'buildOperatorCondition', '>' => 'buildOperatorCondition', '<=' => 'buildOperatorCondition', '>=' => 'buildOperatorCondition', '=' => 'buildOperatorCondition', '!=' => 'buildOperatorCondition', 'IN' => 'buildOperatorCondition', 'NOT IN' => 'buildOperatorCondition', 'LIKE' => 'buildOperatorCondition']","description":"Maps filtering condition keywords to build methods."},"queryOperatorMap":{"type":"array","default":"[]","description":"Map filtering operators to operators used in `yii\\db\\QueryInterface::where()`."}},"methods":{"buildAttributeCondition":{"signature":"protected function buildAttributeCondition(string $attribute, mixed $condition): array","summary":"Builds search condition for a particular attribute.","params":[{"name":"$attribute","type":"string","description":"Search attribute name."},{"name":"$condition","type":"mixed","description":"Search condition."}],"return":{"type":"array","description":"Actual condition."},"visibility":"protected"},"buildBlockCondition":{"signature":"protected function buildBlockCondition(string $operator, mixed $condition): array","summary":"Builds block condition, which consists of a single condition.","params":[{"name":"$operator","type":"string","description":"Operator keyword."},{"name":"$condition","type":"mixed","description":"Raw condition."}],"return":{"type":"array","description":"Actual condition."},"visibility":"protected"},"buildCondition":{"signature":"protected function buildCondition(array $condition): array","params":[{"name":"$condition","type":"array"}],"return":{"type":"array","description":"Built condition."},"visibility":"protected"},"buildConjunctionCondition":{"signature":"protected function buildConjunctionCondition(string $operator, mixed $condition): array","summary":"Builds conjunction condition, which consists of multiple independent ones.","params":[{"name":"$operator","type":"string","description":"Operator keyword."},{"name":"$condition","type":"mixed","description":"Raw condition."}],"return":{"type":"array","description":"Actual condition."},"visibility":"protected"},"buildInternal":{"signature":"protected function buildInternal(): mixed","summary":"Performs actual filter build.","return":{"type":"mixed","description":"Built actual filter value."},"visibility":"protected"},"buildOperatorCondition":{"signature":"protected function buildOperatorCondition(string $operator, mixed $condition, string $attribute): array","summary":"Builds an operator condition.","params":[{"name":"$operator","type":"string","description":"Operator keyword."},{"name":"$condition","type":"mixed","description":"Attribute condition."},{"name":"$attribute","type":"string","description":"Attribute name."}],"return":{"type":"array","description":"Actual condition."},"visibility":"protected"}},"inherited":{"properties":{"activeValidators":"yii\\base\\Model","attributeMap":"yii\\data\\DataFilter","attributes":"yii\\base\\Model","behaviors":"yii\\base\\Component","conditionValidators":"yii\\data\\DataFilter","errorMessages":"yii\\data\\DataFilter","errors":"yii\\base\\Model","filter":"yii\\data\\DataFilter","filterAttributeLabel":"yii\\data\\DataFilter","filterAttributeName":"yii\\data\\DataFilter","filterControls":"yii\\data\\DataFilter","firstErrors":"yii\\base\\Model","iterator":"yii\\base\\Model","multiValueOperators":"yii\\data\\DataFilter","nullValue":"yii\\data\\DataFilter","operatorTypes":"yii\\data\\DataFilter","scenario":"yii\\base\\Model","searchAttributeTypes":"yii\\data\\DataFilter","searchModel":"yii\\data\\DataFilter","validators":"yii\\base\\Model"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Model","__construct":"yii\\base\\BaseObject","__get":"yii\\data\\DataFilter","__isset":"yii\\data\\DataFilter","__set":"yii\\data\\DataFilter","__unset":"yii\\data\\DataFilter","activeAttributes":"yii\\base\\Model","addError":"yii\\base\\Model","addErrors":"yii\\base\\Model","afterValidate":"yii\\base\\Model","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","attributeHints":"yii\\base\\Model","attributeLabels":"yii\\data\\DataFilter","attributes":"yii\\data\\DataFilter","beforeValidate":"yii\\base\\Model","behaviors":"yii\\base\\Component","build":"yii\\data\\DataFilter","canGetProperty":"yii\\data\\DataFilter","canSetProperty":"yii\\data\\DataFilter","className":"yii\\base\\BaseObject","clearErrors":"yii\\base\\Model","createValidators":"yii\\base\\Model","defaultErrorMessages":"yii\\data\\DataFilter","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","detectSearchAttributeType":"yii\\data\\DataFilter","detectSearchAttributeTypes":"yii\\data\\DataFilter","ensureBehaviors":"yii\\base\\Component","extractFieldsFor":"yii\\base\\ArrayableTrait","extractRootFields":"yii\\base\\ArrayableTrait","extraFields":"yii\\base\\ArrayableTrait","fields":"yii\\base\\Model","filterAttributeValue":"yii\\data\\DataFilter","formName":"yii\\data\\DataFilter","generateAttributeLabel":"yii\\base\\Model","getActiveValidators":"yii\\base\\Model","getAttributeHint":"yii\\base\\Model","getAttributeLabel":"yii\\base\\Model","getAttributes":"yii\\base\\Model","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getErrorMessages":"yii\\data\\DataFilter","getErrors":"yii\\base\\Model","getErrorSummary":"yii\\base\\Model","getFilter":"yii\\data\\DataFilter","getFirstError":"yii\\base\\Model","getFirstErrors":"yii\\base\\Model","getIterator":"yii\\base\\Model","getScenario":"yii\\base\\Model","getSearchAttributeTypes":"yii\\data\\DataFilter","getSearchModel":"yii\\data\\DataFilter","getValidators":"yii\\base\\Model","hasErrors":"yii\\base\\Model","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","instance":"yii\\base\\StaticInstanceTrait","isAttributeActive":"yii\\base\\Model","isAttributeRequired":"yii\\base\\Model","isAttributeSafe":"yii\\base\\Model","load":"yii\\base\\Model","loadMultiple":"yii\\base\\Model","normalize":"yii\\data\\DataFilter","off":"yii\\base\\Component","offsetExists":"yii\\base\\Model","offsetGet":"yii\\base\\Model","offsetSet":"yii\\base\\Model","offsetUnset":"yii\\base\\Model","on":"yii\\base\\Component","onUnsafeAttribute":"yii\\base\\Model","parseErrorMessage":"yii\\data\\DataFilter","resolveFields":"yii\\base\\ArrayableTrait","rules":"yii\\data\\DataFilter","safeAttributes":"yii\\base\\Model","scenarios":"yii\\base\\Model","setAttributes":"yii\\base\\Model","setErrorMessages":"yii\\data\\DataFilter","setFilter":"yii\\data\\DataFilter","setScenario":"yii\\base\\Model","setSearchAttributeTypes":"yii\\data\\DataFilter","setSearchModel":"yii\\data\\DataFilter","toArray":"yii\\base\\ArrayableTrait","trigger":"yii\\base\\Component","validate":"yii\\base\\Model","validateAttributeCondition":"yii\\data\\DataFilter","validateAttributeValue":"yii\\data\\DataFilter","validateBlockCondition":"yii\\data\\DataFilter","validateCondition":"yii\\data\\DataFilter","validateConjunctionCondition":"yii\\data\\DataFilter","validateFilter":"yii\\data\\DataFilter","validateMultiple":"yii\\base\\Model","validateOperatorCondition":"yii\\data\\DataFilter"},"constants":{"TYPE_INTEGER":"yii\\data\\DataFilter","TYPE_FLOAT":"yii\\data\\DataFilter","TYPE_BOOLEAN":"yii\\data\\DataFilter","TYPE_STRING":"yii\\data\\DataFilter","TYPE_ARRAY":"yii\\data\\DataFilter","TYPE_DATETIME":"yii\\data\\DataFilter","TYPE_DATE":"yii\\data\\DataFilter","TYPE_TIME":"yii\\data\\DataFilter","SCENARIO_DEFAULT":"yii\\base\\Model"},"events":{"EVENT_BEFORE_VALIDATE":"yii\\base\\Model","EVENT_AFTER_VALIDATE":"yii\\base\\Model"}}},"yii\\data\\ActiveDataProvider":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/data/activedataprovider/","summary":"ActiveDataProvider implements a data provider based on `yii\\db\\Query` and `yii\\db\\ActiveQuery`.","since":"2.0","extends":"yii\\data\\BaseDataProvider","implements":["yii\\base\\Configurable","yii\\data\\DataProviderInterface"],"properties":{"db":{"type":"yii\\db\\Connection|array|string|null","default":"null","description":"The DB connection object or the application component ID of the DB connection."},"key":{"type":"string|callable|null","default":"null","description":"The column that is used as the key of the data models."},"query":{"type":"yii\\db\\QueryInterface|null","default":"null","description":"The query that is used to fetch data models and `$totalCount` if it is not explicitly set."}},"methods":{"__clone":{"signature":"public function __clone(): mixed","return":{"type":"mixed"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the DB connection component.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is invalid."}]},"prepareKeys":{"signature":"protected function prepareKeys(mixed $models): array","summary":"Prepares the keys associated with the currently available data models.","params":[{"name":"$models","type":"mixed","description":"The available data models"}],"return":{"type":"array","description":"The keys"},"visibility":"protected"},"prepareModels":{"signature":"protected function prepareModels(): array","summary":"Prepares the data models that will be made available in the current page.","return":{"type":"array","description":"The available data models"},"visibility":"protected"},"prepareTotalCount":{"signature":"protected function prepareTotalCount(): int","summary":"Returns a value indicating the total number of data models in this data provider.","return":{"type":"int","description":"Total number of data models in this data provider."},"visibility":"protected"},"setSort":{"signature":"public function setSort(mixed $value): mixed","summary":"Sets the sort definition for this data provider.","params":[{"name":"$value","type":"mixed","description":"The sort definition to be used by this data provider. This can be one of the following: - a configuration array for creating the sort definition object. The \"class\" element defaults to 'yii\\data\\Sort' - an instance of `yii\\data\\Sort` or its subclass - false, if sorting needs to be disabled."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException"}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","count":"yii\\data\\BaseDataProvider","id":"yii\\data\\BaseDataProvider","keys":"yii\\data\\BaseDataProvider","models":"yii\\data\\BaseDataProvider","pagination":"yii\\data\\BaseDataProvider","sort":"yii\\data\\BaseDataProvider","totalCount":"yii\\data\\BaseDataProvider"},"methods":{"__call":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCount":"yii\\data\\BaseDataProvider","getKeys":"yii\\data\\BaseDataProvider","getModels":"yii\\data\\BaseDataProvider","getPagination":"yii\\data\\BaseDataProvider","getSort":"yii\\data\\BaseDataProvider","getTotalCount":"yii\\data\\BaseDataProvider","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","prepare":"yii\\data\\BaseDataProvider","refresh":"yii\\data\\BaseDataProvider","setKeys":"yii\\data\\BaseDataProvider","setModels":"yii\\data\\BaseDataProvider","setPagination":"yii\\data\\BaseDataProvider","setTotalCount":"yii\\data\\BaseDataProvider","trigger":"yii\\base\\Component"}}},"yii\\data\\ArrayDataProvider":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/data/arraydataprovider/","summary":"ArrayDataProvider implements a data provider based on a data array.","since":"2.0","extends":"yii\\data\\BaseDataProvider","implements":["yii\\base\\Configurable","yii\\data\\DataProviderInterface"],"properties":{"allModels":{"type":"array","default":"null","description":"The data that is not paginated or sorted."},"key":{"type":"string|array|callable|null","default":"null","description":"The column that is used as the key of the data models."},"modelClass":{"type":"string","default":"null","description":"The name of the Model (`yii\\base\\Model`) class that will be represented.","since":"2.0.9"}},"methods":{"prepareKeys":{"signature":"protected function prepareKeys(mixed $models): array","summary":"Prepares the keys associated with the currently available data models.","params":[{"name":"$models","type":"mixed","description":"The available data models"}],"return":{"type":"array","description":"The keys"},"visibility":"protected"},"prepareModels":{"signature":"protected function prepareModels(): array","summary":"Prepares the data models that will be made available in the current page.","return":{"type":"array","description":"The available data models"},"visibility":"protected"},"prepareTotalCount":{"signature":"protected function prepareTotalCount(): int","summary":"Returns a value indicating the total number of data models in this data provider.","return":{"type":"int","description":"Total number of data models in this data provider."},"visibility":"protected"},"sortModels":{"signature":"protected function sortModels(array $models, yii\\data\\Sort $sort): array","summary":"Sorts the data models according to the given sort definition.","params":[{"name":"$models","type":"array","description":"The models to be sorted"},{"name":"$sort","type":"yii\\data\\Sort","description":"The sort definition"}],"return":{"type":"array","description":"The sorted data models"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","count":"yii\\data\\BaseDataProvider","id":"yii\\data\\BaseDataProvider","keys":"yii\\data\\BaseDataProvider","models":"yii\\data\\BaseDataProvider","pagination":"yii\\data\\BaseDataProvider","sort":"yii\\data\\BaseDataProvider","totalCount":"yii\\data\\BaseDataProvider"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCount":"yii\\data\\BaseDataProvider","getKeys":"yii\\data\\BaseDataProvider","getModels":"yii\\data\\BaseDataProvider","getPagination":"yii\\data\\BaseDataProvider","getSort":"yii\\data\\BaseDataProvider","getTotalCount":"yii\\data\\BaseDataProvider","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\data\\BaseDataProvider","off":"yii\\base\\Component","on":"yii\\base\\Component","prepare":"yii\\data\\BaseDataProvider","refresh":"yii\\data\\BaseDataProvider","setKeys":"yii\\data\\BaseDataProvider","setModels":"yii\\data\\BaseDataProvider","setPagination":"yii\\data\\BaseDataProvider","setSort":"yii\\data\\BaseDataProvider","setTotalCount":"yii\\data\\BaseDataProvider","trigger":"yii\\base\\Component"}}},"yii\\data\\BaseDataProvider":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/data/basedataprovider/","summary":"BaseDataProvider provides a base class that implements the `yii\\data\\DataProviderInterface`.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\data\\DataProviderInterface","yii\\base\\Configurable"],"properties":{"count":{"type":"int","description":"The number of data models in the current page.","access":"read-only","virtual":true},"id":{"type":"string|null","default":"null","description":"An ID that uniquely identifies the data provider among all data providers."},"keys":{"type":"array","description":"The list of key values corresponding to `$models`.","virtual":true},"models":{"type":"array","description":"The list of data models in the current page.","virtual":true},"pagination":{"type":"array|yii\\data\\Pagination|false","description":"The pagination to be used by this data provider.","virtual":true},"sort":{"type":"array|yii\\data\\Sort|bool","description":"The sort definition to be used by this data provider.","virtual":true},"totalCount":{"type":"int","description":"Total number of possible data models.","virtual":true}},"methods":{"getCount":{"signature":"public function getCount(): int","summary":"Returns the number of data models in the current page.","return":{"type":"int","description":"The number of data models in the current page."}},"getKeys":{"signature":"public function getKeys(): array","summary":"Returns the key values associated with the data models.","return":{"type":"array","description":"The list of key values corresponding to `$models`. Each data model in `$models` is uniquely identified by the corresponding key value in this array."}},"getModels":{"signature":"public function getModels(): array","summary":"Returns the data models in the current page.","return":{"type":"array","description":"The list of data models in the current page."}},"getPagination":{"signature":"public function getPagination(): yii\\data\\Pagination|false","summary":"Returns the pagination object used by this data provider.","return":{"type":"yii\\data\\Pagination|false","description":"The pagination object. If this is false, it means the pagination is disabled."}},"getSort":{"signature":"public function getSort(): yii\\data\\Sort|bool","summary":"Returns the sorting object used by this data provider.","return":{"type":"yii\\data\\Sort|bool","description":"The sorting object. If this is false, it means the sorting is disabled."}},"getTotalCount":{"signature":"public function getTotalCount(): int","summary":"Returns the total number of data models.","return":{"type":"int","description":"Total number of possible data models."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"prepare":{"signature":"public function prepare(bool $forcePrepare = false): mixed","summary":"Prepares the data models and keys.","params":[{"name":"$forcePrepare","type":"bool","default":"false","optional":true,"description":"Whether to force data preparation even if it has been done before."}],"return":{"type":"mixed"}},"prepareKeys":{"signature":"abstract protected function prepareKeys(array $models): array","summary":"Prepares the keys associated with the currently available data models.","params":[{"name":"$models","type":"array","description":"The available data models"}],"return":{"type":"array","description":"The keys"},"visibility":"protected","abstract":true},"prepareModels":{"signature":"abstract protected function prepareModels(): array","summary":"Prepares the data models that will be made available in the current page.","return":{"type":"array","description":"The available data models"},"visibility":"protected","abstract":true},"prepareTotalCount":{"signature":"abstract protected function prepareTotalCount(): int","summary":"Returns a value indicating the total number of data models in this data provider.","return":{"type":"int","description":"Total number of data models in this data provider."},"visibility":"protected","abstract":true},"refresh":{"signature":"public function refresh(): mixed","summary":"Refreshes the data provider.","return":{"type":"mixed"}},"setKeys":{"signature":"public function setKeys(array $keys): mixed","summary":"Sets the key values associated with the data models.","params":[{"name":"$keys","type":"array","description":"The list of key values corresponding to `$models`."}],"return":{"type":"mixed"}},"setModels":{"signature":"public function setModels(array $models): mixed","summary":"Sets the data models in the current page.","params":[{"name":"$models","type":"array","description":"The models in the current page"}],"return":{"type":"mixed"}},"setPagination":{"signature":"public function setPagination(array|yii\\data\\Pagination|false $value): mixed","summary":"Sets the pagination for this data provider.","params":[{"name":"$value","type":"array|yii\\data\\Pagination|false","description":"The pagination to be used by this data provider. This can be one of the following: - a configuration array for creating the pagination object. The \"class\" element defaults to 'yii\\data\\Pagination' - an instance of `yii\\data\\Pagination` or its subclass - false, if pagination needs to be disabled."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException"}]},"setSort":{"signature":"public function setSort(array|yii\\data\\Sort|bool $value): mixed","summary":"Sets the sort definition for this data provider.","params":[{"name":"$value","type":"array|yii\\data\\Sort|bool","description":"The sort definition to be used by this data provider. This can be one of the following: - a configuration array for creating the sort definition object. The \"class\" element defaults to 'yii\\data\\Sort' - an instance of `yii\\data\\Sort` or its subclass - false, if sorting needs to be disabled."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException"}]},"setTotalCount":{"signature":"public function setTotalCount(int $value): mixed","summary":"Sets the total number of data models.","params":[{"name":"$value","type":"int","description":"The total number of data models."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\data\\DataFilter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/data/datafilter/","summary":"DataFilter is a special `yii\\base\\Model` for processing query filtering specification.","since":"2.0.13","extends":"yii\\base\\Model","implements":["yii\\base\\StaticInstanceInterface","IteratorAggregate","ArrayAccess","yii\\base\\Arrayable","yii\\base\\Configurable"],"traits":["yii\\base\\ArrayableTrait","yii\\base\\StaticInstanceTrait"],"properties":{"attributeMap":{"type":"array","default":"[]","description":"Actual attribute names to be used in searched condition, in format: [filterAttribute => actualAttribute]."},"conditionValidators":{"type":"array","default":"['AND' => 'validateConjunctionCondition', 'OR' => 'validateConjunctionCondition', 'NOT' => 'validateBlockCondition', '<' => 'validateOperatorCondition', '>' => 'validateOperatorCondition', '<=' => 'validateOperatorCondition', '>=' => 'validateOperatorCondition', '=' => 'validateOperatorCondition', '!=' => 'validateOperatorCondition', 'IN' => 'validateOperatorCondition', 'NOT IN' => 'validateOperatorCondition', 'LIKE' => 'validateOperatorCondition']","description":"Maps filter condition keywords to validation methods."},"errorMessages":{"type":"array|Closure","description":"Error messages in `[errorKey => message]` format, or a PHP callback returning them.","virtual":true},"filter":{"type":"mixed","description":"Raw filter value.","virtual":true},"filterAttributeLabel":{"type":"string","default":"null","description":"Label for the filter attribute specified via `$filterAttributeName`."},"filterAttributeName":{"type":"string","default":"'filter'","description":"Name of the attribute that handles filter value."},"filterControls":{"type":"array","default":"['and' => 'AND', 'or' => 'OR', 'not' => 'NOT', 'lt' => '<', 'gt' => '>', 'lte' => '<=', 'gte' => '>=', 'eq' => '=', 'neq' => '!=', 'in' => 'IN', 'nin' => 'NOT IN', 'like' => 'LIKE']","description":"Keywords or expressions that could be used in a filter."},"multiValueOperators":{"type":"array","default":"['IN', 'NOT IN']","description":"List of operators keywords, which should accept multiple values."},"nullValue":{"type":"string","default":"'NULL'","description":"Representation of `null` instead of literal `null` in case the latter cannot be used.","since":"2.0.40"},"operatorTypes":{"type":"array","default":"['<' => [self::TYPE_INTEGER, self::TYPE_FLOAT, self::TYPE_DATETIME, self::TYPE_DATE, self::TYPE_TIME], '>' => [self::TYPE_INTEGER, self::TYPE_FLOAT, self::TYPE_DATETIME, self::TYPE_DATE, self::TYPE_TIME], '<=' => [self::TYPE_INTEGER, self::TYPE_FLOAT, self::TYPE_DATETIME, self::TYPE_DATE, self::TYPE_TIME], '>=' => [self::TYPE_INTEGER, self::TYPE_FLOAT, self::TYPE_DATETIME, self::TYPE_DATE, self::TYPE_TIME], '=' => '*', '!=' => '*', 'IN' => '*', 'NOT IN' => '*', 'LIKE' => [self::TYPE_STRING]]","description":"Specifies the list of supported search attribute types per each operator."},"searchAttributeTypes":{"type":"array|null","description":"Search attribute type map.","virtual":true},"searchModel":{"type":"yii\\base\\Model|array|string|callable","description":"Model instance or its DI compatible configuration.","virtual":true}},"methods":{"__get":{"signature":"public function __get(mixed $name): mixed","summary":"Returns the value of a component property.","params":[{"name":"$name","type":"mixed","description":"The property name"}],"return":{"type":"mixed","description":"The property value or the value of a behavior's property"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is write-only."}]},"__isset":{"signature":"public function __isset(mixed $name): bool","summary":"Checks if a property is set, i.e. defined and not null.","params":[{"name":"$name","type":"mixed","description":"The property name or the event name"}],"return":{"type":"bool","description":"Whether the named property is set"}},"__set":{"signature":"public function __set(mixed $name, mixed $value): mixed","summary":"Sets the value of a component property.","params":[{"name":"$name","type":"mixed","description":"The property name or the event name"},{"name":"$value","type":"mixed","description":"The property value"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\UnknownPropertyException","description":"if the property is not defined"},{"type":"yii\\base\\InvalidCallException","description":"if the property is read-only."}]},"__unset":{"signature":"public function __unset(mixed $name): mixed","summary":"Sets a component property to be null.","params":[{"name":"$name","type":"mixed","description":"The property name"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the property is read only."}]},"attributeLabels":{"signature":"public function attributeLabels(): array<string, string>","summary":"Returns the attribute labels.","return":{"type":"array<string, string>","description":"Attribute labels (name => label)"}},"attributes":{"signature":"public function attributes(): string[]","summary":"Returns the list of attribute names.","return":{"type":"string[]","description":"List of attribute names."}},"build":{"signature":"public function build(bool $runValidation = true): mixed|false","summary":"Builds actual filter specification form `$filter` value.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling `validate()`) before building the filter. Defaults to `true`. If the validation fails, no filter will be built and this method will return `false`."}],"return":{"type":"mixed|false","description":"Built actual filter value, or `false` if validation fails."}},"buildInternal":{"signature":"protected function buildInternal(): mixed","summary":"Performs actual filter build.","return":{"type":"mixed","description":"Built actual filter value."},"visibility":"protected"},"canGetProperty":{"signature":"public function canGetProperty(mixed $name, mixed $checkVars = true, mixed $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be read.","params":[{"name":"$name","type":"mixed","description":"The property name"},{"name":"$checkVars","type":"mixed","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"mixed","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be read"}},"canSetProperty":{"signature":"public function canSetProperty(mixed $name, mixed $checkVars = true, mixed $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be set.","params":[{"name":"$name","type":"mixed","description":"The property name"},{"name":"$checkVars","type":"mixed","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"mixed","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be written"}},"defaultErrorMessages":{"signature":"protected function defaultErrorMessages(): array","summary":"Returns default values for `$errorMessages`.","return":{"type":"array","description":"Default error messages in `[errorKey => message]` format."},"visibility":"protected"},"detectSearchAttributeType":{"signature":"protected function detectSearchAttributeType(yii\\validators\\Validator $validator): string|null","summary":"Detect attribute type from given validator.","params":[{"name":"$validator","type":"yii\\validators\\Validator","description":"Validator from which to detect attribute type."}],"return":{"type":"string|null","description":"Detected attribute type."},"visibility":"protected","since":"2.0.14"},"detectSearchAttributeTypes":{"signature":"protected function detectSearchAttributeTypes(): array","summary":"Composes default value for `$searchAttributeTypes` from the `$searchModel` validation rules.","return":{"type":"array","description":"Attribute type map."},"visibility":"protected"},"filterAttributeValue":{"signature":"protected function filterAttributeValue(string $attribute, mixed $value): mixed","summary":"Validates attribute value in the scope of `$searchModel`, applying attribute value filters if any.","params":[{"name":"$attribute","type":"string","description":"Attribute name."},{"name":"$value","type":"mixed","description":"Attribute value."}],"return":{"type":"mixed","description":"Filtered attribute value."},"visibility":"protected"},"formName":{"signature":"public function formName(): string","summary":"Returns the form name that this model class should use.","return":{"type":"string","description":"The form name of this model class."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when form is defined with anonymous class and `formName()` method is not overridden."}]},"getErrorMessages":{"signature":"public function getErrorMessages(): array","return":{"type":"array","description":"Error messages in format `[errorKey => message]`."}},"getFilter":{"signature":"public function getFilter(): mixed","return":{"type":"mixed","description":"Raw filter value."}},"getSearchAttributeTypes":{"signature":"public function getSearchAttributeTypes(): array","return":{"type":"array","description":"Search attribute type map."}},"getSearchModel":{"signature":"public function getSearchModel(): yii\\base\\Model","return":{"type":"yii\\base\\Model","description":"Model instance."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"on invalid configuration."}]},"normalize":{"signature":"public function normalize(bool $runValidation = true): array|bool","summary":"Normalizes filter value, replacing raw keys according to `$filterControls` and `$attributeMap`.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling `validate()`) before normalizing the filter. Defaults to `true`. If the validation fails, no filter will be processed and this method will return `false`."}],"return":{"type":"array|bool","description":"Normalized filter value, or `false` if validation fails."}},"parseErrorMessage":{"signature":"protected function parseErrorMessage(string $messageKey, array $params = []): string","summary":"Parses content of the message from `$errorMessages`, specified by message key.","params":[{"name":"$messageKey","type":"string","description":"Message key."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Params to be parsed into the message."}],"return":{"type":"string","description":"Composed message string."},"visibility":"protected"},"rules":{"signature":"public function rules(): array<int, array<array-key, mixed>|yii\\validators\\Validator>","summary":"Returns the validation rules for attributes.","return":{"type":"array<int, array<array-key, mixed>|yii\\validators\\Validator>","description":"Validation rules"}},"setErrorMessages":{"signature":"public function setErrorMessages(array|Closure $errorMessages): mixed","summary":"Sets the list of error messages responding to invalid filter structure, in format: `[errorKey => message]`.","params":[{"name":"$errorMessages","type":"array|Closure","description":"Error messages in `[errorKey => message]` format, or a PHP callback returning them."}],"return":{"type":"mixed"}},"setFilter":{"signature":"public function setFilter(mixed $filter): mixed","params":[{"name":"$filter","type":"mixed","description":"Raw filter value."}],"return":{"type":"mixed"}},"setSearchAttributeTypes":{"signature":"public function setSearchAttributeTypes(array|null $searchAttributeTypes): mixed","params":[{"name":"$searchAttributeTypes","type":"array|null","description":"Search attribute type map."}],"return":{"type":"mixed"}},"setSearchModel":{"signature":"public function setSearchModel(yii\\base\\Model|array|string|callable $model): mixed","params":[{"name":"$model","type":"yii\\base\\Model|array|string|callable","description":"Model instance or its DI compatible configuration."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"on invalid configuration."}]},"validateAttributeCondition":{"signature":"protected function validateAttributeCondition(string $attribute, mixed $condition): mixed","summary":"Validates search condition for a particular attribute.","params":[{"name":"$attribute","type":"string","description":"Search attribute name."},{"name":"$condition","type":"mixed","description":"Search condition."}],"return":{"type":"mixed"},"visibility":"protected"},"validateAttributeValue":{"signature":"protected function validateAttributeValue(string $attribute, mixed $value): mixed","summary":"Validates attribute value in the scope of `yii\\base\\Model`.","params":[{"name":"$attribute","type":"string","description":"Attribute name."},{"name":"$value","type":"mixed","description":"Attribute value."}],"return":{"type":"mixed"},"visibility":"protected"},"validateBlockCondition":{"signature":"protected function validateBlockCondition(string $operator, mixed $condition): mixed","summary":"Validates block condition that consists of a single condition.","params":[{"name":"$operator","type":"string","description":"Raw operator control keyword."},{"name":"$condition","type":"mixed","description":"Raw condition."}],"return":{"type":"mixed"},"visibility":"protected"},"validateCondition":{"signature":"protected function validateCondition(mixed $condition): mixed","summary":"Validates filter condition.","params":[{"name":"$condition","type":"mixed","description":"Raw filter condition."}],"return":{"type":"mixed"},"visibility":"protected"},"validateConjunctionCondition":{"signature":"protected function validateConjunctionCondition(string $operator, mixed $condition): mixed","summary":"Validates conjunction condition that consists of multiple independent ones.","params":[{"name":"$operator","type":"string","description":"Raw operator control keyword."},{"name":"$condition","type":"mixed","description":"Raw condition."}],"return":{"type":"mixed"},"visibility":"protected"},"validateFilter":{"signature":"public function validateFilter(): mixed","summary":"Validates filter attribute value to match filer condition specification.","return":{"type":"mixed"}},"validateOperatorCondition":{"signature":"protected function validateOperatorCondition(string $operator, mixed $condition, string|null $attribute = null): mixed","summary":"Validates operator condition.","params":[{"name":"$operator","type":"string","description":"Raw operator control keyword."},{"name":"$condition","type":"mixed","description":"Attribute condition."},{"name":"$attribute","type":"string|null","default":"null","optional":true,"description":"Attribute name."}],"return":{"type":"mixed"},"visibility":"protected"}},"constants":{"TYPE_INTEGER":{"value":"'integer'"},"TYPE_FLOAT":{"value":"'float'"},"TYPE_BOOLEAN":{"value":"'boolean'"},"TYPE_STRING":{"value":"'string'"},"TYPE_ARRAY":{"value":"'array'"},"TYPE_DATETIME":{"value":"'datetime'"},"TYPE_DATE":{"value":"'date'"},"TYPE_TIME":{"value":"'time'"}},"inherited":{"properties":{"activeValidators":"yii\\base\\Model","attributes":"yii\\base\\Model","behaviors":"yii\\base\\Component","errors":"yii\\base\\Model","firstErrors":"yii\\base\\Model","iterator":"yii\\base\\Model","scenario":"yii\\base\\Model","validators":"yii\\base\\Model"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Model","__construct":"yii\\base\\BaseObject","activeAttributes":"yii\\base\\Model","addError":"yii\\base\\Model","addErrors":"yii\\base\\Model","afterValidate":"yii\\base\\Model","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","attributeHints":"yii\\base\\Model","beforeValidate":"yii\\base\\Model","behaviors":"yii\\base\\Component","className":"yii\\base\\BaseObject","clearErrors":"yii\\base\\Model","createValidators":"yii\\base\\Model","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","extractFieldsFor":"yii\\base\\ArrayableTrait","extractRootFields":"yii\\base\\ArrayableTrait","extraFields":"yii\\base\\ArrayableTrait","fields":"yii\\base\\Model","generateAttributeLabel":"yii\\base\\Model","getActiveValidators":"yii\\base\\Model","getAttributeHint":"yii\\base\\Model","getAttributeLabel":"yii\\base\\Model","getAttributes":"yii\\base\\Model","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getErrors":"yii\\base\\Model","getErrorSummary":"yii\\base\\Model","getFirstError":"yii\\base\\Model","getFirstErrors":"yii\\base\\Model","getIterator":"yii\\base\\Model","getScenario":"yii\\base\\Model","getValidators":"yii\\base\\Model","hasErrors":"yii\\base\\Model","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","instance":"yii\\base\\StaticInstanceTrait","isAttributeActive":"yii\\base\\Model","isAttributeRequired":"yii\\base\\Model","isAttributeSafe":"yii\\base\\Model","load":"yii\\base\\Model","loadMultiple":"yii\\base\\Model","off":"yii\\base\\Component","offsetExists":"yii\\base\\Model","offsetGet":"yii\\base\\Model","offsetSet":"yii\\base\\Model","offsetUnset":"yii\\base\\Model","on":"yii\\base\\Component","onUnsafeAttribute":"yii\\base\\Model","resolveFields":"yii\\base\\ArrayableTrait","safeAttributes":"yii\\base\\Model","scenarios":"yii\\base\\Model","setAttributes":"yii\\base\\Model","setScenario":"yii\\base\\Model","toArray":"yii\\base\\ArrayableTrait","trigger":"yii\\base\\Component","validate":"yii\\base\\Model","validateMultiple":"yii\\base\\Model"},"constants":{"SCENARIO_DEFAULT":"yii\\base\\Model"},"events":{"EVENT_BEFORE_VALIDATE":"yii\\base\\Model","EVENT_AFTER_VALIDATE":"yii\\base\\Model"}}},"yii\\data\\DataProviderInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/data/dataproviderinterface/","summary":"DataProviderInterface is the interface that must be implemented by data provider classes.","since":"2.0","methods":{"getCount":{"signature":"abstract public function getCount(): int","summary":"Returns the number of data models in the current page.","return":{"type":"int","description":"The number of data models in the current page."},"abstract":true},"getKeys":{"signature":"abstract public function getKeys(): array","summary":"Returns the key values associated with the data models.","return":{"type":"array","description":"The list of key values corresponding to models (`getModels()`). Each data model in models (`getModels()`) is uniquely identified by the corresponding key value in this array."},"abstract":true},"getModels":{"signature":"abstract public function getModels(): array","summary":"Returns the data models in the current page.","return":{"type":"array","description":"The list of data models in the current page."},"abstract":true},"getPagination":{"signature":"abstract public function getPagination(): yii\\data\\Pagination|false","return":{"type":"yii\\data\\Pagination|false","description":"The pagination object. If this is false, it means the pagination is disabled."},"abstract":true},"getSort":{"signature":"abstract public function getSort(): yii\\data\\Sort|false","return":{"type":"yii\\data\\Sort|false","description":"The sorting object. If this is false, it means the sorting is disabled."},"abstract":true},"getTotalCount":{"signature":"abstract public function getTotalCount(): int","summary":"Returns the total number of data models.","return":{"type":"int","description":"Total number of possible data models."},"abstract":true},"prepare":{"signature":"abstract public function prepare(bool $forcePrepare = false): mixed","summary":"Prepares the data models and keys.","params":[{"name":"$forcePrepare","type":"bool","default":"false","optional":true,"description":"Whether to force data preparation even if it has been done before."}],"return":{"type":"mixed"},"abstract":true}}},"yii\\data\\Pagination":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/data/pagination/","summary":"Pagination represents information relevant to pagination of data items.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\web\\Linkable","yii\\base\\Configurable"],"properties":{"defaultPageSize":{"type":"int","default":"20","description":"The default page size."},"forcePageParam":{"type":"bool","default":"true","description":"Whether to always have the page parameter in the URL created by `createUrl()`."},"limit":{"type":"int","description":"The limit of the data.","access":"read-only","virtual":true},"links":{"type":"array","description":"The links for navigational purpose.","access":"read-only","virtual":true},"offset":{"type":"int","description":"The offset of the data.","access":"read-only","virtual":true},"page":{"type":"int","description":"The zero-based current page number.","virtual":true},"pageCount":{"type":"int","description":"Number of pages.","access":"read-only","virtual":true},"pageParam":{"type":"string","default":"'page'","description":"Name of the parameter storing the current page index."},"pageSize":{"type":"int","description":"The number of items per page.","virtual":true},"pageSizeLimit":{"type":"array|false","default":"[1, 50]","description":"The page size limits."},"pageSizeParam":{"type":"string","default":"'per-page'","description":"Name of the parameter storing the page size."},"params":{"type":"array|null","default":"null","description":"Parameters (name => value) that should be used to obtain the current page number and to create new pagination URLs."},"route":{"type":"string|null","default":"null","description":"The route of the controller action for displaying the paged contents."},"totalCount":{"type":"int","default":"0","description":"Total number of items."},"urlManager":{"type":"yii\\web\\UrlManager|null","default":"null","description":"The URL manager used for creating pagination URLs."},"validatePage":{"type":"bool","default":"true","description":"Whether to check if `$page` is within valid range."}},"methods":{"createUrl":{"signature":"public function createUrl(int $page, int|null $pageSize = null, bool $absolute = false): string","summary":"Creates the URL suitable for pagination with the specified page number.","params":[{"name":"$page","type":"int","description":"The zero-based page number that the URL should point to."},{"name":"$pageSize","type":"int|null","default":"null","optional":true,"description":"The number of items on each page. If not set, the value of `$pageSize` will be used."},{"name":"$absolute","type":"bool","default":"false","optional":true,"description":"Whether to create an absolute URL. Defaults to `false`."}],"return":{"type":"string","description":"The created URL"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `resolveRoute()` cannot determine a route."}]},"getLimit":{"signature":"public function getLimit(): int","return":{"type":"int","description":"The limit of the data. This may be used to set the LIMIT value for a SQL statement for fetching the current page of data. Note that if the page size is infinite, a value -1 will be returned."}},"getLinks":{"signature":"public function getLinks(bool $absolute = false): array","summary":"Returns a whole set of links for navigating to the first, last, next and previous pages.","params":[{"name":"$absolute","type":"bool","default":"false","optional":true,"description":"Whether the generated URLs should be absolute."}],"return":{"type":"array","description":"The links for navigational purpose. The array keys specify the purpose of the links (e.g. `LINK_FIRST`), and the array values are the corresponding URLs."}},"getOffset":{"signature":"public function getOffset(): int","return":{"type":"int","description":"The offset of the data. This may be used to set the OFFSET value for a SQL statement for fetching the current page of data."}},"getPage":{"signature":"public function getPage(bool $recalculate = false): int","summary":"Returns the zero-based current page number.","params":[{"name":"$recalculate","type":"bool","default":"false","optional":true,"description":"Whether to recalculate the current page based on the page size and item count."}],"return":{"type":"int","description":"The zero-based current page number."}},"getPageCount":{"signature":"public function getPageCount(): int","return":{"type":"int","description":"Number of pages"}},"getPageSize":{"signature":"public function getPageSize(): int","summary":"Returns the number of items per page.","return":{"type":"int","description":"The number of items per page. If it is less than 1, it means the page size is infinite, and thus a single page contains all items."}},"getQueryParam":{"signature":"protected function getQueryParam(string $name, string|null $defaultValue = null): string|null","summary":"Returns the value of the specified query parameter.","params":[{"name":"$name","type":"string","description":"The parameter name"},{"name":"$defaultValue","type":"string|null","default":"null","optional":true,"description":"The value to be returned when the specified parameter does not exist in `$params`."}],"return":{"type":"string|null","description":"The parameter value"},"visibility":"protected"},"resolveRoute":{"signature":"protected function resolveRoute(): string","summary":"Resolves the target route from `$route`, the active controller, or `yii\\base\\Application::$requestedRoute`.","return":{"type":"string","description":"The resolved route."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if no route can be resolved."}],"visibility":"protected"},"setPage":{"signature":"public function setPage(int $value, bool $validatePage = false): mixed","summary":"Sets the current page number.","params":[{"name":"$value","type":"int","description":"The zero-based index of the current page."},{"name":"$validatePage","type":"bool","default":"false","optional":true,"description":"Whether to validate the page number. Note that in order to validate the page number, both `$validatePage` and this parameter must be true."}],"return":{"type":"mixed"}},"setPageSize":{"signature":"public function setPageSize(int $value, bool $validatePageSize = false): mixed","params":[{"name":"$value","type":"int","description":"The number of items per page."},{"name":"$validatePageSize","type":"bool","default":"false","optional":true,"description":"Whether to validate page size."}],"return":{"type":"mixed"}}},"constants":{"LINK_NEXT":{"value":"'next'"},"LINK_PREV":{"value":"'prev'"},"LINK_FIRST":{"value":"'first'"},"LINK_LAST":{"value":"'last'"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\data\\Sort":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/data/sort/","summary":"Sort represents information relevant to sorting.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"attributeOrders":{"type":"array|null","description":"Sort directions indexed by attribute names.","virtual":true},"attributes":{"type":"array","default":"[]","description":"List of attributes that are allowed to be sorted."},"defaultOrder":{"type":"array|null","default":"null","description":"The order that should be used when the current request does not specify any order."},"enableMultiSort":{"type":"bool","default":"false","description":"Whether the sorting can be applied to multiple attributes simultaneously."},"modelClass":{"type":"string|null","default":"null","description":"The name of the `yii\\base\\Model`-based class used by the `link()` method to retrieve attributes' labels.","since":"2.0.49"},"orders":{"type":"array","description":"The columns (keys) and their corresponding sort directions (values).","access":"read-only","virtual":true},"params":{"type":"array|null","default":"null","description":"Parameters (name => value) that should be used to obtain the current sort directions and to create new sort URLs."},"route":{"type":"string|null","default":"null","description":"The route of the controller action for displaying the sorted contents."},"separator":{"type":"string","default":"','","description":"The character used to separate different attributes that need to be sorted by."},"sortFlags":{"type":"int","default":"SORT_REGULAR","description":"Allow to control a value of the fourth parameter which will be passed to `ArrayHelper::multisort()`","since":"2.0.33"},"sortParam":{"type":"string","default":"'sort'","description":"The name of the parameter that specifies which attributes to be sorted in which direction."},"urlManager":{"type":"yii\\web\\UrlManager|null","default":"null","description":"The URL manager used for creating sort URLs."}},"methods":{"createSortParam":{"signature":"public function createSortParam(string $attribute): string","summary":"Creates the sort variable for the specified attribute.","params":[{"name":"$attribute","type":"string","description":"The attribute name"}],"return":{"type":"string","description":"The value of the sort variable"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the specified attribute is not defined in `$attributes`"}]},"createUrl":{"signature":"public function createUrl(string $attribute, bool $absolute = false): string","summary":"Creates a URL for sorting the data by the specified attribute.","params":[{"name":"$attribute","type":"string","description":"The attribute name"},{"name":"$absolute","type":"bool","default":"false","optional":true,"description":"Whether to create an absolute URL. Defaults to `false`."}],"return":{"type":"string","description":"The URL for sorting. False if the attribute is invalid."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the attribute is unknown, or if `resolveRoute()` cannot determine a route."}]},"getAttributeOrder":{"signature":"public function getAttributeOrder(string $attribute): int|null","summary":"Returns the sort direction of the specified attribute in the current request.","params":[{"name":"$attribute","type":"string","description":"The attribute name"}],"return":{"type":"int|null","description":"Sort direction of the attribute. Can be either `SORT_ASC` for ascending order or `SORT_DESC` for descending order. Null is returned if the attribute is invalid or does not need to be sorted."}},"getAttributeOrders":{"signature":"public function getAttributeOrders(bool $recalculate = false): array","summary":"Returns the currently requested sort information.","params":[{"name":"$recalculate","type":"bool","default":"false","optional":true,"description":"Whether to recalculate the sort directions"}],"return":{"type":"array","description":"Sort directions indexed by attribute names. Sort direction can be either `SORT_ASC` for ascending order or `SORT_DESC` for descending order."}},"getOrders":{"signature":"public function getOrders(bool $recalculate = false): array","summary":"Returns the columns and their corresponding sort directions.","params":[{"name":"$recalculate","type":"bool","default":"false","optional":true,"description":"Whether to recalculate the sort directions"}],"return":{"type":"array","description":"The columns (keys) and their corresponding sort directions (values). This can be passed to `yii\\db\\Query::orderBy()` to construct a DB query."}},"hasAttribute":{"signature":"public function hasAttribute(string $name): bool","summary":"Returns a value indicating whether the sort definition supports sorting by the named attribute.","params":[{"name":"$name","type":"string","description":"The attribute name"}],"return":{"type":"bool","description":"Whether the sort definition supports sorting by the named attribute."}},"init":{"signature":"public function init(): mixed","summary":"Normalizes the `$attributes` property.","return":{"type":"mixed"}},"link":{"signature":"public function link(string $attribute, array $options = []): string","summary":"Generates a hyperlink that links to the sort action to sort by the specified attribute.","params":[{"name":"$attribute","type":"string","description":"The attribute name by which the data should be sorted by."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Additional HTML attributes for the hyperlink tag. There is one special attribute `label` which will be used as the label of the hyperlink. If this is not set, the label defined in `$attributes` will be used. If no label is defined, it will be retrieved from the instance of `$modelClass` (if `$modelClass` is not null) or generated from attribute name using `yii\\helpers\\Inflector::camel2words()`. Note that it will not be HTML-encoded."}],"return":{"type":"string","description":"The generated hyperlink"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the attribute is unknown"}]},"parseSortParam":{"signature":"protected function parseSortParam(mixed $param): array","summary":"Parses the value of `$sortParam` into an array of sort attributes.","params":[{"name":"$param","type":"mixed","description":"The value of the `$sortParam`."}],"return":{"type":"array","description":"The valid sort attributes."},"visibility":"protected","since":"2.0.12"},"resolveRoute":{"signature":"protected function resolveRoute(): string","summary":"Resolves the target route from `$route`, the active controller, or `yii\\base\\Application::$requestedRoute`.","return":{"type":"string","description":"The resolved route."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if no route can be resolved."}],"visibility":"protected"},"setAttributeOrders":{"signature":"public function setAttributeOrders(array|null $attributeOrders, bool $validate = true): mixed","summary":"Sets up the currently sort information.","params":[{"name":"$attributeOrders","type":"array|null","description":"Sort directions indexed by attribute names. Sort direction can be either `SORT_ASC` for ascending order or `SORT_DESC` for descending order."},{"name":"$validate","type":"bool","default":"true","optional":true,"description":"Whether to validate given attribute orders against `$attributes` and `$enableMultiSort`. If validation is enabled incorrect entries will be removed."}],"return":{"type":"mixed"},"since":"2.0.10"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\data\\SqlDataProvider":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/data/sqldataprovider/","summary":"SqlDataProvider implements a data provider based on a plain SQL statement.","since":"2.0","extends":"yii\\data\\BaseDataProvider","implements":["yii\\data\\DataProviderInterface","yii\\base\\Configurable"],"properties":{"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."},"key":{"type":"string|callable|null","default":"null","description":"The column that is used as the key of the data models."},"params":{"type":"array","default":"[]","description":"Parameters (name=>value) to be bound to the SQL statement."},"sql":{"type":"string","default":"null","description":"The SQL statement to be used for fetching data rows."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the DB connection component.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is invalid."}]},"prepareKeys":{"signature":"protected function prepareKeys(mixed $models): array","summary":"Prepares the keys associated with the currently available data models.","params":[{"name":"$models","type":"mixed","description":"The available data models"}],"return":{"type":"array","description":"The keys"},"visibility":"protected"},"prepareModels":{"signature":"protected function prepareModels(): array","summary":"Prepares the data models that will be made available in the current page.","return":{"type":"array","description":"The available data models"},"visibility":"protected"},"prepareTotalCount":{"signature":"protected function prepareTotalCount(): int","summary":"Returns a value indicating the total number of data models in this data provider.","return":{"type":"int","description":"Total number of data models in this data provider."},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","count":"yii\\data\\BaseDataProvider","id":"yii\\data\\BaseDataProvider","keys":"yii\\data\\BaseDataProvider","models":"yii\\data\\BaseDataProvider","pagination":"yii\\data\\BaseDataProvider","sort":"yii\\data\\BaseDataProvider","totalCount":"yii\\data\\BaseDataProvider"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCount":"yii\\data\\BaseDataProvider","getKeys":"yii\\data\\BaseDataProvider","getModels":"yii\\data\\BaseDataProvider","getPagination":"yii\\data\\BaseDataProvider","getSort":"yii\\data\\BaseDataProvider","getTotalCount":"yii\\data\\BaseDataProvider","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","prepare":"yii\\data\\BaseDataProvider","refresh":"yii\\data\\BaseDataProvider","setKeys":"yii\\data\\BaseDataProvider","setModels":"yii\\data\\BaseDataProvider","setPagination":"yii\\data\\BaseDataProvider","setSort":"yii\\data\\BaseDataProvider","setTotalCount":"yii\\data\\BaseDataProvider","trigger":"yii\\base\\Component"}}},"yii\\db\\ActiveQuery":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/activequery/","summary":"ActiveQuery represents a DB query associated with an Active Record class.","since":"2.0","extends":"yii\\db\\Query","implements":["yii\\db\\ActiveQueryInterface","yii\\base\\Configurable","yii\\db\\QueryInterface","yii\\db\\ExpressionInterface"],"traits":["yii\\db\\ActiveQueryTrait","yii\\db\\ActiveRelationTrait","yii\\db\\QueryTrait"],"properties":{"joinWith":{"type":"array|null","default":"null","description":"A list of relations that this query should be joined with"},"on":{"type":"string|array|null","default":"null","description":"The join condition to be used when this query is used in a relational context."},"sql":{"type":"string|null","default":"null","description":"The SQL statement to be executed for retrieving AR records."}},"methods":{"__construct":{"signature":"public function __construct(class-string<yii\\db\\ActiveRecordInterface> $modelClass, array $config = [])","summary":"Constructor.","params":[{"name":"$modelClass","type":"class-string<yii\\db\\ActiveRecordInterface>","description":"The model class associated with this query"},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Configurations to be applied to the newly created query object"}]},"alias":{"signature":"public function alias(string $alias): $this","summary":"Define an alias for the table defined in `$modelClass`.","params":[{"name":"$alias","type":"string","description":"The table alias."}],"return":{"type":"$this","description":"The query object itself"},"since":"2.0.7"},"all":{"signature":"public function all(yii\\db\\Connection|null $db = null): yii\\db\\T[]","summary":"Executes query and returns all results as an array.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The DB connection used to create the DB command. If null, the DB connection returned by `$modelClass` will be used."}],"return":{"type":"yii\\db\\T[]","description":"The query results. If the query results in nothing, an empty array will be returned."}},"andOnCondition":{"signature":"public function andOnCondition(string|array $condition, array $params = []): $this","summary":"Adds an additional ON condition to the existing one.","params":[{"name":"$condition","type":"string|array","description":"The new ON condition. Please refer to `where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"asArray":{"signature":"public function asArray(mixed $value): ($value is true ? (yii\\db\\T is array ? static<yii\\db\\T> : static<array<string, mixed>>) : static<yii\\db\\T>)","summary":"Sets the `asArray()` property.","params":[{"name":"$value","type":"mixed"}],"return":{"type":"($value is true ? (yii\\db\\T is array ? static<yii\\db\\T> : static<array<string, mixed>>) : static<yii\\db\\T>)"},"virtual":true},"batch":{"signature":"public function batch(mixed $batchSize, mixed $db): yii\\db\\BatchQueryResult<int, yii\\db\\T[]>","summary":"The batch query result.","params":[{"name":"$batchSize","type":"mixed"},{"name":"$db","type":"mixed"}],"return":{"type":"yii\\db\\BatchQueryResult<int, yii\\db\\T[]>"},"virtual":true},"createCommand":{"signature":"public function createCommand(yii\\db\\Connection|null $db = null): yii\\db\\Command","summary":"Creates a DB command that can be used to execute this query.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The DB connection used to create the DB command. If `null`, the DB connection returned by `$modelClass` will be used."}],"return":{"type":"yii\\db\\Command","description":"The created DB command instance."}},"each":{"signature":"public function each(mixed $batchSize, mixed $db): yii\\db\\BatchQueryResult<array-key, yii\\db\\T>","summary":"The batch query result.","params":[{"name":"$batchSize","type":"mixed"},{"name":"$db","type":"mixed"}],"return":{"type":"yii\\db\\BatchQueryResult<array-key, yii\\db\\T>"},"virtual":true},"getPrimaryTableName":{"signature":"protected function getPrimaryTableName(): string","return":{"type":"string","description":"Primary table name"},"visibility":"protected","since":"2.0.12"},"getTableNameAndAlias":{"signature":"protected function getTableNameAndAlias(): array","summary":"Returns the table name and the table alias for `$modelClass`.","return":{"type":"array","description":"The table name and the table alias."},"visibility":"protected","since":"2.0.16"},"getTablesUsedInFrom":{"signature":"public function getTablesUsedInFrom(): string[]","summary":"Returns table names used in `from()` indexed by aliases.","return":{"type":"string[]","description":"Table names indexed by aliases"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"since":"2.0.12"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"innerJoinWith":{"signature":"public function innerJoinWith(string|array $with, bool|array $eagerLoading = true): $this","summary":"Inner joins with the specified relations.","params":[{"name":"$with","type":"string|array","description":"The relations to be joined with."},{"name":"$eagerLoading","type":"bool|array","default":"true","optional":true,"description":"Whether to eager load the relations. Note, that this does not mean, that the relations are populated from the query result. An extra query will still be performed to bring in the related data."}],"return":{"type":"$this","description":"The query object itself"}},"joinWith":{"signature":"public function joinWith(string|array $with, bool|array $eagerLoading = true, string|array $joinType = 'LEFT JOIN'): $this","summary":"Joins with the specified relations.","params":[{"name":"$with","type":"string|array","description":"The relations to be joined. This can either be a string, representing a relation name or an array with the following semantics: - Each array element represents a single relation. - You may specify the relation name as the array key and provide an anonymous functions that can be used to modify the relation queries on-the-fly as the array value. - If a relation query does not need modification, you may use the relation name as the array value. The relation name may optionally contain an alias for the relation table (e.g. `books b`). Sub-relations can also be specified, see `with()` for the syntax. In the following you find some examples: ``` // find all orders that contain books, and eager loading \"books\" Order::find()->joinWith('books', true, 'INNER JOIN')->all(); // find all orders, eager loading \"books\", and sort the orders and books by the book names. Order::find()->joinWith([ 'books' => function (\\yii\\db\\ActiveQuery $query) { $query->orderBy('item.name'); } ])->all(); // find all orders that contain books of the category 'Science fiction', using the alias \"b\" for the books table Order::find()->joinWith(['books b'], true, 'INNER JOIN')->where(['b.category' => 'Science fiction'])->all(); ``` The alias syntax is available since version 2.0.7."},{"name":"$eagerLoading","type":"bool|array","default":"true","optional":true,"description":"Whether to eager load the relations specified in `$with`. When this is a boolean, it applies to all relations specified in `$with`. Use an array to explicitly list which relations in `$with` need to be eagerly loaded. Note, that this does not mean, that the relations are populated from the query result. An extra query will still be performed to bring in the related data. Defaults to `true`."},{"name":"$joinType","type":"string|array","default":"'LEFT JOIN'","optional":true,"description":"The join type of the relations specified in `$with`. When this is a string, it applies to all relations specified in `$with`. Use an array in the format of `relationName => joinType` to specify different join types for different relations."}],"return":{"type":"$this","description":"The query object itself"}},"onCondition":{"signature":"public function onCondition(string|array $condition, array $params = []): $this","summary":"Sets the ON condition for a relational query.","params":[{"name":"$condition","type":"string|array","description":"The ON condition. Please refer to `yii\\db\\Query::where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"one":{"signature":"public function one(yii\\db\\Connection|null $db = null): yii\\db\\T|null","summary":"Executes query and returns a single row of result.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The DB connection used to create the DB command. If `null`, the DB connection returned by `$modelClass` will be used."}],"return":{"type":"yii\\db\\T|null","description":"A single row of query result. Depending on the setting of `asArray()`, the query result may be either an array or an ActiveRecord object. `null` will be returned if the query results in nothing."}},"orOnCondition":{"signature":"public function orOnCondition(string|array $condition, array $params = []): $this","summary":"Adds an additional ON condition to the existing one.","params":[{"name":"$condition","type":"string|array","description":"The new ON condition. Please refer to `where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"populate":{"signature":"public function populate(mixed $rows, mixed $db = null): array","summary":"Converts the raw query results into the format as specified by this query.","params":[{"name":"$rows","type":"mixed","description":"The raw query result from database."},{"name":"$db","type":"mixed","default":"null","optional":true,"description":"The database connection used to retrieve the rows."}],"return":{"type":"array","description":"The converted query result."}},"prepare":{"signature":"public function prepare(mixed $builder): self","summary":"Prepares for building SQL.","params":[{"name":"$builder","type":"mixed"}],"return":{"type":"self","description":"A prepared query instance which will be used by `yii\\db\\QueryBuilder` to build the SQL"}},"queryScalar":{"signature":"protected function queryScalar(mixed $selectExpression, mixed $db): bool|string|null","summary":"Queries a scalar value by setting `select()` first.","params":[{"name":"$selectExpression","type":"mixed"},{"name":"$db","type":"mixed","description":"The database connection used to execute the query."}],"return":{"type":"bool|string|null"},"throws":[{"type":"Throwable","description":"if can't create command"}],"visibility":"protected"},"viaTable":{"signature":"public function viaTable(string $tableName, array $link, callable|null $callable = null): $this","summary":"Specifies the junction table for a relational query.","params":[{"name":"$tableName","type":"string","description":"The name of the junction table."},{"name":"$link","type":"array","description":"The link between the junction table and the table associated with `$primaryModel`. The keys of the array represent the columns in the junction table, and the values represent the columns in the `$primaryModel` table."},{"name":"$callable","type":"callable|null","default":"null","optional":true,"description":"A PHP callback for customizing the relation associated with the junction table. Its signature should be `function($query)`, where `$query` is the query to be customized."}],"return":{"type":"$this","description":"The query object itself"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when query is not initialized properly"}]}},"events":{"EVENT_INIT":{"value":"'init'","type":"yii\\db\\Event","description":"An event that is triggered when the query is initialized via `init()`."}},"inherited":{"properties":{"asArray":"yii\\db\\ActiveQueryTrait","behaviors":"yii\\base\\Component","distinct":"yii\\db\\Query","emulateExecution":"yii\\db\\QueryTrait","from":"yii\\db\\Query","groupBy":"yii\\db\\Query","having":"yii\\db\\Query","indexBy":"yii\\db\\QueryTrait","inverseOf":"yii\\db\\ActiveRelationTrait","join":"yii\\db\\Query","limit":"yii\\db\\QueryTrait","link":"yii\\db\\ActiveRelationTrait","modelClass":"yii\\db\\ActiveQueryTrait","multiple":"yii\\db\\ActiveRelationTrait","offset":"yii\\db\\QueryTrait","orderBy":"yii\\db\\QueryTrait","params":"yii\\db\\Query","primaryModel":"yii\\db\\ActiveRelationTrait","queryCacheDependency":"yii\\db\\Query","queryCacheDuration":"yii\\db\\Query","select":"yii\\db\\Query","selectOption":"yii\\db\\Query","tablesUsedInFrom":"yii\\db\\Query","union":"yii\\db\\Query","unionLimit":"yii\\db\\Query","unionOffset":"yii\\db\\Query","unionOrderBy":"yii\\db\\Query","via":"yii\\db\\ActiveRelationTrait","where":"yii\\db\\QueryTrait","with":"yii\\db\\ActiveQueryTrait","withQueries":"yii\\db\\Query"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__toString":"yii\\db\\Query","__unset":"yii\\base\\Component","addGroupBy":"yii\\db\\Query","addOrderBy":"yii\\db\\QueryTrait","addParams":"yii\\db\\Query","addSelect":"yii\\db\\Query","addUnionOrderBy":"yii\\db\\Query","andFilterCompare":"yii\\db\\Query","andFilterHaving":"yii\\db\\Query","andFilterWhere":"yii\\db\\QueryTrait","andHaving":"yii\\db\\Query","andWhere":"yii\\db\\Query","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","average":"yii\\db\\Query","behaviors":"yii\\base\\Component","cache":"yii\\db\\Query","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","cleanUpTableNames":"yii\\db\\Query","column":"yii\\db\\Query","count":"yii\\db\\Query","create":"yii\\db\\Query","createModels":"yii\\db\\ActiveQueryTrait","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","distinct":"yii\\db\\Query","emulateExecution":"yii\\db\\QueryTrait","ensureBehaviors":"yii\\base\\Component","exists":"yii\\db\\Query","filterCondition":"yii\\db\\QueryTrait","filterHaving":"yii\\db\\Query","filterWhere":"yii\\db\\QueryTrait","findFor":"yii\\db\\ActiveRelationTrait","findWith":"yii\\db\\ActiveQueryTrait","from":"yii\\db\\Query","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","groupBy":"yii\\db\\Query","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","having":"yii\\db\\Query","indexBy":"yii\\db\\QueryTrait","innerJoin":"yii\\db\\Query","inverseOf":"yii\\db\\ActiveRelationTrait","isEmpty":"yii\\db\\QueryTrait","join":"yii\\db\\Query","leftJoin":"yii\\db\\Query","limit":"yii\\db\\QueryTrait","max":"yii\\db\\Query","min":"yii\\db\\Query","noCache":"yii\\db\\Query","normalizeOrderBy":"yii\\db\\QueryTrait","normalizeSelect":"yii\\db\\Query","off":"yii\\base\\Component","offset":"yii\\db\\QueryTrait","on":"yii\\base\\Component","orderBy":"yii\\db\\QueryTrait","orFilterHaving":"yii\\db\\Query","orFilterWhere":"yii\\db\\QueryTrait","orHaving":"yii\\db\\Query","orWhere":"yii\\db\\Query","params":"yii\\db\\Query","populateRelation":"yii\\db\\ActiveRelationTrait","rightJoin":"yii\\db\\Query","scalar":"yii\\db\\Query","select":"yii\\db\\Query","setCommandCache":"yii\\db\\Query","sum":"yii\\db\\Query","trigger":"yii\\base\\Component","union":"yii\\db\\Query","unionLimit":"yii\\db\\Query","unionOffset":"yii\\db\\Query","unionOrderBy":"yii\\db\\Query","via":"yii\\db\\ActiveRelationTrait","where":"yii\\db\\Query","with":"yii\\db\\ActiveQueryTrait","withQuery":"yii\\db\\Query"}}},"yii\\db\\ActiveQueryInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/activequeryinterface/","summary":"ActiveQueryInterface defines the common interface to be implemented by active record query classes.","since":"2.0","implements":["yii\\db\\QueryInterface"],"methods":{"asArray":{"signature":"abstract public function asArray(bool $value = true): $this","summary":"Sets the `asArray()` property.","params":[{"name":"$value","type":"bool","default":"true","optional":true,"description":"Whether to return the query results in terms of arrays instead of Active Records."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"findFor":{"signature":"abstract public function findFor(string $name, yii\\db\\ActiveRecordInterface $model): mixed","summary":"Finds the related records for the specified primary record.","params":[{"name":"$name","type":"string","description":"The relation name"},{"name":"$model","type":"yii\\db\\ActiveRecordInterface","description":"The primary model"}],"return":{"type":"mixed","description":"The related record(s)"},"abstract":true},"indexBy":{"signature":"abstract public function indexBy(string|callable $column): $this","summary":"Sets the `indexBy()` property.","params":[{"name":"$column","type":"string|callable","description":"The name of the column by which the query results should be indexed by. This can also be a callable (e.g. anonymous function) that returns the index value based on the given row or model data. The signature of the callable should be: ``` // $model is an AR instance when `asArray` is false, // or an array of column values when `asArray` is true. function ($model) { // return the index value corresponding to $model } ```"}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"one":{"signature":"abstract public function one(yii\\db\\Connection|null $db = null): yii\\db\\ActiveRecordInterface|array|null","summary":"Executes query and returns a single row of result.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The DB connection used to create the DB command. If `null`, the DB connection returned by modelClass (`yii\\db\\ActiveQueryTrait::$modelClass`) will be used."}],"return":{"type":"yii\\db\\ActiveRecordInterface|array|null","description":"A single row of query result. Depending on the setting of `asArray()`, the query result may be either an array or an ActiveRecord object. `null` will be returned if the query results in nothing."},"abstract":true},"via":{"signature":"abstract public function via(string $relationName, callable|null $callable = null): $this","summary":"Specifies the relation associated with the junction table for use in relational query.","params":[{"name":"$relationName","type":"string","description":"The relation name. This refers to a relation declared in the primaryModel (`yii\\db\\ActiveRelationTrait::$primaryModel`) of the relation."},{"name":"$callable","type":"callable|null","default":"null","optional":true,"description":"A PHP callback for customizing the relation associated with the junction table. Its signature should be `function($query)`, where `$query` is the query to be customized."}],"return":{"type":"$this","description":"The relation object itself."},"abstract":true},"with":{"signature":"abstract public function with(): $this","summary":"Specifies the relations with which this query should be performed.","return":{"type":"$this","description":"The query object itself"},"abstract":true}},"inherited":{"methods":{"addOrderBy":"yii\\db\\QueryInterface","all":"yii\\db\\QueryInterface","andFilterWhere":"yii\\db\\QueryInterface","andWhere":"yii\\db\\QueryInterface","count":"yii\\db\\QueryInterface","emulateExecution":"yii\\db\\QueryInterface","exists":"yii\\db\\QueryInterface","filterWhere":"yii\\db\\QueryInterface","limit":"yii\\db\\QueryInterface","offset":"yii\\db\\QueryInterface","orderBy":"yii\\db\\QueryInterface","orFilterWhere":"yii\\db\\QueryInterface","orWhere":"yii\\db\\QueryInterface","where":"yii\\db\\QueryInterface"}}},"yii\\db\\ActiveQueryTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/db/activequerytrait/","summary":"ActiveQueryTrait implements the common methods and properties for active record query classes.","since":"2.0","properties":{"asArray":{"type":"bool","default":"null","description":"Whether to return each record as an array."},"modelClass":{"type":"class-string<yii\\db\\ActiveRecordInterface>","default":"null","description":"The name of the ActiveRecord class."},"with":{"type":"array|null","default":"null","description":"A list of relations that this query should be performed with"}},"methods":{"asArray":{"signature":"public function asArray(bool $value = true): $this","summary":"Sets the `asArray()` property.","params":[{"name":"$value","type":"bool","default":"true","optional":true,"description":"Whether to return the query results in terms of arrays instead of Active Records."}],"return":{"type":"$this","description":"The query object itself"}},"createModels":{"signature":"protected function createModels(array $rows, yii\\db\\Connection|null $db = null): array|yii\\db\\BaseActiveRecord[]","summary":"Converts found rows into model instances.","params":[{"name":"$rows","type":"array","description":"The rows to be converted into model instances. Each array element represents a row of data."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to retrieve the rows."}],"return":{"type":"array|yii\\db\\BaseActiveRecord[]","description":"The model instances created from the rows. If `asArray()` is true, the rows will be returned as is."},"visibility":"protected","since":"2.0.11"},"findWith":{"signature":"public function findWith(array $with, array &$models): mixed","summary":"Finds records corresponding to one or multiple relations and populates them into the primary models.","params":[{"name":"$with","type":"array","description":"A list of relations that this query should be performed with. Please refer to `with()` for details about specifying this parameter."},{"name":"$models","type":"array","byReference":true,"description":"The primary models (can be either AR instances or arrays)"}],"return":{"type":"mixed"}},"with":{"signature":"public function with(): $this","summary":"Specifies the relations with which this query should be performed.","return":{"type":"$this","description":"The query object itself"}}}},"yii\\db\\ActiveRecord":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/activerecord/","summary":"ActiveRecord is the base class for classes representing relational data in terms of objects.","since":"2.0","extends":"yii\\db\\BaseActiveRecord","implements":["yii\\base\\StaticInstanceInterface","IteratorAggregate","ArrayAccess","yii\\base\\Arrayable","yii\\base\\Configurable","yii\\db\\ActiveRecordInterface"],"traits":["yii\\base\\ArrayableTrait","yii\\base\\StaticInstanceTrait"],"methods":{"attributes":{"signature":"public function attributes(): array","summary":"Returns the list of all attribute names of the model.","return":{"type":"array","description":"List of attribute names."}},"delete":{"signature":"public function delete(): int|false","summary":"Deletes the table row corresponding to this active record.","return":{"type":"int|false","description":"The number of rows deleted, or `false` if the deletion is unsuccessful for some reason. Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful."},"throws":[{"type":"yii\\db\\StaleObjectException","description":"if optimistic locking (`optimisticLock()`) is enabled and the data being deleted is outdated."},{"type":"Throwable","description":"in case delete failed."}]},"deleteAll":{"signature":"public static function deleteAll(string|array|null $condition = null, array $params = []): int","summary":"Deletes rows in the table using the provided conditions.","params":[{"name":"$condition","type":"string|array|null","default":"null","optional":true,"description":"The conditions that will be put in the WHERE part of the DELETE SQL. Please refer to `yii\\db\\Query::where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"int","description":"The number of rows deleted"},"static":true},"deleteInternal":{"signature":"protected function deleteInternal(): int|false","summary":"Deletes an ActiveRecord without considering transaction.","return":{"type":"int|false","description":"The number of rows deleted, or `false` if the deletion is unsuccessful for some reason. Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful."},"throws":[{"type":"yii\\db\\StaleObjectException"}],"visibility":"protected"},"equals":{"signature":"public function equals(yii\\db\\ActiveRecord $record): bool","summary":"Returns a value indicating whether the given active record is the same as the current one.","params":[{"name":"$record","type":"yii\\db\\ActiveRecord","description":"Record to compare to"}],"return":{"type":"bool","description":"Whether the two active records refer to the same row in the same database table."}},"find":{"signature":"public static function find(): yii\\db\\ActiveQuery<static>","summary":"Creates an `yii\\db\\ActiveQueryInterface` instance for query purpose.","return":{"type":"yii\\db\\ActiveQuery<static>","description":"The newly created `yii\\db\\ActiveQuery` instance."},"static":true},"findBySql":{"signature":"public static function findBySql(string $sql, array $params = []): yii\\db\\ActiveQuery<static>","summary":"Creates an `yii\\db\\ActiveQuery` instance with a given SQL statement.","params":[{"name":"$sql","type":"string","description":"The SQL statement to be executed"},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Parameters to be bound to the SQL statement during execution."}],"return":{"type":"yii\\db\\ActiveQuery<static>","description":"The newly created `yii\\db\\ActiveQuery` instance"},"static":true},"getDb":{"signature":"public static function getDb(): yii\\db\\Connection","summary":"Returns the database connection used by this AR class.","return":{"type":"yii\\db\\Connection","description":"The database connection used by this AR class."},"static":true},"getTableSchema":{"signature":"public static function getTableSchema(yii\\db\\Connection|null $db = null): yii\\db\\TableSchema","summary":"Returns the schema information of the DB table associated with this AR class.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to retrieve the schema. If `null`, the connection returned by `getDb()` will be used."}],"return":{"type":"yii\\db\\TableSchema","description":"The schema information of the DB table associated with this AR class."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the table for the AR class does not exist."}],"static":true},"hasMany":{"signature":"public function hasMany(class-string<yii\\db\\T> $class, mixed $link): yii\\db\\ActiveQuery<yii\\db\\T>","summary":"Declares a `has-many` relation.","params":[{"name":"$class","type":"class-string<yii\\db\\T>","description":"The class name of the related record."},{"name":"$link","type":"mixed","description":"The primary-foreign key constraint. The keys of the array refer to the attributes of the record associated with the `$class` model, while the values of the array refer to the corresponding attributes in **this** AR class."}],"return":{"type":"yii\\db\\ActiveQuery<yii\\db\\T>","description":"The relational query object."}},"hasOne":{"signature":"public function hasOne(class-string<yii\\db\\T> $class, mixed $link): yii\\db\\ActiveQuery<yii\\db\\T>","summary":"Declares a `has-one` relation.","params":[{"name":"$class","type":"class-string<yii\\db\\T>","description":"The class name of the related record."},{"name":"$link","type":"mixed","description":"The primary-foreign key constraint. The keys of the array refer to the attributes of the record associated with the `$class` model, while the values of the array refer to the corresponding attributes in **this** AR class."}],"return":{"type":"yii\\db\\ActiveQuery<yii\\db\\T>","description":"The relational query object."}},"insert":{"signature":"public function insert(bool $runValidation = true, array|null $attributes = null): bool","summary":"Inserts a row into the associated database table using the attribute values of this record.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling `validate()`) before saving the record. Defaults to `true`. If the validation fails, the record will not be saved to the database and this method will return `false`."},{"name":"$attributes","type":"array|null","default":"null","optional":true,"description":"List of attributes that need to be saved. Defaults to `null`, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"bool","description":"Whether the attributes are valid and the record is inserted successfully."},"throws":[{"type":"Throwable","description":"in case insert failed."}]},"insertInternal":{"signature":"protected function insertInternal(array|null $attributes = null): bool","summary":"Inserts an ActiveRecord into DB without considering transaction.","params":[{"name":"$attributes","type":"array|null","default":"null","optional":true,"description":"List of attributes that need to be saved. Defaults to `null`, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"bool","description":"Whether the record is inserted successfully."},"visibility":"protected"},"isTransactional":{"signature":"public function isTransactional(int $operation): bool","summary":"Returns a value indicating whether the specified operation is transactional in the current `$scenario`.","params":[{"name":"$operation","type":"int","description":"The operation to check. Possible values are `OP_INSERT`, `OP_UPDATE` and `OP_DELETE`."}],"return":{"type":"bool","description":"Whether the specified operation is transactional in the current `$scenario`."}},"loadDefaultValues":{"signature":"public function loadDefaultValues(bool $skipIfSet = true): $this","summary":"Loads default values from database table schema.","params":[{"name":"$skipIfSet","type":"bool","default":"true","optional":true,"description":"Whether existing value should be preserved. This will only set defaults for attributes that are `null`."}],"return":{"type":"$this","description":"The model instance itself."}},"populateRecord":{"signature":"public static function populateRecord(mixed $record, mixed $row, yii\\db\\Connection|null $db = null): mixed","summary":"Populates an active record object using a row of data from the database/storage.","params":[{"name":"$record","type":"mixed","description":"The record to be populated. In most cases this will be an instance created by `instantiate()` beforehand."},{"name":"$row","type":"mixed","description":"Attribute values (name => value)"},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to retrieve the row and its schema."}],"return":{"type":"mixed"},"static":true},"primaryKey":{"signature":"public static function primaryKey(): string[]","summary":"Returns the primary key name(s) for this AR class.","return":{"type":"string[]","description":"The primary keys of the associated database table."},"static":true},"refresh":{"signature":"public function refresh(): bool","summary":"Repopulates this active record with the latest data.","return":{"type":"bool","description":"Whether the row still exists in the database. If `true`, the latest data will be populated to this active record. Otherwise, this record will remain unchanged."}},"tableName":{"signature":"public static function tableName(): string","summary":"Declares the name of the database table associated with this AR class.","return":{"type":"string","description":"The table name"},"static":true},"transactions":{"signature":"public function transactions(): array","summary":"Declares which DB operations should be performed within a transaction in different scenarios.","return":{"type":"array","description":"The declarations of transactional operations. The array keys are scenarios names, and the array values are the corresponding transaction operations."}},"update":{"signature":"public function update(bool $runValidation = true, array|null $attributeNames = null): int|false","summary":"Saves the changes to this active record into the associated database table.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling `validate()`) before saving the record. Defaults to `true`. If the validation fails, the record will not be saved to the database and this method will return `false`."},{"name":"$attributeNames","type":"array|null","default":"null","optional":true,"description":"List of attributes that need to be saved. Defaults to `null`, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"int|false","description":"The number of rows affected, or false if validation fails or `beforeSave()` stops the updating process."},"throws":[{"type":"yii\\db\\StaleObjectException","description":"if optimistic locking (`optimisticLock()`) is enabled and the data being updated is outdated."},{"type":"Throwable","description":"in case update failed."}]},"updateAll":{"signature":"public static function updateAll(array $attributes, string|array $condition = '', array $params = []): int","summary":"Updates the whole table using the provided attribute values and conditions.","params":[{"name":"$attributes","type":"array","description":"Attribute values (name-value pairs) to be saved into the table"},{"name":"$condition","type":"string|array","default":"''","optional":true,"description":"The conditions that will be put in the WHERE part of the UPDATE SQL. Please refer to `yii\\db\\Query::where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"int","description":"The number of rows updated"},"static":true},"updateAllCounters":{"signature":"public static function updateAllCounters(array $counters, string|array $condition = '', array $params = []): int","summary":"Updates the whole table using the provided counter changes and conditions.","params":[{"name":"$counters","type":"array","description":"The counters to be updated (attribute name => increment value). Use negative values if you want to decrement the counters."},{"name":"$condition","type":"string|array","default":"''","optional":true,"description":"The conditions that will be put in the WHERE part of the UPDATE SQL. Please refer to `yii\\db\\Query::where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query. Do not name the parameters as `:bp0`, `:bp1`, etc., because they are used internally by this method."}],"return":{"type":"int","description":"The number of rows updated"},"static":true}},"constants":{"OP_INSERT":{"value":"0x1","description":"The insert operation. This is mainly used when overriding `transactions()` to specify which operations are transactional."},"OP_UPDATE":{"value":"0x2","description":"The update operation. This is mainly used when overriding `transactions()` to specify which operations are transactional."},"OP_DELETE":{"value":"0x4","description":"The delete operation. This is mainly used when overriding `transactions()` to specify which operations are transactional."},"OP_ALL":{"value":"0x7","description":"All three operations: insert, update, delete."}},"inherited":{"properties":{"activeValidators":"yii\\base\\Model","attributes":"yii\\base\\Model","behaviors":"yii\\base\\Component","dirtyAttributes":"yii\\db\\BaseActiveRecord","errors":"yii\\base\\Model","firstErrors":"yii\\base\\Model","isNewRecord":"yii\\db\\BaseActiveRecord","iterator":"yii\\base\\Model","oldAttributes":"yii\\db\\BaseActiveRecord","oldPrimaryKey":"yii\\db\\BaseActiveRecord","primaryKey":"yii\\db\\BaseActiveRecord","relatedRecords":"yii\\db\\BaseActiveRecord","scenario":"yii\\base\\Model","validators":"yii\\base\\Model"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Model","__construct":"yii\\base\\BaseObject","__get":"yii\\db\\BaseActiveRecord","__isset":"yii\\db\\BaseActiveRecord","__set":"yii\\db\\BaseActiveRecord","__unset":"yii\\db\\BaseActiveRecord","activeAttributes":"yii\\base\\Model","addError":"yii\\base\\Model","addErrors":"yii\\base\\Model","afterDelete":"yii\\db\\BaseActiveRecord","afterFind":"yii\\db\\BaseActiveRecord","afterRefresh":"yii\\db\\BaseActiveRecord","afterSave":"yii\\db\\BaseActiveRecord","afterValidate":"yii\\base\\Model","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","attributeHints":"yii\\base\\Model","attributeLabels":"yii\\base\\Model","beforeDelete":"yii\\db\\BaseActiveRecord","beforeSave":"yii\\db\\BaseActiveRecord","beforeValidate":"yii\\base\\Model","behaviors":"yii\\base\\Component","canGetProperty":"yii\\db\\BaseActiveRecord","canSetOldAttribute":"yii\\db\\BaseActiveRecord","canSetProperty":"yii\\db\\BaseActiveRecord","className":"yii\\base\\BaseObject","clearErrors":"yii\\base\\Model","createRelationQuery":"yii\\db\\BaseActiveRecord","createValidators":"yii\\base\\Model","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","extractFieldsFor":"yii\\base\\ArrayableTrait","extractRootFields":"yii\\base\\ArrayableTrait","extraFields":"yii\\db\\BaseActiveRecord","fields":"yii\\db\\BaseActiveRecord","findAll":"yii\\db\\BaseActiveRecord","findOne":"yii\\db\\BaseActiveRecord","formName":"yii\\base\\Model","generateAttributeLabel":"yii\\base\\Model","getActiveValidators":"yii\\base\\Model","getAttribute":"yii\\db\\BaseActiveRecord","getAttributeHint":"yii\\db\\BaseActiveRecord","getAttributeLabel":"yii\\db\\BaseActiveRecord","getAttributes":"yii\\base\\Model","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getDirtyAttributes":"yii\\db\\BaseActiveRecord","getErrors":"yii\\base\\Model","getErrorSummary":"yii\\base\\Model","getFirstError":"yii\\base\\Model","getFirstErrors":"yii\\base\\Model","getIsNewRecord":"yii\\db\\BaseActiveRecord","getIterator":"yii\\base\\Model","getOldAttribute":"yii\\db\\BaseActiveRecord","getOldAttributes":"yii\\db\\BaseActiveRecord","getOldPrimaryKey":"yii\\db\\BaseActiveRecord","getPrimaryKey":"yii\\db\\BaseActiveRecord","getRelatedRecords":"yii\\db\\BaseActiveRecord","getRelation":"yii\\db\\BaseActiveRecord","getScenario":"yii\\base\\Model","getValidators":"yii\\base\\Model","hasAttribute":"yii\\db\\BaseActiveRecord","hasErrors":"yii\\base\\Model","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\db\\BaseActiveRecord","instance":"yii\\base\\StaticInstanceTrait","instantiate":"yii\\db\\BaseActiveRecord","isAttributeActive":"yii\\base\\Model","isAttributeChanged":"yii\\db\\BaseActiveRecord","isAttributeRequired":"yii\\base\\Model","isAttributeSafe":"yii\\base\\Model","isPrimaryKey":"yii\\db\\BaseActiveRecord","isRelationPopulated":"yii\\db\\BaseActiveRecord","link":"yii\\db\\BaseActiveRecord","load":"yii\\base\\Model","loadMultiple":"yii\\base\\Model","loadRelations":"yii\\db\\BaseActiveRecord","loadRelationsFor":"yii\\db\\BaseActiveRecord","markAttributeDirty":"yii\\db\\BaseActiveRecord","off":"yii\\base\\Component","offsetExists":"yii\\db\\BaseActiveRecord","offsetGet":"yii\\base\\Model","offsetSet":"yii\\base\\Model","offsetUnset":"yii\\db\\BaseActiveRecord","on":"yii\\base\\Component","onUnsafeAttribute":"yii\\base\\Model","optimisticLock":"yii\\db\\BaseActiveRecord","populateRelation":"yii\\db\\BaseActiveRecord","refreshInternal":"yii\\db\\BaseActiveRecord","resolveFields":"yii\\base\\ArrayableTrait","rules":"yii\\base\\Model","safeAttributes":"yii\\base\\Model","save":"yii\\db\\BaseActiveRecord","scenarios":"yii\\base\\Model","setAttribute":"yii\\db\\BaseActiveRecord","setAttributes":"yii\\base\\Model","setIsNewRecord":"yii\\db\\BaseActiveRecord","setOldAttribute":"yii\\db\\BaseActiveRecord","setOldAttributes":"yii\\db\\BaseActiveRecord","setScenario":"yii\\base\\Model","toArray":"yii\\base\\ArrayableTrait","trigger":"yii\\base\\Component","unlink":"yii\\db\\BaseActiveRecord","unlinkAll":"yii\\db\\BaseActiveRecord","updateAttributes":"yii\\db\\BaseActiveRecord","updateCounters":"yii\\db\\BaseActiveRecord","updateInternal":"yii\\db\\BaseActiveRecord","validate":"yii\\base\\Model","validateMultiple":"yii\\base\\Model"},"constants":{"SCENARIO_DEFAULT":"yii\\base\\Model"},"events":{"EVENT_INIT":"yii\\db\\BaseActiveRecord","EVENT_AFTER_FIND":"yii\\db\\BaseActiveRecord","EVENT_BEFORE_INSERT":"yii\\db\\BaseActiveRecord","EVENT_AFTER_INSERT":"yii\\db\\BaseActiveRecord","EVENT_BEFORE_UPDATE":"yii\\db\\BaseActiveRecord","EVENT_AFTER_UPDATE":"yii\\db\\BaseActiveRecord","EVENT_BEFORE_DELETE":"yii\\db\\BaseActiveRecord","EVENT_AFTER_DELETE":"yii\\db\\BaseActiveRecord","EVENT_AFTER_REFRESH":"yii\\db\\BaseActiveRecord","EVENT_BEFORE_VALIDATE":"yii\\base\\Model","EVENT_AFTER_VALIDATE":"yii\\base\\Model"}}},"yii\\db\\ActiveRecordInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/activerecordinterface/","summary":"ActiveRecordInterface.","since":"2.0","implements":["yii\\base\\StaticInstanceInterface"],"methods":{"attributes":{"signature":"abstract public function attributes(): array","summary":"Returns the list of all attribute names of the record.","return":{"type":"array","description":"List of attribute names."},"abstract":true},"delete":{"signature":"abstract public function delete(): int|bool","summary":"Deletes the record from the database.","return":{"type":"int|bool","description":"The number of rows deleted, or `false` if the deletion is unsuccessful for some reason. Note that it is possible that the number of rows deleted is 0, even though the deletion execution is successful."},"abstract":true},"deleteAll":{"signature":"abstract public static function deleteAll(array|null $condition = null): int","summary":"Deletes records using the provided conditions.","params":[{"name":"$condition","type":"array|null","default":"null","optional":true,"description":"The condition that matches the records that should get deleted. Please refer to `yii\\db\\QueryInterface::where()` on how to specify this parameter. An empty condition will match all records."}],"return":{"type":"int","description":"The number of rows deleted"},"static":true,"abstract":true},"equals":{"signature":"abstract public function equals(static $record): bool","summary":"Returns a value indicating whether the given active record is the same as the current one.","params":[{"name":"$record","type":"static","description":"Record to compare to"}],"return":{"type":"bool","description":"Whether the two active records refer to the same row in the same database table."},"abstract":true},"find":{"signature":"abstract public static function find(): yii\\db\\ActiveQueryInterface","summary":"Creates an `yii\\db\\ActiveQueryInterface` instance for query purpose.","return":{"type":"yii\\db\\ActiveQueryInterface","description":"The newly created `yii\\db\\ActiveQueryInterface` instance."},"static":true,"abstract":true},"findAll":{"signature":"abstract public static function findAll(mixed $condition): array","summary":"Returns a list of active record models that match the specified primary key value(s) or a set of column values.","params":[{"name":"$condition","type":"mixed","description":"Primary key value or a set of column values"}],"return":{"type":"array","description":"An array of ActiveRecord instance, or an empty array if nothing matches."},"static":true,"abstract":true},"findOne":{"signature":"abstract public static function findOne(mixed $condition): static|null","summary":"Returns a single active record model instance by a primary key or an array of column values.","params":[{"name":"$condition","type":"mixed","description":"Primary key value or a set of column values"}],"return":{"type":"static|null","description":"ActiveRecord instance matching the condition, or `null` if nothing matches."},"static":true,"abstract":true},"getAttribute":{"signature":"abstract public function getAttribute(string $name): mixed","summary":"Returns the named attribute value.","params":[{"name":"$name","type":"string","description":"The attribute name"}],"return":{"type":"mixed","description":"The attribute value. `null` if the attribute is not set or does not exist."},"abstract":true},"getDb":{"signature":"abstract public static function getDb(): mixed","summary":"Returns the connection used by this AR class.","return":{"type":"mixed","description":"The database connection used by this AR class."},"static":true,"abstract":true},"getIsNewRecord":{"signature":"abstract public function getIsNewRecord(): bool","summary":"Returns a value indicating whether the current record is new (not saved in the database).","return":{"type":"bool","description":"Whether the record is new and should be inserted when calling `save()`."},"abstract":true},"getOldPrimaryKey":{"signature":"abstract public function getOldPrimaryKey(bool $asArray = false): mixed","summary":"Returns the old primary key value(s).","params":[{"name":"$asArray","type":"bool","default":"false","optional":true,"description":"Whether to return the primary key value as an array. If true, the return value will be an array with column name as key and column value as value. If this is `false` (default), a scalar value will be returned for non-composite primary key."}],"return":{"type":"mixed","description":"The old primary key value. An array (column name => column value) is returned if the primary key is composite or `$asArray` is true. A string is returned otherwise (`null` will be returned if the key value is `null`)."},"abstract":true},"getPrimaryKey":{"signature":"abstract public function getPrimaryKey(bool $asArray = false): mixed","summary":"Returns the primary key value(s).","params":[{"name":"$asArray","type":"bool","default":"false","optional":true,"description":"Whether to return the primary key value as an array. If true, the return value will be an array with attribute names as keys and attribute values as values. Note that for composite primary keys, an array will always be returned regardless of this parameter value."}],"return":{"type":"mixed","description":"The primary key value. An array (attribute name => attribute value) is returned if the primary key is composite or `$asArray` is true. A string is returned otherwise (`null` will be returned if the key value is `null`)."},"abstract":true},"getRelation":{"signature":"abstract public function getRelation(string $name, bool $throwException = true): yii\\db\\ActiveQueryInterface","summary":"Returns the relation object with the specified name.","params":[{"name":"$name","type":"string","description":"The relation name, e.g. `orders` for a relation defined via `getOrders()` method (case-sensitive)."},{"name":"$throwException","type":"bool","default":"true","optional":true,"description":"Whether to throw exception if the relation does not exist."}],"return":{"type":"yii\\db\\ActiveQueryInterface","description":"The relational query object"},"abstract":true},"hasAttribute":{"signature":"abstract public function hasAttribute(string $name): bool","summary":"Returns a value indicating whether the record has an attribute with the specified name.","params":[{"name":"$name","type":"string","description":"The name of the attribute"}],"return":{"type":"bool","description":"Whether the record has an attribute with the specified name."},"abstract":true},"insert":{"signature":"abstract public function insert(bool $runValidation = true, array|null $attributes = null): bool","summary":"Inserts the record into the database using the attribute values of this record.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling validate() (`yii\\base\\Model::validate()`)) before saving the record. Defaults to `true`. If the validation fails, the record will not be saved to the database and this method will return `false`."},{"name":"$attributes","type":"array|null","default":"null","optional":true,"description":"List of attributes that need to be saved. Defaults to `null`, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"bool","description":"Whether the attributes are valid and the record is inserted successfully."},"abstract":true},"isPrimaryKey":{"signature":"abstract public static function isPrimaryKey(array $keys): bool","summary":"Returns a value indicating whether the given set of attributes represents the primary key for this model.","params":[{"name":"$keys","type":"array","description":"The set of attributes to check"}],"return":{"type":"bool","description":"Whether the given set of attributes represents the primary key for this model"},"static":true,"abstract":true},"link":{"signature":"abstract public function link(string $name, static $model, array $extraColumns = []): mixed","summary":"Establishes the relationship between two records.","params":[{"name":"$name","type":"string","description":"The case sensitive name of the relationship, e.g. `orders` for a relation defined via `getOrders()` method."},{"name":"$model","type":"static","description":"The record to be linked with the current one."},{"name":"$extraColumns","type":"array","default":"[]","optional":true,"description":"Additional column values to be saved into the junction table. This parameter is only meaningful for a relationship involving a junction table (i.e., a relation set with `yii\\db\\ActiveQueryInterface::via()`)."}],"return":{"type":"mixed"},"abstract":true},"populateRelation":{"signature":"abstract public function populateRelation(string $name, yii\\db\\ActiveRecordInterface|array|null $records): mixed","summary":"Populates the named relation with the related records.","params":[{"name":"$name","type":"string","description":"The relation name, e.g. `orders` for a relation defined via `getOrders()` method (case-sensitive)."},{"name":"$records","type":"yii\\db\\ActiveRecordInterface|array|null","description":"The related records to be populated into the relation."}],"return":{"type":"mixed"},"abstract":true,"since":"2.0.8"},"primaryKey":{"signature":"abstract public static function primaryKey(): string[]","summary":"Returns the primary key **name(s)** for this AR class.","return":{"type":"string[]","description":"The primary key name(s) for this AR class."},"static":true,"abstract":true},"save":{"signature":"abstract public function save(bool $runValidation = true, array|null $attributeNames = null): bool","summary":"Saves the current record.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling validate() (`yii\\base\\Model::validate()`)) before saving the record. Defaults to `true`. If the validation fails, the record will not be saved to the database and this method will return `false`."},{"name":"$attributeNames","type":"array|null","default":"null","optional":true,"description":"List of attribute names that need to be saved. Defaults to `null`, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"bool","description":"Whether the saving succeeded (i.e. no validation errors occurred)."},"abstract":true},"setAttribute":{"signature":"abstract public function setAttribute(string $name, mixed $value): mixed","summary":"Sets the named attribute value.","params":[{"name":"$name","type":"string","description":"The attribute name."},{"name":"$value","type":"mixed","description":"The attribute value."}],"return":{"type":"mixed"},"abstract":true},"unlink":{"signature":"abstract public function unlink(string $name, static $model, bool $delete = false): mixed","summary":"Destroys the relationship between two records.","params":[{"name":"$name","type":"string","description":"The case sensitive name of the relationship, e.g. `orders` for a relation defined via `getOrders()` method."},{"name":"$model","type":"static","description":"The model to be unlinked from the current one."},{"name":"$delete","type":"bool","default":"false","optional":true,"description":"Whether to delete the model that contains the foreign key. If false, the model's foreign key will be set `null` and saved. If true, the model containing the foreign key will be deleted."}],"return":{"type":"mixed"},"abstract":true},"update":{"signature":"abstract public function update(bool $runValidation = true, array|null $attributeNames = null): int|bool","summary":"Saves the changes to this active record into the database.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling validate() (`yii\\base\\Model::validate()`)) before saving the record. Defaults to `true`. If the validation fails, the record will not be saved to the database and this method will return `false`."},{"name":"$attributeNames","type":"array|null","default":"null","optional":true,"description":"List of attributes that need to be saved. Defaults to `null`, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"int|bool","description":"The number of rows affected, or `false` if validation fails or updating process is stopped for other reasons. Note that it is possible that the number of rows affected is 0, even though the update execution is successful."},"abstract":true},"updateAll":{"signature":"abstract public static function updateAll(array $attributes, mixed $condition = null): int","summary":"Updates records using the provided attribute values and conditions.","params":[{"name":"$attributes","type":"array","description":"Attribute values (name-value pairs) to be saved for the record. Unlike `update()` these are not going to be validated."},{"name":"$condition","type":"mixed","default":"null","optional":true,"description":"The condition that matches the records that should get updated. Please refer to `yii\\db\\QueryInterface::where()` on how to specify this parameter. An empty condition will match all records."}],"return":{"type":"int","description":"The number of rows updated"},"static":true,"abstract":true}},"inherited":{"methods":{"instance":"yii\\base\\StaticInstanceInterface"}}},"yii\\db\\ActiveRelationTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/db/activerelationtrait/","summary":"ActiveRelationTrait implements the common methods and properties for active record relational queries.","since":"2.0","properties":{"inverseOf":{"type":"string","default":"null","description":"The name of the relation that is the inverse of this relation."},"link":{"type":"array","default":"null","description":"The columns of the primary and foreign tables that establish a relation."},"modelClass":{"type":"class-string<yii\\db\\ActiveRecordInterface>","virtual":true},"multiple":{"type":"bool","default":"null","description":"Whether this query represents a relation to more than one record."},"primaryModel":{"type":"yii\\db\\ActiveRecord","default":"null","description":"The primary model of a relational query."},"via":{"type":"array|object|null","default":"null","description":"The query associated with the junction table."}},"methods":{"__clone":{"signature":"public function __clone(): mixed","summary":"Clones internal objects.","return":{"type":"mixed"}},"all":{"signature":"public function all(mixed $db): yii\\db\\ActiveRecordInterface[]","summary":"See `yii\\db\\ActiveQueryInterface::all()` for more info.","params":[{"name":"$db","type":"mixed"}],"return":{"type":"yii\\db\\ActiveRecordInterface[]"},"virtual":true},"findFor":{"signature":"public function findFor(string $name, yii\\db\\ActiveRecordInterface|yii\\db\\BaseActiveRecord $model): mixed","summary":"Finds the related records for the specified primary record.","params":[{"name":"$name","type":"string","description":"The relation name"},{"name":"$model","type":"yii\\db\\ActiveRecordInterface|yii\\db\\BaseActiveRecord","description":"The primary model"}],"return":{"type":"mixed","description":"The related record(s)"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the relation is invalid"}]},"inverseOf":{"signature":"public function inverseOf(string $relationName): $this","summary":"Sets the name of the relation that is the inverse of this relation.","params":[{"name":"$relationName","type":"string","description":"The name of the relation that is the inverse of this relation."}],"return":{"type":"$this","description":"The relation object itself."}},"one":{"signature":"public function one(mixed $db): yii\\db\\ActiveRecordInterface|array|null","summary":"See `yii\\db\\ActiveQueryInterface::one()` for more info.","params":[{"name":"$db","type":"mixed"}],"return":{"type":"yii\\db\\ActiveRecordInterface|array|null"},"virtual":true},"populateRelation":{"signature":"public function populateRelation(string $name, array &$primaryModels): array","summary":"Finds the related records and populates them into the primary models.","params":[{"name":"$name","type":"string","description":"The relation name"},{"name":"$primaryModels","type":"array","byReference":true,"description":"Primary models"}],"return":{"type":"array","description":"The related models"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$link` is invalid"}]},"via":{"signature":"public function via(string $relationName, callable|null $callable = null): $this","summary":"Specifies the relation associated with the junction table.","params":[{"name":"$relationName","type":"string","description":"The relation name. This refers to a relation declared in `$primaryModel`."},{"name":"$callable","type":"callable|null","default":"null","optional":true,"description":"A PHP callback for customizing the relation associated with the junction table. Its signature should be `function($query)`, where `$query` is the query to be customized."}],"return":{"type":"$this","description":"The relation object itself."}}}},"yii\\db\\AfterSaveEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/aftersaveevent/","summary":"AfterSaveEvent represents the information available in `yii\\db\\ActiveRecord::EVENT_AFTER_INSERT` and `yii\\db\\ActiveRecord::EVENT_AFTER_UPDATE`.","since":"2.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"changedAttributes":{"type":"array","default":"null","description":"The attribute values that had changed and were saved."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\db\\ArrayExpression":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/arrayexpression/","summary":"Class ArrayExpression represents an array SQL expression.","since":"2.0.14","implements":["yii\\db\\ExpressionInterface","ArrayAccess","Countable","IteratorAggregate"],"methods":{"__construct":{"signature":"public function __construct(array|yii\\db\\QueryInterface|mixed $value, string|null $type = null, int $dimension = 1)","summary":"ArrayExpression constructor.","params":[{"name":"$value","type":"array|yii\\db\\QueryInterface|mixed","description":"The array content. Either represented as an array of values or a Query that returns these values. A single value will be considered as an array containing one element."},{"name":"$type","type":"string|null","default":"null","optional":true,"description":"The type of the array elements. Defaults to `null` which means the type is not explicitly specified. In case when type is not specified explicitly and DBMS can not guess it from the context, SQL error will be raised."},{"name":"$dimension","type":"int","default":"1","optional":true,"description":"The number of indices needed to select an element"}]},"count":{"signature":"public function count(): int","summary":"Count elements of an object","return":{"type":"int","description":"The custom count as an integer. </p> <p> The return value is cast to an integer."},"since":"2.0.14"},"getDimension":{"signature":"public function getDimension(): int","return":{"type":"int","description":"The number of indices needed to select an element"}},"getIterator":{"signature":"public function getIterator(): Traversable","summary":"Retrieve an external iterator","return":{"type":"Traversable","description":"An instance of an object implementing <b>Iterator</b> or <b>Traversable</b>"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when ArrayExpression contains QueryInterface object"}],"since":"2.0.14.1"},"getType":{"signature":"public function getType(): string|null","return":{"type":"string|null"}},"getValue":{"signature":"public function getValue(): array|mixed|yii\\db\\QueryInterface","return":{"type":"array|mixed|yii\\db\\QueryInterface"}},"offsetExists":{"signature":"public function offsetExists(int|string $offset): bool","summary":"Whether a offset exists","params":[{"name":"$offset","type":"int|string","description":"<p> An offset to check for. </p>"}],"return":{"type":"bool","description":"True on success or false on failure. </p> <p> The return value will be casted to boolean if non-boolean was returned."},"since":"2.0.14"},"offsetGet":{"signature":"public function offsetGet(int|string $offset): mixed","summary":"Offset to retrieve","params":[{"name":"$offset","type":"int|string","description":"<p> The offset to retrieve. </p>"}],"return":{"type":"mixed","description":"Can return all value types."},"since":"2.0.14"},"offsetSet":{"signature":"public function offsetSet(int|string $offset, mixed $value): void","summary":"Offset to set","params":[{"name":"$offset","type":"int|string","description":"<p> The offset to assign the value to. </p>"},{"name":"$value","type":"mixed","description":"<p> The value to set. </p>"}],"return":{"type":"void"},"since":"2.0.14"},"offsetUnset":{"signature":"public function offsetUnset(int|string $offset): void","summary":"Offset to unset","params":[{"name":"$offset","type":"int|string","description":"<p> The offset to unset. </p>"}],"return":{"type":"void"},"since":"2.0.14"}}},"yii\\db\\BaseActiveRecord":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/db/baseactiverecord/","summary":"ActiveRecord is the base class for classes representing relational data in terms of objects.","since":"2.0","extends":"yii\\base\\Model","implements":["yii\\db\\ActiveRecordInterface","yii\\base\\StaticInstanceInterface","IteratorAggregate","ArrayAccess","yii\\base\\Arrayable","yii\\base\\Configurable"],"traits":["yii\\base\\ArrayableTrait","yii\\base\\StaticInstanceTrait"],"properties":{"dirtyAttributes":{"type":"array","description":"The changed attribute values (name-value pairs).","access":"read-only","virtual":true},"isNewRecord":{"type":"bool","description":"Whether the record is new and should be inserted when calling `save()`.","virtual":true},"oldAttributes":{"type":"array|null","description":"Old attribute values to be set.","virtual":true},"oldPrimaryKey":{"type":"mixed","description":"The old primary key value.","access":"read-only","virtual":true},"primaryKey":{"type":"mixed","description":"The primary key value.","access":"read-only","virtual":true},"relatedRecords":{"type":"array","description":"An array of related records indexed by relation names.","access":"read-only","virtual":true}},"methods":{"__get":{"signature":"public function __get(string $name): mixed","summary":"PHP getter magic method.","params":[{"name":"$name","type":"string","description":"Property name"}],"return":{"type":"mixed","description":"Property value"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if relation name is wrong"}]},"__isset":{"signature":"public function __isset(string $name): bool","summary":"Checks if a property value is null.","params":[{"name":"$name","type":"string","description":"The property name or the event name"}],"return":{"type":"bool","description":"Whether the property value is null"}},"__set":{"signature":"public function __set(string $name, mixed $value): mixed","summary":"PHP setter magic method.","params":[{"name":"$name","type":"string","description":"Property name"},{"name":"$value","type":"mixed","description":"Property value"}],"return":{"type":"mixed"}},"__unset":{"signature":"public function __unset(string $name): mixed","summary":"Sets a component property to be null.","params":[{"name":"$name","type":"string","description":"The property name or the event name"}],"return":{"type":"mixed"}},"afterDelete":{"signature":"public function afterDelete(): mixed","summary":"This method is invoked after deleting a record.","return":{"type":"mixed"}},"afterFind":{"signature":"public function afterFind(): mixed","summary":"This method is called when the AR object is created and populated with the query result.","return":{"type":"mixed"}},"afterRefresh":{"signature":"public function afterRefresh(): mixed","summary":"This method is called when the AR object is refreshed.","return":{"type":"mixed"},"since":"2.0.8"},"afterSave":{"signature":"public function afterSave(bool $insert, array $changedAttributes): mixed","summary":"This method is called at the end of inserting or updating a record.","params":[{"name":"$insert","type":"bool","description":"Whether this method called while inserting a record. If `false`, it means the method is called while updating a record."},{"name":"$changedAttributes","type":"array","description":"The old values of attributes that had changed and were saved. You can use this parameter to take action based on the changes made for example send an email when the password had changed or implement audit trail that tracks all the changes. `$changedAttributes` gives you the old attribute values while the active record (`$this`) has already the new, updated values. Note that no automatic type conversion performed by default. You may use `yii\\behaviors\\AttributeTypecastBehavior` to facilitate attribute typecasting. See https://www.yiiframework.com/doc-2.0/guide-db-active-record.html#attributes-typecasting."}],"return":{"type":"mixed"}},"beforeDelete":{"signature":"public function beforeDelete(): bool","summary":"This method is invoked before deleting a record.","return":{"type":"bool","description":"Whether the record should be deleted. Defaults to `true`."}},"beforeSave":{"signature":"public function beforeSave(bool $insert): bool","summary":"This method is called at the beginning of inserting or updating a record.","params":[{"name":"$insert","type":"bool","description":"Whether this method called while inserting a record. If `false`, it means the method is called while updating a record."}],"return":{"type":"bool","description":"Whether the insertion or updating should continue. If `false`, the insertion or updating will be cancelled."}},"canGetProperty":{"signature":"public function canGetProperty(mixed $name, mixed $checkVars = true, mixed $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be read.","params":[{"name":"$name","type":"mixed","description":"The property name"},{"name":"$checkVars","type":"mixed","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"mixed","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be read"}},"canSetOldAttribute":{"signature":"public function canSetOldAttribute(string $name): bool","summary":"Returns if the old named attribute can be set.","params":[{"name":"$name","type":"string","description":"The attribute name"}],"return":{"type":"bool","description":"Whether the old attribute can be set"}},"canSetProperty":{"signature":"public function canSetProperty(mixed $name, mixed $checkVars = true, mixed $checkBehaviors = true): bool","summary":"Returns a value indicating whether a property can be set.","params":[{"name":"$name","type":"mixed","description":"The property name"},{"name":"$checkVars","type":"mixed","default":"true","optional":true,"description":"Whether to treat member variables as properties"},{"name":"$checkBehaviors","type":"mixed","default":"true","optional":true,"description":"Whether to treat behaviors' properties as properties of this component"}],"return":{"type":"bool","description":"Whether the property can be written"}},"createRelationQuery":{"signature":"protected function createRelationQuery(string $class, array $link, bool $multiple): yii\\db\\ActiveQueryInterface","summary":"Creates a query instance for `has-one` or `has-many` relation.","params":[{"name":"$class","type":"string","description":"The class name of the related record."},{"name":"$link","type":"array","description":"The primary-foreign key constraint."},{"name":"$multiple","type":"bool","description":"Whether this query represents a relation to more than one record."}],"return":{"type":"yii\\db\\ActiveQueryInterface","description":"The relational query object."},"visibility":"protected","since":"2.0.12"},"delete":{"signature":"public function delete(): int|false","summary":"Deletes the table row corresponding to this active record.","return":{"type":"int|false","description":"The number of rows deleted, or `false` if the deletion is unsuccessful for some reason. Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful."},"throws":[{"type":"yii\\db\\StaleObjectException","description":"if optimistic locking (`optimisticLock()`) is enabled and the data being deleted is outdated."},{"type":"yii\\db\\Exception","description":"in case delete failed."}]},"deleteAll":{"signature":"public static function deleteAll(string|array|null $condition = null): int","summary":"Deletes rows in the table using the provided conditions.","params":[{"name":"$condition","type":"string|array|null","default":"null","optional":true,"description":"The conditions that will be put in the WHERE part of the DELETE SQL. Please refer to `yii\\db\\Query::where()` on how to specify this parameter."}],"return":{"type":"int","description":"The number of rows deleted"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if not overridden."}],"static":true},"equals":{"signature":"public function equals(yii\\db\\ActiveRecordInterface $record): bool","summary":"Returns a value indicating whether the given active record is the same as the current one.","params":[{"name":"$record","type":"yii\\db\\ActiveRecordInterface","description":"Record to compare to"}],"return":{"type":"bool","description":"Whether the two active records refer to the same row in the same database table."}},"extraFields":{"signature":"public function extraFields(): array","summary":"Returns the list of fields that can be expanded further and returned by `toArray()`.","return":{"type":"array","description":"The list of expandable field names or field definitions. Please refer to `fields()` on the format of the return value."}},"fields":{"signature":"public function fields(): array","summary":"Returns the list of fields that should be returned by default by `toArray()` when no specific fields are specified.","return":{"type":"array","description":"The list of field names or field definitions."}},"findAll":{"signature":"public static function findAll(mixed $condition): static[]","summary":"Returns a list of active record models that match the specified primary key value(s) or a set of column values.","params":[{"name":"$condition","type":"mixed","description":"Primary key value or a set of column values"}],"return":{"type":"static[]","description":"An array of ActiveRecord instances, or an empty array if nothing matches."},"static":true},"findOne":{"signature":"public static function findOne(mixed $condition): static|null","summary":"Returns a single active record model instance by a primary key or an array of column values.","params":[{"name":"$condition","type":"mixed","description":"Primary key value or a set of column values"}],"return":{"type":"static|null","description":"ActiveRecord instance matching the condition, or `null` if nothing matches."},"static":true},"getAttribute":{"signature":"public function getAttribute(string $name): mixed","summary":"Returns the named attribute value.","params":[{"name":"$name","type":"string","description":"The attribute name"}],"return":{"type":"mixed","description":"The attribute value. `null` if the attribute is not set or does not exist."}},"getAttributeHint":{"signature":"public function getAttributeHint(string $attribute): string","summary":"Returns the text hint for the specified attribute.","params":[{"name":"$attribute","type":"string","description":"The attribute name"}],"return":{"type":"string","description":"The attribute hint"},"since":"2.0.4"},"getAttributeLabel":{"signature":"public function getAttributeLabel(string $attribute): string","summary":"Returns the text label for the specified attribute.","params":[{"name":"$attribute","type":"string","description":"The attribute name"}],"return":{"type":"string","description":"The attribute label"}},"getDirtyAttributes":{"signature":"public function getDirtyAttributes(string[]|null $names = null): array","summary":"Returns the attribute values that have been modified since they are loaded or saved most recently.","params":[{"name":"$names","type":"string[]|null","default":"null","optional":true,"description":"The names of the attributes whose values may be returned if they are changed recently. If null, `attributes()` will be used."}],"return":{"type":"array","description":"The changed attribute values (name-value pairs)"}},"getIsNewRecord":{"signature":"public function getIsNewRecord(): bool","summary":"Returns a value indicating whether the current record is new.","return":{"type":"bool","description":"Whether the record is new and should be inserted when calling `save()`."}},"getOldAttribute":{"signature":"public function getOldAttribute(string $name): mixed","summary":"Returns the old value of the named attribute.","params":[{"name":"$name","type":"string","description":"The attribute name"}],"return":{"type":"mixed","description":"The old attribute value. `null` if the attribute is not loaded before or does not exist."}},"getOldAttributes":{"signature":"public function getOldAttributes(): array","summary":"Returns the old attribute values.","return":{"type":"array","description":"The old attribute values (name-value pairs)"}},"getOldPrimaryKey":{"signature":"public function getOldPrimaryKey(bool $asArray = false): mixed","summary":"Returns the old primary key value(s).","params":[{"name":"$asArray","type":"bool","default":"false","optional":true,"description":"Whether to return the primary key value as an array. If `true`, the return value will be an array with column name as key and column value as value. If this is `false` (default), a scalar value will be returned for non-composite primary key."}],"return":{"type":"mixed","description":"The old primary key value. An array (column name => column value) is returned if the primary key is composite or `$asArray` is `true`. A string is returned otherwise (null will be returned if the key value is null)."},"throws":[{"type":"yii\\db\\Exception","description":"if the AR model does not have a primary key"}]},"getPrimaryKey":{"signature":"public function getPrimaryKey(bool $asArray = false): mixed","summary":"Returns the primary key value(s).","params":[{"name":"$asArray","type":"bool","default":"false","optional":true,"description":"Whether to return the primary key value as an array. If `true`, the return value will be an array with column names as keys and column values as values. Note that for composite primary keys, an array will always be returned regardless of this parameter value."}],"return":{"type":"mixed","description":"The primary key value. An array (column name => column value) is returned if the primary key is composite or `$asArray` is `true`. A string is returned otherwise (null will be returned if the key value is null)."}},"getRelatedRecords":{"signature":"public function getRelatedRecords(): array","summary":"Returns all populated related records.","return":{"type":"array","description":"An array of related records indexed by relation names."}},"getRelation":{"signature":"public function getRelation(string $name, bool $throwException = true): yii\\db\\ActiveQueryInterface|yii\\db\\ActiveQuery|null","summary":"Returns the relation object with the specified name.","params":[{"name":"$name","type":"string","description":"The relation name, e.g. `orders` for a relation defined via `getOrders()` method (case-sensitive)."},{"name":"$throwException","type":"bool","default":"true","optional":true,"description":"Whether to throw exception if the relation does not exist."}],"return":{"type":"yii\\db\\ActiveQueryInterface|yii\\db\\ActiveQuery|null","description":"The relational query object. If the relation does not exist and `$throwException` is `false`, `null` will be returned."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the named relation does not exist."}]},"hasAttribute":{"signature":"public function hasAttribute(string $name): bool","summary":"Returns a value indicating whether the model has an attribute with the specified name.","params":[{"name":"$name","type":"string","description":"The name of the attribute"}],"return":{"type":"bool","description":"Whether the model has an attribute with the specified name."}},"hasMany":{"signature":"public function hasMany(class-string $class, array<string, string> $link): yii\\db\\ActiveQueryInterface","summary":"Declares a `has-many` relation.","params":[{"name":"$class","type":"class-string","description":"The class name of the related record"},{"name":"$link","type":"array<string, string>","description":"The primary-foreign key constraint. The keys of the array refer to the attributes of the record associated with the `$class` model, while the values of the array refer to the corresponding attributes in **this** AR class."}],"return":{"type":"yii\\db\\ActiveQueryInterface","description":"The relational query object."}},"hasOne":{"signature":"public function hasOne(class-string $class, array<string, string> $link): yii\\db\\ActiveQueryInterface","summary":"Declares a `has-one` relation.","params":[{"name":"$class","type":"class-string","description":"The class name of the related record"},{"name":"$link","type":"array<string, string>","description":"The primary-foreign key constraint. The keys of the array refer to the attributes of the record associated with the `$class` model, while the values of the array refer to the corresponding attributes in **this** AR class."}],"return":{"type":"yii\\db\\ActiveQueryInterface","description":"The relational query object."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"instantiate":{"signature":"public static function instantiate(array $row): static","summary":"Creates an active record instance.","params":[{"name":"$row","type":"array","description":"Row data to be populated into the record."}],"return":{"type":"static","description":"The newly created active record"},"static":true},"isAttributeChanged":{"signature":"public function isAttributeChanged(string $name, bool $identical = true): bool","summary":"Returns a value indicating whether the named attribute has been changed.","params":[{"name":"$name","type":"string","description":"The name of the attribute."},{"name":"$identical","type":"bool","default":"true","optional":true,"description":"Whether the comparison of new and old value is made for identical values using `===`, defaults to `true`. Otherwise `==` is used for comparison. This parameter is available since version 2.0.4."}],"return":{"type":"bool","description":"Whether the attribute has been changed"}},"isPrimaryKey":{"signature":"public static function isPrimaryKey(array $keys): bool","summary":"Returns a value indicating whether the given set of attributes represents the primary key for this model.","params":[{"name":"$keys","type":"array","description":"The set of attributes to check"}],"return":{"type":"bool","description":"Whether the given set of attributes represents the primary key for this model"},"static":true},"isRelationPopulated":{"signature":"public function isRelationPopulated(string $name): bool","summary":"Check whether the named relation has been populated with records.","params":[{"name":"$name","type":"string","description":"The relation name, e.g. `orders` for a relation defined via `getOrders()` method (case-sensitive)."}],"return":{"type":"bool","description":"Whether relation has been populated with records."}},"link":{"signature":"public function link(string $name, yii\\db\\ActiveRecordInterface $model, array $extraColumns = []): mixed","summary":"Establishes the relationship between two models.","params":[{"name":"$name","type":"string","description":"The case sensitive name of the relationship, e.g. `orders` for a relation defined via `getOrders()` method."},{"name":"$model","type":"yii\\db\\ActiveRecordInterface","description":"The model to be linked with the current one."},{"name":"$extraColumns","type":"array","default":"[]","optional":true,"description":"Additional column values to be saved into the junction table. This parameter is only meaningful for a relationship involving a junction table (i.e., a relation set with `yii\\db\\ActiveRelationTrait::via()` or `yii\\db\\ActiveQuery::viaTable()`.)"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the method is unable to link two models."}]},"loadRelations":{"signature":"public function loadRelations(string|array $relationNames, bool $asArray = false): mixed","summary":"Eager loads related models for the already loaded primary model.","params":[{"name":"$relationNames","type":"string|array","description":"The names of the relations of this model to be loaded from database. See `yii\\db\\ActiveQueryInterface::with()` on how to specify this argument."},{"name":"$asArray","type":"bool","default":"false","optional":true,"description":"Whether to load each relation as an array or an object (if the relation itself does not specify that)."}],"return":{"type":"mixed"},"since":"2.0.50"},"loadRelationsFor":{"signature":"public static function loadRelationsFor(yii\\db\\TModels &$models, string|array $relationNames, bool $asArray = false): mixed","summary":"Eager loads related models for the already loaded primary models.","params":[{"name":"$models","type":"yii\\db\\TModels","byReference":true,"description":"Array of primary models. Each model should have the same type and can be: - an active record instance; - active record instance represented by array (i.e. active record was loaded using `yii\\db\\ActiveQuery::asArray()`)."},{"name":"$relationNames","type":"string|array","description":"The names of the relations of primary models to be loaded from database. See `yii\\db\\ActiveQueryInterface::with()` on how to specify this argument."},{"name":"$asArray","type":"bool","default":"false","optional":true,"description":"Whether to load each related model as an array or an object (if the relation itself does not specify that)."}],"return":{"type":"mixed"},"static":true,"since":"2.0.50"},"markAttributeDirty":{"signature":"public function markAttributeDirty(string $name): mixed","summary":"Marks an attribute dirty.","params":[{"name":"$name","type":"string","description":"The attribute name"}],"return":{"type":"mixed"}},"offsetExists":{"signature":"public function offsetExists(mixed $offset): bool","summary":"Returns whether there is an element at the specified offset.","params":[{"name":"$offset","type":"mixed","description":"The offset to check on"}],"return":{"type":"bool","description":"Whether there is an element at the specified offset."}},"offsetUnset":{"signature":"public function offsetUnset(mixed $offset): mixed","summary":"Sets the element value at the specified offset to null.","params":[{"name":"$offset","type":"mixed","description":"The offset to unset element"}],"return":{"type":"mixed"}},"optimisticLock":{"signature":"public function optimisticLock(): string|null","summary":"Returns the name of the column that stores the lock version for implementing optimistic locking.","return":{"type":"string|null","description":"The column name that stores the lock version of a table row. If `null` is returned (default implemented), optimistic locking will not be supported."}},"populateRecord":{"signature":"public static function populateRecord(yii\\db\\BaseActiveRecord $record, array $row): mixed","summary":"Populates an active record object using a row of data from the database/storage.","params":[{"name":"$record","type":"yii\\db\\BaseActiveRecord","description":"The record to be populated. In most cases this will be an instance created by `instantiate()` beforehand."},{"name":"$row","type":"array","description":"Attribute values (name => value)"}],"return":{"type":"mixed"},"static":true},"populateRelation":{"signature":"public function populateRelation(string $name, yii\\db\\ActiveRecordInterface|array|null $records): mixed","summary":"Populates the named relation with the related records.","params":[{"name":"$name","type":"string","description":"The relation name, e.g. `orders` for a relation defined via `getOrders()` method (case-sensitive)."},{"name":"$records","type":"yii\\db\\ActiveRecordInterface|array|null","description":"The related records to be populated into the relation."}],"return":{"type":"mixed"}},"refresh":{"signature":"public function refresh(): bool","summary":"Repopulates this active record with the latest data.","return":{"type":"bool","description":"Whether the row still exists in the database. If `true`, the latest data will be populated to this active record. Otherwise, this record will remain unchanged."}},"refreshInternal":{"signature":"protected function refreshInternal(yii\\db\\BaseActiveRecord $record): bool","summary":"Repopulates this active record with the latest data from a newly fetched instance.","params":[{"name":"$record","type":"yii\\db\\BaseActiveRecord","description":"The record to take attributes from."}],"return":{"type":"bool","description":"Whether refresh was successful."},"visibility":"protected","since":"2.0.13"},"save":{"signature":"public function save(bool $runValidation = true, array|null $attributeNames = null): bool","summary":"Saves the current record.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling `validate()`) before saving the record. Defaults to `true`. If the validation fails, the record will not be saved to the database and this method will return `false`."},{"name":"$attributeNames","type":"array|null","default":"null","optional":true,"description":"List of attribute names that need to be saved. Defaults to null, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"bool","description":"Whether the saving succeeded (i.e. no validation errors occurred)."},"throws":[{"type":"yii\\db\\Exception","description":"in case update or insert failed."}]},"setAttribute":{"signature":"public function setAttribute(string $name, mixed $value): mixed","summary":"Sets the named attribute value.","params":[{"name":"$name","type":"string","description":"The attribute name"},{"name":"$value","type":"mixed","description":"The attribute value."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the named attribute does not exist."}]},"setIsNewRecord":{"signature":"public function setIsNewRecord(bool $value): mixed","summary":"Sets the value indicating whether the record is new.","params":[{"name":"$value","type":"bool","description":"Whether the record is new and should be inserted when calling `save()`."}],"return":{"type":"mixed"}},"setOldAttribute":{"signature":"public function setOldAttribute(string $name, mixed $value): mixed","summary":"Sets the old value of the named attribute.","params":[{"name":"$name","type":"string","description":"The attribute name"},{"name":"$value","type":"mixed","description":"The old attribute value."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the named attribute does not exist."}]},"setOldAttributes":{"signature":"public function setOldAttributes(array|null $values): mixed","summary":"Sets the old attribute values.","params":[{"name":"$values","type":"array|null","description":"Old attribute values to be set. If set to `null` this record is considered to be new (`$isNewRecord`)."}],"return":{"type":"mixed"}},"unlink":{"signature":"public function unlink(string $name, yii\\db\\ActiveRecordInterface $model, bool $delete = false): mixed","summary":"Destroys the relationship between two models.","params":[{"name":"$name","type":"string","description":"The case sensitive name of the relationship, e.g. `orders` for a relation defined via `getOrders()` method."},{"name":"$model","type":"yii\\db\\ActiveRecordInterface","description":"The model to be unlinked from the current one. You have to make sure that the model is really related with the current model as this method does not check this."},{"name":"$delete","type":"bool","default":"false","optional":true,"description":"Whether to delete the model that contains the foreign key. If `false`, the model's foreign key will be set `null` and saved. If `true`, the model containing the foreign key will be deleted."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the models cannot be unlinked"},{"type":"yii\\db\\Exception"},{"type":"yii\\db\\StaleObjectException"}]},"unlinkAll":{"signature":"public function unlinkAll(string $name, bool $delete = false): mixed","summary":"Destroys the relationship in current model.","params":[{"name":"$name","type":"string","description":"The case sensitive name of the relationship, e.g. `orders` for a relation defined via `getOrders()` method."},{"name":"$delete","type":"bool","default":"false","optional":true,"description":"Whether to delete the model that contains the foreign key. Note that the deletion will be performed using `deleteAll()`, which will not trigger any events on the related models. If you need `EVENT_BEFORE_DELETE` or `EVENT_AFTER_DELETE` to be triggered, you need to find (`find()`) the models first and then call `delete()` on each of them."}],"return":{"type":"mixed"}},"update":{"signature":"public function update(bool $runValidation = true, array|null $attributeNames = null): int|false","summary":"Saves the changes to this active record into the associated database table.","params":[{"name":"$runValidation","type":"bool","default":"true","optional":true,"description":"Whether to perform validation (calling `validate()`) before saving the record. Defaults to `true`. If the validation fails, the record will not be saved to the database and this method will return `false`."},{"name":"$attributeNames","type":"array|null","default":"null","optional":true,"description":"List of attribute names that need to be saved. Defaults to null, meaning all attributes that are loaded from DB will be saved."}],"return":{"type":"int|false","description":"The number of rows affected, or `false` if validation fails or `beforeSave()` stops the updating process."},"throws":[{"type":"yii\\db\\StaleObjectException","description":"if optimistic locking (`optimisticLock()`) is enabled and the data being updated is outdated."},{"type":"yii\\db\\Exception","description":"in case update failed."}]},"updateAll":{"signature":"public static function updateAll(array $attributes, string|array $condition = ''): int","summary":"Updates the whole table using the provided attribute values and conditions.","params":[{"name":"$attributes","type":"array","description":"Attribute values (name-value pairs) to be saved into the table"},{"name":"$condition","type":"string|array","default":"''","optional":true,"description":"The conditions that will be put in the WHERE part of the UPDATE SQL. Please refer to `yii\\db\\Query::where()` on how to specify this parameter."}],"return":{"type":"int","description":"The number of rows updated"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if not overridden"}],"static":true},"updateAllCounters":{"signature":"public static function updateAllCounters(array $counters, string|array $condition = ''): int","summary":"Updates the whole table using the provided counter changes and conditions.","params":[{"name":"$counters","type":"array","description":"The counters to be updated (attribute name => increment value). Use negative values if you want to decrement the counters."},{"name":"$condition","type":"string|array","default":"''","optional":true,"description":"The conditions that will be put in the WHERE part of the UPDATE SQL. Please refer to `yii\\db\\Query::where()` on how to specify this parameter."}],"return":{"type":"int","description":"The number of rows updated"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if not overrided"}],"static":true},"updateAttributes":{"signature":"public function updateAttributes(array $attributes): int","summary":"Updates the specified attributes.","params":[{"name":"$attributes","type":"array","description":"The attributes (names or name-value pairs) to be updated"}],"return":{"type":"int","description":"The number of rows affected."}},"updateCounters":{"signature":"public function updateCounters(array $counters): bool","summary":"Updates one or several counter columns for the current AR object.","params":[{"name":"$counters","type":"array","description":"The counters to be updated (attribute name => increment value) Use negative values if you want to decrement the counters."}],"return":{"type":"bool","description":"Whether the saving is successful"}},"updateInternal":{"signature":"protected function updateInternal(array|null $attributes = null): int|false","params":[{"name":"$attributes","type":"array|null","default":"null","optional":true,"description":"Attributes to update"}],"return":{"type":"int|false","description":"The number of rows affected, or false if `beforeSave()` stops the updating process."},"throws":[{"type":"yii\\db\\StaleObjectException"}],"visibility":"protected"}},"events":{"EVENT_INIT":{"value":"'init'","type":"yii\\db\\Event","description":"An event that is triggered when the record is initialized via `init()`."},"EVENT_AFTER_FIND":{"value":"'afterFind'","type":"yii\\db\\Event","description":"An event that is triggered after the record is created and populated with query result."},"EVENT_BEFORE_INSERT":{"value":"'beforeInsert'","type":"yii\\base\\ModelEvent","description":"An event that is triggered before inserting a record."},"EVENT_AFTER_INSERT":{"value":"'afterInsert'","type":"yii\\db\\AfterSaveEvent","description":"An event that is triggered after a record is inserted."},"EVENT_BEFORE_UPDATE":{"value":"'beforeUpdate'","type":"yii\\base\\ModelEvent","description":"An event that is triggered before updating a record."},"EVENT_AFTER_UPDATE":{"value":"'afterUpdate'","type":"yii\\db\\AfterSaveEvent","description":"An event that is triggered after a record is updated."},"EVENT_BEFORE_DELETE":{"value":"'beforeDelete'","type":"yii\\base\\ModelEvent","description":"An event that is triggered before deleting a record."},"EVENT_AFTER_DELETE":{"value":"'afterDelete'","type":"yii\\db\\Event","description":"An event that is triggered after a record is deleted."},"EVENT_AFTER_REFRESH":{"value":"'afterRefresh'","type":"yii\\db\\Event","description":"An event that is triggered after a record is refreshed.","since":"2.0.8"}},"inherited":{"properties":{"activeValidators":"yii\\base\\Model","attributes":"yii\\base\\Model","behaviors":"yii\\base\\Component","errors":"yii\\base\\Model","firstErrors":"yii\\base\\Model","iterator":"yii\\base\\Model","scenario":"yii\\base\\Model","validators":"yii\\base\\Model"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Model","__construct":"yii\\base\\BaseObject","activeAttributes":"yii\\base\\Model","addError":"yii\\base\\Model","addErrors":"yii\\base\\Model","afterValidate":"yii\\base\\Model","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","attributeHints":"yii\\base\\Model","attributeLabels":"yii\\base\\Model","attributes":"yii\\base\\Model","beforeValidate":"yii\\base\\Model","behaviors":"yii\\base\\Component","className":"yii\\base\\BaseObject","clearErrors":"yii\\base\\Model","createValidators":"yii\\base\\Model","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","extractFieldsFor":"yii\\base\\ArrayableTrait","extractRootFields":"yii\\base\\ArrayableTrait","find":"yii\\db\\ActiveRecordInterface","formName":"yii\\base\\Model","generateAttributeLabel":"yii\\base\\Model","getActiveValidators":"yii\\base\\Model","getAttributes":"yii\\base\\Model","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getDb":"yii\\db\\ActiveRecordInterface","getErrors":"yii\\base\\Model","getErrorSummary":"yii\\base\\Model","getFirstError":"yii\\base\\Model","getFirstErrors":"yii\\base\\Model","getIterator":"yii\\base\\Model","getScenario":"yii\\base\\Model","getValidators":"yii\\base\\Model","hasErrors":"yii\\base\\Model","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","insert":"yii\\db\\ActiveRecordInterface","instance":"yii\\base\\StaticInstanceTrait","isAttributeActive":"yii\\base\\Model","isAttributeRequired":"yii\\base\\Model","isAttributeSafe":"yii\\base\\Model","load":"yii\\base\\Model","loadMultiple":"yii\\base\\Model","off":"yii\\base\\Component","offsetGet":"yii\\base\\Model","offsetSet":"yii\\base\\Model","on":"yii\\base\\Component","onUnsafeAttribute":"yii\\base\\Model","primaryKey":"yii\\db\\ActiveRecordInterface","resolveFields":"yii\\base\\ArrayableTrait","rules":"yii\\base\\Model","safeAttributes":"yii\\base\\Model","scenarios":"yii\\base\\Model","setAttributes":"yii\\base\\Model","setScenario":"yii\\base\\Model","toArray":"yii\\base\\ArrayableTrait","trigger":"yii\\base\\Component","validate":"yii\\base\\Model","validateMultiple":"yii\\base\\Model"},"constants":{"SCENARIO_DEFAULT":"yii\\base\\Model"},"events":{"EVENT_BEFORE_VALIDATE":"yii\\base\\Model","EVENT_AFTER_VALIDATE":"yii\\base\\Model"}}},"yii\\db\\BatchQueryResult":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/batchqueryresult/","summary":"BatchQueryResult represents a batch query from which you can retrieve data in batches.","since":"2.0","extends":"yii\\base\\Component","implements":["Iterator","yii\\base\\Configurable"],"properties":{"batchSize":{"type":"int","default":"100","description":"The number of rows to be returned in each batch."},"db":{"type":"yii\\db\\Connection|null","default":"null","description":"The DB connection to be used when performing batch query."},"each":{"type":"bool","default":"false","description":"Whether to return a single row during each iteration."},"query":{"type":"yii\\db\\Query","default":"null","description":"The query object associated with this batch query."}},"methods":{"__destruct":{"signature":"public function __destruct(): mixed","summary":"Destructor.","return":{"type":"mixed"}},"__wakeup":{"signature":"public function __wakeup(): mixed","summary":"Unserialization is disabled to prevent remote code execution in case application calls unserialize() on user input containing specially crafted string.","return":{"type":"mixed"},"since":"2.0.38"},"current":{"signature":"public function current(): yii\\db\\TValue","summary":"Returns the current dataset.","return":{"type":"yii\\db\\TValue","description":"The current dataset."}},"fetchData":{"signature":"protected function fetchData(): array","summary":"Fetches the next batch of data.","return":{"type":"array","description":"The data fetched"},"throws":[{"type":"yii\\db\\Exception"}],"visibility":"protected"},"getRows":{"signature":"protected function getRows(): array","summary":"Reads and collects rows for batch","return":{"type":"array"},"visibility":"protected","since":"2.0.23"},"key":{"signature":"public function key(): yii\\db\\TKey|null","summary":"Returns the index of the current dataset.","return":{"type":"yii\\db\\TKey|null","description":"The index of the current row."}},"next":{"signature":"public function next(): mixed","summary":"Moves the internal pointer to the next dataset.","return":{"type":"mixed"}},"reset":{"signature":"public function reset(): mixed","summary":"Resets the batch query.","return":{"type":"mixed"}},"rewind":{"signature":"public function rewind(): mixed","summary":"Resets the iterator to the initial state.","return":{"type":"mixed"}},"valid":{"signature":"public function valid(): bool","summary":"Returns whether there is a valid dataset at the current position.","return":{"type":"bool","description":"Whether there is a valid dataset at the current position."}}},"constants":{"MSSQL_NO_MORE_ROWS_ERROR_CODE":{"value":"-13","description":"MSSQL error code for exception that is thrown when last batch is size less than specified batch size"}},"events":{"EVENT_RESET":{"value":"'reset'","type":"yii\\db\\Event","description":"An event that is triggered when the batch query is reset.","since":"2.0.41"},"EVENT_FINISH":{"value":"'finish'","type":"yii\\db\\Event","description":"An event that is triggered when the last batch has been fetched.","since":"2.0.41"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\db\\CheckConstraint":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/checkconstraint/","summary":"CheckConstraint represents the metadata of a table `CHECK` constraint.","since":"2.0.13","extends":"yii\\db\\Constraint","implements":["yii\\base\\Configurable"],"properties":{"expression":{"type":"string","default":"null","description":"The SQL of the `CHECK` constraint."}},"inherited":{"properties":{"columnNames":"yii\\db\\Constraint","name":"yii\\db\\Constraint"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\ColumnSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/columnschema/","summary":"ColumnSchema class describes the metadata of a column in a database table.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"allowNull":{"type":"bool","default":"false","description":"Whether this column can be null."},"autoIncrement":{"type":"bool","default":"false","description":"Whether this column is auto-incremental"},"comment":{"type":"string|null","default":"null","description":"Comment of this column."},"dbType":{"type":"string","default":"''","description":"The DB type of this column."},"defaultValue":{"type":"mixed","default":"null","description":"Default value of this column"},"enumValues":{"type":"array|null","default":"null","description":"Enumerable values."},"isPrimaryKey":{"type":"bool|null","default":"null","description":"Whether this column is a primary key"},"name":{"type":"string","default":"''","description":"Name of this column (without quotes)."},"phpType":{"type":"string","default":"''","description":"The PHP type of this column."},"precision":{"type":"int|null","default":"null","description":"Precision of the column data, if it is numeric."},"scale":{"type":"int|null","default":"null","description":"Scale of the column data, if it is numeric."},"size":{"type":"int|null","default":"null","description":"Display size of the column."},"type":{"type":"string","default":"''","description":"Abstract type of this column."},"unsigned":{"type":"bool","default":"false","description":"Whether this column is unsigned."}},"methods":{"dbTypecast":{"signature":"public function dbTypecast(mixed $value): mixed","summary":"Converts the input value according to `$type` and `$dbType` for use in a db query.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value. This may also be an array containing the value as the first element and the PDO type as the second element."}},"defaultPhpTypecast":{"signature":"public function defaultPhpTypecast(mixed $value): mixed","summary":"Converts a raw column default value from the database metadata to its PHP representation.","params":[{"name":"$value","type":"mixed","description":"Raw default value from the database schema metadata."}],"return":{"type":"mixed","description":"Converted PHP value."},"since":"22.0"},"isType":{"signature":"public function isType(string $type): bool","summary":"Returns whether this column uses the given abstract type.","params":[{"name":"$type","type":"string","description":"Abstract column type."}],"return":{"type":"bool","description":"Whether this column uses the given abstract type."},"since":"22.0"},"phpTypecast":{"signature":"public function phpTypecast(mixed $value): mixed","summary":"Converts the input value according to `$phpType` after retrieval from the database.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value"}},"typecast":{"signature":"protected function typecast(mixed $value): mixed","summary":"Converts the input value according to `$phpType` after retrieval from the database.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value"},"visibility":"protected","since":"2.0.3"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\ColumnSchemaBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/columnschemabuilder/","summary":"ColumnSchemaBuilder helps to define database schema types using a PHP interface.","since":"2.0.6","extends":"yii\\base\\BaseObject","implements":["Stringable","yii\\base\\Configurable"],"properties":{"after":{"type":"string","default":"null","description":"The column after which this column will be added.","visibility":"protected","since":"2.0.8"},"append":{"type":"mixed","default":"null","description":"SQL string to be appended to column schema definition.","visibility":"protected","since":"2.0.9"},"categoryMap":{"type":"array","description":"Mapping of abstract column types (keys) to type categories (values).","virtual":true},"check":{"type":"string","default":"null","description":"The `CHECK` constraint for the column.","visibility":"protected"},"comment":{"type":"string","default":"null","description":"Comment value of the column.","since":"2.0.8"},"db":{"type":"yii\\db\\Connection","default":"null","description":"The current database connection.","since":"2.0.8"},"default":{"type":"mixed","default":"null","description":"Default value of the column.","visibility":"protected"},"isFirst":{"type":"bool","default":"null","description":"Whether this column is to be inserted at the beginning of the table.","visibility":"protected","since":"2.0.8"},"isNotNull":{"type":"bool|null","default":"null","description":"Whether the column is or not nullable.","visibility":"protected"},"isUnique":{"type":"bool","default":"false","description":"Whether the column values should be unique.","visibility":"protected"},"isUnsigned":{"type":"bool","default":"false","description":"Whether the column values should be unsigned.","visibility":"protected","since":"2.0.7"},"length":{"type":"int|string|array","default":"null","description":"Column size or precision definition.","visibility":"protected"},"type":{"type":"string","default":"null","description":"The column type definition such as INTEGER, VARCHAR, DATETIME, etc.","visibility":"protected"},"typeCategoryMap":{"type":"array","default":"[\\yii\\db\\Schema::TYPE_PK => self::CATEGORY_PK, \\yii\\db\\Schema::TYPE_UPK => self::CATEGORY_PK, \\yii\\db\\Schema::TYPE_BIGPK => self::CATEGORY_PK, \\yii\\db\\Schema::TYPE_UBIGPK => self::CATEGORY_PK, \\yii\\db\\Schema::TYPE_CHAR => self::CATEGORY_STRING, \\yii\\db\\Schema::TYPE_STRING => self::CATEGORY_STRING, \\yii\\db\\Schema::TYPE_TEXT => self::CATEGORY_STRING, \\yii\\db\\Schema::TYPE_TINYINT => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_SMALLINT => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_INTEGER => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_BIGINT => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_FLOAT => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_DOUBLE => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_DECIMAL => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_DATETIME => self::CATEGORY_TIME, \\yii\\db\\Schema::TYPE_TIMESTAMP => self::CATEGORY_TIME, \\yii\\db\\Schema::TYPE_TIME => self::CATEGORY_TIME, \\yii\\db\\Schema::TYPE_DATE => self::CATEGORY_TIME, \\yii\\db\\Schema::TYPE_BINARY => self::CATEGORY_OTHER, \\yii\\db\\Schema::TYPE_BOOLEAN => self::CATEGORY_NUMERIC, \\yii\\db\\Schema::TYPE_MONEY => self::CATEGORY_NUMERIC]","description":"Mapping of abstract column types (keys) to type categories (values).","static":true,"since":"2.0.43"},"typeDefinition":{"type":"string","description":"Abstract type plus optional length, for example `string(255)`.","access":"read-only","virtual":true,"since":"22.0"}},"methods":{"__construct":{"signature":"public function __construct(string $type, int|string|array|null $length = null, yii\\db\\Connection|null $db = null, array $config = [])","summary":"Create a column schema builder instance giving the type and value precision.","params":[{"name":"$type","type":"string","description":"Type of the column. See `$type`."},{"name":"$length","type":"int|string|array|null","default":"null","optional":true,"description":"Length or precision of the column. See `$length`."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The current database connection. See `$db`."},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"__toString":{"signature":"public function __toString(): string","summary":"Builds the full string for the column's schema.","return":{"type":"string"}},"after":{"signature":"public function after(string $after): $this","summary":"Adds an `AFTER` constraint to the column.","params":[{"name":"$after","type":"string","description":"The column after which $this column will be added."}],"return":{"type":"$this"},"since":"2.0.8"},"append":{"signature":"public function append(string $sql): $this","summary":"Specify additional SQL to be appended to column definition.","params":[{"name":"$sql","type":"string","description":"The SQL string to be appended."}],"return":{"type":"$this"},"since":"2.0.9"},"buildAfterString":{"signature":"protected function buildAfterString(): string","summary":"Builds the after constraint for the column. Defaults to unsupported.","return":{"type":"string","description":"A string containing the AFTER constraint."},"visibility":"protected","since":"2.0.8"},"buildAppendString":{"signature":"protected function buildAppendString(): string","summary":"Builds the custom string that's appended to column definition.","return":{"type":"string","description":"Custom string to append."},"visibility":"protected","since":"2.0.9"},"buildCheckString":{"signature":"protected function buildCheckString(): string","summary":"Builds the check constraint for the column.","return":{"type":"string","description":"A string containing the CHECK constraint."},"visibility":"protected"},"buildCommentString":{"signature":"protected function buildCommentString(): string","summary":"Builds the comment specification for the column.","return":{"type":"string","description":"A string containing the COMMENT keyword and the comment itself"},"visibility":"protected","since":"2.0.8"},"buildCompleteString":{"signature":"protected function buildCompleteString(string $format): string","summary":"Returns the complete column definition from input format.","params":[{"name":"$format","type":"string","description":"The format of the definition."}],"return":{"type":"string","description":"A string containing the complete column definition."},"visibility":"protected","since":"2.0.8"},"buildDefaultString":{"signature":"protected function buildDefaultString(): string","summary":"Builds the default value specification for the column.","return":{"type":"string","description":"String with default value of column."},"visibility":"protected"},"buildDefaultValue":{"signature":"protected function buildDefaultValue(): string|null","summary":"Return the default value for the column.","return":{"type":"string|null","description":"String with default value of column."},"visibility":"protected"},"buildFirstString":{"signature":"protected function buildFirstString(): string","summary":"Builds the first constraint for the column. Defaults to unsupported.","return":{"type":"string","description":"A string containing the FIRST constraint."},"visibility":"protected","since":"2.0.8"},"buildLengthString":{"signature":"protected function buildLengthString(): string","summary":"Builds the length/precision part of the column.","return":{"type":"string"},"visibility":"protected"},"buildNotNullString":{"signature":"protected function buildNotNullString(): string","summary":"Builds the not null constraint for the column.","return":{"type":"string","description":"Returns 'NOT NULL' if `isNotNull()` is true, 'NULL' if `isNotNull()` is false or an empty string otherwise."},"visibility":"protected"},"buildUniqueString":{"signature":"protected function buildUniqueString(): string","summary":"Builds the unique constraint for the column.","return":{"type":"string","description":"Returns string 'UNIQUE' if `isUnique()` is true, otherwise it returns an empty string."},"visibility":"protected"},"buildUnsignedString":{"signature":"protected function buildUnsignedString(): string","summary":"Builds the unsigned string for column. Defaults to unsupported.","return":{"type":"string","description":"A string containing UNSIGNED keyword."},"visibility":"protected","since":"2.0.7"},"check":{"signature":"public function check(string $check): $this","summary":"Sets a `CHECK` constraint for the column.","params":[{"name":"$check","type":"string","description":"The SQL of the `CHECK` constraint to be added."}],"return":{"type":"$this"}},"comment":{"signature":"public function comment(string $comment): $this","summary":"Specifies the comment for column.","params":[{"name":"$comment","type":"string","description":"The comment"}],"return":{"type":"$this"},"since":"2.0.8"},"defaultExpression":{"signature":"public function defaultExpression(string $default): $this","summary":"Specify the default SQL expression for the column.","params":[{"name":"$default","type":"string","description":"The default value expression."}],"return":{"type":"$this"},"since":"2.0.7"},"defaultValue":{"signature":"public function defaultValue(mixed $default): $this","summary":"Specify the default value for the column.","params":[{"name":"$default","type":"mixed","description":"The default value."}],"return":{"type":"$this"}},"first":{"signature":"public function first(): $this","summary":"Adds an `FIRST` constraint to the column.","return":{"type":"$this"},"since":"2.0.8"},"getAppend":{"signature":"public function getAppend(): string|null","summary":"Returns the raw SQL fragment appended to the column definition.","return":{"type":"string|null","description":"Appended SQL fragment, or `null` when none is set."},"since":"22.0"},"getCategoryMap":{"signature":"public function getCategoryMap(): array","return":{"type":"array","description":"Mapping of abstract column types (keys) to type categories (values)."},"since":"2.0.43"},"getCheck":{"signature":"public function getCheck(): string|null","summary":"Returns the raw `CHECK` constraint expression of the column.","return":{"type":"string|null","description":"`CHECK` expression, or `null` when no constraint is set."},"since":"22.0"},"getDefault":{"signature":"public function getDefault(): mixed","summary":"Returns the raw default value of the column.","return":{"type":"mixed","description":"Scalar value, an `yii\\db\\Expression` when `defaultExpression()` was used, or `null` when unset."},"since":"22.0"},"getTypeCategory":{"signature":"protected function getTypeCategory(): string","summary":"Returns the category of the column type.","return":{"type":"string","description":"A string containing the column type category name."},"visibility":"protected","since":"2.0.8"},"getTypeDefinition":{"signature":"public function getTypeDefinition(): string","summary":"Returns the abstract type together with its length or precision, without any constraint keywords.","return":{"type":"string","description":"Abstract type plus optional length, for example `string(255)`."},"since":"22.0"},"isNotNull":{"signature":"public function isNotNull(): bool|null","summary":"Returns the nullability state of the column as a tri-state value.","return":{"type":"bool|null","description":"`true` for `NOT NULL`, `false` for `NULL`, or `null` when the nullability is unspecified."},"since":"22.0"},"isUnique":{"signature":"public function isUnique(): bool","summary":"Returns whether the column carries a `UNIQUE` constraint.","return":{"type":"bool","description":"`true` when a `UNIQUE` constraint is set; `false` otherwise."},"since":"22.0"},"notNull":{"signature":"public function notNull(): $this","summary":"Adds a `NOT NULL` constraint to the column.","return":{"type":"$this"}},"null":{"signature":"public function null(): $this","summary":"Adds a `NULL` constraint to the column.","return":{"type":"$this"},"since":"2.0.9"},"setCategoryMap":{"signature":"public function setCategoryMap(array $categoryMap): mixed","params":[{"name":"$categoryMap","type":"array","description":"Mapping of abstract column types (keys) to type categories (values)."}],"return":{"type":"mixed"},"since":"2.0.43"},"unique":{"signature":"public function unique(): $this","summary":"Adds a `UNIQUE` constraint to the column.","return":{"type":"$this"}},"unsigned":{"signature":"public function unsigned(): $this","summary":"Marks column as unsigned.","return":{"type":"$this"},"since":"2.0.7"}},"constants":{"CATEGORY_PK":{"value":"'pk'"},"CATEGORY_STRING":{"value":"'string'"},"CATEGORY_NUMERIC":{"value":"'numeric'"},"CATEGORY_TIME":{"value":"'time'"},"CATEGORY_OTHER":{"value":"'other'"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\Command":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/command/","summary":"Command represents a SQL statement to be executed against a database.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"db":{"type":"yii\\db\\Connection","default":"null","description":"The DB connection that this command is associated with"},"fetchMode":{"type":"int","default":"\\PDO::FETCH_ASSOC","description":"The default fetch mode for this command."},"params":{"type":"array","default":"[]","description":"The parameters (name => value) that are bound to the current PDO statement."},"pdoStatement":{"type":"PDOStatement|null","default":"null","description":"The PDOStatement object that this command is associated with"},"pendingParams":{"type":"array","default":"[]","description":"Pending parameters to be bound to the current PDO statement.","visibility":"protected","since":"2.0.33"},"queryCacheDependency":{"type":"yii\\caching\\Dependency","default":"null","description":"The dependency to be associated with the cached query result for this command"},"queryCacheDuration":{"type":"int","default":"null","description":"The default number of seconds that query results can remain valid in cache."},"rawSql":{"type":"string","description":"The raw SQL with parameter values inserted into the corresponding placeholders in `$sql`.","virtual":true},"sql":{"type":"string","description":"The SQL statement to be executed.","virtual":true}},"methods":{"addCheck":{"signature":"public function addCheck(string $name, string $table, string $expression): $this","summary":"Creates a SQL command for adding a check constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the check constraint. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the check constraint will be added to. The name will be properly quoted by the method."},{"name":"$expression","type":"string","description":"The SQL of the `CHECK` constraint."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.13"},"addColumn":{"signature":"public function addColumn(string $table, string $column, string $type): $this","summary":"Creates a SQL command for adding a new DB column.","params":[{"name":"$table","type":"string","description":"The table that the new column will be added to. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the new column. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The column type. `yii\\db\\QueryBuilder::getColumnType()` will be called to convert the given column type to the physical one. For example, `string` will be converted as `varchar(255)`, and `string not null` becomes `varchar(255) not null`."}],"return":{"type":"$this","description":"The command object itself"}},"addCommentOnColumn":{"signature":"public function addCommentOnColumn(string $table, string $column, string $comment): $this","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be commented. The column name will be properly quoted by the method."},{"name":"$comment","type":"string","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"},"since":"2.0.8"},"addCommentOnTable":{"signature":"public function addCommentOnTable(string $table, string $comment): $this","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$comment","type":"string","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"},"since":"2.0.8"},"addDefaultValue":{"signature":"public function addDefaultValue(string $name, string $table, string $column, mixed $value): $this","summary":"Creates a SQL command for adding a default value constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the default value constraint. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the default value constraint will be added to. The name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to that the constraint will be added on. The name will be properly quoted by the method."},{"name":"$value","type":"mixed","description":"Default value."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.13"},"addForeignKey":{"signature":"public function addForeignKey(string $name, string $table, string|array $columns, string $refTable, string|array $refColumns, string|null $delete = null, string|null $update = null): $this","summary":"Creates a SQL command for adding a foreign key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint."},{"name":"$table","type":"string","description":"The table that the foreign key constraint will be added to."},{"name":"$columns","type":"string|array","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas."},{"name":"$refTable","type":"string","description":"The table that the foreign key references to."},{"name":"$refColumns","type":"string|array","description":"The name of the column that the foreign key references to. If there are multiple columns, separate them with commas."},{"name":"$delete","type":"string|null","default":"null","optional":true,"description":"The ON DELETE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"},{"name":"$update","type":"string|null","default":"null","optional":true,"description":"The ON UPDATE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"}],"return":{"type":"$this","description":"The command object itself"}},"addPrimaryKey":{"signature":"public function addPrimaryKey(string $name, string $table, string|array $columns): $this","summary":"Creates a SQL command for adding a primary key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be added to."},{"name":"$columns","type":"string|array","description":"Comma separated string or array of columns that the primary key will consist of."}],"return":{"type":"$this","description":"The command object itself."}},"addUnique":{"signature":"public function addUnique(string $name, string $table, string|array $columns): $this","summary":"Creates a SQL command for adding an unique constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the unique constraint. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the unique constraint will be added to. The name will be properly quoted by the method."},{"name":"$columns","type":"string|array","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.13"},"alterColumn":{"signature":"public function alterColumn(string $table, string $column, string $type): $this","summary":"Creates a SQL command for changing the definition of a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The column type. `yii\\db\\QueryBuilder::getColumnType()` will be called to convert the give column type to the physical one. For example, `string` will be converted as `varchar(255)`, and `string not null` becomes `varchar(255) not null`."}],"return":{"type":"$this","description":"The command object itself"}},"batchInsert":{"signature":"public function batchInsert(string $table, array $columns, array|Generator $rows): $this","summary":"Creates a batch INSERT command.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array","description":"The column names"},{"name":"$rows","type":"array|Generator","description":"The rows to be batch inserted into the table"}],"return":{"type":"$this","description":"The command object itself"}},"bindParam":{"signature":"public function bindParam(string|int $name, mixed &$value, int|null $dataType = null, int|null $length = null, mixed $driverOptions = null): $this","summary":"Binds a parameter to the SQL statement to be executed.","params":[{"name":"$name","type":"string|int","description":"Parameter identifier. For a prepared statement using named placeholders, this will be a parameter name of the form `:name`. For a prepared statement using question mark placeholders, this will be the 1-indexed position of the parameter."},{"name":"$value","type":"mixed","byReference":true,"description":"The PHP variable to bind to the SQL statement parameter (passed by reference)"},{"name":"$dataType","type":"int|null","default":"null","optional":true,"description":"SQL data type of the parameter. If null, the type is determined by the PHP type of the value."},{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Length of the data type"},{"name":"$driverOptions","type":"mixed","default":"null","optional":true,"description":"The driver-specific options"}],"return":{"type":"$this","description":"The current command being executed"}},"bindPendingParams":{"signature":"protected function bindPendingParams(): mixed","summary":"Binds pending parameters that were registered via `bindValue()` and `bindValues()`.","return":{"type":"mixed"},"visibility":"protected"},"bindValue":{"signature":"public function bindValue(string|int $name, mixed $value, int|null $dataType = null): $this","summary":"Binds a value to a parameter.","params":[{"name":"$name","type":"string|int","description":"Parameter identifier. For a prepared statement using named placeholders, this will be a parameter name of the form `:name`. For a prepared statement using question mark placeholders, this will be the 1-indexed position of the parameter."},{"name":"$value","type":"mixed","description":"The value to bind to the parameter"},{"name":"$dataType","type":"int|null","default":"null","optional":true,"description":"SQL data type of the parameter. If null, the type is determined by the PHP type of the value."}],"return":{"type":"$this","description":"The current command being executed"}},"bindValues":{"signature":"public function bindValues(array $values): $this","summary":"Binds a list of values to the corresponding parameters.","params":[{"name":"$values","type":"array","description":"The values to be bound. This must be given in terms of an associative array with array keys being the parameter names, and array values the corresponding parameter values, e.g. `[':name' => 'John', ':age' => 25]`. By default, the PDO type of each value is determined by its PHP type. You may explicitly specify the PDO type by using a `yii\\db\\PdoValue` class: `new PdoValue(value, type)`, e.g. `[':name' => 'John', ':profile' => new PdoValue($profile, \\PDO::PARAM_LOB)]`."}],"return":{"type":"$this","description":"The current command being executed"}},"cache":{"signature":"public function cache(int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): $this","summary":"Enables query cache for this command.","params":[{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"The number of seconds that query result of this command can remain valid in the cache. If this is not set, the value of `yii\\db\\Connection::$queryCacheDuration` will be used instead. Use 0 to indicate that the cached data will never expire."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"The cache dependency associated with the cached query result."}],"return":{"type":"$this","description":"The command object itself"}},"cancel":{"signature":"public function cancel(): mixed","summary":"Cancels the execution of the SQL statement.","return":{"type":"mixed"}},"checkIntegrity":{"signature":"public function checkIntegrity(bool $check = true, string $schema = '', string $table = ''): $this","summary":"Builds a SQL command for enabling or disabling integrity check.","params":[{"name":"$check","type":"bool","default":"true","optional":true,"description":"Whether to turn on or off the integrity check."},{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema name of the tables. Defaults to empty string, meaning the current or default schema."},{"name":"$table","type":"string","default":"''","optional":true,"description":"The table name."}],"return":{"type":"$this","description":"The command object itself"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS"}]},"createIndex":{"signature":"public function createIndex(string $name, string $table, string|array $columns, bool $unique = false): $this","summary":"Creates a SQL command for creating a new index.","params":[{"name":"$name","type":"string","description":"The name of the index. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the new index will be created for. The table name will be properly quoted by the method."},{"name":"$columns","type":"string|array","description":"The column(s) that should be included in the index. If there are multiple columns, please separate them by commas. The column names will be properly quoted by the method."},{"name":"$unique","type":"bool","default":"false","optional":true,"description":"Whether to add UNIQUE constraint on the created index."}],"return":{"type":"$this","description":"The command object itself"}},"createTable":{"signature":"public function createTable(string $table, array $columns, string|null $options = null): $this","summary":"Creates a SQL command for creating a new DB table.","params":[{"name":"$table","type":"string","description":"The name of the table to be created. The name will be properly quoted by the method."},{"name":"$columns","type":"array","description":"The columns (name => definition) in the new table."},{"name":"$options","type":"string|null","default":"null","optional":true,"description":"Additional SQL fragment that will be appended to the generated SQL."}],"return":{"type":"$this","description":"The command object itself"}},"createView":{"signature":"public function createView(string $viewName, string|yii\\db\\Query $subquery): $this","summary":"Creates a SQL View.","params":[{"name":"$viewName","type":"string","description":"The name of the view to be created."},{"name":"$subquery","type":"string|yii\\db\\Query","description":"The select statement which defines the view. This can be either a string or a `yii\\db\\Query` object."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.14"},"delete":{"signature":"public function delete(string $table, string|array $condition = '', array $params = []): $this","summary":"Creates a DELETE command.","params":[{"name":"$table","type":"string","description":"The table where the data will be deleted from."},{"name":"$condition","type":"string|array","default":"''","optional":true,"description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the command"}],"return":{"type":"$this","description":"The command object itself"}},"dropCheck":{"signature":"public function dropCheck(string $name, string $table): $this","summary":"Creates a SQL command for dropping a check constraint.","params":[{"name":"$name","type":"string","description":"The name of the check constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose check constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.13"},"dropColumn":{"signature":"public function dropColumn(string $table, string $column): $this","summary":"Creates a SQL command for dropping a DB column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be dropped. The name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be dropped. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"}},"dropCommentFromColumn":{"signature":"public function dropCommentFromColumn(string $table, string $column): $this","summary":"Builds a SQL command for dropping comment from column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be commented. The column name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"},"since":"2.0.8"},"dropCommentFromTable":{"signature":"public function dropCommentFromTable(string $table): $this","summary":"Builds a SQL command for dropping comment from table.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"},"since":"2.0.8"},"dropDefaultValue":{"signature":"public function dropDefaultValue(string $name, string $table): $this","summary":"Creates a SQL command for dropping a default value constraint.","params":[{"name":"$name","type":"string","description":"The name of the default value constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose default value constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.13"},"dropForeignKey":{"signature":"public function dropForeignKey(string $name, string $table): $this","summary":"Creates a SQL command for dropping a foreign key constraint.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose foreign is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"}},"dropIndex":{"signature":"public function dropIndex(string $name, string $table): $this","summary":"Creates a SQL command for dropping an index.","params":[{"name":"$name","type":"string","description":"The name of the index to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose index is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"}},"dropPrimaryKey":{"signature":"public function dropPrimaryKey(string $name, string $table): $this","summary":"Creates a SQL command for removing a primary key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint to be removed."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be removed from."}],"return":{"type":"$this","description":"The command object itself"}},"dropTable":{"signature":"public function dropTable(string $table): $this","summary":"Creates a SQL command for dropping a DB table.","params":[{"name":"$table","type":"string","description":"The table to be dropped. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"}},"dropUnique":{"signature":"public function dropUnique(string $name, string $table): $this","summary":"Creates a SQL command for dropping an unique constraint.","params":[{"name":"$name","type":"string","description":"The name of the unique constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose unique constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.13"},"dropView":{"signature":"public function dropView(string $viewName): $this","summary":"Drops a SQL View.","params":[{"name":"$viewName","type":"string","description":"The name of the view to be dropped."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.14"},"execute":{"signature":"public function execute(): int","summary":"Executes the SQL statement.","return":{"type":"int","description":"Number of rows affected by the execution."},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"executeResetSequence":{"signature":"public function executeResetSequence(string $table, int|null $value = null): mixed","summary":"Executes a db command resetting the sequence value of a table's primary key.","params":[{"name":"$table","type":"string","description":"The name of the table whose primary key sequence is reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have the maximum existing value `+1`."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.16"},"getCacheKey":{"signature":"protected function getCacheKey(string $method, int $fetchMode, mixed $rawSql): array","summary":"Returns the cache key for the query.","params":[{"name":"$method","type":"string","description":"Method of PDOStatement to be called"},{"name":"$fetchMode","type":"int","description":"The result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) for valid fetch modes."},{"name":"$rawSql","type":"mixed"}],"return":{"type":"array","description":"The cache key"},"visibility":"protected","since":"2.0.16"},"getRawSql":{"signature":"public function getRawSql(): string","summary":"Returns the raw SQL by inserting parameter values into the corresponding placeholders in `$sql`.","return":{"type":"string","description":"The raw SQL with parameter values inserted into the corresponding placeholders in `$sql`."}},"getSql":{"signature":"public function getSql(): string","summary":"Returns the SQL statement for this command.","return":{"type":"string","description":"The SQL statement to be executed"}},"insert":{"signature":"public function insert(string $table, array|yii\\db\\Query $columns): $this","summary":"Creates an INSERT command.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array|yii\\db\\Query","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement. Passing of Query (`yii\\db\\Query`) is available since version 2.0.11."}],"return":{"type":"$this","description":"The command object itself"}},"internalExecute":{"signature":"protected function internalExecute(string|null $rawSql): mixed","summary":"Executes a prepared statement.","params":[{"name":"$rawSql","type":"string|null","description":"The rawSql if it has been created."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\db\\Exception","description":"if execution failed."}],"visibility":"protected","since":"2.0.14"},"logQuery":{"signature":"protected function logQuery(string $category): array","summary":"Logs the current database query if query logging is enabled and returns the profiling token if profiling is enabled.","params":[{"name":"$category","type":"string","description":"The log category."}],"return":{"type":"array","description":"Array of two elements, the first is boolean of whether profiling is enabled or not. The second is the rawSql if it has been created."},"visibility":"protected"},"noCache":{"signature":"public function noCache(): $this","summary":"Disables query cache for this command.","return":{"type":"$this","description":"The command object itself"}},"prepare":{"signature":"public function prepare(bool|null $forRead = null): mixed","summary":"Prepares the SQL statement to be executed.","params":[{"name":"$forRead","type":"bool|null","default":"null","optional":true,"description":"Whether this method is called for a read query. If null, it means the SQL statement should be used to determine whether it is for read or write."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\db\\Exception","description":"if there is any DB error"}]},"query":{"signature":"public function query(): yii\\db\\DataReader","summary":"Executes the SQL statement and returns query result.","return":{"type":"yii\\db\\DataReader","description":"The reader object for fetching the query result"},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"queryAll":{"signature":"public function queryAll(int|null $fetchMode = null): array","summary":"Executes the SQL statement and returns ALL rows at once.","params":[{"name":"$fetchMode","type":"int|null","default":"null","optional":true,"description":"The result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) for valid fetch modes. If this parameter is null, the value set in `$fetchMode` will be used."}],"return":{"type":"array","description":"All rows of the query result. Each array element is an array representing a row of data. An empty array is returned if the query results in nothing."},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"queryColumn":{"signature":"public function queryColumn(): array","summary":"Executes the SQL statement and returns the first column of the result.","return":{"type":"array","description":"The first column of the query result. Empty array is returned if the query results in nothing."},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"queryInternal":{"signature":"protected function queryInternal(string $method, int|null $fetchMode = null): mixed","summary":"Performs the actual DB query of a SQL statement.","params":[{"name":"$method","type":"string","description":"Method of PDOStatement to be called"},{"name":"$fetchMode","type":"int|null","default":"null","optional":true,"description":"The result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) for valid fetch modes. If this parameter is null, the value set in `$fetchMode` will be used."}],"return":{"type":"mixed","description":"The method execution result"},"throws":[{"type":"yii\\db\\Exception","description":"if the query causes any problem"}],"visibility":"protected"},"queryOne":{"signature":"public function queryOne(int|null $fetchMode = null): array|false","summary":"Executes the SQL statement and returns the first row of the result.","params":[{"name":"$fetchMode","type":"int|null","default":"null","optional":true,"description":"The result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/pdostatement.setfetchmode.php) for valid fetch modes. If this parameter is null, the value set in `$fetchMode` will be used."}],"return":{"type":"array|false","description":"The first row (in terms of an array) of the query result. False is returned if the query results in nothing."},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"queryScalar":{"signature":"public function queryScalar(): string|int|null|false","summary":"Executes the SQL statement and returns the value of the first column in the first row of data.","return":{"type":"string|int|null|false","description":"The value of the first column in the first row of the query result. False is returned if there is no value."},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"refreshTableSchema":{"signature":"protected function refreshTableSchema(): mixed","summary":"Refreshes table schema, which was marked by `requireTableSchemaRefresh()`.","return":{"type":"mixed"},"visibility":"protected","since":"2.0.6"},"renameColumn":{"signature":"public function renameColumn(string $table, string $oldName, string $newName): $this","summary":"Creates a SQL command for renaming a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be renamed. The name will be properly quoted by the method."},{"name":"$oldName","type":"string","description":"The old name of the column. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new name of the column. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"}},"renameTable":{"signature":"public function renameTable(string $table, string $newName): $this","summary":"Creates a SQL command for renaming a DB table.","params":[{"name":"$table","type":"string","description":"The table to be renamed. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new table name. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"}},"requireTableSchemaRefresh":{"signature":"protected function requireTableSchemaRefresh(string $name): $this","summary":"Marks a specified table schema to be refreshed after command execution.","params":[{"name":"$name","type":"string","description":"Name of the table, which schema should be refreshed."}],"return":{"type":"$this","description":"This command instance"},"visibility":"protected","since":"2.0.6"},"requireTransaction":{"signature":"protected function requireTransaction(string|null $isolationLevel = null): $this","summary":"Marks the command to be executed in transaction.","params":[{"name":"$isolationLevel","type":"string|null","default":"null","optional":true,"description":"The isolation level to use for this transaction. See `yii\\db\\Transaction::begin()` for details."}],"return":{"type":"$this","description":"This command instance."},"visibility":"protected","since":"2.0.14"},"reset":{"signature":"protected function reset(): mixed","summary":"Resets command properties to their initial state.","return":{"type":"mixed"},"visibility":"protected","since":"2.0.13"},"resetSequence":{"signature":"public function resetSequence(string $table, int|null $value = null): $this","summary":"Creates a SQL command for resetting the sequence value of a table's primary key.","params":[{"name":"$table","type":"string","description":"The name of the table whose primary key sequence will be reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have the maximum existing value `+1`."}],"return":{"type":"$this","description":"The command object itself."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}]},"setRawSql":{"signature":"public function setRawSql(string $sql): $this","summary":"Specifies the SQL statement to be executed. The SQL statement will not be modified in any way.","params":[{"name":"$sql","type":"string","description":"The SQL statement to be set."}],"return":{"type":"$this","description":"This command instance"},"since":"2.0.13"},"setRetryHandler":{"signature":"protected function setRetryHandler(callable $handler): $this","summary":"Sets a callable (e.g. anonymous function) that is called when `yii\\db\\Exception` is thrown when executing the command. The signature of the callable should be:","params":[{"name":"$handler","type":"callable","description":"A PHP callback to handle database exceptions."}],"return":{"type":"$this","description":"This command instance."},"visibility":"protected","since":"2.0.14"},"setSql":{"signature":"public function setSql(string $sql): $this","summary":"Specifies the SQL statement to be executed. The SQL statement will be quoted using `yii\\db\\Connection::quoteSql()`.","params":[{"name":"$sql","type":"string","description":"The SQL statement to be set."}],"return":{"type":"$this","description":"This command instance"}},"truncateTable":{"signature":"public function truncateTable(string $table): $this","summary":"Creates a SQL command for truncating a DB table.","params":[{"name":"$table","type":"string","description":"The table to be truncated. The name will be properly quoted by the method."}],"return":{"type":"$this","description":"The command object itself"}},"update":{"signature":"public function update(string $table, array $columns, string|array $condition = '', array $params = []): $this","summary":"Creates an UPDATE command.","params":[{"name":"$table","type":"string","description":"The table to be updated."},{"name":"$columns","type":"array","description":"The column data (name => value) to be updated."},{"name":"$condition","type":"string|array","default":"''","optional":true,"description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the command"}],"return":{"type":"$this","description":"The command object itself"}},"upsert":{"signature":"public function upsert(string $table, array|yii\\db\\Query $insertColumns, array|bool $updateColumns = true, array $params = []): $this","summary":"Creates a command to insert rows into a database table if they do not already exist (matching unique constraints), or update them if they do.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into/updated in."},{"name":"$insertColumns","type":"array|yii\\db\\Query","description":"The column data (name => value) to be inserted into the table or instance of `yii\\db\\Query` to perform `INSERT INTO ... SELECT` SQL statement."},{"name":"$updateColumns","type":"array|bool","default":"true","optional":true,"description":"The column data (name => value) to be updated if they already exist. If `true` is passed, the column data will be updated to match the insert column data. If `false` is passed, no update will be performed if the column data already exists."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the command."}],"return":{"type":"$this","description":"The command object itself."},"since":"2.0.14"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\db\\Connection":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/connection/","summary":"Connection represents a connection to a database via [PDO](https://www.php.net/manual/en/book.pdo.php).","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"attributes":{"type":"array","default":"null","description":"PDO attributes (name => value) that should be set when calling `open()` to establish a DB connection."},"charset":{"type":"string|null","default":"null","description":"The charset used for database connection."},"commandMap":{"type":"array","default":"['pgsql' => 'yii\\db\\Command', 'mysqli' => 'yii\\db\\Command', 'mysql' => 'yii\\db\\Command', 'sqlite' => 'yii\\db\\sqlite\\Command', 'sqlite2' => 'yii\\db\\sqlite\\Command', 'sqlsrv' => 'yii\\db\\mssql\\Command', 'oci' => 'yii\\db\\oci\\Command', 'mssql' => 'yii\\db\\mssql\\Command', 'dblib' => 'yii\\db\\mssql\\Command']","description":"Mapping between PDO driver names and `yii\\db\\Command` classes.","since":"2.0.14"},"driverName":{"type":"string","description":"Name of the DB driver.","virtual":true},"dsn":{"type":"string","default":"null","description":"The Data Source Name, or DSN, contains the information required to connect to the database."},"effectiveCharset":{"type":"string|null","description":"The effective connection charset, or `null` when the connection relies on the database server defaults.","access":"read-only","virtual":true},"emulatePrepare":{"type":"bool|null","default":"null","description":"Whether to turn on prepare emulation."},"enableLogging":{"type":"bool","default":"true","description":"Whether to enable logging of database queries.","since":"2.0.12"},"enableProfiling":{"type":"bool","default":"true","description":"Whether to enable profiling of opening database connection and database queries.","since":"2.0.12"},"enableQueryCache":{"type":"bool","default":"true","description":"Whether to enable query caching."},"enableSavepoint":{"type":"bool","default":"true","description":"Whether to enable [savepoint](https://en.wikipedia.org/wiki/Savepoint)."},"enableSchemaCache":{"type":"bool","default":"false","description":"Whether to enable schema caching."},"enableSlaves":{"type":"bool","default":"true","description":"Whether to enable read/write splitting by using `$slaves` to read data."},"isActive":{"type":"bool","description":"Whether the DB connection is established.","access":"read-only","virtual":true},"isSybase":{"type":"bool","default":"false","description":"If the database connected via pdo_dblib is SyBase.","since":"2.0.38"},"lastInsertID":{"type":"string","description":"The row ID of the last row inserted, or the last value retrieved from the sequence object.","access":"read-only","virtual":true},"master":{"type":"yii\\db\\Connection|null","description":"The currently active master connection. `null` is returned if there is no master available.","access":"read-only","virtual":true},"masterConfig":{"type":"array","default":"[]","description":"The configuration that should be merged with every master configuration listed in `$masters`."},"masterPdo":{"type":"PDO","description":"The PDO instance for the currently active master connection.","access":"read-only","virtual":true},"masters":{"type":"array","default":"[]","description":"List of master connection configurations."},"password":{"type":"string|null","default":"null","description":"The password for establishing DB connection."},"pdo":{"type":"PDO|null","default":"null","description":"The PHP PDO instance associated with this DB connection."},"pdoClass":{"type":"string|null","default":"null","description":"Custom PDO wrapper class."},"queryBuilder":{"type":"array","description":"The `yii\\db\\QueryBuilder` properties to be configured.","virtual":true},"queryCache":{"type":"yii\\caching\\CacheInterface|string","default":"'cache'","description":"The cache object or the ID of the cache application component that is used for query caching."},"queryCacheDuration":{"type":"int","default":"3600","description":"The default number of seconds that query results can remain valid in cache."},"schema":{"type":"yii\\db\\TSchema","description":"The schema information for the database opened by this connection.","access":"read-only","virtual":true},"schemaCache":{"type":"yii\\caching\\CacheInterface|string","default":"'cache'","description":"The cache object or the ID of the cache application component that is used to cache the table metadata."},"schemaCacheDuration":{"type":"int","default":"3600","description":"Number of seconds that table metadata can remain valid in cache."},"schemaCacheExclude":{"type":"array","default":"[]","description":"List of tables whose metadata should NOT be cached."},"schemaMap":{"type":"array","default":"['pgsql' => 'yii\\db\\pgsql\\Schema', 'mysqli' => 'yii\\db\\mysql\\Schema', 'mysql' => 'yii\\db\\mysql\\Schema', 'sqlite' => 'yii\\db\\sqlite\\Schema', 'sqlite2' => 'yii\\db\\sqlite\\Schema', 'sqlsrv' => 'yii\\db\\mssql\\Schema', 'oci' => 'yii\\db\\oci\\Schema', 'mssql' => 'yii\\db\\mssql\\Schema', 'dblib' => 'yii\\db\\mssql\\Schema']","description":"Mapping between PDO driver names and `yii\\db\\Schema` classes."},"serverRetryInterval":{"type":"int","default":"600","description":"The retry interval in seconds for dead servers listed in `$masters` and `$slaves`."},"serverStatusCache":{"type":"yii\\caching\\CacheInterface|string|false","default":"'cache'","description":"The cache object or the ID of the cache application component that is used to store the health status of the DB servers specified in `$masters` and `$slaves`."},"serverVersion":{"type":"string","description":"Server version as a string.","access":"read-only","virtual":true},"shuffleMasters":{"type":"bool","default":"true","description":"Whether to shuffle `$masters` before getting one.","since":"2.0.11"},"slave":{"type":"yii\\db\\Connection|null","description":"The currently active slave connection. `null` is returned if there is no slave available and `$fallbackToMaster` is false.","access":"read-only","virtual":true},"slaveConfig":{"type":"array","default":"[]","description":"The configuration that should be merged with every slave configuration listed in `$slaves`."},"slavePdo":{"type":"PDO|null","description":"The PDO instance for the currently active slave connection. `null` is returned if no slave connection is available and `$fallbackToMaster` is false.","access":"read-only","virtual":true},"slaves":{"type":"array","default":"[]","description":"List of slave connection configurations."},"tablePrefix":{"type":"string","default":"''","description":"The common prefix or suffix for table names."},"transaction":{"type":"yii\\db\\Transaction|null","description":"The currently active transaction.","access":"read-only","virtual":true},"transactionMap":{"type":"array<string, class-string<yii\\db\\Transaction>|array<string, mixed>>","default":"['pgsql' => \\yii\\db\\pgsql\\Transaction::class, 'mysqli' => \\yii\\db\\Transaction::class, 'mysql' => \\yii\\db\\Transaction::class, 'sqlite' => \\yii\\db\\Transaction::class, 'sqlite2' => \\yii\\db\\Transaction::class, 'sqlsrv' => \\yii\\db\\Transaction::class, 'oci' => \\yii\\db\\Transaction::class, 'mssql' => \\yii\\db\\Transaction::class, 'dblib' => \\yii\\db\\Transaction::class]","description":"Mapping between PDO driver names and `yii\\db\\Transaction` classes or configurations.","since":"22.0"},"username":{"type":"string|null","default":"null","description":"The username for establishing DB connection."}},"methods":{"__clone":{"signature":"public function __clone(): mixed","summary":"Reset the connection after cloning.","return":{"type":"mixed"}},"__sleep":{"signature":"public function __sleep(): array","summary":"Close the connection before serializing.","return":{"type":"array"}},"beginTransaction":{"signature":"public function beginTransaction(string|null $isolationLevel = null): yii\\db\\Transaction","summary":"Starts a transaction.","params":[{"name":"$isolationLevel","type":"string|null","default":"null","optional":true,"description":"The isolation level to use for this transaction. See `yii\\db\\Transaction::begin()` for details."}],"return":{"type":"yii\\db\\Transaction","description":"The transaction initiated"}},"cache":{"signature":"public function cache(callable $callable, int|null $duration = null, yii\\caching\\Dependency|null $dependency = null): mixed","summary":"Uses query cache for the queries performed with the callable.","params":[{"name":"$callable","type":"callable","description":"A PHP callable that contains DB queries which will make use of query cache. The signature of the callable is `function (Connection $db)`."},{"name":"$duration","type":"int|null","default":"null","optional":true,"description":"The number of seconds that query results can remain valid in the cache. If this is not set, the value of `$queryCacheDuration` will be used instead. Use 0 to indicate that the cached data will never expire."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"The cache dependency associated with the cached query results."}],"return":{"type":"mixed","description":"The return result of the callable"},"throws":[{"type":"Throwable","description":"if there is any exception during query"}]},"close":{"signature":"public function close(): mixed","summary":"Closes the currently active DB connection.","return":{"type":"mixed"}},"createCommand":{"signature":"public function createCommand(string|null $sql = null, array $params = []): yii\\db\\Command","summary":"Creates a command for execution.","params":[{"name":"$sql","type":"string|null","default":"null","optional":true,"description":"The SQL statement to be executed"},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the SQL statement"}],"return":{"type":"yii\\db\\Command","description":"The DB command"}},"createPdoInstance":{"signature":"protected function createPdoInstance(): PDO","summary":"Creates the PDO instance.","return":{"type":"PDO","description":"The pdo instance"},"visibility":"protected"},"getDriverName":{"signature":"public function getDriverName(): string|null","summary":"Returns the name of the DB driver. Based on the the current `$dsn`, in case it was not set explicitly by an end user.","return":{"type":"string|null","description":"Name of the DB driver"}},"getEffectiveCharset":{"signature":"public function getEffectiveCharset(): string|null","summary":"Returns the charset the connection effectively uses.","return":{"type":"string|null","description":"The effective connection charset, or `null` when the connection relies on the database server defaults."},"since":"22.0"},"getIsActive":{"signature":"public function getIsActive(): bool","summary":"Returns a value indicating whether the DB connection is established.","return":{"type":"bool","description":"Whether the DB connection is established"}},"getLastInsertID":{"signature":"public function getLastInsertID(string $sequenceName = ''): string","summary":"Returns the ID of the last inserted row or sequence value.","params":[{"name":"$sequenceName","type":"string","default":"''","optional":true,"description":"Name of the sequence object (required by some DBMS)"}],"return":{"type":"string","description":"The row ID of the last row inserted, or the last value retrieved from the sequence object"}},"getMaster":{"signature":"public function getMaster(): yii\\db\\Connection|null","summary":"Returns the currently active master connection.","return":{"type":"yii\\db\\Connection|null","description":"The currently active master connection. `null` is returned if there is no master available."},"since":"2.0.11"},"getMasterPdo":{"signature":"public function getMasterPdo(): PDO","summary":"Returns the PDO instance for the currently active master connection.","return":{"type":"PDO","description":"The PDO instance for the currently active master connection."}},"getQueryBuilder":{"signature":"public function getQueryBuilder(): yii\\db\\TQueryBuilder","summary":"Returns the query builder for the current DB connection.","return":{"type":"yii\\db\\TQueryBuilder","description":"The query builder for the current DB connection."}},"getSchema":{"signature":"public function getSchema(): yii\\db\\TSchema","summary":"Returns the schema information for the database opened by this connection.","return":{"type":"yii\\db\\TSchema","description":"The schema information for the database opened by this connection."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if there is no support for the current driver type"}]},"getServerVersion":{"signature":"public function getServerVersion(): string","summary":"Returns a server version as a string comparable by `version_compare()`.","return":{"type":"string","description":"Server version as a string."},"since":"2.0.14"},"getSlave":{"signature":"public function getSlave(bool $fallbackToMaster = true): yii\\db\\Connection|null","summary":"Returns the currently active slave connection.","params":[{"name":"$fallbackToMaster","type":"bool","default":"true","optional":true,"description":"Whether to return a master connection in case there is no slave connection available."}],"return":{"type":"yii\\db\\Connection|null","description":"The currently active slave connection. `null` is returned if there is no slave available and `$fallbackToMaster` is false."}},"getSlavePdo":{"signature":"public function getSlavePdo(bool $fallbackToMaster = true): PDO|null","summary":"Returns the PDO instance for the currently active slave connection.","params":[{"name":"$fallbackToMaster","type":"bool","default":"true","optional":true,"description":"Whether to return a master PDO in case none of the slave connections is available."}],"return":{"type":"PDO|null","description":"The PDO instance for the currently active slave connection. `null` is returned if no slave connection is available and `$fallbackToMaster` is false."}},"getTableSchema":{"signature":"public function getTableSchema(string $name, bool $refresh = false): yii\\db\\TableSchema|null","summary":"Obtains the schema information for the named table.","params":[{"name":"$name","type":"string","description":"Table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the table schema even if it is found in the cache."}],"return":{"type":"yii\\db\\TableSchema|null","description":"Table schema information. Null if the named table does not exist."}},"getTransaction":{"signature":"public function getTransaction(): yii\\db\\Transaction|null","summary":"Returns the currently active transaction.","return":{"type":"yii\\db\\Transaction|null","description":"The currently active transaction. Null if no active transaction."}},"initConnection":{"signature":"protected function initConnection(): mixed","summary":"Initializes the DB connection.","return":{"type":"mixed"},"visibility":"protected"},"noCache":{"signature":"public function noCache(callable $callable): mixed","summary":"Disables query cache temporarily.","params":[{"name":"$callable","type":"callable","description":"A PHP callable that contains DB queries which should not use query cache. The signature of the callable is `function (Connection $db)`."}],"return":{"type":"mixed","description":"The return result of the callable"},"throws":[{"type":"Throwable","description":"if there is any exception during query"}]},"open":{"signature":"public function open(): mixed","summary":"Establishes a DB connection.","return":{"type":"mixed"},"throws":[{"type":"yii\\db\\Exception","description":"if connection fails"}]},"openFromPool":{"signature":"protected function openFromPool(array $pool, array $sharedConfig): yii\\db\\Connection|null","summary":"Opens the connection to a server in the pool.","params":[{"name":"$pool","type":"array","description":"The list of connection configurations in the server pool"},{"name":"$sharedConfig","type":"array","description":"The configuration common to those given in `$pool`."}],"return":{"type":"yii\\db\\Connection|null","description":"The opened DB connection, or `null` if no server is available"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a configuration does not specify \"dsn\""}],"visibility":"protected"},"openFromPoolSequentially":{"signature":"protected function openFromPoolSequentially(array $pool, array $sharedConfig): yii\\db\\Connection|null","summary":"Opens the connection to a server in the pool.","params":[{"name":"$pool","type":"array","description":"The list of connection configurations in the server pool"},{"name":"$sharedConfig","type":"array","description":"The configuration common to those given in `$pool`."}],"return":{"type":"yii\\db\\Connection|null","description":"The opened DB connection, or `null` if no server is available"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a configuration does not specify \"dsn\""}],"visibility":"protected","since":"2.0.11"},"quoteColumnName":{"signature":"public function quoteColumnName(string $name): string","summary":"Quotes a column name for use in a query.","params":[{"name":"$name","type":"string","description":"Column name"}],"return":{"type":"string","description":"The properly quoted column name"}},"quoteSql":{"signature":"public function quoteSql(string $sql): string","summary":"Processes a SQL statement by quoting table and column names that are enclosed within double brackets.","params":[{"name":"$sql","type":"string","description":"The SQL to be quoted"}],"return":{"type":"string","description":"The quoted SQL"}},"quoteTableName":{"signature":"public function quoteTableName(string $name): string","summary":"Quotes a table name for use in a query.","params":[{"name":"$name","type":"string","description":"Table name"}],"return":{"type":"string","description":"The properly quoted table name"}},"quoteValue":{"signature":"public function quoteValue(string $value): string","summary":"Quotes a string value for use in a query.","params":[{"name":"$value","type":"string","description":"String to be quoted"}],"return":{"type":"string","description":"The properly quoted string"}},"setDriverName":{"signature":"public function setDriverName(string $driverName): mixed","summary":"Changes the current driver name.","params":[{"name":"$driverName","type":"string","description":"Name of the DB driver"}],"return":{"type":"mixed"}},"setQueryBuilder":{"signature":"public function setQueryBuilder(array $value): mixed","summary":"Can be used to set `yii\\db\\QueryBuilder` configuration via Connection configuration array.","params":[{"name":"$value","type":"array","description":"The `yii\\db\\QueryBuilder` properties to be configured."}],"return":{"type":"mixed"},"since":"2.0.14"},"transaction":{"signature":"public function transaction(callable $callback, string|null $isolationLevel = null): mixed","summary":"Executes callback provided in a transaction.","params":[{"name":"$callback","type":"callable","description":"A valid PHP callback that performs the job. Accepts connection instance as parameter."},{"name":"$isolationLevel","type":"string|null","default":"null","optional":true,"description":"The isolation level to use for this transaction. See `yii\\db\\Transaction::begin()` for details."}],"return":{"type":"mixed","description":"Result of callback function"},"throws":[{"type":"Throwable","description":"if there is any exception during query. In this case the transaction will be rolled back."}]},"useMaster":{"signature":"public function useMaster(callable $callback): mixed","summary":"Executes the provided callback by using the master connection.","params":[{"name":"$callback","type":"callable","description":"A PHP callable to be executed by this method. Its signature is `function (Connection $db)`. Its return value will be returned by this method."}],"return":{"type":"mixed","description":"The return value of the callback"},"throws":[{"type":"Throwable","description":"if there is any exception thrown from the callback"}]}},"events":{"EVENT_AFTER_OPEN":{"value":"'afterOpen'","type":"yii\\base\\Event","description":"An event that is triggered after a DB connection is established"},"EVENT_BEGIN_TRANSACTION":{"value":"'beginTransaction'","type":"yii\\base\\Event","description":"An event that is triggered right before a top-level transaction is started"},"EVENT_COMMIT_TRANSACTION":{"value":"'commitTransaction'","type":"yii\\base\\Event","description":"An event that is triggered right after a top-level transaction is committed"},"EVENT_ROLLBACK_TRANSACTION":{"value":"'rollbackTransaction'","type":"yii\\base\\Event","description":"An event that is triggered right after a top-level transaction is rolled back"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\db\\Constraint":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/constraint/","summary":"Constraint represents the metadata of a table constraint.","since":"2.0.13","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"columnNames":{"type":"string[]|null","default":"null","description":"List of column names the constraint belongs to."},"name":{"type":"string|null","default":"null","description":"The constraint name."}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\ConstraintFinderInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/constraintfinderinterface/","summary":"ConstraintFinderInterface defines methods for getting a table constraint information.","since":"2.0.14","methods":{"getSchemaChecks":{"signature":"abstract public function getSchemaChecks(string $schema = '', bool $refresh = false): yii\\db\\CheckConstraint[][]","summary":"Returns check constraints for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\CheckConstraint[][]","description":"Check constraints for all tables in the database. Each array element is an array of `yii\\db\\CheckConstraint` or its child classes."},"abstract":true},"getSchemaDefaultValues":{"signature":"abstract public function getSchemaDefaultValues(string $schema = '', bool $refresh = false): yii\\db\\DefaultValueConstraint[]","summary":"Returns default value constraints for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\DefaultValueConstraint[]","description":"Default value constraints for all tables in the database. Each array element is an array of `yii\\db\\DefaultValueConstraint` or its child classes."},"abstract":true},"getSchemaForeignKeys":{"signature":"abstract public function getSchemaForeignKeys(string $schema = '', bool $refresh = false): yii\\db\\ForeignKeyConstraint[][]","summary":"Returns foreign keys for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\ForeignKeyConstraint[][]","description":"Foreign keys for all tables in the database. Each array element is an array of `yii\\db\\ForeignKeyConstraint` or its child classes."},"abstract":true},"getSchemaIndexes":{"signature":"abstract public function getSchemaIndexes(string $schema = '', bool $refresh = false): yii\\db\\IndexConstraint[][]","summary":"Returns indexes for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\IndexConstraint[][]","description":"Indexes for all tables in the database. Each array element is an array of `yii\\db\\IndexConstraint` or its child classes."},"abstract":true},"getSchemaPrimaryKeys":{"signature":"abstract public function getSchemaPrimaryKeys(string $schema = '', bool $refresh = false): yii\\db\\Constraint[]","summary":"Returns primary keys for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is `false`, cached data may be returned if available."}],"return":{"type":"yii\\db\\Constraint[]","description":"Primary keys for all tables in the database. Each array element is an instance of `yii\\db\\Constraint` or its child class."},"abstract":true},"getSchemaUniques":{"signature":"abstract public function getSchemaUniques(string $schema = '', bool $refresh = false): yii\\db\\Constraint[][]","summary":"Returns unique constraints for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\Constraint[][]","description":"Unique constraints for all tables in the database. Each array element is an array of `yii\\db\\Constraint` or its child classes."},"abstract":true},"getTableChecks":{"signature":"abstract public function getTableChecks(string $name, bool $refresh = false): yii\\db\\CheckConstraint[]","summary":"Obtains the check constraints information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\CheckConstraint[]","description":"Table check constraints."},"abstract":true},"getTableDefaultValues":{"signature":"abstract public function getTableDefaultValues(string $name, bool $refresh = false): yii\\db\\DefaultValueConstraint[]","summary":"Obtains the default value constraints information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\DefaultValueConstraint[]","description":"Table default value constraints."},"abstract":true},"getTableForeignKeys":{"signature":"abstract public function getTableForeignKeys(string $name, bool $refresh = false): yii\\db\\ForeignKeyConstraint[]","summary":"Obtains the foreign keys information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\ForeignKeyConstraint[]","description":"Table foreign keys."},"abstract":true},"getTableIndexes":{"signature":"abstract public function getTableIndexes(string $name, bool $refresh = false): yii\\db\\IndexConstraint[]","summary":"Obtains the indexes information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\IndexConstraint[]","description":"Table indexes."},"abstract":true},"getTablePrimaryKey":{"signature":"abstract public function getTablePrimaryKey(string $name, bool $refresh = false): yii\\db\\Constraint|null","summary":"Obtains the primary key for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\Constraint|null","description":"Table primary key, `null` if the table has no primary key."},"abstract":true},"getTableUniques":{"signature":"abstract public function getTableUniques(string $name, bool $refresh = false): yii\\db\\Constraint[]","summary":"Obtains the unique constraints information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\Constraint[]","description":"Table unique constraints."},"abstract":true}}},"yii\\db\\ConstraintFinderTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/db/constraintfindertrait/","summary":"ConstraintFinderTrait provides methods for getting a table constraint information.","since":"2.0.13","properties":{"schemaChecks":{"type":"yii\\db\\CheckConstraint[][]","description":"Check constraints for all tables in the database.","virtual":true},"schemaDefaultValues":{"type":"yii\\db\\DefaultValueConstraint[]","description":"Default value constraints for all tables in the database.","virtual":true},"schemaForeignKeys":{"type":"yii\\db\\ForeignKeyConstraint[][]","description":"Foreign keys for all tables in the database.","virtual":true},"schemaIndexes":{"type":"yii\\db\\IndexConstraint[][]","description":"Indexes for all tables in the database.","virtual":true},"schemaPrimaryKeys":{"type":"yii\\db\\Constraint[]","description":"Primary keys for all tables in the database.","virtual":true},"schemaUniques":{"type":"yii\\db\\IndexConstraint[][]","description":"Unique constraints for all tables in the database.","virtual":true}},"methods":{"getSchemaChecks":{"signature":"public function getSchemaChecks(string $schema = '', bool $refresh = false): yii\\db\\CheckConstraint[][]","summary":"Returns check constraints for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\CheckConstraint[][]","description":"Check constraints for all tables in the database. Each array element is an array of `yii\\db\\CheckConstraint` or its child classes."}},"getSchemaDefaultValues":{"signature":"public function getSchemaDefaultValues(string $schema = '', bool $refresh = false): yii\\db\\DefaultValueConstraint[]","summary":"Returns default value constraints for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\DefaultValueConstraint[]","description":"Default value constraints for all tables in the database. Each array element is an array of `yii\\db\\DefaultValueConstraint` or its child classes."}},"getSchemaForeignKeys":{"signature":"public function getSchemaForeignKeys(string $schema = '', bool $refresh = false): yii\\db\\ForeignKeyConstraint[][]","summary":"Returns foreign keys for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\ForeignKeyConstraint[][]","description":"Foreign keys for all tables in the database. Each array element is an array of `yii\\db\\ForeignKeyConstraint` or its child classes."}},"getSchemaIndexes":{"signature":"public function getSchemaIndexes(string $schema = '', bool $refresh = false): yii\\db\\IndexConstraint[][]","summary":"Returns indexes for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\IndexConstraint[][]","description":"Indexes for all tables in the database. Each array element is an array of `yii\\db\\IndexConstraint` or its child classes."}},"getSchemaMetadata":{"signature":"abstract protected function getSchemaMetadata(string $schema, string $type, bool $refresh): array","summary":"Returns the metadata of the given type for all tables in the given schema.","params":[{"name":"$schema","type":"string","description":"The schema of the metadata. Defaults to empty string, meaning the current or default schema name."},{"name":"$type","type":"string","description":"Metadata type."},{"name":"$refresh","type":"bool","description":"Whether to fetch the latest available table metadata. If this is `false`, cached data may be returned if available."}],"return":{"type":"array","description":"Array of metadata."},"visibility":"protected","abstract":true},"getSchemaPrimaryKeys":{"signature":"public function getSchemaPrimaryKeys(string $schema = '', bool $refresh = false): yii\\db\\Constraint[]","summary":"Returns primary keys for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is `false`, cached data may be returned if available."}],"return":{"type":"yii\\db\\Constraint[]","description":"Primary keys for all tables in the database. Each array element is an instance of `yii\\db\\Constraint` or its child class."}},"getSchemaUniques":{"signature":"public function getSchemaUniques(string $schema = '', bool $refresh = false): yii\\db\\Constraint[][]","summary":"Returns unique constraints for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available."}],"return":{"type":"yii\\db\\Constraint[][]","description":"Unique constraints for all tables in the database. Each array element is an array of `yii\\db\\Constraint` or its child classes."}},"getTableChecks":{"signature":"public function getTableChecks(string $name, bool $refresh = false): yii\\db\\CheckConstraint[]","summary":"Obtains the check constraints information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\CheckConstraint[]","description":"Table check constraints."}},"getTableDefaultValues":{"signature":"public function getTableDefaultValues(string $name, bool $refresh = false): yii\\db\\DefaultValueConstraint[]","summary":"Obtains the default value constraints information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\DefaultValueConstraint[]","description":"Table default value constraints."}},"getTableForeignKeys":{"signature":"public function getTableForeignKeys(string $name, bool $refresh = false): yii\\db\\ForeignKeyConstraint[]","summary":"Obtains the foreign keys information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\ForeignKeyConstraint[]","description":"Table foreign keys."}},"getTableIndexes":{"signature":"public function getTableIndexes(string $name, bool $refresh = false): yii\\db\\IndexConstraint[]","summary":"Obtains the indexes information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\IndexConstraint[]","description":"Table indexes."}},"getTableMetadata":{"signature":"abstract protected function getTableMetadata(string $name, string $type, bool $refresh): mixed","summary":"Returns the metadata of the given type for the given table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$type","type":"string","description":"Metadata type."},{"name":"$refresh","type":"bool","description":"Whether to reload the table metadata even if it is found in the cache."}],"return":{"type":"mixed","description":"Metadata."},"visibility":"protected","abstract":true},"getTablePrimaryKey":{"signature":"public function getTablePrimaryKey(string $name, bool $refresh = false): yii\\db\\Constraint|null","summary":"Obtains the primary key for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\Constraint|null","description":"Table primary key, `null` if the table has no primary key."}},"getTableUniques":{"signature":"public function getTableUniques(string $name, bool $refresh = false): yii\\db\\Constraint[]","summary":"Obtains the unique constraints information for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the information even if it is found in the cache."}],"return":{"type":"yii\\db\\Constraint[]","description":"Table unique constraints."}},"loadTableChecks":{"signature":"abstract protected function loadTableChecks(string $tableName): yii\\db\\CheckConstraint[]","summary":"Loads all check constraints for the given table.","params":[{"name":"$tableName","type":"string","description":"Table name."}],"return":{"type":"yii\\db\\CheckConstraint[]","description":"Check constraints for the given table."},"visibility":"protected","abstract":true},"loadTableDefaultValues":{"signature":"abstract protected function loadTableDefaultValues(string $tableName): yii\\db\\DefaultValueConstraint[]","summary":"Loads all default value constraints for the given table.","params":[{"name":"$tableName","type":"string","description":"Table name."}],"return":{"type":"yii\\db\\DefaultValueConstraint[]","description":"Default value constraints for the given table."},"visibility":"protected","abstract":true},"loadTableForeignKeys":{"signature":"abstract protected function loadTableForeignKeys(string $tableName): yii\\db\\ForeignKeyConstraint[]","summary":"Loads all foreign keys for the given table.","params":[{"name":"$tableName","type":"string","description":"Table name."}],"return":{"type":"yii\\db\\ForeignKeyConstraint[]","description":"Foreign keys for the given table."},"visibility":"protected","abstract":true},"loadTableIndexes":{"signature":"abstract protected function loadTableIndexes(string $tableName): yii\\db\\IndexConstraint[]","summary":"Loads all indexes for the given table.","params":[{"name":"$tableName","type":"string","description":"Table name."}],"return":{"type":"yii\\db\\IndexConstraint[]","description":"Indexes for the given table."},"visibility":"protected","abstract":true},"loadTablePrimaryKey":{"signature":"abstract protected function loadTablePrimaryKey(string $tableName): yii\\db\\Constraint|null","summary":"Loads a primary key for the given table.","params":[{"name":"$tableName","type":"string","description":"Table name."}],"return":{"type":"yii\\db\\Constraint|null","description":"Primary key for the given table, `null` if the table has no primary key."},"visibility":"protected","abstract":true},"loadTableUniques":{"signature":"abstract protected function loadTableUniques(string $tableName): yii\\db\\Constraint[]","summary":"Loads all unique constraints for the given table.","params":[{"name":"$tableName","type":"string","description":"Table name."}],"return":{"type":"yii\\db\\Constraint[]","description":"Unique constraints for the given table."},"visibility":"protected","abstract":true}}},"yii\\db\\DataReader":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/datareader/","summary":"DataReader represents a forward-only stream of rows from a query result set.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["Iterator","Countable","yii\\base\\Configurable"],"properties":{"columnCount":{"type":"int","description":"The number of columns in the result set.","access":"read-only","virtual":true},"fetchMode":{"type":"int","description":"Fetch mode.","access":"write-only","virtual":true},"isClosed":{"type":"bool","description":"Whether the reader is closed or not.","access":"read-only","virtual":true},"rowCount":{"type":"int","description":"Number of rows contained in the result.","access":"read-only","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(yii\\db\\Command $command, array $config = [])","summary":"Constructor.","params":[{"name":"$command","type":"yii\\db\\Command","description":"The command generating the query result"},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"bindColumn":{"signature":"public function bindColumn(int|string $column, mixed &$value, int|null $dataType = null): mixed","summary":"Binds a column to a PHP variable.","params":[{"name":"$column","type":"int|string","description":"Number of the column (1-indexed) or name of the column in the result set. If using the column name, be aware that the name should match the case of the column, as returned by the driver."},{"name":"$value","type":"mixed","byReference":true,"description":"Name of the PHP variable to which the column will be bound."},{"name":"$dataType","type":"int|null","default":"null","optional":true,"description":"Data type of the parameter"}],"return":{"type":"mixed"}},"close":{"signature":"public function close(): mixed","summary":"Closes the reader.","return":{"type":"mixed"}},"count":{"signature":"public function count(): int","summary":"Returns the number of rows in the result set.","return":{"type":"int","description":"Number of rows contained in the result."}},"current":{"signature":"public function current(): mixed","summary":"Returns the current row.","return":{"type":"mixed","description":"The current row."}},"getColumnCount":{"signature":"public function getColumnCount(): int","summary":"Returns the number of columns in the result set.","return":{"type":"int","description":"The number of columns in the result set."}},"getIsClosed":{"signature":"public function getIsClosed(): bool","summary":"Whether the reader is closed or not.","return":{"type":"bool","description":"Whether the reader is closed or not."}},"getRowCount":{"signature":"public function getRowCount(): int","summary":"Returns the number of rows in the result set.","return":{"type":"int","description":"Number of rows contained in the result."}},"key":{"signature":"public function key(): int","summary":"Returns the index of the current row.","return":{"type":"int","description":"The index of the current row."}},"next":{"signature":"public function next(): mixed","summary":"Moves the internal pointer to the next row.","return":{"type":"mixed"}},"nextResult":{"signature":"public function nextResult(): bool","summary":"Advances the reader to the next result when reading the results of a batch of statements.","return":{"type":"bool","description":"Returns true on success or false on failure."}},"read":{"signature":"public function read(): array|false","summary":"Advances the reader to the next row in a result set.","return":{"type":"array|false","description":"The current row, false if no more row available"}},"readAll":{"signature":"public function readAll(): array","summary":"Reads the whole result set into an array.","return":{"type":"array","description":"The result set (each array element represents a row of data). An empty array will be returned if the result contains no row."}},"readColumn":{"signature":"public function readColumn(int $columnIndex): mixed","summary":"Returns a single column from the next row of a result set.","params":[{"name":"$columnIndex","type":"int","description":"Zero-based column index"}],"return":{"type":"mixed","description":"The column of the current row, false if no more rows available"}},"readObject":{"signature":"public function readObject(string $className, array $fields): mixed","summary":"Returns an object populated with the next row of data.","params":[{"name":"$className","type":"string","description":"Class name of the object to be created and populated"},{"name":"$fields","type":"array","description":"Elements of this array are passed to the constructor"}],"return":{"type":"mixed","description":"The populated object, false if no more row of data available"}},"rewind":{"signature":"public function rewind(): mixed","summary":"Resets the iterator to the initial state.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if this method is invoked twice"}]},"setFetchMode":{"signature":"public function setFetchMode(int $mode): mixed","summary":"Set the default fetch mode for this statement.","params":[{"name":"$mode","type":"int","description":"Fetch mode"}],"return":{"type":"mixed"}},"valid":{"signature":"public function valid(): bool","summary":"Returns whether there is a row of data at current position.","return":{"type":"bool","description":"Whether there is a row of data at current position."}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\DefaultValueConstraint":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/defaultvalueconstraint/","summary":"DefaultValueConstraint represents the metadata of a table `DEFAULT` constraint.","since":"2.0.13","extends":"yii\\db\\Constraint","implements":["yii\\base\\Configurable"],"properties":{"value":{"type":"mixed","default":"null","description":"Default value as returned by the DBMS."}},"inherited":{"properties":{"columnNames":"yii\\db\\Constraint","name":"yii\\db\\Constraint"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\Exception":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/exception/","summary":"Exception represents an exception that is caused by some DB-related operations.","since":"2.0","extends":"yii\\base\\Exception","properties":{"errorInfo":{"type":"array","default":"[]","description":"The error info provided by a PDO exception."}},"methods":{"__construct":{"signature":"public function __construct(string $message, array $errorInfo = [], string $code = '', Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string","description":"PDO error message"},{"name":"$errorInfo","type":"array","default":"[]","optional":true,"description":"PDO error info"},{"name":"$code","type":"string","default":"''","optional":true,"description":"PDO error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]},"__toString":{"signature":"public function __toString(): string","return":{"type":"string","description":"Readable representation of exception"}},"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\db\\Expression":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/expression/","summary":"Expression represents a DB expression that does not need escaping or quoting.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\db\\ExpressionInterface","yii\\base\\Configurable"],"properties":{"expression":{"type":"string","default":"null","description":"The DB expression"},"params":{"type":"array","default":"[]","description":"List of parameters that should be bound for this expression."}},"methods":{"__construct":{"signature":"public function __construct(string $expression, array $params = [], array $config = [])","summary":"Constructor.","params":[{"name":"$expression","type":"string","description":"The DB expression"},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Parameters"},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"__toString":{"signature":"public function __toString(): string","summary":"String magic method.","return":{"type":"string","description":"The DB expression."}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\ExpressionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/expressionbuilder/","summary":"Class ExpressionBuilder builds objects of `yii\\db\\Expression` class.","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\Expression|yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\Expression|yii\\db\\ExpressionInterface","description":"The expression to be built"},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\ExpressionBuilderInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/expressionbuilderinterface/","summary":"Interface ExpressionBuilderInterface is designed to build raw SQL from specific expression objects that implement `yii\\db\\ExpressionInterface`.","since":"2.0.14","methods":{"build":{"signature":"abstract public function build(yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."},"abstract":true}}},"yii\\db\\ExpressionBuilderTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/db/expressionbuildertrait/","summary":"Trait ExpressionBuilderTrait provides common constructor for classes that should implement `yii\\db\\ExpressionBuilderInterface`","since":"2.0.14","properties":{"queryBuilder":{"type":"yii\\db\\QueryBuilder","default":"null","visibility":"protected"}},"methods":{"__construct":{"signature":"public function __construct(yii\\db\\QueryBuilder $queryBuilder)","summary":"ExpressionBuilderTrait constructor.","params":[{"name":"$queryBuilder","type":"yii\\db\\QueryBuilder"}]}}},"yii\\db\\ExpressionInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/expressioninterface/","summary":"Interface ExpressionInterface should be used to mark classes, that should be built in a special way.","since":"2.0.14"},"yii\\db\\ForeignKeyConstraint":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/foreignkeyconstraint/","summary":"ForeignKeyConstraint represents the metadata of a table `FOREIGN KEY` constraint.","since":"2.0.13","extends":"yii\\db\\Constraint","implements":["yii\\base\\Configurable"],"properties":{"foreignColumnNames":{"type":"string[]","default":"null","description":"List of referenced table column names."},"foreignSchemaName":{"type":"string|null","default":"null","description":"Referenced table schema name."},"foreignTableName":{"type":"string","default":"null","description":"Referenced table name."},"onDelete":{"type":"string|null","default":"null","description":"Referential action if rows in a referenced table are to be deleted."},"onUpdate":{"type":"string|null","default":"null","description":"Referential action if rows in a referenced table are to be updated."}},"inherited":{"properties":{"columnNames":"yii\\db\\Constraint","name":"yii\\db\\Constraint"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\IndexConstraint":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/indexconstraint/","summary":"IndexConstraint represents the metadata of a table `INDEX` constraint.","since":"2.0.13","extends":"yii\\db\\Constraint","implements":["yii\\base\\Configurable"],"properties":{"isPrimary":{"type":"bool","default":"null","description":"Whether the index was created for a primary key."},"isUnique":{"type":"bool","default":"null","description":"Whether the index is unique."}},"inherited":{"properties":{"columnNames":"yii\\db\\Constraint","name":"yii\\db\\Constraint"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\IntegrityException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/integrityexception/","summary":"Exception represents an exception that is caused by violation of DB constraints.","since":"2.0","extends":"yii\\db\\Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}},"inherited":{"properties":{"errorInfo":"yii\\db\\Exception"},"methods":{"__construct":"yii\\db\\Exception","__toString":"yii\\db\\Exception"}}},"yii\\db\\JsonExpression":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/jsonexpression/","summary":"Class JsonExpression represents data that should be encoded to JSON.","since":"2.0.14","implements":["yii\\db\\ExpressionInterface","JsonSerializable"],"properties":{"type":{"type":"string|null","default":"null","description":"Type of JSON, expression should be casted to.","visibility":"protected"},"value":{"type":"mixed","default":"null","description":"The value to be encoded to JSON.","visibility":"protected"}},"methods":{"__construct":{"signature":"public function __construct(mixed $value, string|null $type = null)","summary":"JsonExpression constructor.","params":[{"name":"$value","type":"mixed","description":"The value to be encoded to JSON. The value must be compatible with [\\yii\\helpers\\Json::encode()|Json::encode()]] requirements."},{"name":"$type","type":"string|null","default":"null","optional":true,"description":"The type of the JSON. See `yii\\db\\JsonExpression::$type`"}]},"getType":{"signature":"public function getType(): string|null","return":{"type":"string|null","description":"The type of JSON"}},"getValue":{"signature":"public function getValue(): mixed","return":{"type":"mixed"}},"jsonSerialize":{"signature":"public function jsonSerialize(): mixed","summary":"Specify data which should be serialized to JSON","return":{"type":"mixed","description":"Data which can be serialized by <b>json_encode</b>, which is a value of any type other than a resource."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when JsonExpression contains QueryInterface object"}],"since":"2.0.14.2"}},"constants":{"TYPE_JSON":{"value":"'json'"},"TYPE_JSONB":{"value":"'jsonb'"}}},"yii\\db\\Migration":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/migration/","summary":"Migration is the base class for representing a database migration.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\db\\MigrationInterface","yii\\base\\Configurable"],"traits":["yii\\db\\SchemaBuilderTrait"],"properties":{"compact":{"type":"bool","default":"false","description":"Indicates whether the console output should be compacted.","since":"2.0.13"},"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection that this migration should work with."},"maxSqlOutputLength":{"type":"int","default":"null","description":"Max number of characters of the SQL outputted.","since":"2.0.13"}},"methods":{"addCheck":{"signature":"public function addCheck(string $name, string $table, string $expression): mixed","summary":"Creates a SQL command for adding a check constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the check constraint. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the check constraint will be added to. The name will be properly quoted by the method."},{"name":"$expression","type":"string","description":"The SQL of the `CHECK` constraint."}],"return":{"type":"mixed"}},"addColumn":{"signature":"public function addColumn(string $table, string $column, string $type): mixed","summary":"Builds and executes a SQL statement for adding a new DB column.","params":[{"name":"$table","type":"string","description":"The table that the new column will be added to. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the new column. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The column type. The `yii\\db\\QueryBuilder::getColumnType()` method will be invoked to convert abstract column type (if any) into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'."}],"return":{"type":"mixed"}},"addCommentOnColumn":{"signature":"public function addCommentOnColumn(string $table, string $column, string $comment): mixed","summary":"Builds and execute a SQL statement for adding comment to column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be commented. The column name will be properly quoted by the method."},{"name":"$comment","type":"string","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"mixed"},"since":"2.0.8"},"addCommentOnTable":{"signature":"public function addCommentOnTable(string $table, string $comment): mixed","summary":"Builds a SQL statement for adding comment to table.","params":[{"name":"$table","type":"string","description":"The table to be commented. The table name will be properly quoted by the method."},{"name":"$comment","type":"string","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"mixed"},"since":"2.0.8"},"addForeignKey":{"signature":"public function addForeignKey(string $name, string $table, string|array $columns, string $refTable, string|array $refColumns, string|null $delete = null, string|null $update = null): mixed","summary":"Builds a SQL statement for adding a foreign key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint."},{"name":"$table","type":"string","description":"The table that the foreign key constraint will be added to."},{"name":"$columns","type":"string|array","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas or use an array."},{"name":"$refTable","type":"string","description":"The table that the foreign key references to."},{"name":"$refColumns","type":"string|array","description":"The name of the column that the foreign key references to. If there are multiple columns, separate them with commas or use an array."},{"name":"$delete","type":"string|null","default":"null","optional":true,"description":"The ON DELETE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"},{"name":"$update","type":"string|null","default":"null","optional":true,"description":"The ON UPDATE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"}],"return":{"type":"mixed"}},"addPrimaryKey":{"signature":"public function addPrimaryKey(string $name, string $table, string|array $columns): mixed","summary":"Builds and executes a SQL statement for creating a primary key.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be added to."},{"name":"$columns","type":"string|array","description":"Comma separated string or array of columns that the primary key will consist of."}],"return":{"type":"mixed"}},"alterColumn":{"signature":"public function alterColumn(string $table, string $column, string $type): mixed","summary":"Builds and executes a SQL statement for changing the definition of a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The new column type. The `yii\\db\\QueryBuilder::getColumnType()` method will be invoked to convert abstract column type (if any) into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'."}],"return":{"type":"mixed"}},"batchInsert":{"signature":"public function batchInsert(string $table, array $columns, array $rows): mixed","summary":"Creates and executes a batch INSERT SQL statement.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array","description":"The column names."},{"name":"$rows","type":"array","description":"The rows to be batch inserted into the table"}],"return":{"type":"mixed"}},"beginCommand":{"signature":"protected function beginCommand(string $description): float","summary":"Prepares for a command to be executed, and outputs to the console.","params":[{"name":"$description","type":"string","description":"The description for the command, to be output to the console."}],"return":{"type":"float","description":"The time before the command is executed, for the time elapsed to be calculated."},"visibility":"protected","since":"2.0.13"},"createIndex":{"signature":"public function createIndex(string $name, string $table, string|array $columns, bool $unique = false): mixed","summary":"Builds and executes a SQL statement for creating a new index.","params":[{"name":"$name","type":"string","description":"The name of the index. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the new index will be created for. The table name will be properly quoted by the method."},{"name":"$columns","type":"string|array","description":"The column(s) that should be included in the index. If there are multiple columns, please separate them by commas or use an array. Each column name will be properly quoted by the method. Quoting will be skipped for column names that include a left parenthesis \"(\"."},{"name":"$unique","type":"bool","default":"false","optional":true,"description":"Whether to add UNIQUE constraint on the created index."}],"return":{"type":"mixed"}},"createTable":{"signature":"public function createTable(string $table, array $columns, string|null $options = null): mixed","summary":"Builds and executes a SQL statement for creating a new DB table.","params":[{"name":"$table","type":"string","description":"The name of the table to be created. The name will be properly quoted by the method."},{"name":"$columns","type":"array","description":"The columns (name => definition) in the new table."},{"name":"$options","type":"string|null","default":"null","optional":true,"description":"Additional SQL fragment that will be appended to the generated SQL."}],"return":{"type":"mixed"}},"delete":{"signature":"public function delete(string $table, array|string $condition = '', array $params = []): mixed","summary":"Creates and executes a DELETE SQL statement.","params":[{"name":"$table","type":"string","description":"The table where the data will be deleted from."},{"name":"$condition","type":"array|string","default":"''","optional":true,"description":"The conditions that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify conditions."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the query."}],"return":{"type":"mixed"}},"down":{"signature":"public function down(): false|void|mixed","summary":"This method contains the logic to be executed when removing this migration.","return":{"type":"false|void|mixed","description":"Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds."}},"dropCheck":{"signature":"public function dropCheck(string $name, string $table): mixed","summary":"Creates a SQL command for dropping a check constraint.","params":[{"name":"$name","type":"string","description":"The name of the check constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose check constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"dropColumn":{"signature":"public function dropColumn(string $table, string $column): mixed","summary":"Builds and executes a SQL statement for dropping a DB column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be dropped. The name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be dropped. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"dropCommentFromColumn":{"signature":"public function dropCommentFromColumn(string $table, string $column): mixed","summary":"Builds and execute a SQL statement for dropping comment from column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be commented. The column name will be properly quoted by the method."}],"return":{"type":"mixed"},"since":"2.0.8"},"dropCommentFromTable":{"signature":"public function dropCommentFromTable(string $table): mixed","summary":"Builds a SQL statement for dropping comment from table.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."}],"return":{"type":"mixed"},"since":"2.0.8"},"dropForeignKey":{"signature":"public function dropForeignKey(string $name, string $table): mixed","summary":"Builds a SQL statement for dropping a foreign key constraint.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose foreign is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"dropIndex":{"signature":"public function dropIndex(string $name, string $table): mixed","summary":"Builds and executes a SQL statement for dropping an index.","params":[{"name":"$name","type":"string","description":"The name of the index to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose index is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"dropPrimaryKey":{"signature":"public function dropPrimaryKey(string $name, string $table): mixed","summary":"Builds and executes a SQL statement for dropping a primary key.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint to be removed."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be removed from."}],"return":{"type":"mixed"}},"dropTable":{"signature":"public function dropTable(string $table): mixed","summary":"Builds and executes a SQL statement for dropping a DB table.","params":[{"name":"$table","type":"string","description":"The table to be dropped. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"endCommand":{"signature":"protected function endCommand(float $time): mixed","summary":"Finalizes after the command has been executed, and outputs to the console the time elapsed.","params":[{"name":"$time","type":"float","description":"The time before the command was executed."}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.13"},"execute":{"signature":"public function execute(string $sql, array $params = []): mixed","summary":"Executes a SQL statement.","params":[{"name":"$sql","type":"string","description":"The SQL statement to be executed"},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Input parameters (name => value) for the SQL execution. See `yii\\db\\Command::execute()` for more details."}],"return":{"type":"mixed"}},"getDb":{"signature":"protected function getDb()","visibility":"protected","since":"2.0.6"},"init":{"signature":"public function init(): mixed","summary":"Initializes the migration.","return":{"type":"mixed"}},"insert":{"signature":"public function insert(string $table, array $columns): mixed","summary":"Creates and executes an INSERT SQL statement.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array","description":"The column data (name => value) to be inserted into the table."}],"return":{"type":"mixed"}},"renameColumn":{"signature":"public function renameColumn(string $table, string $name, string $newName): mixed","summary":"Builds and executes a SQL statement for renaming a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be renamed. The name will be properly quoted by the method."},{"name":"$name","type":"string","description":"The old name of the column. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new name of the column. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"renameTable":{"signature":"public function renameTable(string $table, string $newName): mixed","summary":"Builds and executes a SQL statement for renaming a DB table.","params":[{"name":"$table","type":"string","description":"The table to be renamed. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new table name. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"safeDown":{"signature":"public function safeDown(): false|void|mixed","summary":"This method contains the logic to be executed when removing this migration.","return":{"type":"false|void|mixed","description":"Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds."}},"safeUp":{"signature":"public function safeUp(): false|void|mixed","summary":"This method contains the logic to be executed when applying this migration.","return":{"type":"false|void|mixed","description":"Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds."}},"truncateTable":{"signature":"public function truncateTable(string $table): mixed","summary":"Builds and executes a SQL statement for truncating a DB table.","params":[{"name":"$table","type":"string","description":"The table to be truncated. The name will be properly quoted by the method."}],"return":{"type":"mixed"}},"up":{"signature":"public function up(): false|void|mixed","summary":"This method contains the logic to be executed when applying this migration.","return":{"type":"false|void|mixed","description":"Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds."}},"update":{"signature":"public function update(string $table, array $columns, array|string $condition = '', array $params = []): mixed","summary":"Creates and executes an UPDATE SQL statement.","params":[{"name":"$table","type":"string","description":"The table to be updated."},{"name":"$columns","type":"array","description":"The column data (name => value) to be updated."},{"name":"$condition","type":"array|string","default":"''","optional":true,"description":"The conditions that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify conditions."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the query."}],"return":{"type":"mixed"}},"upsert":{"signature":"public function upsert(string $table, array|yii\\db\\Query $insertColumns, array|bool $updateColumns = true, array $params = []): mixed","summary":"Creates and executes a command to insert rows into a database table if they do not already exist (matching unique constraints), or update them if they do.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into/updated in."},{"name":"$insertColumns","type":"array|yii\\db\\Query","description":"The column data (name => value) to be inserted into the table or instance of `yii\\db\\Query` to perform `INSERT INTO ... SELECT` SQL statement."},{"name":"$updateColumns","type":"array|bool","default":"true","optional":true,"description":"The column data (name => value) to be updated if they already exist. If `true` is passed, the column data will be updated to match the insert column data. If `false` is passed, no update will be performed if the column data already exists."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the command."}],"return":{"type":"mixed"},"since":"2.0.14"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","bigInteger":"yii\\db\\SchemaBuilderTrait","bigPrimaryKey":"yii\\db\\SchemaBuilderTrait","binary":"yii\\db\\SchemaBuilderTrait","boolean":"yii\\db\\SchemaBuilderTrait","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","char":"yii\\db\\SchemaBuilderTrait","className":"yii\\base\\BaseObject","date":"yii\\db\\SchemaBuilderTrait","dateTime":"yii\\db\\SchemaBuilderTrait","decimal":"yii\\db\\SchemaBuilderTrait","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","double":"yii\\db\\SchemaBuilderTrait","ensureBehaviors":"yii\\base\\Component","float":"yii\\db\\SchemaBuilderTrait","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","integer":"yii\\db\\SchemaBuilderTrait","json":"yii\\db\\SchemaBuilderTrait","money":"yii\\db\\SchemaBuilderTrait","off":"yii\\base\\Component","on":"yii\\base\\Component","primaryKey":"yii\\db\\SchemaBuilderTrait","smallInteger":"yii\\db\\SchemaBuilderTrait","string":"yii\\db\\SchemaBuilderTrait","text":"yii\\db\\SchemaBuilderTrait","time":"yii\\db\\SchemaBuilderTrait","timestamp":"yii\\db\\SchemaBuilderTrait","tinyInteger":"yii\\db\\SchemaBuilderTrait","trigger":"yii\\base\\Component"}}},"yii\\db\\MigrationInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/migrationinterface/","summary":"The MigrationInterface defines the minimum set of methods to be implemented by a database migration.","since":"2.0","methods":{"down":{"signature":"abstract public function down(): bool","summary":"This method contains the logic to be executed when removing this migration.","return":{"type":"bool","description":"Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds."},"abstract":true},"up":{"signature":"abstract public function up(): bool","summary":"This method contains the logic to be executed when applying this migration.","return":{"type":"bool","description":"Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds."},"abstract":true}}},"yii\\db\\PdoValue":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/api/yii/db/pdovalue/","summary":"Class PdoValue represents a $value that should be bound to PDO with exact $type.","since":"2.0.14","implements":["yii\\db\\ExpressionInterface"],"methods":{"__construct":{"signature":"public function __construct(mixed $value, mixed $type)","summary":"PdoValue constructor.","params":[{"name":"$value","type":"mixed"},{"name":"$type","type":"mixed"}]},"getType":{"signature":"public function getType(): int","return":{"type":"int"}},"getValue":{"signature":"public function getValue(): mixed","return":{"type":"mixed"}}}},"yii\\db\\PdoValueBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pdovaluebuilder/","summary":"Class PdoValueBuilder builds object of the `yii\\db\\PdoValue` expression class.","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"constants":{"PARAM_PREFIX":{"value":"':pv'"}}},"yii\\db\\Query":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/query/","summary":"Query represents a SELECT SQL statement in a way that is independent of DBMS.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\db\\QueryInterface","yii\\db\\ExpressionInterface","yii\\base\\Configurable"],"traits":["yii\\db\\QueryTrait"],"properties":{"distinct":{"type":"bool","default":"false","description":"Whether to select distinct rows of data only."},"from":{"type":"array|string|null","default":"null","description":"The table(s) to be selected from."},"groupBy":{"type":"array|null","default":"null","description":"How to group the query results."},"having":{"type":"string|array|yii\\db\\ExpressionInterface|null","default":"null","description":"The condition to be applied in the GROUP BY clause."},"join":{"type":"array|null","default":"null","description":"How to join with other tables."},"params":{"type":"array|null","default":"[]","description":"List of query parameter values indexed by parameter placeholders."},"queryCacheDependency":{"type":"yii\\caching\\Dependency|null","default":"null","description":"The dependency to be associated with the cached query result for this query","since":"2.0.14"},"queryCacheDuration":{"type":"int|bool|null","default":"null","description":"The default number of seconds that query results can remain valid in cache.","since":"2.0.14"},"select":{"type":"array|null","default":"null","description":"The columns being selected."},"selectOption":{"type":"string|null","default":"null","description":"Additional option that should be appended to the 'SELECT' keyword."},"tablesUsedInFrom":{"type":"string[]","description":"Table names indexed by aliases.","access":"read-only","virtual":true},"union":{"type":"array|null","default":"null","description":"This is used to construct the UNION clause(s) in a SQL statement."},"unionLimit":{"type":"int|yii\\db\\ExpressionInterface|null","default":"null","description":"Number of records to return from the complete UNION result.","since":"22.0"},"unionOffset":{"type":"int|yii\\db\\ExpressionInterface|null","default":"null","description":"Zero-based offset for the complete UNION result.","since":"22.0"},"unionOrderBy":{"type":"array<int|string, int|yii\\db\\ExpressionInterface>|null","default":"null","description":"How to sort the complete UNION result.","since":"22.0"},"withQueries":{"type":"array|null","default":"null","description":"This is used to construct the WITH section in a SQL query.","since":"2.0.35"}},"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Returns the SQL representation of Query","return":{"type":"string"}},"addGroupBy":{"signature":"public function addGroupBy(string|array|yii\\db\\ExpressionInterface $columns): $this","summary":"Adds additional group-by columns to the existing ones.","params":[{"name":"$columns","type":"string|array|yii\\db\\ExpressionInterface","description":"Additional columns to be grouped by. Columns can be specified in either a string (e.g. \"id, name\") or an array (e.g. ['id', 'name']). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression). Note that if your group-by is an expression containing commas, you should always use an array to represent the group-by information. Otherwise, the method will not be able to correctly determine the group-by columns. Since version 2.0.7, an `yii\\db\\Expression` object can be passed to specify the GROUP BY part explicitly in plain SQL. Since version 2.0.14, an `yii\\db\\ExpressionInterface` object can be passed as well."}],"return":{"type":"$this","description":"The query object itself"}},"addParams":{"signature":"public function addParams(array $params): $this","summary":"Adds additional parameters to be bound to the query.","params":[{"name":"$params","type":"array","description":"List of query parameter values indexed by parameter placeholders. For example, `[':name' => 'Dan', ':age' => 31]`."}],"return":{"type":"$this","description":"The query object itself"}},"addSelect":{"signature":"public function addSelect(string|array|yii\\db\\ExpressionInterface $columns): $this","summary":"Add more columns to the SELECT part of the query.","params":[{"name":"$columns","type":"string|array|yii\\db\\ExpressionInterface","description":"The columns to add to the select. See `select()` for more details about the format of this parameter."}],"return":{"type":"$this","description":"The query object itself"}},"addUnionOrderBy":{"signature":"public function addUnionOrderBy(array<int|string, int|yii\\db\\ExpressionInterface>|string|yii\\db\\ExpressionInterface|null $columns): static","summary":"Adds ORDER BY columns to the complete UNION result.","params":[{"name":"$columns","type":"array<int|string, int|yii\\db\\ExpressionInterface>|string|yii\\db\\ExpressionInterface|null","description":"The columns (and the directions) to be ordered by."}],"return":{"type":"static","description":"The query object itself."},"since":"22.0"},"all":{"signature":"public function all(yii\\db\\Connection|null $db = null): array","summary":"Executes the query and returns all results as an array.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"array","description":"The query results. If the query results in nothing, an empty array will be returned."}},"andFilterCompare":{"signature":"public function andFilterCompare(string $name, string $value, string $defaultOperator = '='): $this","summary":"Adds a filtering condition for a specific column and allow the user to choose a filter operator.","params":[{"name":"$name","type":"string","description":"The column name."},{"name":"$value","type":"string","description":"The column value optionally prepended with the comparison operator."},{"name":"$defaultOperator","type":"string","default":"'='","optional":true,"description":"The operator to use, when no operator is given in `$value`. Defaults to `=`, performing an exact match."}],"return":{"type":"$this","description":"The query object itself"},"since":"2.0.8"},"andFilterHaving":{"signature":"public function andFilterHaving(array $condition): $this","summary":"Adds an additional HAVING condition to the existing one but ignores empty operands (`isEmpty()`).","params":[{"name":"$condition","type":"array","description":"The new HAVING condition. Please refer to `having()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"since":"2.0.11"},"andHaving":{"signature":"public function andHaving(string|array|yii\\db\\ExpressionInterface $condition, array $params = []): $this","summary":"Adds an additional HAVING condition to the existing one.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The new HAVING condition. Please refer to `where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"andWhere":{"signature":"public function andWhere(string|array|yii\\db\\ExpressionInterface $condition, array $params = []): $this","summary":"Adds an additional WHERE condition to the existing one.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"average":{"signature":"public function average(string $q, yii\\db\\Connection|null $db = null): mixed","summary":"Returns the average of the specified column values.","params":[{"name":"$q","type":"string","description":"The column name or expression. Make sure you properly [quote](https://yii2-framework.github.io/docs/guide/db-dao/#quoting-table-and-column-names) column names in the expression."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"mixed","description":"The average of the specified column values."}},"batch":{"signature":"public function batch(int $batchSize = 100, yii\\db\\Connection|null $db = null): yii\\db\\BatchQueryResult","summary":"Starts a batch query.","params":[{"name":"$batchSize","type":"int","default":"100","optional":true,"description":"The number of records to be fetched in each batch."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection. If not set, the \"db\" application component will be used."}],"return":{"type":"yii\\db\\BatchQueryResult","description":"The batch query result. It implements the `Iterator` interface and can be traversed to retrieve the data in batches."}},"cache":{"signature":"public function cache(int|true $duration = true, yii\\caching\\Dependency|null $dependency = null): $this","summary":"Enables query cache for this Query.","params":[{"name":"$duration","type":"int|true","default":"true","optional":true,"description":"The number of seconds that query results can remain valid in cache. Use 0 to indicate that the cached data will never expire. Use a negative number to indicate that query cache should not be used. Use boolean `true` to indicate that `yii\\db\\Connection::$queryCacheDuration` should be used. Defaults to `true`."},{"name":"$dependency","type":"yii\\caching\\Dependency|null","default":"null","optional":true,"description":"The cache dependency associated with the cached result."}],"return":{"type":"$this","description":"The Query object itself"},"since":"2.0.14"},"cleanUpTableNames":{"signature":"protected function cleanUpTableNames(array $tableNames): string[]","summary":"Clean up table names and aliases Both aliases and names are enclosed into {{ and }}.","params":[{"name":"$tableNames","type":"array","description":"Non-empty array"}],"return":{"type":"string[]","description":"Table names indexed by aliases"},"visibility":"protected","since":"2.0.14"},"column":{"signature":"public function column(yii\\db\\Connection|null $db = null): array","summary":"Executes the query and returns the first column of the result.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"array","description":"The first column of the query result. An empty array is returned if the query results in nothing."}},"count":{"signature":"public function count(string $q = '*', yii\\db\\Connection|null $db = null): int|string|null","summary":"Returns the number of records.","params":[{"name":"$q","type":"string","default":"'*'","optional":true,"description":"The COUNT expression. Defaults to '*'. Make sure you properly [quote](https://yii2-framework.github.io/docs/guide/db-dao/#quoting-table-and-column-names) column names in the expression."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given (or null), the `db` application component will be used."}],"return":{"type":"int|string|null","description":"Number of records. The result may be a string depending on the underlying database engine and to support integer values higher than a 32bit PHP integer can handle."}},"create":{"signature":"public static function create(yii\\db\\Query $from): yii\\db\\Query","summary":"Creates a new Query object and copies its property values from an existing one.","params":[{"name":"$from","type":"yii\\db\\Query","description":"The source query object"}],"return":{"type":"yii\\db\\Query","description":"The new Query object"},"static":true},"createCommand":{"signature":"public function createCommand(yii\\db\\Connection|null $db = null): yii\\db\\Command","summary":"Creates a DB command that can be used to execute this query.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"yii\\db\\Command","description":"The created DB command instance."}},"distinct":{"signature":"public function distinct(bool $value = true): $this","summary":"Sets the value indicating whether to SELECT DISTINCT or not.","params":[{"name":"$value","type":"bool","default":"true","optional":true,"description":"Whether to SELECT DISTINCT or not."}],"return":{"type":"$this","description":"The query object itself"}},"each":{"signature":"public function each(int $batchSize = 100, yii\\db\\Connection|null $db = null): yii\\db\\BatchQueryResult","summary":"Starts a batch query and retrieves data row by row.","params":[{"name":"$batchSize","type":"int","default":"100","optional":true,"description":"The number of records to be fetched in each batch."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection. If not set, the \"db\" application component will be used."}],"return":{"type":"yii\\db\\BatchQueryResult","description":"The batch query result. It implements the `Iterator` interface and can be traversed to retrieve the data in batches."}},"exists":{"signature":"public function exists(yii\\db\\Connection|null $db = null): bool","summary":"Returns a value indicating whether the query result contains any row of data.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"bool","description":"Whether the query result contains any row of data."}},"filterHaving":{"signature":"public function filterHaving(array $condition): $this","summary":"Sets the HAVING part of the query but ignores empty operands (`isEmpty()`).","params":[{"name":"$condition","type":"array","description":"The conditions that should be put in the HAVING part. See `having()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"since":"2.0.11"},"from":{"signature":"public function from(string|array|yii\\db\\ExpressionInterface $tables): $this","summary":"Sets the FROM part of the query.","params":[{"name":"$tables","type":"string|array|yii\\db\\ExpressionInterface","description":"The table(s) to be selected from. This can be either a string (e.g. `'user'`) or an array (e.g. `['user', 'profile']`) specifying one or several table names. Table names can contain schema prefixes (e.g. `'public.user'`) and/or table aliases (e.g. `'user u'`). The method will automatically quote the table names unless it contains some parenthesis (which means the table is given as a sub-query or DB expression). When the tables are specified as an array, you may also use the array keys as the table aliases (if a table does not need alias, do not use a string key). Use a Query object to represent a sub-query. In this case, the corresponding array key will be used as the alias for the sub-query. To specify the `FROM` part in plain SQL, you may pass an instance of `yii\\db\\ExpressionInterface`. Here are some examples: ``` // SELECT * FROM `user` `u`, `profile`; $query = (new \\yii\\db\\Query)->from(['u' => 'user', 'profile']); // SELECT * FROM (SELECT * FROM `user` WHERE `active` = 1) `activeusers`; $subquery = (new \\yii\\db\\Query)->from('user')->where(['active' => true]) $query = (new \\yii\\db\\Query)->from(['activeusers' => $subquery]); // subquery can also be a string with plain SQL wrapped in parenthesis // SELECT * FROM (SELECT * FROM `user` WHERE `active` = 1) `activeusers`; $subquery = \"(SELECT * FROM `user` WHERE `active` = 1)\"; $query = (new \\yii\\db\\Query)->from(['activeusers' => $subquery]); ```"}],"return":{"type":"$this","description":"The query object itself"}},"getTablesUsedInFrom":{"signature":"public function getTablesUsedInFrom(): string[]","summary":"Returns table names used in `from()` indexed by aliases.","return":{"type":"string[]","description":"Table names indexed by aliases"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"since":"2.0.12"},"groupBy":{"signature":"public function groupBy(string|array|yii\\db\\ExpressionInterface|null $columns): $this","summary":"Sets the GROUP BY part of the query.","params":[{"name":"$columns","type":"string|array|yii\\db\\ExpressionInterface|null","description":"The columns to be grouped by. Columns can be specified in either a string (e.g. \"id, name\") or an array (e.g. ['id', 'name']). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression). Note that if your group-by is an expression containing commas, you should always use an array to represent the group-by information. Otherwise, the method will not be able to correctly determine the group-by columns. Since version 2.0.7, an `yii\\db\\ExpressionInterface` object can be passed to specify the GROUP BY part explicitly in plain SQL. Since version 2.0.14, an `yii\\db\\ExpressionInterface` object can be passed as well."}],"return":{"type":"$this","description":"The query object itself"}},"having":{"signature":"public function having(string|array|yii\\db\\ExpressionInterface $condition, array $params = []): $this","summary":"Sets the HAVING part of the query.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The conditions to be put after HAVING. Please refer to `where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"innerJoin":{"signature":"public function innerJoin(string|array $table, string|array $on = '', array $params = []): $this","summary":"Appends an INNER JOIN part to the query.","params":[{"name":"$table","type":"string|array","description":"The table or sub-query to be joined. Use a string to represent the name of the table to be joined. The table name can contain a schema prefix (e.g. 'public.user') and/or table alias (e.g. 'user u'). The method will automatically quote the table name unless it contains some parenthesis (which means the table is given as a sub-query or DB expression). You may also specify the table as an array with one element, using the array key as the table alias (e.g. ['u' => 'user']). To join a sub-query, use an array with one element, with the value set to a `yii\\db\\Query` object representing the sub-query, and the corresponding key representing the alias."},{"name":"$on","type":"string|array","default":"''","optional":true,"description":"The join condition that should appear in the ON part. Please refer to `join()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"join":{"signature":"public function join(string $type, string|array $table, string|array $on = '', array $params = []): $this","summary":"Appends a JOIN part to the query.","params":[{"name":"$type","type":"string","description":"The type of join, such as INNER JOIN, LEFT JOIN."},{"name":"$table","type":"string|array","description":"The table or sub-query to be joined. Use a string to represent the name of the table to be joined. The table name can contain a schema prefix (e.g. 'public.user') and/or table alias (e.g. 'user u'). The method will automatically quote the table name unless it contains some parenthesis (which means the table is given as a sub-query or DB expression). You may also specify the table as an array with one element, using the array key as the table alias (e.g. ['u' => 'user']). To join a sub-query, use an array with one element, with the value set to a `yii\\db\\Query` object representing the sub-query, and the corresponding key representing the alias."},{"name":"$on","type":"string|array","default":"''","optional":true,"description":"The join condition that should appear in the ON part. Please refer to `where()` on how to specify this parameter. Note that the array format of `where()` is designed to match columns to values instead of columns to columns, so the following would **not** work as expected: `['post.author_id' => 'user.id']`, it would match the `post.author_id` column value against the string `'user.id'`. It is recommended to use the string syntax here which is more suited for a join: ``` 'post.author_id = user.id' ```"},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"leftJoin":{"signature":"public function leftJoin(string|array $table, string|array $on = '', array $params = []): $this","summary":"Appends a LEFT OUTER JOIN part to the query.","params":[{"name":"$table","type":"string|array","description":"The table or sub-query to be joined. Use a string to represent the name of the table to be joined. The table name can contain a schema prefix (e.g. 'public.user') and/or table alias (e.g. 'user u'). The method will automatically quote the table name unless it contains some parenthesis (which means the table is given as a sub-query or DB expression). You may also specify the table as an array with one element, using the array key as the table alias (e.g. ['u' => 'user']). To join a sub-query, use an array with one element, with the value set to a `yii\\db\\Query` object representing the sub-query, and the corresponding key representing the alias."},{"name":"$on","type":"string|array","default":"''","optional":true,"description":"The join condition that should appear in the ON part. Please refer to `join()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query"}],"return":{"type":"$this","description":"The query object itself"}},"max":{"signature":"public function max(string $q, yii\\db\\Connection|null $db = null): mixed","summary":"Returns the maximum of the specified column values.","params":[{"name":"$q","type":"string","description":"The column name or expression. Make sure you properly [quote](https://yii2-framework.github.io/docs/guide/db-dao/#quoting-table-and-column-names) column names in the expression."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"mixed","description":"The maximum of the specified column values."}},"min":{"signature":"public function min(string $q, yii\\db\\Connection|null $db = null): mixed","summary":"Returns the minimum of the specified column values.","params":[{"name":"$q","type":"string","description":"The column name or expression. Make sure you properly [quote](https://yii2-framework.github.io/docs/guide/db-dao/#quoting-table-and-column-names) column names in the expression."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"mixed","description":"The minimum of the specified column values."}},"noCache":{"signature":"public function noCache(): $this","summary":"Disables query cache for this Query.","return":{"type":"$this","description":"The Query object itself"},"since":"2.0.14"},"normalizeSelect":{"signature":"protected function normalizeSelect(string|array|yii\\db\\ExpressionInterface $columns): array","summary":"Normalizes the SELECT columns passed to `select()` or `addSelect()`.","params":[{"name":"$columns","type":"string|array|yii\\db\\ExpressionInterface"}],"return":{"type":"array"},"visibility":"protected","since":"2.0.21"},"one":{"signature":"public function one(yii\\db\\Connection|null $db = null): array|bool","summary":"Executes the query and returns a single row of result.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"array|bool","description":"The first row (in terms of an array) of the query result. False is returned if the query results in nothing."}},"orFilterHaving":{"signature":"public function orFilterHaving(array $condition): $this","summary":"Adds an additional HAVING condition to the existing one but ignores empty operands (`isEmpty()`).","params":[{"name":"$condition","type":"array","description":"The new HAVING condition. Please refer to `having()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"since":"2.0.11"},"orHaving":{"signature":"public function orHaving(string|array|yii\\db\\ExpressionInterface $condition, array $params = []): $this","summary":"Adds an additional HAVING condition to the existing one.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The new HAVING condition. Please refer to `where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"orWhere":{"signature":"public function orWhere(string|array|yii\\db\\ExpressionInterface $condition, array $params = []): $this","summary":"Adds an additional WHERE condition to the existing one.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"params":{"signature":"public function params(array $params): $this","summary":"Sets the parameters to be bound to the query.","params":[{"name":"$params","type":"array","description":"List of query parameter values indexed by parameter placeholders. For example, `[':name' => 'Dan', ':age' => 31]`."}],"return":{"type":"$this","description":"The query object itself"}},"populate":{"signature":"public function populate(array $rows, yii\\db\\Connection|null $db = null): array","summary":"Converts the raw query results into the format as specified by this query.","params":[{"name":"$rows","type":"array","description":"The raw query result from database."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to retrieve the rows."}],"return":{"type":"array","description":"The converted query result."}},"prepare":{"signature":"public function prepare(yii\\db\\QueryBuilder $builder): self","summary":"Prepares for building SQL.","params":[{"name":"$builder","type":"yii\\db\\QueryBuilder"}],"return":{"type":"self","description":"A prepared query instance which will be used by `yii\\db\\QueryBuilder` to build the SQL"}},"queryScalar":{"signature":"protected function queryScalar(string|yii\\db\\ExpressionInterface $selectExpression, yii\\db\\Connection|null $db): bool|string|null","summary":"Queries a scalar value by setting `select()` first.","params":[{"name":"$selectExpression","type":"string|yii\\db\\ExpressionInterface"},{"name":"$db","type":"yii\\db\\Connection|null","description":"The database connection used to execute the query."}],"return":{"type":"bool|string|null"},"throws":[{"type":"Throwable","description":"if can't create command"}],"visibility":"protected"},"rightJoin":{"signature":"public function rightJoin(string|array $table, string|array $on = '', array $params = []): $this","summary":"Appends a RIGHT OUTER JOIN part to the query.","params":[{"name":"$table","type":"string|array","description":"The table or sub-query to be joined. Use a string to represent the name of the table to be joined. The table name can contain a schema prefix (e.g. 'public.user') and/or table alias (e.g. 'user u'). The method will automatically quote the table name unless it contains some parenthesis (which means the table is given as a sub-query or DB expression). You may also specify the table as an array with one element, using the array key as the table alias (e.g. ['u' => 'user']). To join a sub-query, use an array with one element, with the value set to a `yii\\db\\Query` object representing the sub-query, and the corresponding key representing the alias."},{"name":"$on","type":"string|array","default":"''","optional":true,"description":"The join condition that should appear in the ON part. Please refer to `join()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query"}],"return":{"type":"$this","description":"The query object itself"}},"scalar":{"signature":"public function scalar(yii\\db\\Connection|null $db = null): string|int|null|false","summary":"Returns the query result as a scalar value.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"string|int|null|false","description":"The value of the first column in the first row of the query result. False is returned if the query result is empty."}},"select":{"signature":"public function select(string|array|yii\\db\\ExpressionInterface $columns, string|null $option = null): $this","summary":"Sets the SELECT part of the query.","params":[{"name":"$columns","type":"string|array|yii\\db\\ExpressionInterface","description":"The columns to be selected. Columns can be specified in either a string (e.g. \"id, name\") or an array (e.g. ['id', 'name']). Columns can be prefixed with table names (e.g. \"user.id\") and/or contain column aliases (e.g. \"user.id AS user_id\"). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression). A DB expression may also be passed in form of an `yii\\db\\ExpressionInterface` object. Note that if you are selecting an expression like `CONCAT(first_name, ' ', last_name)`, you should use an array to specify the columns. Otherwise, the expression may be incorrectly split into several parts. When the columns are specified as an array, you may also use array keys as the column aliases (if a column does not need alias, do not use a string key). Starting from version 2.0.1, you may also select sub-queries as columns by specifying each such column as a `Query` instance representing the sub-query."},{"name":"$option","type":"string|null","default":"null","optional":true,"description":"Additional option that should be appended to the 'SELECT' keyword. For example, in MySQL, the option 'SQL_CALC_FOUND_ROWS' can be used."}],"return":{"type":"$this","description":"The query object itself"}},"setCommandCache":{"signature":"protected function setCommandCache(yii\\db\\Command $command): yii\\db\\Command","summary":"Sets $command cache, if this query has enabled caching.","params":[{"name":"$command","type":"yii\\db\\Command"}],"return":{"type":"yii\\db\\Command"},"visibility":"protected","since":"2.0.14"},"sum":{"signature":"public function sum(string $q, yii\\db\\Connection|null $db = null): mixed","summary":"Returns the sum of the specified column values.","params":[{"name":"$q","type":"string","description":"The column name or expression. Make sure you properly [quote](https://yii2-framework.github.io/docs/guide/db-dao/#quoting-table-and-column-names) column names in the expression."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"mixed","description":"The sum of the specified column values."}},"union":{"signature":"public function union(string|yii\\db\\Query $sql, bool $all = false): $this","summary":"Appends a SQL statement using UNION operator.","params":[{"name":"$sql","type":"string|yii\\db\\Query","description":"The SQL statement to be appended using UNION"},{"name":"$all","type":"bool","default":"false","optional":true,"description":"TRUE if using UNION ALL and FALSE if using UNION"}],"return":{"type":"$this","description":"The query object itself"}},"unionLimit":{"signature":"public function unionLimit(int|yii\\db\\ExpressionInterface|null $limit): static","summary":"Sets the LIMIT part of the complete UNION result.","params":[{"name":"$limit","type":"int|yii\\db\\ExpressionInterface|null","description":"The limit. Use `null` or a negative value to disable it."}],"return":{"type":"static","description":"The query object itself."},"since":"22.0"},"unionOffset":{"signature":"public function unionOffset(int|yii\\db\\ExpressionInterface|null $offset): static","summary":"Sets the OFFSET part of the complete UNION result.","params":[{"name":"$offset","type":"int|yii\\db\\ExpressionInterface|null","description":"The offset. Use null or a negative value to disable it."}],"return":{"type":"static","description":"The query object itself."},"since":"22.0"},"unionOrderBy":{"signature":"public function unionOrderBy(array<int|string, int|yii\\db\\ExpressionInterface>|string|yii\\db\\ExpressionInterface|null $columns): static","summary":"Sets the ORDER BY part of the complete UNION result.","params":[{"name":"$columns","type":"array<int|string, int|yii\\db\\ExpressionInterface>|string|yii\\db\\ExpressionInterface|null","description":"The columns (and the directions) to be ordered by."}],"return":{"type":"static","description":"The query object itself."},"since":"22.0"},"where":{"signature":"public function where(string|array|yii\\db\\ExpressionInterface $condition, array $params = []): $this","summary":"Sets the WHERE part of the query.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The conditions that should be put in the WHERE part."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name => value) to be bound to the query."}],"return":{"type":"$this","description":"The query object itself"}},"withQuery":{"signature":"public function withQuery(string|yii\\db\\Query $query, string $alias, bool $recursive = false): $this","summary":"Prepends a SQL statement using WITH syntax.","params":[{"name":"$query","type":"string|yii\\db\\Query","description":"The SQL statement to be prepended using WITH"},{"name":"$alias","type":"string","description":"Query alias in WITH construction"},{"name":"$recursive","type":"bool","default":"false","optional":true,"description":"TRUE if using WITH RECURSIVE and FALSE if using WITH"}],"return":{"type":"$this","description":"The query object itself"},"since":"2.0.35"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","emulateExecution":"yii\\db\\QueryTrait","indexBy":"yii\\db\\QueryTrait","limit":"yii\\db\\QueryTrait","offset":"yii\\db\\QueryTrait","orderBy":"yii\\db\\QueryTrait","where":"yii\\db\\QueryTrait"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addOrderBy":"yii\\db\\QueryTrait","andFilterWhere":"yii\\db\\QueryTrait","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","emulateExecution":"yii\\db\\QueryTrait","ensureBehaviors":"yii\\base\\Component","filterCondition":"yii\\db\\QueryTrait","filterWhere":"yii\\db\\QueryTrait","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","indexBy":"yii\\db\\QueryTrait","init":"yii\\base\\BaseObject","isEmpty":"yii\\db\\QueryTrait","limit":"yii\\db\\QueryTrait","normalizeOrderBy":"yii\\db\\QueryTrait","off":"yii\\base\\Component","offset":"yii\\db\\QueryTrait","on":"yii\\base\\Component","orderBy":"yii\\db\\QueryTrait","orFilterWhere":"yii\\db\\QueryTrait","trigger":"yii\\base\\Component"}}},"yii\\db\\QueryBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/querybuilder/","summary":"QueryBuilder builds a SELECT SQL statement based on the specification given as a `yii\\db\\Query` object.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"conditionClasses":{"type":"array","default":"[]","description":"Map of condition aliases to condition classes.","visibility":"protected","since":"2.0.14"},"db":{"type":"yii\\db\\Connection","default":"null","description":"The database connection."},"expressionBuilders":{"type":"string[]|yii\\db\\ExpressionBuilderInterface[]","default":"[]","description":"Maps expression class to expression builder class.","visibility":"protected","since":"2.0.14"},"separator":{"type":"string","default":"' '","description":"The separator between different fragments of a SQL statement."},"typeMap":{"type":"array","default":"[]","description":"The abstract column types mapped to physical column types."}},"methods":{"__construct":{"signature":"public function __construct(yii\\db\\Connection $connection, array $config = [])","summary":"Constructor.","params":[{"name":"$connection","type":"yii\\db\\Connection","description":"The database connection."},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"addCheck":{"signature":"public function addCheck(string $name, string $table, string $expression): string","summary":"Creates a SQL command for adding a check constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the check constraint. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the check constraint will be added to. The name will be properly quoted by the method."},{"name":"$expression","type":"string","description":"The SQL of the `CHECK` constraint."}],"return":{"type":"string","description":"The SQL statement for adding a check constraint to an existing table."},"since":"2.0.13"},"addColumn":{"signature":"public function addColumn(string $table, string $column, string $type): string","summary":"Builds a SQL statement for adding a new DB column.","params":[{"name":"$table","type":"string","description":"The table that the new column will be added to. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the new column. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The column type. The `getColumnType()` method will be invoked to convert abstract column type (if any) into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'."}],"return":{"type":"string","description":"The SQL statement for adding a new column."}},"addCommentOnColumn":{"signature":"public function addCommentOnColumn(string $table, string $column, string $comment): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be commented. The column name will be properly quoted by the method."},{"name":"$comment","type":"string","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"addCommentOnTable":{"signature":"public function addCommentOnTable(string $table, string $comment): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$comment","type":"string","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on table"},"since":"2.0.8"},"addDefaultValue":{"signature":"public function addDefaultValue(string $name, string $table, string $column, mixed $value): string","summary":"Creates a SQL command for adding a default value constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the default value constraint. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the default value constraint will be added to. The name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to that the constraint will be added on. The name will be properly quoted by the method."},{"name":"$value","type":"mixed","description":"Default value."}],"return":{"type":"string","description":"The SQL statement for adding a default value constraint to an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.13"},"addForeignKey":{"signature":"public function addForeignKey(string $name, string $table, string|array $columns, string $refTable, string|array $refColumns, string|null $delete = null, string|null $update = null): string","summary":"Builds a SQL statement for adding a foreign key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint."},{"name":"$table","type":"string","description":"The table that the foreign key constraint will be added to."},{"name":"$columns","type":"string|array","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas or use an array to represent them."},{"name":"$refTable","type":"string","description":"The table that the foreign key references to."},{"name":"$refColumns","type":"string|array","description":"The name of the column that the foreign key references to. If there are multiple columns, separate them with commas or use an array to represent them."},{"name":"$delete","type":"string|null","default":"null","optional":true,"description":"The ON DELETE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"},{"name":"$update","type":"string|null","default":"null","optional":true,"description":"The ON UPDATE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"}],"return":{"type":"string","description":"The SQL statement for adding a foreign key constraint to an existing table."}},"addPrimaryKey":{"signature":"public function addPrimaryKey(string $name, string $table, string|array $columns): string","summary":"Builds a SQL statement for adding a primary key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be added to."},{"name":"$columns","type":"string|array","description":"Comma separated string or array of columns that the primary key will consist of."}],"return":{"type":"string","description":"The SQL statement for adding a primary key constraint to an existing table."}},"addUnique":{"signature":"public function addUnique(string $name, string $table, string|array $columns): string","summary":"Creates a SQL command for adding an unique constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the unique constraint. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the unique constraint will be added to. The name will be properly quoted by the method."},{"name":"$columns","type":"string|array","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding an unique constraint to an existing table."},"since":"2.0.13"},"alterColumn":{"signature":"public function alterColumn(string $table, string $column, string $type): string","summary":"Builds a SQL statement for changing the definition of a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The new column type. The `getColumnType()` method will be invoked to convert abstract column type (if any) into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'."}],"return":{"type":"string","description":"The SQL statement for changing the definition of a column."}},"batchInsert":{"signature":"public function batchInsert(string $table, array $columns, array|Generator $rows, array &$params = []): string","summary":"Generates a batch INSERT SQL statement.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array","description":"The column names"},{"name":"$rows","type":"array|Generator","description":"The rows to be batch inserted into the table"},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters. This parameter exists since 2.0.14"}],"return":{"type":"string","description":"The batch INSERT SQL statement"}},"bindParam":{"signature":"public function bindParam(string|null $value, array &$params): string","summary":"Helper method to add $value to $params array using `PARAM_PREFIX`.","params":[{"name":"$value","type":"string|null"},{"name":"$params","type":"array","byReference":true,"description":"Passed by reference"}],"return":{"type":"string","description":"The placeholder name in $params array"},"since":"2.0.14"},"build":{"signature":"public function build(yii\\db\\Query $query, array $params = []): array","summary":"Generates a SELECT SQL statement from a `yii\\db\\Query` object.","params":[{"name":"$query","type":"yii\\db\\Query","description":"The `yii\\db\\Query` object from which the SQL statement will be generated."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the generated SQL statement. These parameters will be included in the result with the additional parameters generated during the query building process."}],"return":{"type":"array","description":"The generated SQL statement (the first array element) and the corresponding parameters to be bound to the SQL statement (the second array element). The parameters returned include those provided in `$params`."}},"buildColumns":{"signature":"public function buildColumns(string|array $columns): string","summary":"Processes columns and properly quotes them if necessary.","params":[{"name":"$columns","type":"string|array","description":"The columns to be processed"}],"return":{"type":"string","description":"The processing result"}},"buildCondition":{"signature":"public function buildCondition(string|array|yii\\db\\ExpressionInterface $condition, array &$params): string","summary":"Parses the condition specification and generates the corresponding SQL expression.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The condition specification. Please refer to `yii\\db\\Query::where()` on how to specify a condition."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"The generated SQL expression"}},"buildExpression":{"signature":"public function buildExpression(yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Builds given $expression","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface","description":"The expression to be built"},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The parameters to be bound to the generated SQL statement. These parameters will be included in the result with the additional parameters generated during the expression building process."}],"return":{"type":"string","description":"The SQL statement that will not be neither quoted nor encoded before passing to DBMS"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when $expression building is not supported by this QueryBuilder."}],"since":"2.0.14"},"buildFrom":{"signature":"public function buildFrom(array $tables, array &$params): string","params":[{"name":"$tables","type":"array"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"The FROM clause built from `yii\\db\\Query::$from`."}},"buildGroupBy":{"signature":"public function buildGroupBy(array $columns): string","params":[{"name":"$columns","type":"array"}],"return":{"type":"string","description":"The GROUP BY clause"}},"buildHaving":{"signature":"public function buildHaving(string|array $condition, array &$params): string","params":[{"name":"$condition","type":"string|array"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"The HAVING clause built from `yii\\db\\Query::$having`."}},"buildJoin":{"signature":"public function buildJoin(array $joins, array &$params): string","params":[{"name":"$joins","type":"array"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"The JOIN clause built from `yii\\db\\Query::$join`."},"throws":[{"type":"yii\\db\\Exception","description":"if the $joins parameter is not in proper format"}]},"buildLimit":{"signature":"public function buildLimit(int $limit, int $offset): string","params":[{"name":"$limit","type":"int"},{"name":"$offset","type":"int"}],"return":{"type":"string","description":"The LIMIT and OFFSET clauses"}},"buildOrderBy":{"signature":"public function buildOrderBy(array $columns): string","params":[{"name":"$columns","type":"array"}],"return":{"type":"string","description":"The ORDER BY clause built from `yii\\db\\Query::$orderBy`."}},"buildOrderByAndLimit":{"signature":"public function buildOrderByAndLimit(string $sql, array $orderBy, int $limit, int $offset): string","summary":"Builds the ORDER BY and LIMIT/OFFSET clauses and appends them to the given SQL.","params":[{"name":"$sql","type":"string","description":"The existing SQL (without ORDER BY/LIMIT/OFFSET)"},{"name":"$orderBy","type":"array","description":"The order by columns. See `yii\\db\\Query::orderBy()` for more details on how to specify this parameter."},{"name":"$limit","type":"int","description":"The limit number. See `yii\\db\\Query::limit()` for more details."},{"name":"$offset","type":"int","description":"The offset number. See `yii\\db\\Query::offset()` for more details."}],"return":{"type":"string","description":"The SQL completed with ORDER BY/LIMIT/OFFSET (if any)"}},"buildSelect":{"signature":"public function buildSelect(array $columns, array &$params, bool $distinct = false, string|null $selectOption = null): string","params":[{"name":"$columns","type":"array"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"},{"name":"$distinct","type":"bool","default":"false","optional":true},{"name":"$selectOption","type":"string|null","default":"null","optional":true}],"return":{"type":"string","description":"The SELECT clause built from `yii\\db\\Query::$select`."}},"buildUnion":{"signature":"public function buildUnion(array $unions, array &$params): string","params":[{"name":"$unions","type":"array"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"The UNION clause built from `yii\\db\\Query::$union`."}},"buildUnionOrderByAndLimit":{"signature":"public function buildUnionOrderByAndLimit(string $sql, array<int|string, int|yii\\db\\ExpressionInterface>|null $orderBy, int|yii\\db\\ExpressionInterface|null $limit, int|yii\\db\\ExpressionInterface|null $offset): string","summary":"Builds the global ORDER BY and LIMIT/OFFSET clauses for a UNION query.","params":[{"name":"$sql","type":"string","description":"The complete UNION SQL without global ORDER BY/LIMIT/OFFSET clauses."},{"name":"$orderBy","type":"array<int|string, int|yii\\db\\ExpressionInterface>|null","description":"The global order by columns."},{"name":"$limit","type":"int|yii\\db\\ExpressionInterface|null","description":"The global limit."},{"name":"$offset","type":"int|yii\\db\\ExpressionInterface|null","description":"The global offset."}],"return":{"type":"string","description":"The completed UNION SQL."},"since":"22.0"},"buildWhere":{"signature":"public function buildWhere(string|array $condition, array &$params): string","params":[{"name":"$condition","type":"string|array"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"The WHERE clause built from `yii\\db\\Query::$where`."}},"buildWithQueries":{"signature":"public function buildWithQueries(array $withs, array &$params): string","params":[{"name":"$withs","type":"array","description":"Of configurations for each WITH query"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"Compiled WITH prefix of query including nested queries"},"since":"2.0.35"},"checkIntegrity":{"signature":"public function checkIntegrity(bool $check = true, string $schema = '', string $table = ''): string","summary":"Builds a SQL statement for enabling or disabling integrity check.","params":[{"name":"$check","type":"bool","default":"true","optional":true,"description":"Whether to turn on or off the integrity check."},{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema."},{"name":"$table","type":"string","default":"''","optional":true,"description":"The table name. Defaults to empty string, meaning that no table will be changed."}],"return":{"type":"string","description":"The SQL statement for checking integrity"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS"}]},"concatUnionSql":{"signature":"protected function concatUnionSql(string $sql, string $union): string","summary":"Concatenates the first `SELECT` statement with the UNION clauses built by `buildUnion()`.","params":[{"name":"$sql","type":"string","description":"The SQL of the first `SELECT` statement."},{"name":"$union","type":"string","description":"The UNION clauses."}],"return":{"type":"string","description":"The compound SQL with the first statement parenthesized."},"visibility":"protected","since":"22.0"},"createConditionFromArray":{"signature":"public function createConditionFromArray(string|array $condition): yii\\db\\conditions\\ConditionInterface","summary":"Transforms $condition defined in array format (as described in `yii\\db\\Query::where()` to instance of ConditionInterface according to `$conditionClasses` map.","params":[{"name":"$condition","type":"string|array"}],"return":{"type":"yii\\db\\conditions\\ConditionInterface"},"since":"2.0.14"},"createIndex":{"signature":"public function createIndex(string $name, string $table, string|array $columns, bool $unique = false): string","summary":"Builds a SQL statement for creating a new index.","params":[{"name":"$name","type":"string","description":"The name of the index. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the new index will be created for. The table name will be properly quoted by the method."},{"name":"$columns","type":"string|array","description":"The column(s) that should be included in the index. If there are multiple columns, separate them with commas or use an array to represent them. Each column name will be properly quoted by the method, unless a parenthesis is found in the name."},{"name":"$unique","type":"bool","default":"false","optional":true,"description":"Whether to add UNIQUE constraint on the created index."}],"return":{"type":"string","description":"The SQL statement for creating a new index."}},"createTable":{"signature":"public function createTable(string $table, array $columns, string|null $options = null): string","summary":"Builds a SQL statement for creating a new DB table.","params":[{"name":"$table","type":"string","description":"The name of the table to be created. The name will be properly quoted by the method."},{"name":"$columns","type":"array","description":"The columns (name => definition) in the new table."},{"name":"$options","type":"string|null","default":"null","optional":true,"description":"Additional SQL fragment that will be appended to the generated SQL."}],"return":{"type":"string","description":"The SQL statement for creating a new DB table."}},"createView":{"signature":"public function createView(string $viewName, string|yii\\db\\Query $subQuery): string","summary":"Creates a SQL View.","params":[{"name":"$viewName","type":"string","description":"The name of the view to be created."},{"name":"$subQuery","type":"string|yii\\db\\Query","description":"The select statement which defines the view. This can be either a string or a `yii\\db\\Query` object."}],"return":{"type":"string","description":"The `CREATE VIEW` SQL statement."},"since":"2.0.14"},"defaultConditionClasses":{"signature":"protected function defaultConditionClasses(): array","summary":"Contains array of default condition classes. Extend this method, if you want to change default condition classes for the query builder. See `$conditionClasses` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"defaultExpressionBuilders":{"signature":"protected function defaultExpressionBuilders(): array","summary":"Contains array of default expression builders. Extend this method and override it, if you want to change default expression builders for this query builder. See `$expressionBuilders` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"delete":{"signature":"public function delete(string $table, array|string $condition, array &$params): string","summary":"Creates a DELETE SQL statement.","params":[{"name":"$table","type":"string","description":"The table where the data will be deleted from."},{"name":"$condition","type":"array|string","description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters that will be modified by this method so that they can be bound to the DB command later."}],"return":{"type":"string","description":"The DELETE SQL"}},"dropCheck":{"signature":"public function dropCheck(string $name, string $table): string","summary":"Creates a SQL command for dropping a check constraint.","params":[{"name":"$name","type":"string","description":"The name of the check constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose check constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a check constraint."},"since":"2.0.13"},"dropColumn":{"signature":"public function dropColumn(string $table, string $column): string","summary":"Builds a SQL statement for dropping a DB column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be dropped. The name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a DB column."}},"dropCommentFromColumn":{"signature":"public function dropCommentFromColumn(string $table, string $column): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be commented. The column name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropCommentFromTable":{"signature":"public function dropCommentFromTable(string $table): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"string","description":"The table whose column is to be commented. The table name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropDefaultValue":{"signature":"public function dropDefaultValue(string $name, string $table): string","summary":"Creates a SQL command for dropping a default value constraint.","params":[{"name":"$name","type":"string","description":"The name of the default value constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose default value constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a default value constraint."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.13"},"dropForeignKey":{"signature":"public function dropForeignKey(string $name, string $table): string","summary":"Builds a SQL statement for dropping a foreign key constraint.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose foreign is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a foreign key constraint."}},"dropIndex":{"signature":"public function dropIndex(string $name, string $table): string","summary":"Builds a SQL statement for dropping an index.","params":[{"name":"$name","type":"string","description":"The name of the index to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose index is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping an index."}},"dropPrimaryKey":{"signature":"public function dropPrimaryKey(string $name, string $table): string","summary":"Builds a SQL statement for removing a primary key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint to be removed."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be removed from."}],"return":{"type":"string","description":"The SQL statement for removing a primary key constraint from an existing table."}},"dropTable":{"signature":"public function dropTable(string $table): string","summary":"Builds a SQL statement for dropping a DB table.","params":[{"name":"$table","type":"string","description":"The table to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a DB table."}},"dropUnique":{"signature":"public function dropUnique(string $name, string $table): string","summary":"Creates a SQL command for dropping an unique constraint.","params":[{"name":"$name","type":"string","description":"The name of the unique constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose unique constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping an unique constraint."},"since":"2.0.13"},"dropView":{"signature":"public function dropView(string $viewName): string","summary":"Drops a SQL View.","params":[{"name":"$viewName","type":"string","description":"The name of the view to be dropped."}],"return":{"type":"string","description":"The `DROP VIEW` SQL statement."},"since":"2.0.14"},"executeResetSequence":{"signature":"public function executeResetSequence(string $table, int|null $value = null): mixed","summary":"Execute a SQL statement for resetting the sequence value of a table's primary key.","params":[{"name":"$table","type":"string","description":"The name of the table whose primary key sequence is reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have the maximum existing value `+1`."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS"}],"since":"2.0.16"},"extractAlias":{"signature":"protected function extractAlias(mixed $table): bool|array","summary":"Extracts table alias if there is one or returns false","params":[{"name":"$table","type":"mixed"}],"return":{"type":"bool|array"},"visibility":"protected","since":"2.0.24"},"getColumnType":{"signature":"public function getColumnType(string|yii\\db\\ColumnSchemaBuilder $type): string","summary":"Converts an abstract column type into a physical column type.","params":[{"name":"$type","type":"string|yii\\db\\ColumnSchemaBuilder","description":"Abstract column type"}],"return":{"type":"string","description":"Physical column type."}},"getExpressionBuilder":{"signature":"public function getExpressionBuilder(yii\\db\\ExpressionInterface $expression): yii\\db\\ExpressionBuilderInterface","summary":"Gets object of `yii\\db\\ExpressionBuilderInterface` that is suitable for $expression.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface"}],"return":{"type":"yii\\db\\ExpressionBuilderInterface"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when $expression building is not supported by this QueryBuilder."}],"since":"2.0.14"},"hasLimit":{"signature":"protected function hasLimit(mixed $limit): bool","summary":"Checks to see if the given limit is effective.","params":[{"name":"$limit","type":"mixed","description":"The given limit"}],"return":{"type":"bool","description":"Whether the limit is effective"},"visibility":"protected"},"hasOffset":{"signature":"protected function hasOffset(mixed $offset): bool","summary":"Checks to see if the given offset is effective.","params":[{"name":"$offset","type":"mixed","description":"The given offset"}],"return":{"type":"bool","description":"Whether the offset is effective"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"insert":{"signature":"public function insert(string $table, array|yii\\db\\Query $columns, array &$params): string","summary":"Creates an INSERT SQL statement.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array|yii\\db\\Query","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement. Passing of Query (`yii\\db\\Query`) is available since version 2.0.11."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The INSERT SQL"}},"prepareInsertSelectSubQuery":{"signature":"protected function prepareInsertSelectSubQuery(yii\\db\\Query $columns, yii\\db\\Schema $schema, array $params = []): array","summary":"Prepare select-subquery and field names for INSERT INTO ... SELECT SQL statement.","params":[{"name":"$columns","type":"yii\\db\\Query","description":"Object, which represents select query."},{"name":"$schema","type":"yii\\db\\Schema","description":"Schema object to quote column name."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters to be bound to the generated SQL statement. These parameters will be included in the result with the additional parameters generated during the query building process."}],"return":{"type":"array","description":"Array of column names, values and params."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if query's select does not contain named parameters only."}],"visibility":"protected","since":"2.0.11"},"prepareInsertValues":{"signature":"protected function prepareInsertValues(string $table, array|yii\\db\\Query $columns, array $params = []): array","summary":"Prepares a `VALUES` part for an `INSERT` SQL statement.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array|yii\\db\\Query","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"array","description":"Array of column names, placeholders, values and params."},"visibility":"protected","since":"2.0.14"},"prepareSelectQuery":{"signature":"protected function prepareSelectQuery(yii\\db\\Query $query): yii\\db\\Query","summary":"Performs driver-specific preparation after `yii\\db\\Query::prepare()`.","params":[{"name":"$query","type":"yii\\db\\Query","description":"The prepared query."}],"return":{"type":"yii\\db\\Query","description":"The query to build."},"visibility":"protected","since":"22.0"},"prepareUpdateSets":{"signature":"protected function prepareUpdateSets(string $table, array $columns, array $params = []): array","summary":"Prepares a `SET` parts for an `UPDATE` SQL statement.","params":[{"name":"$table","type":"string","description":"The table to be updated."},{"name":"$columns","type":"array","description":"The column data (name => value) to be updated."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The binding parameters that will be modified by this method so that they can be bound to the DB command later."}],"return":{"type":"array","description":"An array `SET` parts for an `UPDATE` SQL statement (the first array element) and params (the second array element)."},"visibility":"protected","since":"2.0.14"},"prepareUpsertColumns":{"signature":"protected function prepareUpsertColumns(string $table, array|yii\\db\\Query $insertColumns, array|bool $updateColumns, yii\\db\\Constraint[] &$constraints = []): array","params":[{"name":"$table","type":"string"},{"name":"$insertColumns","type":"array|yii\\db\\Query"},{"name":"$updateColumns","type":"array|bool"},{"name":"$constraints","type":"yii\\db\\Constraint[]","default":"[]","optional":true,"byReference":true,"description":"This parameter receives a matched constraint list. The constraints will be unique by their column names."}],"return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"prepareUpsertSets":{"signature":"protected function prepareUpsertSets(string $table, array<string, mixed>|bool $updateColumns, string[]|null $updateNames, array<string, mixed> $params, Closure(string): string $sourceColumnRef): array{string[], array<string, mixed>}","summary":"Prepares the `SET` assignments for the update branch of an upsert statement.","params":[{"name":"$table","type":"string","description":"The table that the upsert targets."},{"name":"$updateColumns","type":"array<string, mixed>|bool","description":"`true` for every non-unique inserted column, or an explicit `name => value` map."},{"name":"$updateNames","type":"string[]|null","description":"Quoted column names eligible for update."},{"name":"$params","type":"array<string, mixed>","description":"The binding parameters modified by this method."},{"name":"$sourceColumnRef","type":"Closure(string): string","description":"Maps a quoted column name to its source reference."}],"return":{"type":"array{string[], array<string, mixed>}","description":"The `SET` assignments (first element) and params (second element)."},"visibility":"protected","since":"22.0"},"renameColumn":{"signature":"public function renameColumn(string $table, string $oldName, string $newName): string","summary":"Builds a SQL statement for renaming a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be renamed. The name will be properly quoted by the method."},{"name":"$oldName","type":"string","description":"The old name of the column. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new name of the column. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB column."}},"renameTable":{"signature":"public function renameTable(string $oldName, string $newName): string","summary":"Builds a SQL statement for renaming a DB table.","params":[{"name":"$oldName","type":"string","description":"The table to be renamed. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new table name. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB table."}},"resetSequence":{"signature":"public function resetSequence(string $tableName, int|null $value = null): string","summary":"Creates a SQL statement for resetting the sequence value of a table's primary key.","params":[{"name":"$tableName","type":"string","description":"The name of the table whose primary key sequence will be reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have the maximum existing value `+1`."}],"return":{"type":"string","description":"The SQL statement for resetting sequence."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}]},"selectExists":{"signature":"public function selectExists(string $rawSql): string","summary":"Creates a SELECT EXISTS() SQL statement.","params":[{"name":"$rawSql","type":"string","description":"The subquery in a raw form to select from."}],"return":{"type":"string","description":"The SELECT EXISTS() SQL statement."},"since":"2.0.8"},"setConditionClasses":{"signature":"public function setConditionClasses(string[] $classes): mixed","summary":"Setter for `$conditionClasses` property.","params":[{"name":"$classes","type":"string[]","description":"Map of condition aliases to condition classes. For example: ``` ['LIKE' => yii\\db\\condition\\LikeCondition::class] ```"}],"return":{"type":"mixed"},"since":"2.0.14.2"},"setExpressionBuilders":{"signature":"public function setExpressionBuilders(string[] $builders): mixed","summary":"Setter for `$expressionBuilders` property.","params":[{"name":"$builders","type":"string[]","description":"Array of builders that should be merged with the pre-defined ones in `$expressionBuilders` property."}],"return":{"type":"mixed"},"since":"2.0.14"},"truncateTable":{"signature":"public function truncateTable(string $table): string","summary":"Builds a SQL statement for truncating a DB table.","params":[{"name":"$table","type":"string","description":"The table to be truncated. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for truncating a DB table."}},"update":{"signature":"public function update(string $table, array $columns, array|string $condition, array &$params): string","summary":"Creates an UPDATE SQL statement.","params":[{"name":"$table","type":"string","description":"The table to be updated."},{"name":"$columns","type":"array","description":"The column data (name => value) to be updated."},{"name":"$condition","type":"array|string","description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters that will be modified by this method so that they can be bound to the DB command later."}],"return":{"type":"string","description":"The UPDATE SQL"}},"upsert":{"signature":"public function upsert(string $table, array|yii\\db\\Query $insertColumns, array|bool $updateColumns, array &$params): string","summary":"Creates an SQL statement to insert rows into a database table if they do not already exist (matching unique constraints), or update them if they do.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into/updated in."},{"name":"$insertColumns","type":"array|yii\\db\\Query","description":"The column data (name => value) to be inserted into the table or instance of `yii\\db\\Query` to perform `INSERT INTO ... SELECT` SQL statement."},{"name":"$updateColumns","type":"array|bool","description":"The column data (name => value) to be updated if they already exist. If `true` is passed, the column data will be updated to match the insert column data. If `false` is passed, no update will be performed if the column data already exists."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The resulting SQL."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.14"}},"constants":{"PARAM_PREFIX":{"value":"':qp'","description":"The prefix for automatically generated query binding parameters."}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\db\\QueryExpressionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/queryexpressionbuilder/","summary":"Class QueryExpressionBuilder is used internally to build `yii\\db\\Query` object using unified `yii\\db\\QueryBuilder` expression building interface.","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\Query $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\Query","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\QueryInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/queryinterface/","summary":"The QueryInterface defines the minimum set of methods to be implemented by a database query.","since":"2.0","methods":{"addOrderBy":{"signature":"abstract public function addOrderBy(string|array $columns): $this","summary":"Adds additional ORDER BY columns to the query.","params":[{"name":"$columns","type":"string|array","description":"The columns (and the directions) to be ordered by. Columns can be specified in either a string (e.g. \"id ASC, name DESC\") or an array (e.g. `['id' => SORT_ASC, 'name' => SORT_DESC]`). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression)."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"all":{"signature":"abstract public function all(yii\\db\\Connection|null $db = null): array","summary":"Executes the query and returns all results as an array.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to execute the query. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"array","description":"The query results. If the query results in nothing, an empty array will be returned."},"abstract":true},"andFilterWhere":{"signature":"abstract public function andFilterWhere(array $condition): $this","summary":"Adds an additional WHERE condition to the existing one ignoring empty parameters.","params":[{"name":"$condition","type":"array","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"andWhere":{"signature":"abstract public function andWhere(array $condition): $this","summary":"Adds an additional WHERE condition to the existing one.","params":[{"name":"$condition","type":"array","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"count":{"signature":"abstract public function count(string $q = '*', yii\\db\\Connection|null $db = null): int|string|null","summary":"Returns the number of records.","params":[{"name":"$q","type":"string","default":"'*'","optional":true,"description":"The COUNT expression. Defaults to '*'."},{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to execute the query. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"int|string|null","description":"Number of records."},"abstract":true},"emulateExecution":{"signature":"abstract public function emulateExecution(bool $value = true): $this","summary":"Sets whether to emulate query execution, preventing any interaction with data storage.","params":[{"name":"$value","type":"bool","default":"true","optional":true,"description":"Whether to prevent query execution."}],"return":{"type":"$this","description":"The query object itself."},"abstract":true,"since":"2.0.11"},"exists":{"signature":"abstract public function exists(yii\\db\\Connection|null $db = null): bool","summary":"Returns a value indicating whether the query result contains any row of data.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to execute the query. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"bool","description":"Whether the query result contains any row of data."},"abstract":true},"filterWhere":{"signature":"abstract public function filterWhere(array $condition): $this","summary":"Sets the WHERE part of the query ignoring empty parameters.","params":[{"name":"$condition","type":"array","description":"The conditions that should be put in the WHERE part. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"indexBy":{"signature":"abstract public function indexBy(string|callable $column): $this","summary":"Sets the `indexBy()` property.","params":[{"name":"$column","type":"string|callable","description":"The name of the column by which the query results should be indexed by. This can also be a callable (e.g. anonymous function) that returns the index value based on the given row data. The signature of the callable should be: ``` function ($row) { // return the index value corresponding to $row } ```"}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"limit":{"signature":"abstract public function limit(int|null $limit): $this","summary":"Sets the LIMIT part of the query.","params":[{"name":"$limit","type":"int|null","description":"The limit. Use null or negative value to disable limit."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"offset":{"signature":"abstract public function offset(int|null $offset): $this","summary":"Sets the OFFSET part of the query.","params":[{"name":"$offset","type":"int|null","description":"The offset. Use null or negative value to disable offset."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"one":{"signature":"abstract public function one(yii\\db\\Connection|null $db = null): array|bool","summary":"Executes the query and returns a single row of result.","params":[{"name":"$db","type":"yii\\db\\Connection|null","default":"null","optional":true,"description":"The database connection used to execute the query. If this parameter is not given, the `db` application component will be used."}],"return":{"type":"array|bool","description":"The first row (in terms of an array) of the query result. False is returned if the query results in nothing."},"abstract":true},"orderBy":{"signature":"abstract public function orderBy(string|array $columns): $this","summary":"Sets the ORDER BY part of the query.","params":[{"name":"$columns","type":"string|array","description":"The columns (and the directions) to be ordered by. Columns can be specified in either a string (e.g. \"id ASC, name DESC\") or an array (e.g. `['id' => SORT_ASC, 'name' => SORT_DESC]`). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression)."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"orFilterWhere":{"signature":"abstract public function orFilterWhere(array $condition): $this","summary":"Adds an additional WHERE condition to the existing one ignoring empty parameters.","params":[{"name":"$condition","type":"array","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"orWhere":{"signature":"abstract public function orWhere(array $condition): $this","summary":"Adds an additional WHERE condition to the existing one.","params":[{"name":"$condition","type":"array","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true},"where":{"signature":"abstract public function where(array $condition): $this","summary":"Sets the WHERE part of the query.","params":[{"name":"$condition","type":"array","description":"The conditions that should be put in the WHERE part."}],"return":{"type":"$this","description":"The query object itself"},"abstract":true}}},"yii\\db\\QueryTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/db/querytrait/","summary":"The BaseQuery trait represents the minimum method set of a database Query.","since":"2.0","properties":{"emulateExecution":{"type":"bool","default":"false","description":"Whether to emulate the actual query execution, returning empty or false results.","since":"2.0.11"},"indexBy":{"type":"string|callable|null","default":"null","description":"The name of the column by which the query results should be indexed by."},"limit":{"type":"int|yii\\db\\ExpressionInterface|null","default":"null","description":"Maximum number of records to be returned."},"offset":{"type":"int|yii\\db\\ExpressionInterface|null","default":"null","description":"Zero-based offset from where the records are to be returned."},"orderBy":{"type":"array|null","default":"null","description":"How to sort the query results."},"where":{"type":"string|array|yii\\db\\ExpressionInterface|null","default":"null","description":"Query condition."}},"methods":{"addOrderBy":{"signature":"public function addOrderBy(string|array|yii\\db\\ExpressionInterface $columns): $this","summary":"Adds additional ORDER BY columns to the query.","params":[{"name":"$columns","type":"string|array|yii\\db\\ExpressionInterface","description":"The columns (and the directions) to be ordered by. Columns can be specified in either a string (e.g. \"id ASC, name DESC\") or an array (e.g. `['id' => SORT_ASC, 'name' => SORT_DESC]`). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression). Note that if your order-by is an expression containing commas, you should always use an array to represent the order-by information. Otherwise, the method will not be able to correctly determine the order-by columns. Since version 2.0.7, an `yii\\db\\ExpressionInterface` object can be passed to specify the ORDER BY part explicitly in plain SQL."}],"return":{"type":"$this","description":"The query object itself"}},"andFilterWhere":{"signature":"public function andFilterWhere(array $condition): $this","summary":"Adds an additional WHERE condition to the existing one but ignores empty operands (`isEmpty()`).","params":[{"name":"$condition","type":"array","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"}},"andWhere":{"signature":"public function andWhere(string|array|yii\\db\\ExpressionInterface $condition): $this","summary":"Adds an additional WHERE condition to the existing one.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"}},"emulateExecution":{"signature":"public function emulateExecution(bool $value = true): $this","summary":"Sets whether to emulate query execution, preventing any interaction with data storage.","params":[{"name":"$value","type":"bool","default":"true","optional":true,"description":"Whether to prevent query execution."}],"return":{"type":"$this","description":"The query object itself."},"since":"2.0.11"},"filterCondition":{"signature":"protected function filterCondition(array $condition): array","summary":"Removes empty operands (`isEmpty()`) from the given query condition.","params":[{"name":"$condition","type":"array","description":"The original condition"}],"return":{"type":"array","description":"The condition with empty operands (`isEmpty()`) removed."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the condition operator is not supported"}],"visibility":"protected"},"filterWhere":{"signature":"public function filterWhere(array $condition): $this","summary":"Sets the WHERE part of the query but ignores empty operands (`isEmpty()`).","params":[{"name":"$condition","type":"array","description":"The conditions that should be put in the WHERE part. See `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"}},"indexBy":{"signature":"public function indexBy(string|callable $column): $this","summary":"Sets the `indexBy()` property.","params":[{"name":"$column","type":"string|callable","description":"The name of the column by which the query results should be indexed by. This can also be a callable (e.g. anonymous function) that returns the index value based on the given row data. The signature of the callable should be: ``` function ($row) { // return the index value corresponding to $row } ```"}],"return":{"type":"$this","description":"The query object itself"}},"isEmpty":{"signature":"protected function isEmpty(mixed $value): bool","summary":"Returns a value indicating whether the give value is \"empty\".","params":[{"name":"$value","type":"mixed"}],"return":{"type":"bool","description":"If the value is empty"},"visibility":"protected"},"limit":{"signature":"public function limit(int|yii\\db\\ExpressionInterface|null $limit): $this","summary":"Sets the LIMIT part of the query.","params":[{"name":"$limit","type":"int|yii\\db\\ExpressionInterface|null","description":"The limit. Use null or negative value to disable limit."}],"return":{"type":"$this","description":"The query object itself"}},"normalizeOrderBy":{"signature":"protected function normalizeOrderBy(array|string|yii\\db\\ExpressionInterface|null $columns): array","summary":"Normalizes format of ORDER BY data.","params":[{"name":"$columns","type":"array|string|yii\\db\\ExpressionInterface|null","description":"The columns value to normalize. See `orderBy()` and `addOrderBy()`."}],"return":{"type":"array"},"visibility":"protected"},"offset":{"signature":"public function offset(int|yii\\db\\ExpressionInterface|null $offset): $this","summary":"Sets the OFFSET part of the query.","params":[{"name":"$offset","type":"int|yii\\db\\ExpressionInterface|null","description":"The offset. Use null or negative value to disable offset."}],"return":{"type":"$this","description":"The query object itself"}},"orderBy":{"signature":"public function orderBy(string|array|yii\\db\\ExpressionInterface|null $columns): $this","summary":"Sets the ORDER BY part of the query.","params":[{"name":"$columns","type":"string|array|yii\\db\\ExpressionInterface|null","description":"The columns (and the directions) to be ordered by. Columns can be specified in either a string (e.g. `\"id ASC, name DESC\"`) or an array (e.g. `['id' => SORT_ASC, 'name' => SORT_DESC]`). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression). Note that if your order-by is an expression containing commas, you should always use an array to represent the order-by information. Otherwise, the method will not be able to correctly determine the order-by columns. Since version 2.0.7, an `yii\\db\\ExpressionInterface` object can be passed to specify the ORDER BY part explicitly in plain SQL."}],"return":{"type":"$this","description":"The query object itself"}},"orFilterWhere":{"signature":"public function orFilterWhere(array $condition): $this","summary":"Adds an additional WHERE condition to the existing one but ignores empty operands (`isEmpty()`).","params":[{"name":"$condition","type":"array","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"}},"orWhere":{"signature":"public function orWhere(string|array|yii\\db\\ExpressionInterface $condition): $this","summary":"Adds an additional WHERE condition to the existing one.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The new WHERE condition. Please refer to `where()` on how to specify this parameter."}],"return":{"type":"$this","description":"The query object itself"}},"where":{"signature":"public function where(string|array|yii\\db\\ExpressionInterface $condition): $this","summary":"Sets the WHERE part of the query.","params":[{"name":"$condition","type":"string|array|yii\\db\\ExpressionInterface","description":"The conditions that should be put in the WHERE part."}],"return":{"type":"$this","description":"The query object itself"}}}},"yii\\db\\Schema":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/db/schema/","summary":"Schema is the base class for concrete DBMS-specific schema classes.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"columnQuoteCharacter":{"type":"string|string[]","default":"'\"'","description":"Character used to quote column names.","visibility":"protected","since":"2.0.14"},"columnSchemaClass":{"type":"class-string<yii\\db\\T>|array{class?: class-string<yii\\db\\T>, __class?: class-string<yii\\db\\T>}","default":"'yii\\db\\ColumnSchema'","description":"Column schema class or class config","since":"2.0.11"},"db":{"type":"yii\\db\\Connection","default":"null","description":"The database connection"},"defaultSchema":{"type":"string","default":"null","description":"The default schema name used for the current session."},"exceptionMap":{"type":"array","default":"['SQLSTATE[23' => 'yii\\db\\IntegrityException']","description":"Map of DB errors and corresponding exceptions If left part is found in DB error message exception class from the right part is used."},"lastInsertID":{"type":"string","description":"The row ID of the last row inserted, or the last value retrieved from the sequence object.","access":"read-only","virtual":true},"queryBuilder":{"type":"yii\\db\\TQueryBuilder","description":"The query builder for this connection.","access":"read-only","virtual":true},"schemaNames":{"type":"string[]","description":"All schema names in the database, except system schemas.","access":"read-only","virtual":true},"serverVersion":{"type":"string","description":"Server version as a string.","access":"read-only","virtual":true},"systemSchemaNames":{"type":"list<string>","default":"[]","description":"List of schema names that should be excluded from `getSchemaNames()`."},"tableNames":{"type":"string[]","description":"All table names in the database.","access":"read-only","virtual":true},"tableQuoteCharacter":{"type":"string|string[]","default":"\"'\"","description":"Character used to quote schema, table, etc. names.","visibility":"protected","since":"2.0.14"},"tableSchemas":{"type":"yii\\db\\TableSchema[]","description":"The metadata for all tables in the database.","access":"read-only","virtual":true},"transactionIsolationLevel":{"type":"string","description":"The transaction isolation level to use for this transaction.","access":"write-only","virtual":true}},"methods":{"convertException":{"signature":"public function convertException(Exception $e, string $rawSql): yii\\db\\Exception","summary":"Converts a DB exception to a more concrete one if possible.","params":[{"name":"$e","type":"Exception"},{"name":"$rawSql","type":"string","description":"SQL that produced exception"}],"return":{"type":"yii\\db\\Exception"}},"createColumnSchema":{"signature":"protected function createColumnSchema(): yii\\db\\T","summary":"Creates a column schema for the database.","return":{"type":"yii\\db\\T","description":"Column schema instance."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a column schema class cannot be created."}],"visibility":"protected"},"createColumnSchemaBuilder":{"signature":"public function createColumnSchemaBuilder(string $type, int|string|array|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Create a column schema builder instance giving the type and value precision.","params":[{"name":"$type","type":"string","description":"Type of the column. See `yii\\db\\ColumnSchemaBuilder::$type`."},{"name":"$length","type":"int|string|array|null","default":"null","optional":true,"description":"Length or precision of the column. See `yii\\db\\ColumnSchemaBuilder::$length`."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"Column schema builder instance"},"since":"2.0.6"},"createQueryBuilder":{"signature":"public function createQueryBuilder(): yii\\db\\TQueryBuilder","summary":"Creates a query builder for the database.","return":{"type":"yii\\db\\TQueryBuilder","description":"Query builder instance"}},"createSavepoint":{"signature":"public function createSavepoint(string $name): mixed","summary":"Creates a new savepoint.","params":[{"name":"$name","type":"string","description":"The savepoint name"}],"return":{"type":"mixed"}},"findSchemaNames":{"signature":"protected function findSchemaNames(): array","summary":"Returns all schema names in the database, including the default one but not system schemas.","return":{"type":"array","description":"All schema names in the database, except system schemas."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.4"},"findTableNames":{"signature":"protected function findTableNames(string $schema = ''): array","summary":"Returns all table names in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema."}],"return":{"type":"array","description":"All table names in the database. The names have NO schema name prefix."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected"},"findUniqueIndexes":{"signature":"public function findUniqueIndexes(yii\\db\\TableSchema $table): array","summary":"Returns all unique indexes for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"array","description":"All unique indexes for the given table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is called"}]},"getCacheKey":{"signature":"protected function getCacheKey(string $name): mixed","summary":"Returns the cache key for the specified table name.","params":[{"name":"$name","type":"string","description":"The table name."}],"return":{"type":"mixed","description":"The cache key."},"visibility":"protected"},"getCacheTag":{"signature":"protected function getCacheTag(): string","summary":"Returns the cache tag name.","return":{"type":"string","description":"The cache tag name"},"visibility":"protected"},"getColumnPhpType":{"signature":"protected function getColumnPhpType(yii\\db\\ColumnSchema $column): string","summary":"Extracts the PHP type from abstract DB type.","params":[{"name":"$column","type":"yii\\db\\ColumnSchema","description":"The column schema information"}],"return":{"type":"string","description":"PHP type name"},"visibility":"protected"},"getLastInsertID":{"signature":"public function getLastInsertID(string $sequenceName = ''): string","summary":"Returns the ID of the last inserted row or sequence value.","params":[{"name":"$sequenceName","type":"string","default":"''","optional":true,"description":"Name of the sequence object (required by some DBMS)"}],"return":{"type":"string","description":"The row ID of the last row inserted, or the last value retrieved from the sequence object"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the DB connection is not active"}]},"getPdoType":{"signature":"public function getPdoType(mixed $data): int","summary":"Determines the PDO type for the given PHP data value.","params":[{"name":"$data","type":"mixed","description":"The data whose PDO type is to be determined"}],"return":{"type":"int","description":"The PDO type"}},"getQueryBuilder":{"signature":"public function getQueryBuilder(): yii\\db\\TQueryBuilder","return":{"type":"yii\\db\\TQueryBuilder","description":"The query builder for this connection."}},"getRawTableName":{"signature":"public function getRawTableName(string $name): string","summary":"Returns the actual name of a given table name.","params":[{"name":"$name","type":"string","description":"The table name to be converted"}],"return":{"type":"string","description":"The real name of the given table name"}},"getSchemaMetadata":{"signature":"protected function getSchemaMetadata(string $schema, string $type, bool $refresh): array","summary":"Returns the metadata of the given type for all tables in the given schema.","params":[{"name":"$schema","type":"string","description":"The schema of the metadata. Defaults to empty string, meaning the current or default schema name."},{"name":"$type","type":"string","description":"Metadata type."},{"name":"$refresh","type":"bool","description":"Whether to fetch the latest available table metadata. If this is `false`, cached data may be returned if available."}],"return":{"type":"array","description":"Array of metadata."},"visibility":"protected","since":"2.0.13"},"getSchemaNames":{"signature":"public function getSchemaNames(bool $refresh = false): string[]","summary":"Returns all schema names in the database, except system schemas.","params":[{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available schema names. If this is false, schema names fetched previously (if available) will be returned."}],"return":{"type":"string[]","description":"All schema names in the database, except system schemas."},"since":"2.0.4"},"getServerVersion":{"signature":"public function getServerVersion(): string","summary":"Returns a server version as a string comparable by `version_compare()`.","return":{"type":"string","description":"Server version as a string."},"since":"2.0.14"},"getTableMetadata":{"signature":"protected function getTableMetadata(string $name, string $type, bool $refresh): mixed","summary":"Returns the metadata of the given type for the given table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$type","type":"string","description":"Metadata type."},{"name":"$refresh","type":"bool","description":"Whether to reload the table metadata even if it is found in the cache."}],"return":{"type":"mixed","description":"Metadata."},"visibility":"protected","since":"2.0.13"},"getTableNameParts":{"signature":"protected function getTableNameParts(string $name): array","summary":"Splits full table name into parts.","params":[{"name":"$name","type":"string","description":"Full table name."}],"return":{"type":"array","description":"Table name parts."},"visibility":"protected","since":"2.0.22"},"getTableNames":{"signature":"public function getTableNames(string $schema = '', bool $refresh = false): string[]","summary":"Returns all table names in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name. If not empty, the returned table names will be prefixed with the schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table names. If this is false, table names fetched previously (if available) will be returned."}],"return":{"type":"string[]","description":"All table names in the database."}},"getTableSchema":{"signature":"public function getTableSchema(string $name, bool $refresh = false): yii\\db\\TableSchema|null","summary":"Obtains the metadata for the named table.","params":[{"name":"$name","type":"string","description":"Table name. The table name may contain schema name if any. Do not quote the table name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to reload the table schema even if it is found in the cache."}],"return":{"type":"yii\\db\\TableSchema|null","description":"Table metadata. `null` if the named table does not exist."}},"getTableSchemas":{"signature":"public function getTableSchemas(string $schema = '', bool $refresh = false): yii\\db\\TableSchema[]","summary":"Returns the metadata for all tables in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available table schemas. If this is `false`, cached data may be returned if available."}],"return":{"type":"yii\\db\\TableSchema[]","description":"The metadata for all tables in the database. Each array element is an instance of `yii\\db\\TableSchema` or its child class."}},"insert":{"signature":"public function insert(string $table, array $columns): array|false","summary":"Executes the INSERT command, returning primary key values.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array","description":"The column data (name => value) to be inserted into the table."}],"return":{"type":"array|false","description":"Primary key values or false if the command fails"},"since":"2.0.4"},"isReadQuery":{"signature":"public function isReadQuery(string $sql): bool","summary":"Returns a value indicating whether a SQL statement is for read purpose.","params":[{"name":"$sql","type":"string","description":"The SQL statement"}],"return":{"type":"bool","description":"Whether a SQL statement is for read purpose."}},"loadTableSchema":{"signature":"abstract protected function loadTableSchema(string $name): yii\\db\\TableSchema|null","summary":"Loads the metadata for the specified table.","params":[{"name":"$name","type":"string","description":"Table name"}],"return":{"type":"yii\\db\\TableSchema|null","description":"DBMS-dependent table metadata, `null` if the table does not exist."},"visibility":"protected","abstract":true},"normalizePdoRowKeyCase":{"signature":"protected function normalizePdoRowKeyCase(array $row, bool $multiple): array","summary":"Changes row's array key case to lower if PDO's one is set to uppercase.","params":[{"name":"$row","type":"array","description":"Row's array or an array of row's arrays."},{"name":"$multiple","type":"bool","description":"Whether multiple rows or a single row passed."}],"return":{"type":"array","description":"Normalized row or rows."},"visibility":"protected","since":"2.0.13"},"quoteColumnName":{"signature":"public function quoteColumnName(string $name): string","summary":"Quotes a column name for use in a query.","params":[{"name":"$name","type":"string","description":"Column name."}],"return":{"type":"string","description":"The properly quoted column name."}},"quoteSimpleColumnName":{"signature":"public function quoteSimpleColumnName(string $name): string","summary":"Quotes a simple column name for use in a query.","params":[{"name":"$name","type":"string","description":"Column name."}],"return":{"type":"string","description":"The properly quoted column name."}},"quoteSimpleTableName":{"signature":"public function quoteSimpleTableName(string $name): string","summary":"Quotes a simple table name for use in a query.","params":[{"name":"$name","type":"string","description":"Table name."}],"return":{"type":"string","description":"The properly quoted table name."}},"quoteTableName":{"signature":"public function quoteTableName(string $name): string","summary":"Quotes a table name for use in a query.","params":[{"name":"$name","type":"string","description":"Table name."}],"return":{"type":"string","description":"The properly quoted table name."}},"quoteValue":{"signature":"public function quoteValue(mixed $str): mixed","summary":"Quotes a string value for use in a query.","params":[{"name":"$str","type":"mixed","description":"String to be quoted. If the parameter is not a string, it will be returned without change."}],"return":{"type":"mixed","description":"The properly quoted string, or the original data if it is not a string."}},"refresh":{"signature":"public function refresh(): mixed","summary":"Refreshes the schema.","return":{"type":"mixed"}},"refreshTableSchema":{"signature":"public function refreshTableSchema(string $name): mixed","summary":"Refreshes the particular table schema.","params":[{"name":"$name","type":"string","description":"Table name."}],"return":{"type":"mixed"},"since":"2.0.6"},"releaseSavepoint":{"signature":"public function releaseSavepoint(string $name): mixed","summary":"Releases an existing savepoint.","params":[{"name":"$name","type":"string","description":"The savepoint name"}],"return":{"type":"mixed"}},"resolveRawTableName":{"signature":"public function resolveRawTableName(string $name): yii\\db\\TableSchema","summary":"Resolves the table name and schema name (if any) without loading database metadata.","params":[{"name":"$name","type":"string","description":"The table name."}],"return":{"type":"yii\\db\\TableSchema","description":"TableSchema with resolved table, schema, etc. names."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"since":"22.0"},"resolveTableName":{"signature":"protected function resolveTableName(string $name): yii\\db\\TableSchema","summary":"Resolves the table name and schema name (if any).","params":[{"name":"$name","type":"string","description":"The table name"}],"return":{"type":"yii\\db\\TableSchema","description":"`yii\\db\\TableSchema` with resolved table, schema, etc. names."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.13"},"rollBackSavepoint":{"signature":"public function rollBackSavepoint(string $name): mixed","summary":"Rolls back to a previously created savepoint.","params":[{"name":"$name","type":"string","description":"The savepoint name"}],"return":{"type":"mixed"}},"setTableMetadata":{"signature":"protected function setTableMetadata(string $name, string $type, mixed $data): mixed","summary":"Sets the metadata of the given type for the given table.","params":[{"name":"$name","type":"string","description":"Table name."},{"name":"$type","type":"string","description":"Metadata type."},{"name":"$data","type":"mixed","description":"Metadata."}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.13"},"setTransactionIsolationLevel":{"signature":"public function setTransactionIsolationLevel(string $level): mixed","summary":"Sets the isolation level of the current transaction.","params":[{"name":"$level","type":"string","description":"The transaction isolation level to use for this transaction. This can be one of `yii\\db\\Transaction::READ_UNCOMMITTED`, `yii\\db\\Transaction::READ_COMMITTED`, `yii\\db\\Transaction::REPEATABLE_READ` and `yii\\db\\Transaction::SERIALIZABLE` but also a string containing DBMS specific syntax to be used after `SET TRANSACTION ISOLATION LEVEL`."}],"return":{"type":"mixed"}},"supportsSavepoint":{"signature":"public function supportsSavepoint(): bool","return":{"type":"bool","description":"Whether this DBMS supports [savepoint](https://en.wikipedia.org/wiki/Savepoint)."}},"unquoteSimpleColumnName":{"signature":"public function unquoteSimpleColumnName(string $name): string","summary":"Unquotes a simple column name.","params":[{"name":"$name","type":"string","description":"Column name."}],"return":{"type":"string","description":"Unquoted column name."},"since":"2.0.14"},"unquoteSimpleTableName":{"signature":"public function unquoteSimpleTableName(string $name): string","summary":"Unquotes a simple table name.","params":[{"name":"$name","type":"string","description":"Table name."}],"return":{"type":"string","description":"Unquoted table name."},"since":"2.0.14"}},"constants":{"TYPE_PK":{"value":"'pk'"},"TYPE_UPK":{"value":"'upk'"},"TYPE_BIGPK":{"value":"'bigpk'"},"TYPE_UBIGPK":{"value":"'ubigpk'"},"TYPE_CHAR":{"value":"'char'"},"TYPE_STRING":{"value":"'string'"},"TYPE_TEXT":{"value":"'text'"},"TYPE_TINYINT":{"value":"'tinyint'"},"TYPE_SMALLINT":{"value":"'smallint'"},"TYPE_INTEGER":{"value":"'integer'"},"TYPE_BIGINT":{"value":"'bigint'"},"TYPE_FLOAT":{"value":"'float'"},"TYPE_DOUBLE":{"value":"'double'"},"TYPE_DECIMAL":{"value":"'decimal'"},"TYPE_DATETIME":{"value":"'datetime'"},"TYPE_TIMESTAMP":{"value":"'timestamp'"},"TYPE_TIME":{"value":"'time'"},"TYPE_DATE":{"value":"'date'"},"TYPE_BINARY":{"value":"'binary'"},"TYPE_BOOLEAN":{"value":"'boolean'"},"TYPE_MONEY":{"value":"'money'"},"TYPE_JSON":{"value":"'json'"},"SCHEMA_CACHE_VERSION":{"value":"1","description":"Schema cache version, to detect incompatibilities in cached values when the data format of the cache changes."}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\SchemaBuilderTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/db/schemabuildertrait/","summary":"SchemaBuilderTrait contains shortcut methods to create instances of `yii\\db\\ColumnSchemaBuilder`.","since":"2.0.6","methods":{"bigInteger":{"signature":"public function bigInteger(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a bigint column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size or precision definition. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"bigPrimaryKey":{"signature":"public function bigPrimaryKey(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a big primary key column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size or precision definition. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"binary":{"signature":"public function binary(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a binary column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size or precision definition. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"boolean":{"signature":"public function boolean(): yii\\db\\ColumnSchemaBuilder","summary":"Creates a boolean column.","return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"char":{"signature":"public function char(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a char column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size definition i.e. the maximum string length. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.8"},"date":{"signature":"public function date(): yii\\db\\ColumnSchemaBuilder","summary":"Creates a date column.","return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"dateTime":{"signature":"public function dateTime(int|null $precision = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a datetime column.","params":[{"name":"$precision","type":"int|null","default":"null","optional":true,"description":"Column value precision. First parameter passed to the column type, e.g. DATETIME(precision). This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"decimal":{"signature":"public function decimal(int|null $precision = null, int|null $scale = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a decimal column.","params":[{"name":"$precision","type":"int|null","default":"null","optional":true,"description":"Column value precision, which is usually the total number of digits. First parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS."},{"name":"$scale","type":"int|null","default":"null","optional":true,"description":"Column value scale, which is usually the number of digits after the decimal point. Second parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"double":{"signature":"public function double(int|null $precision = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a double column.","params":[{"name":"$precision","type":"int|null","default":"null","optional":true,"description":"Column value precision. First parameter passed to the column type, e.g. DOUBLE(precision). This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"float":{"signature":"public function float(int|null $precision = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a float column.","params":[{"name":"$precision","type":"int|null","default":"null","optional":true,"description":"Column value precision. First parameter passed to the column type, e.g. FLOAT(precision). This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"getDb":{"signature":"abstract protected function getDb(): yii\\db\\Connection","return":{"type":"yii\\db\\Connection","description":"The database connection to be used for schema building."},"visibility":"protected","abstract":true},"integer":{"signature":"public function integer(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates an integer column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size or precision definition. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"json":{"signature":"public function json(): yii\\db\\ColumnSchemaBuilder","summary":"Creates a JSON column.","return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.14"},"money":{"signature":"public function money(int|null $precision = null, int|null $scale = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a money column.","params":[{"name":"$precision","type":"int|null","default":"null","optional":true,"description":"Column value precision, which is usually the total number of digits. First parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS."},{"name":"$scale","type":"int|null","default":"null","optional":true,"description":"Column value scale, which is usually the number of digits after the decimal point. Second parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"primaryKey":{"signature":"public function primaryKey(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a primary key column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size or precision definition. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"smallInteger":{"signature":"public function smallInteger(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a smallint column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size or precision definition. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"string":{"signature":"public function string(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a string column.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size definition i.e. the maximum string length. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"text":{"signature":"public function text(): yii\\db\\ColumnSchemaBuilder","summary":"Creates a text column.","return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"time":{"signature":"public function time(int|null $precision = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a time column.","params":[{"name":"$precision","type":"int|null","default":"null","optional":true,"description":"Column value precision. First parameter passed to the column type, e.g. TIME(precision). This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"timestamp":{"signature":"public function timestamp(int|null $precision = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a timestamp column.","params":[{"name":"$precision","type":"int|null","default":"null","optional":true,"description":"Column value precision. First parameter passed to the column type, e.g. TIMESTAMP(precision). This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.6"},"tinyInteger":{"signature":"public function tinyInteger(int|null $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Creates a tinyint column. If tinyint is not supported by the DBMS, smallint will be used.","params":[{"name":"$length","type":"int|null","default":"null","optional":true,"description":"Column size or precision definition. This parameter will be ignored if not supported by the DBMS."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"The column instance which can be further customized."},"since":"2.0.14"}}},"yii\\db\\SqlToken":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqltoken/","summary":"SqlToken represents SQL tokens produced by `yii\\db\\SqlTokenizer` or its child classes.","since":"2.0.13","extends":"yii\\base\\BaseObject","implements":["ArrayAccess","yii\\base\\Configurable"],"properties":{"children":{"type":"yii\\db\\SqlToken[]","description":"Child tokens.","virtual":true},"content":{"type":"string|null","default":"null","description":"Token content."},"endOffset":{"type":"int","default":"null","description":"Original SQL token end position."},"hasChildren":{"type":"bool","description":"Whether the token has children.","access":"read-only","virtual":true},"isCollection":{"type":"bool","description":"Whether the token represents a collection of tokens.","access":"read-only","virtual":true},"parent":{"type":"yii\\db\\SqlToken","default":"null","description":"Parent token."},"sql":{"type":"string","description":"SQL code.","access":"read-only","virtual":true},"startOffset":{"type":"int","default":"null","description":"Original SQL token start position."},"type":{"type":"int","default":"self::TYPE_TOKEN","description":"Token type."}},"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Returns the SQL code representing the token.","return":{"type":"string","description":"SQL code."}},"getChildren":{"signature":"public function getChildren(): yii\\db\\SqlToken[]","summary":"Returns child tokens.","return":{"type":"yii\\db\\SqlToken[]","description":"Child tokens."}},"getHasChildren":{"signature":"public function getHasChildren(): bool","summary":"Returns whether the token represents a collection of tokens and has non-zero number of children.","return":{"type":"bool","description":"Whether the token has children."}},"getIsCollection":{"signature":"public function getIsCollection(): bool","summary":"Returns whether the token represents a collection of tokens.","return":{"type":"bool","description":"Whether the token represents a collection of tokens."}},"getSql":{"signature":"public function getSql(): string","summary":"Returns the SQL code representing the token.","return":{"type":"string","description":"SQL code."}},"matches":{"signature":"public function matches(yii\\db\\SqlToken $patternToken, int $offset = 0, int|null &$firstMatchIndex = null, int|null &$lastMatchIndex = null): bool","summary":"Returns whether this token (including its children) matches the specified \"pattern\" SQL code.","params":[{"name":"$patternToken","type":"yii\\db\\SqlToken","description":"Tokenized SQL code to match against. In addition to normal SQL, the `any` keyword is supported which will match any number of keywords, identifiers, whitespaces."},{"name":"$offset","type":"int","default":"0","optional":true,"description":"Token children offset to start lookup with."},{"name":"$firstMatchIndex","type":"int|null","default":"null","optional":true,"byReference":true,"description":"Token children offset where a successful match begins."},{"name":"$lastMatchIndex","type":"int|null","default":"null","optional":true,"byReference":true,"description":"Token children offset where a successful match ends."}],"return":{"type":"bool","description":"Whether this token matches the pattern SQL code."}},"offsetExists":{"signature":"public function offsetExists(int $offset): bool","summary":"Returns whether there is a child token at the specified offset.","params":[{"name":"$offset","type":"int","description":"Child token offset."}],"return":{"type":"bool","description":"Whether the token exists."}},"offsetGet":{"signature":"public function offsetGet(int $offset): yii\\db\\SqlToken|null","summary":"Returns a child token at the specified offset.","params":[{"name":"$offset","type":"int","description":"Child token offset."}],"return":{"type":"yii\\db\\SqlToken|null","description":"The child token at the specified offset, `null` if there's no token."}},"offsetSet":{"signature":"public function offsetSet(int|null $offset, yii\\db\\SqlToken $token): mixed","summary":"Adds a child token to the token.","params":[{"name":"$offset","type":"int|null","description":"Child token offset."},{"name":"$token","type":"yii\\db\\SqlToken","description":"Token to be added."}],"return":{"type":"mixed"}},"offsetUnset":{"signature":"public function offsetUnset(int $offset): mixed","summary":"Removes a child token at the specified offset.","params":[{"name":"$offset","type":"int","description":"Child token offset."}],"return":{"type":"mixed"}},"setChildren":{"signature":"public function setChildren(yii\\db\\SqlToken[] $children): mixed","summary":"Sets a list of child tokens.","params":[{"name":"$children","type":"yii\\db\\SqlToken[]","description":"Child tokens."}],"return":{"type":"mixed"}}},"constants":{"TYPE_CODE":{"value":"0"},"TYPE_STATEMENT":{"value":"1"},"TYPE_TOKEN":{"value":"2"},"TYPE_PARENTHESIS":{"value":"3"},"TYPE_KEYWORD":{"value":"4"},"TYPE_OPERATOR":{"value":"5"},"TYPE_IDENTIFIER":{"value":"6"},"TYPE_STRING_LITERAL":{"value":"7"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\SqlTokenizer":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/db/sqltokenizer/","summary":"SqlTokenizer splits an SQL query into individual SQL tokens.","since":"2.0.13","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"length":{"type":"int","default":"null","description":"SQL code string length.","visibility":"protected"},"offset":{"type":"int","default":"null","description":"SQL code string current offset.","visibility":"protected"},"sql":{"type":"string","default":"null","description":"SQL code."}},"methods":{"__construct":{"signature":"public function __construct(string $sql, array $config = [])","summary":"Constructor.","params":[{"name":"$sql","type":"string","description":"SQL code to be tokenized."},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"indexAfter":{"signature":"protected function indexAfter(string $string, int|null $offset = null): int","summary":"Returns an index after the given string in the SQL code starting with the specified offset.","params":[{"name":"$string","type":"string","description":"String to be found."},{"name":"$offset","type":"int|null","default":"null","optional":true,"description":"SQL code offset, defaults to current if `null` is passed."}],"return":{"type":"int","description":"Index after the given string or end of string index."},"visibility":"protected"},"isComment":{"signature":"abstract protected function isComment(int &$length): bool","summary":"Returns whether there's a commentary at the current offset.","params":[{"name":"$length","type":"int","byReference":true,"description":"Length of the matched string."}],"return":{"type":"bool","description":"Whether there's a commentary at the current offset."},"visibility":"protected","abstract":true},"isIdentifier":{"signature":"abstract protected function isIdentifier(int &$length, string &$content): bool","summary":"Returns whether there's an identifier at the current offset.","params":[{"name":"$length","type":"int","byReference":true,"description":"Length of the matched string."},{"name":"$content","type":"string","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether there's an identifier at the current offset."},"visibility":"protected","abstract":true},"isKeyword":{"signature":"abstract protected function isKeyword(string $string, string &$content): bool","summary":"Returns whether the given string is a keyword.","params":[{"name":"$string","type":"string","description":"String to be matched."},{"name":"$content","type":"string","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether the given string is a keyword."},"visibility":"protected","abstract":true},"isOperator":{"signature":"abstract protected function isOperator(int &$length, string &$content): bool","summary":"Returns whether there's an operator at the current offset.","params":[{"name":"$length","type":"int","byReference":true,"description":"Length of the matched string."},{"name":"$content","type":"string","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether there's an operator at the current offset."},"visibility":"protected","abstract":true},"isStringLiteral":{"signature":"abstract protected function isStringLiteral(int &$length, string &$content): bool","summary":"Returns whether there's a string literal at the current offset.","params":[{"name":"$length","type":"int","byReference":true,"description":"Length of the matched string."},{"name":"$content","type":"string","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether there's a string literal at the current offset."},"visibility":"protected","abstract":true},"isWhitespace":{"signature":"abstract protected function isWhitespace(int &$length): bool","summary":"Returns whether there's a whitespace at the current offset.","params":[{"name":"$length","type":"int","byReference":true,"description":"Length of the matched string."}],"return":{"type":"bool","description":"Whether there's a whitespace at the current offset."},"visibility":"protected","abstract":true},"startsWithAnyLongest":{"signature":"protected function startsWithAnyLongest(array<int, string>|array<int, array<string, mixed>> &$with, bool $caseSensitive, int|null &$length = null, string|null &$content = null): bool","summary":"Returns whether the longest common prefix equals to the SQL code of the same length at the current offset.","params":[{"name":"$with","type":"array<int, string>|array<int, array<string, mixed>>","byReference":true,"description":"Strings to be tested. The method **will** modify this parameter to speed up lookups."},{"name":"$caseSensitive","type":"bool","description":"Whether to perform a case sensitive comparison."},{"name":"$length","type":"int|null","default":"null","optional":true,"byReference":true,"description":"Length of the matched string."},{"name":"$content","type":"string|null","default":"null","optional":true,"byReference":true,"description":"Matched string."}],"return":{"type":"bool","description":"Whether a match is found."},"visibility":"protected"},"substring":{"signature":"protected function substring(int $length, bool $caseSensitive = true, int|null $offset = null): string","summary":"Returns a string of the given length starting with the specified offset.","params":[{"name":"$length","type":"int","description":"String length to be returned."},{"name":"$caseSensitive","type":"bool","default":"true","optional":true,"description":"If it's `false`, the string will be uppercased."},{"name":"$offset","type":"int|null","default":"null","optional":true,"description":"SQL code offset, defaults to current if `null` is passed."}],"return":{"type":"string","description":"Result string, it may be empty if there's nothing to return."},"visibility":"protected"},"tokenize":{"signature":"public function tokenize(): yii\\db\\SqlToken","summary":"Tokenizes and returns a code type token.","return":{"type":"yii\\db\\SqlToken","description":"Code type token."}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\db\\StaleObjectException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/staleobjectexception/","since":"2.0","extends":"yii\\db\\Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}},"inherited":{"properties":{"errorInfo":"yii\\db\\Exception"},"methods":{"__construct":"yii\\db\\Exception","__toString":"yii\\db\\Exception"}}},"yii\\db\\TableSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/tableschema/","summary":"TableSchema represents the metadata of a database table.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"columnNames":{"type":"array","description":"List of column names.","access":"read-only","virtual":true},"columns":{"type":"yii\\db\\ColumnSchema[]","default":"[]","description":"Column metadata of this table."},"foreignKeys":{"type":"array","default":"[]","description":"Foreign keys of this table."},"fullName":{"type":"string","default":"null","description":"The full name of this table, which includes the schema name prefix, if any."},"name":{"type":"string","default":"null","description":"The name of this table."},"primaryKey":{"type":"string[]","default":"[]","description":"Primary keys of this table."},"schemaName":{"type":"string","default":"null","description":"The name of the schema that this table belongs to."},"sequenceName":{"type":"string|null","default":"null","description":"Sequence name for the primary key."}},"methods":{"fixPrimaryKey":{"signature":"public function fixPrimaryKey(string|array $keys): mixed","summary":"Manually specifies the primary key for this table.","params":[{"name":"$keys","type":"string|array","description":"The primary key (can be composite)"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the specified key cannot be found in the table."}]},"getColumn":{"signature":"public function getColumn(string $name): yii\\db\\ColumnSchema|null","summary":"Gets the named column metadata.","params":[{"name":"$name","type":"string","description":"Column name"}],"return":{"type":"yii\\db\\ColumnSchema|null","description":"Metadata of the named column. Null if the named column does not exist."}},"getColumnNames":{"signature":"public function getColumnNames(): array","summary":"Returns the names of all columns in this table.","return":{"type":"array","description":"List of column names"}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\Transaction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/transaction/","summary":"Transaction represents a DB transaction.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"db":{"type":"yii\\db\\Connection","default":"null","description":"The database connection that this transaction is associated with."},"isActive":{"type":"bool","description":"Whether this transaction is active.","access":"read-only","virtual":true},"isolationLevel":{"type":"string","description":"The transaction isolation level to use for this transaction.","access":"write-only","virtual":true},"level":{"type":"int","description":"The current nesting level of the transaction.","access":"read-only","virtual":true}},"methods":{"begin":{"signature":"public function begin(string|null $isolationLevel = null): mixed","summary":"Begins a transaction.","params":[{"name":"$isolationLevel","type":"string|null","default":"null","optional":true,"description":"The [isolation level][] to use for this transaction. This can be one of `READ_UNCOMMITTED`, `READ_COMMITTED`, `REPEATABLE_READ` and `SERIALIZABLE` but also a string containing DBMS specific syntax to be used after `SET TRANSACTION ISOLATION LEVEL`. If not specified (`null`) the isolation level will not be set explicitly and the DBMS default will be used. > Note: Some DBMS allow setting of the isolation level only for the whole connection so subsequent transactions may get the same isolation level even if you did not specify any. When using this feature you may need to set the isolation level for all transactions explicitly to avoid conflicting settings. At the time of this writing affected DBMS are MSSQL and SQLite. > Note: The isolation level applies to the outermost transaction only. Nested transactions are implemented with savepoints and always run at the isolation level of the outer transaction, so an `$isolationLevel` passed to a nested `begin()` call is ignored and a warning is logged (since 2.0.56). [isolation level]: https://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels Starting from version 2.0.16, this method throws exception when beginning nested transaction and underlying DBMS does not support savepoints."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is `null`"},{"type":"yii\\base\\NotSupportedException","description":"if the DBMS does not support nested transactions"},{"type":"yii\\db\\Exception","description":"if DB connection fails"}]},"commit":{"signature":"public function commit(): mixed","summary":"Commits a transaction.","return":{"type":"mixed"},"throws":[{"type":"yii\\db\\Exception","description":"if the transaction is not active"}]},"getIsActive":{"signature":"public function getIsActive(): bool","summary":"Returns a value indicating whether this transaction is active.","return":{"type":"bool","description":"Whether this transaction is active. Only an active transaction can `commit()` or `rollBack()`."}},"getLevel":{"signature":"public function getLevel(): int","return":{"type":"int","description":"The current nesting level of the transaction."},"since":"2.0.8"},"rollBack":{"signature":"public function rollBack(): mixed","summary":"Rolls back a transaction.","return":{"type":"mixed"}},"setIsolationLevel":{"signature":"public function setIsolationLevel(string $level): mixed","summary":"Sets the transaction isolation level for this transaction.","params":[{"name":"$level","type":"string","description":"The transaction isolation level to use for this transaction. This can be one of `READ_UNCOMMITTED`, `READ_COMMITTED`, `REPEATABLE_READ` and `SERIALIZABLE` but also a string containing DBMS specific syntax to be used after `SET TRANSACTION ISOLATION LEVEL`."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\db\\Exception","description":"if the transaction is not active"}]}},"constants":{"READ_UNCOMMITTED":{"value":"'READ UNCOMMITTED'","description":"A constant representing the transaction isolation level `READ UNCOMMITTED`."},"READ_COMMITTED":{"value":"'READ COMMITTED'","description":"A constant representing the transaction isolation level `READ COMMITTED`."},"REPEATABLE_READ":{"value":"'REPEATABLE READ'","description":"A constant representing the transaction isolation level `REPEATABLE READ`."},"SERIALIZABLE":{"value":"'SERIALIZABLE'","description":"A constant representing the transaction isolation level `SERIALIZABLE`."}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\ViewFinderTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/db/viewfindertrait/","summary":"ViewFinderTrait implements the method getViewNames for finding views in a database.","since":"2.0.12","methods":{"findViewNames":{"signature":"abstract protected function findViewNames(string $schema = ''): array","summary":"Returns all views names in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the views. Defaults to empty string, meaning the current or default schema."}],"return":{"type":"array","description":"All views names in the database. The names have NO schema name prefix."},"visibility":"protected","abstract":true},"getViewNames":{"signature":"public function getViewNames(string $schema = '', bool $refresh = false): string[]","summary":"Returns all view names in the database.","params":[{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the views. Defaults to empty string, meaning the current or default schema name. If not empty, the returned view names will be prefixed with the schema name."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to fetch the latest available view names. If this is false, view names fetched previously (if available) will be returned."}],"return":{"type":"string[]","description":"All view names in the database."}}}},"yii\\db\\conditions\\AndCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/andcondition/","summary":"Condition that connects two or more SQL expressions with the `AND` operator.","since":"2.0.14","extends":"yii\\db\\conditions\\ConjunctionCondition","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"getOperator":{"signature":"public function getOperator(): string","summary":"Returns the operator that is represented by this condition class, e.g. `AND`, `OR`.","return":{"type":"string"}}},"inherited":{"properties":{"expressions":"yii\\db\\conditions\\ConjunctionCondition"},"methods":{"__construct":"yii\\db\\conditions\\ConjunctionCondition","fromArrayDefinition":"yii\\db\\conditions\\ConjunctionCondition","getExpressions":"yii\\db\\conditions\\ConjunctionCondition"}}},"yii\\db\\conditions\\BetweenColumnsCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/betweencolumnscondition/","summary":"Class BetweenColumnCondition represents a `BETWEEN` condition where values is between two columns. For example:","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"__construct":{"signature":"public function __construct(mixed $value, string $operator, string|yii\\db\\ExpressionInterface $intervalStartColumn, string|yii\\db\\ExpressionInterface $intervalEndColumn)","summary":"Creates a condition with the `BETWEEN` operator.","params":[{"name":"$value","type":"mixed","description":"The value to compare against"},{"name":"$operator","type":"string","description":"The operator to use (e.g. `BETWEEN` or `NOT BETWEEN`)"},{"name":"$intervalStartColumn","type":"string|yii\\db\\ExpressionInterface","description":"The column name or expression that is a beginning of the interval"},{"name":"$intervalEndColumn","type":"string|yii\\db\\ExpressionInterface","description":"The column name or expression that is an end of the interval"}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if wrong number of operands have been given."}],"static":true},"getIntervalEndColumn":{"signature":"public function getIntervalEndColumn(): string|yii\\db\\ExpressionInterface|yii\\db\\Query","return":{"type":"string|yii\\db\\ExpressionInterface|yii\\db\\Query"}},"getIntervalStartColumn":{"signature":"public function getIntervalStartColumn(): string|yii\\db\\ExpressionInterface|yii\\db\\Query","return":{"type":"string|yii\\db\\ExpressionInterface|yii\\db\\Query"}},"getOperator":{"signature":"public function getOperator(): string","return":{"type":"string"}},"getValue":{"signature":"public function getValue(): mixed","return":{"type":"mixed"}}}},"yii\\db\\conditions\\BetweenColumnsConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/betweencolumnsconditionbuilder/","summary":"Class BetweenColumnsConditionBuilder builds objects of `yii\\db\\conditions\\BetweenColumnsCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\BetweenColumnsCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\BetweenColumnsCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"createPlaceholder":{"signature":"protected function createPlaceholder(mixed $value, array &$params): string","summary":"Attaches $value to $params array and returns placeholder.","params":[{"name":"$value","type":"mixed"},{"name":"$params","type":"array","byReference":true,"description":"Passed by reference"}],"return":{"type":"string"},"visibility":"protected"},"escapeColumnName":{"signature":"protected function escapeColumnName(yii\\db\\Query|yii\\db\\ExpressionInterface|string $columnName, array &$params = []): string","summary":"Prepares column name to be used in SQL statement.","params":[{"name":"$columnName","type":"yii\\db\\Query|yii\\db\\ExpressionInterface|string"},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string"},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\BetweenCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/betweencondition/","summary":"Class BetweenCondition represents a `BETWEEN` condition.","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"__construct":{"signature":"public function __construct(mixed $column, string $operator, mixed $intervalStart, mixed $intervalEnd)","summary":"Creates a condition with the `BETWEEN` operator.","params":[{"name":"$column","type":"mixed","description":"The literal to the left of $operator"},{"name":"$operator","type":"string","description":"The operator to use (e.g. `BETWEEN` or `NOT BETWEEN`)"},{"name":"$intervalStart","type":"mixed","description":"Beginning of the interval"},{"name":"$intervalEnd","type":"mixed","description":"End of the interval"}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if wrong number of operands have been given."}],"static":true},"getColumn":{"signature":"public function getColumn(): mixed","return":{"type":"mixed"}},"getIntervalEnd":{"signature":"public function getIntervalEnd(): mixed","return":{"type":"mixed"}},"getIntervalStart":{"signature":"public function getIntervalStart(): mixed","return":{"type":"mixed"}},"getOperator":{"signature":"public function getOperator(): string","return":{"type":"string"}}}},"yii\\db\\conditions\\BetweenConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/betweenconditionbuilder/","summary":"Class BetweenConditionBuilder builds objects of `yii\\db\\conditions\\BetweenCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\BetweenCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\BetweenCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"createPlaceholder":{"signature":"protected function createPlaceholder(mixed $value, array &$params): string","summary":"Attaches $value to $params array and returns placeholder.","params":[{"name":"$value","type":"mixed"},{"name":"$params","type":"array","byReference":true,"description":"Passed by reference"}],"return":{"type":"string"},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\ConditionInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/conditioninterface/","summary":"Interface ConditionInterface should be implemented by classes that represent a condition in DBAL of framework.","since":"2.0.14","implements":["yii\\db\\ExpressionInterface"],"methods":{"fromArrayDefinition":{"signature":"abstract public static function fromArrayDefinition(string $operator, array $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"string","description":"Operator in uppercase."},{"name":"$operands","type":"array","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"InvalidArgumentException","description":"if input parameters are not suitable for this condition"}],"static":true,"abstract":true}}},"yii\\db\\conditions\\ConjunctionCondition":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/conjunctioncondition/","summary":"Class ConjunctionCondition","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"properties":{"expressions":{"type":"mixed[]","default":"null","visibility":"protected"}},"methods":{"__construct":{"signature":"public function __construct(mixed $expressions)","params":[{"name":"$expressions","type":"mixed"}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"InvalidArgumentException","description":"if input parameters are not suitable for this condition"}],"static":true},"getExpressions":{"signature":"public function getExpressions(): mixed[]","return":{"type":"mixed[]"}},"getOperator":{"signature":"abstract public function getOperator(): string","summary":"Returns the operator that is represented by this condition class, e.g. `AND`, `OR`.","return":{"type":"string"},"abstract":true}}},"yii\\db\\conditions\\ConjunctionConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/conjunctionconditionbuilder/","summary":"Class ConjunctionConditionBuilder builds objects of abstract class `yii\\db\\conditions\\ConjunctionCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\ConjunctionCondition $condition, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$condition","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\ConjunctionCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\ExistsCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/existscondition/","summary":"Condition that represents `EXISTS` operator.","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"__construct":{"signature":"public function __construct(string $operator, yii\\db\\Query $query)","summary":"ExistsCondition constructor.","params":[{"name":"$operator","type":"string","description":"The operator to use (e.g. `EXISTS` or `NOT EXISTS`)"},{"name":"$query","type":"yii\\db\\Query","description":"The `yii\\db\\Query` object representing the sub-query."}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"InvalidArgumentException","description":"if input parameters are not suitable for this condition"}],"static":true},"getOperator":{"signature":"public function getOperator(): string","return":{"type":"string"}},"getQuery":{"signature":"public function getQuery(): yii\\db\\Query","return":{"type":"yii\\db\\Query"}}}},"yii\\db\\conditions\\ExistsConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/existsconditionbuilder/","summary":"Class ExistsConditionBuilder builds objects of `yii\\db\\conditions\\ExistsCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\ExistsCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\ExistsCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\HashCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/hashcondition/","summary":"Condition based on column-value pairs.","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"__construct":{"signature":"public function __construct(array|null $hash)","summary":"HashCondition constructor.","params":[{"name":"$hash","type":"array|null"}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"InvalidArgumentException","description":"if input parameters are not suitable for this condition"}],"static":true},"getHash":{"signature":"public function getHash(): array|null","return":{"type":"array|null"}}}},"yii\\db\\conditions\\HashConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/hashconditionbuilder/","summary":"Class HashConditionBuilder builds objects of `yii\\db\\conditions\\HashCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\HashCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\HashCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\InCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/incondition/","summary":"Represents `IN` condition.","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"__construct":{"signature":"public function __construct(array|string|yii\\db\\ExpressionInterface|Traversable $column, string $operator, array|int|string|yii\\db\\ExpressionInterface|Traversable $values)","params":[{"name":"$column","type":"array|string|yii\\db\\ExpressionInterface|Traversable","description":"The column name. If it is an array, a composite `IN` condition will be generated."},{"name":"$operator","type":"string","description":"The operator to use (e.g. `IN` or `NOT IN`)."},{"name":"$values","type":"array|int|string|yii\\db\\ExpressionInterface|Traversable","description":"An array of values that `column` value should be among. If it is an empty array the generated expression will be a `false` value if `operator` is `IN` and empty if operator is `NOT IN`."}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if wrong number of operands have been given."}],"static":true},"getColumn":{"signature":"public function getColumn(): array|string|yii\\db\\ExpressionInterface","summary":"Returns the column(s) being matched.","return":{"type":"array|string|yii\\db\\ExpressionInterface","description":"Column name, list of column names for composite conditions, or an expression."}},"getOperator":{"signature":"public function getOperator(): string","summary":"Returns the comparison operator.","return":{"type":"string","description":"Operator (for example, `IN` or `NOT IN`)."}},"getValues":{"signature":"public function getValues(): array|int|string|yii\\db\\ExpressionInterface","summary":"Returns the value(s) to match against.","return":{"type":"array|int|string|yii\\db\\ExpressionInterface","description":"Value list, scalar, or expression used for the comparison."}}}},"yii\\db\\conditions\\InConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/inconditionbuilder/","summary":"Builds objects of `yii\\db\\conditions\\InCondition`.","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\InCondition $expression, array &$params = []): string","summary":"Builds raw SQL from the expression.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\InCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"buildCompositeInCondition":{"signature":"protected function buildCompositeInCondition(string $operator, array $columns, array $values, array &$params): string","summary":"Builds SQL for composite IN condition.","params":[{"name":"$operator","type":"string","description":"Operator in uppercase."},{"name":"$columns","type":"array","description":"Columns to be matched."},{"name":"$values","type":"array","description":"Row values."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"SQL for composite IN condition."},"visibility":"protected"},"buildSubqueryInCondition":{"signature":"protected function buildSubqueryInCondition(string $operator, array|string|yii\\db\\ExpressionInterface $columns, yii\\db\\Query $values, array &$params): string","summary":"Builds SQL for IN condition.","params":[{"name":"$operator","type":"string","description":"Operator in uppercase."},{"name":"$columns","type":"array|string|yii\\db\\ExpressionInterface","description":"The columns to be matched."},{"name":"$values","type":"yii\\db\\Query","description":"Subquery values."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"SQL for IN condition."},"visibility":"protected"},"buildValues":{"signature":"protected function buildValues(yii\\db\\conditions\\ConditionInterface|yii\\db\\conditions\\InCondition $condition, array $values, array &$params): array","summary":"Builds values to be used in `yii\\db\\conditions\\InCondition`.","params":[{"name":"$condition","type":"yii\\db\\conditions\\ConditionInterface|yii\\db\\conditions\\InCondition","description":"The condition to be built."},{"name":"$values","type":"array","description":"The values to bind."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters."}],"return":{"type":"array","description":"Prepared SQL placeholders."},"visibility":"protected"},"getNotEqualOperator":{"signature":"protected function getNotEqualOperator(): string","summary":"Returns inequality operator for decomposed `NOT IN` conditions.","return":{"type":"string","description":"Inequality operator."},"visibility":"protected"},"getNullCondition":{"signature":"protected function getNullCondition(string $operator, string $column): string","summary":"Builds `IS NULL` / `IS NOT NULL` condition for a scalar column based on the operator.","params":[{"name":"$operator","type":"string","description":"Operator in uppercase."},{"name":"$column","type":"string","description":"Column to be matched."}],"return":{"type":"string","description":"Null condition SQL."},"visibility":"protected","since":"2.0.31"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\LikeCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/likecondition/","summary":"Class LikeCondition represents a `LIKE` condition.","since":"2.0.14","extends":"yii\\db\\conditions\\SimpleCondition","implements":["yii\\db\\conditions\\ConditionInterface"],"properties":{"escapingReplacements":{"type":"array|null|false","default":"null","description":"Map of chars to their replacements, `false` if characters should not be escaped or either `null` or empty array if escaping is condition builder responsibility.","visibility":"protected"}},"methods":{"__construct":{"signature":"public function __construct(string $column, string $operator, string[]|string $value)","params":[{"name":"$column","type":"string","description":"The column name."},{"name":"$operator","type":"string","description":"The operator to use (e.g. `LIKE`, `NOT LIKE`, `OR LIKE` or `OR NOT LIKE`)"},{"name":"$value","type":"string[]|string","description":"Single value or an array of values that $column should be compared with. If it is an empty array the generated expression will be a `false` value if operator is `LIKE` or `OR LIKE` and empty if operator is `NOT LIKE` or `OR NOT LIKE`."}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if wrong number of operands have been given."}],"static":true},"getEscapingReplacements":{"signature":"public function getEscapingReplacements(): array|null|false","return":{"type":"array|null|false"}},"setEscapingReplacements":{"signature":"public function setEscapingReplacements(array|null|false $escapingReplacements): mixed","summary":"This method allows to specify how to escape special characters in the value(s).","params":[{"name":"$escapingReplacements","type":"array|null|false","description":"An array of mappings from the special characters to their escaped counterparts. You may use `false` to indicate the values are already escaped and no escape should be applied, or either `null` or empty array if escaping is condition builder responsibility. Note that when using an escape mapping (or the third operand is not provided), the values will be automatically enclosed within a pair of percentage characters."}],"return":{"type":"mixed"}}},"inherited":{"methods":{"getColumn":"yii\\db\\conditions\\SimpleCondition","getOperator":"yii\\db\\conditions\\SimpleCondition","getValue":"yii\\db\\conditions\\SimpleCondition"}}},"yii\\db\\conditions\\LikeConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/likeconditionbuilder/","summary":"Class LikeConditionBuilder builds objects of `yii\\db\\conditions\\LikeCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"properties":{"escapeCharacter":{"type":"string|null","default":"null","description":"Character used to escape special characters in LIKE conditions.","visibility":"protected"},"escapingReplacements":{"type":"array","default":"['%' => '\\%', '_' => '\\_', '\\\\' => '\\\\\\\\']","description":"Map of chars to their replacements in LIKE conditions.","visibility":"protected"}},"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\LikeCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\LikeCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"parseOperator":{"signature":"protected function parseOperator(string $operator): array","params":[{"name":"$operator","type":"string"}],"return":{"type":"array"},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\NotCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/notcondition/","summary":"Condition that inverts passed `condition`.","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"__construct":{"signature":"public function __construct(mixed $condition)","summary":"NotCondition constructor.","params":[{"name":"$condition","type":"mixed","description":"The condition to be negated"}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if wrong number of operands have been given."}],"static":true},"getCondition":{"signature":"public function getCondition(): mixed","return":{"type":"mixed"}}}},"yii\\db\\conditions\\NotConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/notconditionbuilder/","summary":"Class NotConditionBuilder builds objects of `yii\\db\\conditions\\NotCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\NotCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\NotCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"getNegationOperator":{"signature":"protected function getNegationOperator(): string","return":{"type":"string"},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\conditions\\OrCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/orcondition/","summary":"Condition that connects two or more SQL expressions with the `AND` operator.","since":"2.0.14","extends":"yii\\db\\conditions\\ConjunctionCondition","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"getOperator":{"signature":"public function getOperator(): string","summary":"Returns the operator that is represented by this condition class, e.g. `AND`, `OR`.","return":{"type":"string"}}},"inherited":{"properties":{"expressions":"yii\\db\\conditions\\ConjunctionCondition"},"methods":{"__construct":"yii\\db\\conditions\\ConjunctionCondition","fromArrayDefinition":"yii\\db\\conditions\\ConjunctionCondition","getExpressions":"yii\\db\\conditions\\ConjunctionCondition"}}},"yii\\db\\conditions\\SimpleCondition":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/simplecondition/","summary":"Class SimpleCondition represents a simple condition like `\"column\" operator value`.","since":"2.0.14","implements":["yii\\db\\conditions\\ConditionInterface"],"methods":{"__construct":{"signature":"public function __construct(mixed $column, string $operator, mixed $value)","summary":"SimpleCondition constructor","params":[{"name":"$column","type":"mixed","description":"The literal to the left of $operator"},{"name":"$operator","type":"string","description":"The operator to use. Anything could be used e.g. `>`, `<=`, etc."},{"name":"$value","type":"mixed","description":"The literal to the right of $operator"}]},"fromArrayDefinition":{"signature":"public static function fromArrayDefinition(mixed $operator, mixed $operands): static","summary":"Creates object by array-definition as described in [Query Builder – Operator format](https://yii2-framework.github.io/docs/guide/db-query-builder/#operator-format) guide article.","params":[{"name":"$operator","type":"mixed","description":"Operator in uppercase."},{"name":"$operands","type":"mixed","description":"Array of corresponding operands"}],"return":{"type":"static"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if wrong number of operands have been given."}],"static":true},"getColumn":{"signature":"public function getColumn(): mixed","return":{"type":"mixed"}},"getOperator":{"signature":"public function getOperator(): string","return":{"type":"string"}},"getValue":{"signature":"public function getValue(): mixed","return":{"type":"mixed"}}}},"yii\\db\\conditions\\SimpleConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/conditions/simpleconditionbuilder/","summary":"Class NotConditionBuilder builds objects of `yii\\db\\conditions\\SimpleCondition`","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\SimpleCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\SimpleCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\mssql\\ColumnSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/columnschema/","summary":"Represents the metadata of a column in a Microsoft SQL Server database table.","since":"2.0.23","extends":"yii\\db\\ColumnSchema","implements":["yii\\base\\Configurable"],"properties":{"isComputed":{"type":"bool","default":"false","description":"Whether this column is a computed column","since":"2.0.39"},"outputColumnDeclaration":{"type":"string","description":"SQL type declaration.","access":"read-only","virtual":true}},"methods":{"dbTypecast":{"signature":"public function dbTypecast(mixed $value): mixed","summary":"Renders a `rowversion`/`timestamp` value as an 8-byte binary literal (`0x...`) for WHERE comparisons, and converts `varbinary` strings to `CONVERT(VARBINARY(MAX), 0x...)` expressions to avoid conversion errors.","params":[{"name":"$value","type":"mixed"}],"return":{"type":"mixed"}},"defaultPhpTypecast":{"signature":"public function defaultPhpTypecast(mixed $value): mixed","summary":"Converts a MSSQL column default value to its PHP representation.","params":[{"name":"$value","type":"mixed","description":"Default value in MSSQL `column_default` format."}],"return":{"type":"mixed","description":"Converted value."},"since":"2.0.24"},"getOutputColumnDeclaration":{"signature":"public function getOutputColumnDeclaration(): string","summary":"Returns the SQL type declaration for this column inside an OUTPUT clause temp table.","return":{"type":"string","description":"SQL type declaration."}},"isRowVersion":{"signature":"public function isRowVersion(): bool","summary":"Returns whether this column is a SQL Server `rowversion` (legacy synonym `timestamp`) auto-versioning column.","return":{"type":"bool"}},"phpTypecast":{"signature":"public function phpTypecast(mixed $value): mixed","summary":"Converts the input value according to `$phpType` after retrieval from the database.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value"}}},"inherited":{"properties":{"allowNull":"yii\\db\\ColumnSchema","autoIncrement":"yii\\db\\ColumnSchema","comment":"yii\\db\\ColumnSchema","dbType":"yii\\db\\ColumnSchema","defaultValue":"yii\\db\\ColumnSchema","enumValues":"yii\\db\\ColumnSchema","isPrimaryKey":"yii\\db\\ColumnSchema","name":"yii\\db\\ColumnSchema","phpType":"yii\\db\\ColumnSchema","precision":"yii\\db\\ColumnSchema","scale":"yii\\db\\ColumnSchema","size":"yii\\db\\ColumnSchema","type":"yii\\db\\ColumnSchema","unsigned":"yii\\db\\ColumnSchema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isType":"yii\\db\\ColumnSchema","typecast":"yii\\db\\ColumnSchema"}}},"yii\\db\\mssql\\ColumnSchemaBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/columnschemabuilder/","summary":"ColumnSchemaBuilder is the schema builder for MSSQL databases.","since":"2.0.42","extends":"yii\\db\\ColumnSchemaBuilder","implements":["Stringable","yii\\base\\Configurable"],"properties":{"checkValue":{"type":"string|null","description":"The `CHECK` constraint for the column.","access":"read-only","virtual":true},"defaultValue":{"type":"string|yii\\db\\Expression|null","description":"Default value of the column.","access":"read-only","virtual":true},"format":{"default":"'{type}{length}{notnull}{unique}{default}{check}{append}'","visibility":"protected"}},"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Builds the full string for the column's schema.","return":{"type":"string"}},"getCheckValue":{"signature":"public function getCheckValue(): string|null","summary":"Get the `Check` value for constraint","return":{"type":"string|null","description":"The `CHECK` constraint for the column."}},"getDefaultValue":{"signature":"public function getDefaultValue(): string|yii\\db\\Expression|null","summary":"Getting the `Default` value for constraint","return":{"type":"string|yii\\db\\Expression|null","description":"Default value of the column."}},"setAlterColumnFormat":{"signature":"public function setAlterColumnFormat(): mixed","summary":"Changes default format string to MSSQL ALTER COMMAND.","return":{"type":"mixed"}}},"inherited":{"properties":{"after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","categoryMap":"yii\\db\\ColumnSchemaBuilder","check":"yii\\db\\ColumnSchemaBuilder","comment":"yii\\db\\ColumnSchemaBuilder","db":"yii\\db\\ColumnSchemaBuilder","default":"yii\\db\\ColumnSchemaBuilder","isFirst":"yii\\db\\ColumnSchemaBuilder","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","isUnsigned":"yii\\db\\ColumnSchemaBuilder","length":"yii\\db\\ColumnSchemaBuilder","type":"yii\\db\\ColumnSchemaBuilder","typeCategoryMap":"yii\\db\\ColumnSchemaBuilder","typeDefinition":"yii\\db\\ColumnSchemaBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\ColumnSchemaBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","buildAfterString":"yii\\db\\ColumnSchemaBuilder","buildAppendString":"yii\\db\\ColumnSchemaBuilder","buildCheckString":"yii\\db\\ColumnSchemaBuilder","buildCommentString":"yii\\db\\ColumnSchemaBuilder","buildCompleteString":"yii\\db\\ColumnSchemaBuilder","buildDefaultString":"yii\\db\\ColumnSchemaBuilder","buildDefaultValue":"yii\\db\\ColumnSchemaBuilder","buildFirstString":"yii\\db\\ColumnSchemaBuilder","buildLengthString":"yii\\db\\ColumnSchemaBuilder","buildNotNullString":"yii\\db\\ColumnSchemaBuilder","buildUniqueString":"yii\\db\\ColumnSchemaBuilder","buildUnsignedString":"yii\\db\\ColumnSchemaBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","check":"yii\\db\\ColumnSchemaBuilder","className":"yii\\base\\BaseObject","comment":"yii\\db\\ColumnSchemaBuilder","defaultExpression":"yii\\db\\ColumnSchemaBuilder","defaultValue":"yii\\db\\ColumnSchemaBuilder","first":"yii\\db\\ColumnSchemaBuilder","getAppend":"yii\\db\\ColumnSchemaBuilder","getCategoryMap":"yii\\db\\ColumnSchemaBuilder","getCheck":"yii\\db\\ColumnSchemaBuilder","getDefault":"yii\\db\\ColumnSchemaBuilder","getTypeCategory":"yii\\db\\ColumnSchemaBuilder","getTypeDefinition":"yii\\db\\ColumnSchemaBuilder","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","notNull":"yii\\db\\ColumnSchemaBuilder","null":"yii\\db\\ColumnSchemaBuilder","setCategoryMap":"yii\\db\\ColumnSchemaBuilder","unique":"yii\\db\\ColumnSchemaBuilder","unsigned":"yii\\db\\ColumnSchemaBuilder"},"constants":{"CATEGORY_PK":"yii\\db\\ColumnSchemaBuilder","CATEGORY_STRING":"yii\\db\\ColumnSchemaBuilder","CATEGORY_NUMERIC":"yii\\db\\ColumnSchemaBuilder","CATEGORY_TIME":"yii\\db\\ColumnSchemaBuilder","CATEGORY_OTHER":"yii\\db\\ColumnSchemaBuilder"}}},"yii\\db\\mssql\\Command":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/command/","summary":"Command represents an MSSQL SQL statement to be executed against a database.","since":"22.0","extends":"yii\\db\\Command","implements":["yii\\base\\Configurable"],"methods":{"alterColumn":{"signature":"public function alterColumn(mixed $table, mixed $column, mixed $type): $this","summary":"Creates a SQL command for changing the definition of a column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"mixed","description":"The column type. `yii\\db\\QueryBuilder::getColumnType()` will be called to convert the give column type to the physical one. For example, `string` will be converted as `varchar(255)`, and `string not null` becomes `varchar(255) not null`."}],"return":{"type":"$this","description":"The command object itself"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","db":"yii\\db\\Command","fetchMode":"yii\\db\\Command","params":"yii\\db\\Command","pdoStatement":"yii\\db\\Command","pendingParams":"yii\\db\\Command","queryCacheDependency":"yii\\db\\Command","queryCacheDuration":"yii\\db\\Command","rawSql":"yii\\db\\Command","sql":"yii\\db\\Command"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addCheck":"yii\\db\\Command","addColumn":"yii\\db\\Command","addCommentOnColumn":"yii\\db\\Command","addCommentOnTable":"yii\\db\\Command","addDefaultValue":"yii\\db\\Command","addForeignKey":"yii\\db\\Command","addPrimaryKey":"yii\\db\\Command","addUnique":"yii\\db\\Command","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","batchInsert":"yii\\db\\Command","behaviors":"yii\\base\\Component","bindParam":"yii\\db\\Command","bindPendingParams":"yii\\db\\Command","bindValue":"yii\\db\\Command","bindValues":"yii\\db\\Command","cache":"yii\\db\\Command","cancel":"yii\\db\\Command","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","checkIntegrity":"yii\\db\\Command","className":"yii\\base\\BaseObject","createIndex":"yii\\db\\Command","createTable":"yii\\db\\Command","createView":"yii\\db\\Command","delete":"yii\\db\\Command","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","dropCheck":"yii\\db\\Command","dropColumn":"yii\\db\\Command","dropCommentFromColumn":"yii\\db\\Command","dropCommentFromTable":"yii\\db\\Command","dropDefaultValue":"yii\\db\\Command","dropForeignKey":"yii\\db\\Command","dropIndex":"yii\\db\\Command","dropPrimaryKey":"yii\\db\\Command","dropTable":"yii\\db\\Command","dropUnique":"yii\\db\\Command","dropView":"yii\\db\\Command","ensureBehaviors":"yii\\base\\Component","execute":"yii\\db\\Command","executeResetSequence":"yii\\db\\Command","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCacheKey":"yii\\db\\Command","getRawSql":"yii\\db\\Command","getSql":"yii\\db\\Command","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","insert":"yii\\db\\Command","internalExecute":"yii\\db\\Command","logQuery":"yii\\db\\Command","noCache":"yii\\db\\Command","off":"yii\\base\\Component","on":"yii\\base\\Component","prepare":"yii\\db\\Command","query":"yii\\db\\Command","queryAll":"yii\\db\\Command","queryColumn":"yii\\db\\Command","queryInternal":"yii\\db\\Command","queryOne":"yii\\db\\Command","queryScalar":"yii\\db\\Command","refreshTableSchema":"yii\\db\\Command","renameColumn":"yii\\db\\Command","renameTable":"yii\\db\\Command","requireTableSchemaRefresh":"yii\\db\\Command","requireTransaction":"yii\\db\\Command","reset":"yii\\db\\Command","resetSequence":"yii\\db\\Command","setRawSql":"yii\\db\\Command","setRetryHandler":"yii\\db\\Command","setSql":"yii\\db\\Command","trigger":"yii\\base\\Component","truncateTable":"yii\\db\\Command","update":"yii\\db\\Command","upsert":"yii\\db\\Command"}}},"yii\\db\\mssql\\DBLibPDO":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/dblibpdo/","summary":"This is an extension of the default PDO class of DBLIB drivers.","since":"2.0.41","extends":"PDO","methods":{"getAttribute":{"signature":"public function getAttribute(int $attribute): mixed","summary":"Retrieve a database connection attribute.","params":[{"name":"$attribute","type":"int","description":"One of the PDO::ATTR_* constants."}],"return":{"type":"mixed","description":"A successful call returns the value of the requested PDO attribute. An unsuccessful call returns `null`."}},"lastInsertId":{"signature":"public function lastInsertId(string|null $name = null): string|false","summary":"Returns value of the last inserted ID.","params":[{"name":"$name","type":"string|null","default":"null","optional":true,"description":"The sequence name. Defaults to null."}],"return":{"type":"string|false","description":"Last inserted ID value."}}}},"yii\\db\\mssql\\PDO":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/pdo/","summary":"This is an extension of the default PDO class of MSSQL and DBLIB drivers.","since":"2.0","extends":"PDO","methods":{"beginTransaction":{"signature":"public function beginTransaction(): bool","summary":"Starts a transaction. It is necessary to override PDO's method as MSSQL PDO driver does not natively support transactions.","return":{"type":"bool","description":"The result of a transaction start."}},"commit":{"signature":"public function commit(): bool","summary":"Commits a transaction. It is necessary to override PDO's method as MSSQL PDO driver does not natively support transactions.","return":{"type":"bool","description":"The result of a transaction commit."}},"getAttribute":{"signature":"public function getAttribute(int $attribute): mixed","summary":"Retrieve a database connection attribute.","params":[{"name":"$attribute","type":"int","description":"One of the PDO::ATTR_* constants."}],"return":{"type":"mixed","description":"A successful call returns the value of the requested PDO attribute. An unsuccessful call returns `null`."}},"lastInsertId":{"signature":"public function lastInsertId(string|null $sequence = null): string|false","summary":"Returns value of the last inserted ID.","params":[{"name":"$sequence","type":"string|null","default":"null","optional":true,"description":"The sequence name. Defaults to `null`."}],"return":{"type":"string|false","description":"Last inserted ID value."}},"rollBack":{"signature":"public function rollBack(): bool","summary":"Rollbacks a transaction. It is necessary to override PDO's method as MSSQL PDO driver does not natively support transactions.","return":{"type":"bool","description":"The result of a transaction roll back."}}},"constants":{"SQLSRV_ATTR_ENCODING":{"value":"1000","description":"A constant for the pdo_sqlsrv encoding attribute. Pass as a key in `yii\\db\\Connection::$attributes`."},"SQLSRV_ENCODING_SYSTEM":{"value":"3","description":"A constant for ANSI (system code page) string encoding. Use with `SQLSRV_ATTR_ENCODING` to avoid the implicit `nvarchar`-to-`varchar` conversion that degrades performance on `char`/`varchar` indexed columns."},"SQLSRV_ENCODING_UTF8":{"value":"65001","description":"A constant for UTF-8 string encoding. This is the pdo_sqlsrv default for `PDO::PARAM_STR` parameters."}}},"yii\\db\\mssql\\QueryBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/querybuilder/","summary":"QueryBuilder is the query builder for MS SQL Server databases (version 2019 and above).","since":"2.0","extends":"yii\\db\\QueryBuilder","implements":["yii\\base\\Configurable"],"properties":{"typeMap":{"type":"array","default":"[\\yii\\db\\mssql\\Schema::TYPE_PK => 'int IDENTITY PRIMARY KEY', \\yii\\db\\mssql\\Schema::TYPE_UPK => 'int IDENTITY PRIMARY KEY', \\yii\\db\\mssql\\Schema::TYPE_BIGPK => 'bigint IDENTITY PRIMARY KEY', \\yii\\db\\mssql\\Schema::TYPE_UBIGPK => 'bigint IDENTITY PRIMARY KEY', \\yii\\db\\mssql\\Schema::TYPE_CHAR => 'nchar(1)', \\yii\\db\\mssql\\Schema::TYPE_STRING => 'nvarchar(255)', \\yii\\db\\mssql\\Schema::TYPE_TEXT => 'nvarchar(max)', \\yii\\db\\mssql\\Schema::TYPE_TINYINT => 'tinyint', \\yii\\db\\mssql\\Schema::TYPE_SMALLINT => 'smallint', \\yii\\db\\mssql\\Schema::TYPE_INTEGER => 'int', \\yii\\db\\mssql\\Schema::TYPE_BIGINT => 'bigint', \\yii\\db\\mssql\\Schema::TYPE_FLOAT => 'float', \\yii\\db\\mssql\\Schema::TYPE_DOUBLE => 'float', \\yii\\db\\mssql\\Schema::TYPE_DECIMAL => 'decimal(18,0)', \\yii\\db\\mssql\\Schema::TYPE_DATETIME => 'datetime', \\yii\\db\\mssql\\Schema::TYPE_TIMESTAMP => 'datetime', \\yii\\db\\mssql\\Schema::TYPE_TIME => 'time', \\yii\\db\\mssql\\Schema::TYPE_DATE => 'date', \\yii\\db\\mssql\\Schema::TYPE_BINARY => 'varbinary(max)', \\yii\\db\\mssql\\Schema::TYPE_BOOLEAN => 'bit', \\yii\\db\\mssql\\Schema::TYPE_MONEY => 'decimal(19,4)']","description":"Mapping from abstract column types (keys) to physical column types (values)."}},"methods":{"addCommentOnColumn":{"signature":"public function addCommentOnColumn(mixed $table, mixed $column, mixed $comment): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be commented. The column name will be properly quoted by the method."},{"name":"$comment","type":"mixed","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"addCommentOnTable":{"signature":"public function addCommentOnTable(mixed $table, mixed $comment): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$comment","type":"mixed","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on table"},"since":"2.0.8"},"addDefaultValue":{"signature":"public function addDefaultValue(mixed $name, mixed $table, mixed $column, mixed $value): string","summary":"Creates a SQL command for adding a default value constraint to an existing table.","params":[{"name":"$name","type":"mixed","description":"The name of the default value constraint. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table that the default value constraint will be added to. The name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to that the constraint will be added on. The name will be properly quoted by the method."},{"name":"$value","type":"mixed","description":"Default value."}],"return":{"type":"string","description":"The SQL statement for adding a default value constraint to an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.13"},"alterColumn":{"signature":"public function alterColumn(string $table, string $column, string $type): string","summary":"Builds a SQL statement for changing the definition of a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The new column type. The `getColumnType()` method will be invoked to convert abstract column type (if any) into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'."}],"return":{"type":"string","description":"The SQL statement for changing the definition of a column."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}]},"buildAddCommentSql":{"signature":"protected function buildAddCommentSql(string $comment, string $table, string|null $column = null): string","summary":"Builds the SQL to add or update the `MS_Description` extended property of a table or column.","params":[{"name":"$comment","type":"string","description":"Comment text. Escaped and wrapped as an `N'...'` literal by the method."},{"name":"$table","type":"string","description":"Target table. May be 'catalog-', 'schema-', or bracket-qualified."},{"name":"$column","type":"string|null","default":"null","optional":true,"description":"Target column, or `null` to comment the table itself."}],"return":{"type":"string","description":"SQL statement that adds or updates the comment."},"visibility":"protected","since":"2.0.24"},"buildOrderByAndLimit":{"signature":"public function buildOrderByAndLimit(mixed $sql, mixed $orderBy, mixed $limit, mixed $offset): string","summary":"Builds the ORDER BY and LIMIT/OFFSET clauses and appends them to the given SQL.","params":[{"name":"$sql","type":"mixed","description":"The existing SQL (without ORDER BY/LIMIT/OFFSET)"},{"name":"$orderBy","type":"mixed","description":"The order by columns. See `yii\\db\\Query::orderBy()` for more details on how to specify this parameter."},{"name":"$limit","type":"mixed","description":"The limit number. See `yii\\db\\Query::limit()` for more details."},{"name":"$offset","type":"mixed","description":"The offset number. See `yii\\db\\Query::offset()` for more details."}],"return":{"type":"string","description":"The SQL completed with ORDER BY/LIMIT/OFFSET (if any)"}},"buildRemoveCommentSql":{"signature":"protected function buildRemoveCommentSql(string $table, string|null $column = null): string","summary":"Builds the SQL to remove the `MS_Description` extended property from a table or column.","params":[{"name":"$table","type":"string","description":"Target table. May be 'catalog-', 'schema-', or bracket-qualified."},{"name":"$column","type":"string|null","default":"null","optional":true,"description":"Target column, or `null` to remove the table comment."}],"return":{"type":"string","description":"SQL statement that removes the comment."},"visibility":"protected","since":"2.0.24"},"buildUnionOrderByAndLimit":{"signature":"public function buildUnionOrderByAndLimit(string $sql, array|null $orderBy, int|yii\\db\\ExpressionInterface|null $limit, int|yii\\db\\ExpressionInterface|null $offset): string","summary":"Builds the global ORDER BY and LIMIT/OFFSET clauses for a UNION query.","params":[{"name":"$sql","type":"string","description":"The complete UNION SQL without global ORDER BY/LIMIT/OFFSET clauses."},{"name":"$orderBy","type":"array|null","description":"The global order by columns."},{"name":"$limit","type":"int|yii\\db\\ExpressionInterface|null","description":"The global limit."},{"name":"$offset","type":"int|yii\\db\\ExpressionInterface|null","description":"The global offset."}],"return":{"type":"string","description":"The completed UNION SQL."},"since":"22.0"},"buildWithQueries":{"signature":"public function buildWithQueries(mixed $withs, mixed &$params): string","params":[{"name":"$withs","type":"mixed","description":"Of configurations for each WITH query"},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"Compiled WITH prefix of query including nested queries"},"since":"2.0.35"},"checkIntegrity":{"signature":"public function checkIntegrity(bool $check = true, string $schema = '', string $table = ''): string","summary":"Builds a SQL statement for enabling or disabling integrity checks on table constraints.","params":[{"name":"$check","type":"bool","default":"true","optional":true,"description":"Whether to enable (`true`) or disable (`false`) the integrity checks."},{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Defaults to an empty string, meaning the default schema."},{"name":"$table","type":"string","default":"''","optional":true,"description":"The table name. Defaults to an empty string, meaning every table in the schema."}],"return":{"type":"string","description":"The SQL statement for enabling or disabling the integrity checks."}},"defaultExpressionBuilders":{"signature":"protected function defaultExpressionBuilders(): array","summary":"Contains array of default expression builders. Extend this method and override it, if you want to change default expression builders for this query builder. See `$expressionBuilders` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"delete":{"signature":"public function delete(mixed $table, mixed $condition, mixed &$params): string","summary":"Creates a DELETE SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table where the data will be deleted from."},{"name":"$condition","type":"mixed","description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be modified by this method so that they can be bound to the DB command later."}],"return":{"type":"string","description":"The DELETE SQL"}},"dropColumn":{"signature":"public function dropColumn(mixed $table, mixed $column): mixed","summary":"Drop all constraints before column delete.","params":[{"name":"$table","type":"mixed"},{"name":"$column","type":"mixed"}],"return":{"type":"mixed"}},"dropCommentFromColumn":{"signature":"public function dropCommentFromColumn(mixed $table, mixed $column): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be commented. The column name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropCommentFromTable":{"signature":"public function dropCommentFromTable(mixed $table): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropDefaultValue":{"signature":"public function dropDefaultValue(mixed $name, mixed $table): string","summary":"Creates a SQL command for dropping a default value constraint.","params":[{"name":"$name","type":"mixed","description":"The name of the default value constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table whose default value constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a default value constraint."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.13"},"extractAlias":{"signature":"protected function extractAlias(mixed $table): bool|array","summary":"Extracts table alias if there is one or returns false","params":[{"name":"$table","type":"mixed"}],"return":{"type":"bool|array"},"visibility":"protected","since":"2.0.24"},"getColumnType":{"signature":"public function getColumnType(mixed $type): string","summary":"Converts an abstract column type into a physical column type.","params":[{"name":"$type","type":"mixed","description":"Abstract column type"}],"return":{"type":"string","description":"Physical column type."}},"insert":{"signature":"public function insert(mixed $table, mixed $columns, mixed &$params): string","summary":"Creates an INSERT SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement. Passing of Query (`yii\\db\\Query`) is available since version 2.0.11."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The INSERT SQL"}},"prepareSelectQuery":{"signature":"protected function prepareSelectQuery(yii\\db\\Query $query): yii\\db\\Query","summary":"Performs driver-specific preparation after `yii\\db\\Query::prepare()`.","params":[{"name":"$query","type":"yii\\db\\Query","description":"The prepared query."}],"return":{"type":"yii\\db\\Query","description":"The query to build."},"visibility":"protected","since":"22.0"},"renameColumn":{"signature":"public function renameColumn(string $table, string $oldName, string $newName): string","summary":"Builds a SQL statement for renaming a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be renamed. The name will be properly quoted by the method."},{"name":"$oldName","type":"string","description":"The old name of the column. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new name of the column. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB column."}},"renameTable":{"signature":"public function renameTable(string $oldName, string $newName): string","summary":"Builds a SQL statement for renaming a DB table.","params":[{"name":"$oldName","type":"string","description":"The table to be renamed. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new table name. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB table."}},"resetSequence":{"signature":"public function resetSequence(string $tableName, int|null $value = null): string","summary":"Creates a SQL statement for resetting the sequence value of a table's primary key.","params":[{"name":"$tableName","type":"string","description":"The name of the table whose primary key sequence will be reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have the next value after the current maximum identity value."}],"return":{"type":"string","description":"The SQL statement for resetting sequence."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the table does not exist or there is no sequence associated with the table."}]},"selectExists":{"signature":"public function selectExists(mixed $rawSql): string","summary":"Creates a SELECT EXISTS() SQL statement.","params":[{"name":"$rawSql","type":"mixed","description":"The subquery in a raw form to select from."}],"return":{"type":"string","description":"The SELECT EXISTS() SQL statement."},"since":"2.0.8"},"update":{"signature":"public function update(mixed $table, mixed $columns, mixed $condition, mixed &$params): string","summary":"Creates an UPDATE SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table to be updated."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be updated."},{"name":"$condition","type":"mixed","description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be modified by this method so that they can be bound to the DB command later."}],"return":{"type":"string","description":"The UPDATE SQL"}},"upsert":{"signature":"public function upsert(mixed $table, mixed $insertColumns, mixed $updateColumns, mixed &$params): mixed","summary":"Generates a `MERGE` statement that inserts a row or updates the matching one in a single atomic operation.","params":[{"name":"$table","type":"mixed"},{"name":"$insertColumns","type":"mixed"},{"name":"$updateColumns","type":"mixed"},{"name":"$params","type":"mixed","byReference":true}],"return":{"type":"mixed"}}},"inherited":{"properties":{"conditionClasses":"yii\\db\\QueryBuilder","db":"yii\\db\\QueryBuilder","expressionBuilders":"yii\\db\\QueryBuilder","separator":"yii\\db\\QueryBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\QueryBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","addCheck":"yii\\db\\QueryBuilder","addColumn":"yii\\db\\QueryBuilder","addForeignKey":"yii\\db\\QueryBuilder","addPrimaryKey":"yii\\db\\QueryBuilder","addUnique":"yii\\db\\QueryBuilder","batchInsert":"yii\\db\\QueryBuilder","bindParam":"yii\\db\\QueryBuilder","build":"yii\\db\\QueryBuilder","buildColumns":"yii\\db\\QueryBuilder","buildCondition":"yii\\db\\QueryBuilder","buildExpression":"yii\\db\\QueryBuilder","buildFrom":"yii\\db\\QueryBuilder","buildGroupBy":"yii\\db\\QueryBuilder","buildHaving":"yii\\db\\QueryBuilder","buildJoin":"yii\\db\\QueryBuilder","buildLimit":"yii\\db\\QueryBuilder","buildOrderBy":"yii\\db\\QueryBuilder","buildSelect":"yii\\db\\QueryBuilder","buildUnion":"yii\\db\\QueryBuilder","buildWhere":"yii\\db\\QueryBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","concatUnionSql":"yii\\db\\QueryBuilder","createConditionFromArray":"yii\\db\\QueryBuilder","createIndex":"yii\\db\\QueryBuilder","createTable":"yii\\db\\QueryBuilder","createView":"yii\\db\\QueryBuilder","defaultConditionClasses":"yii\\db\\QueryBuilder","dropCheck":"yii\\db\\QueryBuilder","dropForeignKey":"yii\\db\\QueryBuilder","dropIndex":"yii\\db\\QueryBuilder","dropPrimaryKey":"yii\\db\\QueryBuilder","dropTable":"yii\\db\\QueryBuilder","dropUnique":"yii\\db\\QueryBuilder","dropView":"yii\\db\\QueryBuilder","executeResetSequence":"yii\\db\\QueryBuilder","getExpressionBuilder":"yii\\db\\QueryBuilder","hasLimit":"yii\\db\\QueryBuilder","hasMethod":"yii\\base\\BaseObject","hasOffset":"yii\\db\\QueryBuilder","hasProperty":"yii\\base\\BaseObject","init":"yii\\db\\QueryBuilder","prepareInsertSelectSubQuery":"yii\\db\\QueryBuilder","prepareInsertValues":"yii\\db\\QueryBuilder","prepareUpdateSets":"yii\\db\\QueryBuilder","prepareUpsertColumns":"yii\\db\\QueryBuilder","prepareUpsertSets":"yii\\db\\QueryBuilder","setConditionClasses":"yii\\db\\QueryBuilder","setExpressionBuilders":"yii\\db\\QueryBuilder","truncateTable":"yii\\db\\QueryBuilder"},"constants":{"PARAM_PREFIX":"yii\\db\\QueryBuilder"}}},"yii\\db\\mssql\\Quoter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/quoter/","summary":"Provides connection-free helpers for quoting MSSQL values and identifiers when building SQL.","since":"22.0","methods":{"escapeLiteralValue":{"signature":"public static function escapeLiteralValue(string $value): string","summary":"Escapes single quotes in a value for embedding as a Transact-SQL string literal.","params":[{"name":"$value","type":"string","description":"Value to escape."}],"return":{"type":"string","description":"Value with single quotes doubled, ready to embed inside a quoted literal."},"static":true},"extractSimpleIdentifier":{"signature":"public static function extractSimpleIdentifier(string $name): string","summary":"Returns the trailing single-part identifier of a bracket-quoted qualified name, keeping its brackets.","params":[{"name":"$name","type":"string","description":"Bracket-quoted qualified identifier."}],"return":{"type":"string","description":"Trailing single-part identifier with brackets preserved."},"static":true},"isIdentifierBracketQuoted":{"signature":"public static function isIdentifierBracketQuoted(string $identifier): bool","summary":"Returns whether an identifier is already wrapped in MSSQL square brackets (`[identifier]`).","params":[{"name":"$identifier","type":"string","description":"Identifier to inspect."}],"return":{"type":"bool","description":"Whether the identifier is already bracket-quoted."},"static":true}}},"yii\\db\\mssql\\RowVersionBehavior":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/rowversionbehavior/","summary":"Refreshes a server-managed `rowversion` optimistic lock attribute from the database after each write.","extends":"yii\\base\\Behavior","implements":["yii\\base\\Configurable"],"methods":{"events":{"signature":"public function events(): array","summary":"Declares event handlers for the `$owner`'s events.","return":{"type":"array","description":"Events (array keys) and the corresponding event handler methods (array values)."}},"refreshRowVersion":{"signature":"public function refreshRowVersion(): void","summary":"Re-reads the `rowversion` optimistic lock attribute from the database into the owner instance.","return":{"type":"void"}}},"inherited":{"properties":{"owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\base\\Behavior","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\mssql\\Schema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/schema/","summary":"Schema is the class for retrieving metadata from MS SQL Server databases (version 2019 and above).","since":"2.0","extends":"yii\\db\\Schema","implements":["yii\\db\\ConstraintFinderInterface","yii\\base\\Configurable"],"traits":["yii\\db\\ViewFinderTrait","yii\\db\\ConstraintFinderTrait"],"properties":{"columnQuoteCharacter":{"type":"string|string[]","default":"['[', ']']","visibility":"protected","since":"2.0.14"},"columnSchemaClass":{"type":"class-string<yii\\db\\T>|array{class?: class-string<yii\\db\\T>, __class?: class-string<yii\\db\\T>}","default":"\\yii\\db\\mssql\\ColumnSchema::class","since":"2.0.11"},"defaultSchema":{"type":"string","default":"'dbo'","description":"The default schema used for the current session."},"systemSchemaNames":{"type":"array","default":"['guest']"},"tableQuoteCharacter":{"type":"string|string[]","default":"['[', ']']","visibility":"protected","since":"2.0.14"},"typeMap":{"type":"array","default":"['bigint' => self::TYPE_BIGINT, 'numeric' => self::TYPE_DECIMAL, 'bit' => self::TYPE_SMALLINT, 'smallint' => self::TYPE_SMALLINT, 'decimal' => self::TYPE_DECIMAL, 'smallmoney' => self::TYPE_MONEY, 'int' => self::TYPE_INTEGER, 'tinyint' => self::TYPE_TINYINT, 'money' => self::TYPE_MONEY, 'float' => self::TYPE_FLOAT, 'double' => self::TYPE_DOUBLE, 'real' => self::TYPE_FLOAT, 'date' => self::TYPE_DATE, 'datetimeoffset' => self::TYPE_DATETIME, 'datetime2' => self::TYPE_DATETIME, 'smalldatetime' => self::TYPE_DATETIME, 'datetime' => self::TYPE_DATETIME, 'time' => self::TYPE_TIME, 'char' => self::TYPE_CHAR, 'varchar' => self::TYPE_STRING, 'text' => self::TYPE_TEXT, 'nchar' => self::TYPE_CHAR, 'nvarchar' => self::TYPE_STRING, 'ntext' => self::TYPE_TEXT, 'binary' => self::TYPE_BINARY, 'varbinary' => self::TYPE_BINARY, 'image' => self::TYPE_BINARY, 'timestamp' => self::TYPE_TIMESTAMP, 'hierarchyid' => self::TYPE_STRING, 'uniqueidentifier' => self::TYPE_STRING, 'sql_variant' => self::TYPE_STRING, 'xml' => self::TYPE_STRING, 'table' => self::TYPE_STRING]","description":"Mapping from physical column types (keys) to abstract column types (values)."}},"methods":{"createColumnSchemaBuilder":{"signature":"public function createColumnSchemaBuilder(mixed $type, mixed $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Create a column schema builder instance giving the type and value precision.","params":[{"name":"$type","type":"mixed","description":"Type of the column. See `yii\\db\\mssql\\ColumnSchemaBuilder::$type`."},{"name":"$length","type":"mixed","default":"null","optional":true,"description":"Length or precision of the column. See `yii\\db\\mssql\\ColumnSchemaBuilder::$length`."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"Column schema builder instance"},"since":"2.0.6"},"createQueryBuilder":{"signature":"public function createQueryBuilder(): yii\\db\\mssql\\QueryBuilder","summary":"Creates a query builder for the MSSQL database.","return":{"type":"yii\\db\\mssql\\QueryBuilder","description":"Query builder interface."}},"createSavepoint":{"signature":"public function createSavepoint(mixed $name): mixed","summary":"Creates a new savepoint.","params":[{"name":"$name","type":"mixed","description":"The savepoint name"}],"return":{"type":"mixed"}},"findColumns":{"signature":"protected function findColumns(yii\\db\\mssql\\TableSchema $table): bool","summary":"Collects the metadata of table columns.","params":[{"name":"$table","type":"yii\\db\\mssql\\TableSchema","description":"The table metadata."}],"return":{"type":"bool","description":"Whether the table exists in the database."},"visibility":"protected"},"findForeignKeys":{"signature":"protected function findForeignKeys(yii\\db\\mssql\\TableSchema $table): mixed","summary":"Collects the foreign key column details for the given table.","params":[{"name":"$table","type":"yii\\db\\mssql\\TableSchema","description":"The table metadata"}],"return":{"type":"mixed"},"visibility":"protected"},"findPrimaryKeys":{"signature":"protected function findPrimaryKeys(yii\\db\\mssql\\TableSchema $table): mixed","summary":"Collects the primary key column details for the given table.","params":[{"name":"$table","type":"yii\\db\\mssql\\TableSchema","description":"The table metadata"}],"return":{"type":"mixed"},"visibility":"protected"},"findSchemaNames":{"signature":"protected function findSchemaNames(): array","summary":"Returns all schema names in the database, including the default one but not system schemas.","return":{"type":"array","description":"All schema names in the database, except system schemas."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.4"},"findTableConstraints":{"signature":"protected function findTableConstraints(yii\\db\\mssql\\TableSchema $table, string $type): array","summary":"Collects the constraint details for the given table and constraint type.","params":[{"name":"$table","type":"yii\\db\\mssql\\TableSchema","description":"The table metadata."},{"name":"$type","type":"string","description":"Either `PK` or `UQ`."}],"return":{"type":"array","description":"Each entry contains index_name and field_name."},"visibility":"protected","since":"2.0.4"},"findTableNames":{"signature":"protected function findTableNames(mixed $schema = ''): array","summary":"Returns all table names in the database.","params":[{"name":"$schema","type":"mixed","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema."}],"return":{"type":"array","description":"All table names in the database. The names have NO schema name prefix."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected"},"findUniqueIndexes":{"signature":"public function findUniqueIndexes(yii\\db\\mssql\\TableSchema $table): array","summary":"Returns all unique indexes for the given table.","params":[{"name":"$table","type":"yii\\db\\mssql\\TableSchema","description":"The table metadata."}],"return":{"type":"array","description":"All unique indexes for the given table."},"since":"2.0.4"},"findViewNames":{"signature":"protected function findViewNames(mixed $schema = '')","params":[{"name":"$schema","type":"mixed","default":"''","optional":true}],"visibility":"protected"},"getSchemaMetadata":{"signature":"protected function getSchemaMetadata(mixed $schema, mixed $type, mixed $refresh): array","summary":"Returns the metadata of the given type for all tables in the given schema.","params":[{"name":"$schema","type":"mixed","description":"The schema of the metadata. Defaults to empty string, meaning the current or default schema name."},{"name":"$type","type":"mixed","description":"Metadata type."},{"name":"$refresh","type":"mixed","description":"Whether to fetch the latest available table metadata. If this is `false`, cached data may be returned if available."}],"return":{"type":"array","description":"Array of metadata."},"visibility":"protected","since":"2.0.13"},"getTableNameParts":{"signature":"protected function getTableNameParts(mixed $name): array","summary":"Splits full table name into parts.","params":[{"name":"$name","type":"mixed","description":"Full table name."}],"return":{"type":"array","description":"Table name parts."},"visibility":"protected","since":"2.0.22"},"insert":{"signature":"public function insert(mixed $table, mixed $columns): array|false","summary":"Executes the INSERT command, returning primary key values.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table."}],"return":{"type":"array|false","description":"Primary key values or false if the command fails"},"since":"2.0.4"},"loadColumnSchema":{"signature":"protected function loadColumnSchema(array $info): yii\\db\\mssql\\T","summary":"Loads the column information into a `yii\\db\\mssql\\ColumnSchema` object.","params":[{"name":"$info","type":"array","description":"Column information."}],"return":{"type":"yii\\db\\mssql\\T","description":"The column schema object."},"visibility":"protected"},"loadTableChecks":{"signature":"protected function loadTableChecks(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableDefaultValues":{"signature":"protected function loadTableDefaultValues(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableForeignKeys":{"signature":"protected function loadTableForeignKeys(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableIndexes":{"signature":"protected function loadTableIndexes(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTablePrimaryKey":{"signature":"protected function loadTablePrimaryKey(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableSchema":{"signature":"protected function loadTableSchema(mixed $name): yii\\db\\TableSchema|null","summary":"Loads the metadata for the specified table.","params":[{"name":"$name","type":"mixed","description":"Table name"}],"return":{"type":"yii\\db\\TableSchema|null","description":"DBMS-dependent table metadata, `null` if the table does not exist."},"visibility":"protected"},"loadTableUniques":{"signature":"protected function loadTableUniques(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"quoteColumnName":{"signature":"public function quoteColumnName(mixed $name): string","summary":"Quotes a column name for use in a query.","params":[{"name":"$name","type":"mixed","description":"Column name."}],"return":{"type":"string","description":"The properly quoted column name."}},"quoteSystemCatalogName":{"signature":"public function quoteSystemCatalogName(string|null $catalogName): string","summary":"Quotes the `[sys]` system catalog name, optionally qualified by the database catalog.","params":[{"name":"$catalogName","type":"string|null","description":"The database catalog name, or `null` to target the current database."}],"return":{"type":"string","description":"The `[sys]` schema name, prefixed with the quoted catalog when one is provided."},"since":"22.0"},"quoteTableName":{"signature":"public function quoteTableName(mixed $name): mixed","summary":"Qualifies single-part table names with `$defaultSchema` when it differs from `'dbo'`, ensuring unqualified DDL and DML statements target the configured schema rather than the SQL Server login default.","params":[{"name":"$name","type":"mixed"}],"return":{"type":"mixed"}},"releaseSavepoint":{"signature":"public function releaseSavepoint(mixed $name): mixed","summary":"Releases an existing savepoint.","params":[{"name":"$name","type":"mixed","description":"The savepoint name"}],"return":{"type":"mixed"}},"resolveRawCatalogSchemaName":{"signature":"public function resolveRawCatalogSchemaName(string $schema): array{string|null, string}","summary":"Resolves a schema argument into optional catalog and schema names without loading database metadata.","params":[{"name":"$schema","type":"string","description":"The schema argument."}],"return":{"type":"array{string|null, string}","description":"The catalog and schema names."},"since":"22.0"},"resolveTableName":{"signature":"protected function resolveTableName(string $name): yii\\db\\mssql\\TableSchema","summary":"Resolves the table name and schema name (if any).","params":[{"name":"$name","type":"string","description":"The table name"}],"return":{"type":"yii\\db\\mssql\\TableSchema","description":"Resolved table, schema, etc. names."},"visibility":"protected"},"rollBackSavepoint":{"signature":"public function rollBackSavepoint(mixed $name): mixed","summary":"Rolls back to a previously created savepoint.","params":[{"name":"$name","type":"mixed","description":"The savepoint name"}],"return":{"type":"mixed"}}},"inherited":{"properties":{"db":"yii\\db\\Schema","exceptionMap":"yii\\db\\Schema","lastInsertID":"yii\\db\\Schema","queryBuilder":"yii\\db\\Schema","schemaChecks":"yii\\db\\ConstraintFinderTrait","schemaDefaultValues":"yii\\db\\ConstraintFinderTrait","schemaForeignKeys":"yii\\db\\ConstraintFinderTrait","schemaIndexes":"yii\\db\\ConstraintFinderTrait","schemaNames":"yii\\db\\Schema","schemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","schemaUniques":"yii\\db\\ConstraintFinderTrait","serverVersion":"yii\\db\\Schema","tableNames":"yii\\db\\Schema","tableSchemas":"yii\\db\\Schema","transactionIsolationLevel":"yii\\db\\Schema","viewNames":"yii\\db\\ViewFinderTrait"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","convertException":"yii\\db\\Schema","createColumnSchema":"yii\\db\\Schema","getCacheKey":"yii\\db\\Schema","getCacheTag":"yii\\db\\Schema","getColumnPhpType":"yii\\db\\Schema","getLastInsertID":"yii\\db\\Schema","getPdoType":"yii\\db\\Schema","getQueryBuilder":"yii\\db\\Schema","getRawTableName":"yii\\db\\Schema","getSchemaChecks":"yii\\db\\ConstraintFinderTrait","getSchemaDefaultValues":"yii\\db\\ConstraintFinderTrait","getSchemaForeignKeys":"yii\\db\\ConstraintFinderTrait","getSchemaIndexes":"yii\\db\\ConstraintFinderTrait","getSchemaNames":"yii\\db\\Schema","getSchemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","getSchemaUniques":"yii\\db\\ConstraintFinderTrait","getServerVersion":"yii\\db\\Schema","getTableChecks":"yii\\db\\ConstraintFinderTrait","getTableDefaultValues":"yii\\db\\ConstraintFinderTrait","getTableForeignKeys":"yii\\db\\ConstraintFinderTrait","getTableIndexes":"yii\\db\\ConstraintFinderTrait","getTableMetadata":"yii\\db\\Schema","getTableNames":"yii\\db\\Schema","getTablePrimaryKey":"yii\\db\\ConstraintFinderTrait","getTableSchema":"yii\\db\\Schema","getTableSchemas":"yii\\db\\Schema","getTableUniques":"yii\\db\\ConstraintFinderTrait","getViewNames":"yii\\db\\ViewFinderTrait","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isReadQuery":"yii\\db\\Schema","normalizePdoRowKeyCase":"yii\\db\\Schema","quoteSimpleColumnName":"yii\\db\\Schema","quoteSimpleTableName":"yii\\db\\Schema","quoteValue":"yii\\db\\Schema","refresh":"yii\\db\\Schema","refreshTableSchema":"yii\\db\\Schema","resolveRawTableName":"yii\\db\\Schema","setTableMetadata":"yii\\db\\Schema","setTransactionIsolationLevel":"yii\\db\\Schema","supportsSavepoint":"yii\\db\\Schema","unquoteSimpleColumnName":"yii\\db\\Schema","unquoteSimpleTableName":"yii\\db\\Schema"},"constants":{"TYPE_PK":"yii\\db\\Schema","TYPE_UPK":"yii\\db\\Schema","TYPE_BIGPK":"yii\\db\\Schema","TYPE_UBIGPK":"yii\\db\\Schema","TYPE_CHAR":"yii\\db\\Schema","TYPE_STRING":"yii\\db\\Schema","TYPE_TEXT":"yii\\db\\Schema","TYPE_TINYINT":"yii\\db\\Schema","TYPE_SMALLINT":"yii\\db\\Schema","TYPE_INTEGER":"yii\\db\\Schema","TYPE_BIGINT":"yii\\db\\Schema","TYPE_FLOAT":"yii\\db\\Schema","TYPE_DOUBLE":"yii\\db\\Schema","TYPE_DECIMAL":"yii\\db\\Schema","TYPE_DATETIME":"yii\\db\\Schema","TYPE_TIMESTAMP":"yii\\db\\Schema","TYPE_TIME":"yii\\db\\Schema","TYPE_DATE":"yii\\db\\Schema","TYPE_BINARY":"yii\\db\\Schema","TYPE_BOOLEAN":"yii\\db\\Schema","TYPE_MONEY":"yii\\db\\Schema","TYPE_JSON":"yii\\db\\Schema","SCHEMA_CACHE_VERSION":"yii\\db\\Schema"}}},"yii\\db\\mssql\\SqlsrvPDO":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/sqlsrvpdo/","summary":"This is an extension of the default PDO class of SQLSRV driver.","since":"2.0","extends":"PDO","methods":{"lastInsertId":{"signature":"public function lastInsertId(string|null $sequence = null): string|false","summary":"Returns value of the last inserted ID.","params":[{"name":"$sequence","type":"string|null","default":"null","optional":true,"description":"The sequence name. Defaults to `null`."}],"return":{"type":"string|false","description":"Last inserted ID value."}}},"constants":{"SQLSRV_ATTR_ENCODING":{"value":"1000","description":"A constant for the pdo_sqlsrv encoding attribute. Pass as a key in `yii\\db\\Connection::$attributes`."},"SQLSRV_ENCODING_SYSTEM":{"value":"3","description":"A constant for ANSI (system code page) string encoding. Use with `SQLSRV_ATTR_ENCODING` to avoid the implicit `nvarchar`-to-`varchar` conversion that degrades performance on `char`/`varchar` indexed columns."},"SQLSRV_ENCODING_UTF8":{"value":"65001","description":"A constant for UTF-8 string encoding. This is the pdo_sqlsrv default for `PDO::PARAM_STR` parameters."}}},"yii\\db\\mssql\\TableSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/tableschema/","summary":"TableSchema represents the metadata of a database table.","since":"2.0","extends":"yii\\db\\TableSchema","implements":["yii\\base\\Configurable"],"properties":{"catalogName":{"type":"string|null","default":"null","description":"Name of the catalog (database) that this table belongs to."}},"inherited":{"properties":{"columnNames":"yii\\db\\TableSchema","columns":"yii\\db\\TableSchema","foreignKeys":"yii\\db\\TableSchema","fullName":"yii\\db\\TableSchema","name":"yii\\db\\TableSchema","primaryKey":"yii\\db\\TableSchema","schemaName":"yii\\db\\TableSchema","sequenceName":"yii\\db\\TableSchema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","fixPrimaryKey":"yii\\db\\TableSchema","getColumn":"yii\\db\\TableSchema","getColumnNames":"yii\\db\\TableSchema","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\db\\mssql\\conditions\\InConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/conditions/inconditionbuilder/","summary":"Builds objects of `yii\\db\\conditions\\InCondition`.","since":"2.0.14","extends":"yii\\db\\conditions\\InConditionBuilder","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"buildSubqueryInCondition":{"signature":"protected function buildSubqueryInCondition(string $operator, array|string|yii\\db\\ExpressionInterface $columns, yii\\db\\Query $values, array &$params): string","summary":"Builds SQL for IN condition.","params":[{"name":"$operator","type":"string","description":"Operator in uppercase."},{"name":"$columns","type":"array|string|yii\\db\\ExpressionInterface","description":"The columns to be matched."},{"name":"$values","type":"yii\\db\\Query","description":"Subquery values."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"SQL for IN condition."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if `$columns` is an array"}],"visibility":"protected"},"getNotEqualOperator":{"signature":"protected function getNotEqualOperator(): string","summary":"Returns inequality operator for decomposed `NOT IN` conditions.","return":{"type":"string","description":"Inequality operator."},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait","build":"yii\\db\\conditions\\InConditionBuilder","buildCompositeInCondition":"yii\\db\\conditions\\InConditionBuilder","buildValues":"yii\\db\\conditions\\InConditionBuilder","getNullCondition":"yii\\db\\conditions\\InConditionBuilder"}}},"yii\\db\\mssql\\conditions\\LikeConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mssql/conditions/likeconditionbuilder/","summary":"Class LikeConditionBuilder builds objects of `yii\\db\\conditions\\LikeCondition`","extends":"yii\\db\\conditions\\LikeConditionBuilder","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"properties":{"escapingReplacements":{"type":"array","default":"['%' => '[%]', '_' => '[_]', '[' => '[[]', ']' => '[]]', '\\\\' => '[\\]']","visibility":"protected"}},"inherited":{"properties":{"escapeCharacter":"yii\\db\\conditions\\LikeConditionBuilder","queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait","build":"yii\\db\\conditions\\LikeConditionBuilder","parseOperator":"yii\\db\\conditions\\LikeConditionBuilder"}}},"yii\\db\\mysql\\ColumnSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mysql/columnschema/","summary":"Represents the metadata of a column in a MySQL database table.","since":"2.0.14.1","extends":"yii\\db\\ColumnSchema","implements":["yii\\base\\Configurable"],"properties":{"isDefaultExpression":{"type":"bool","default":"false","description":"Whether MySQL reports the column default as an expression (`DEFAULT_GENERATED`).","since":"22.0"}},"methods":{"dbTypecast":{"signature":"public function dbTypecast(mixed $value): mixed","summary":"Converts the input value according to `$type` and `$dbType` for use in a db query.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value. This may also be an array containing the value as the first element and the PDO type as the second element."}},"defaultPhpTypecast":{"signature":"public function defaultPhpTypecast(mixed $value): mixed","summary":"Converts a MySQL column default value to its PHP representation.","params":[{"name":"$value","type":"mixed","description":"Default value in the format reported by `SHOW FULL COLUMNS`."}],"return":{"type":"mixed","description":"Converted value."},"since":"22.0"},"phpTypecast":{"signature":"public function phpTypecast(mixed $value): mixed","summary":"Converts the input value according to `$phpType` after retrieval from the database.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value"}}},"inherited":{"properties":{"allowNull":"yii\\db\\ColumnSchema","autoIncrement":"yii\\db\\ColumnSchema","comment":"yii\\db\\ColumnSchema","dbType":"yii\\db\\ColumnSchema","defaultValue":"yii\\db\\ColumnSchema","enumValues":"yii\\db\\ColumnSchema","isPrimaryKey":"yii\\db\\ColumnSchema","name":"yii\\db\\ColumnSchema","phpType":"yii\\db\\ColumnSchema","precision":"yii\\db\\ColumnSchema","scale":"yii\\db\\ColumnSchema","size":"yii\\db\\ColumnSchema","type":"yii\\db\\ColumnSchema","unsigned":"yii\\db\\ColumnSchema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isType":"yii\\db\\ColumnSchema","typecast":"yii\\db\\ColumnSchema"}}},"yii\\db\\mysql\\ColumnSchemaBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mysql/columnschemabuilder/","summary":"ColumnSchemaBuilder is the schema builder for MySQL databases.","since":"2.0.8","extends":"yii\\db\\ColumnSchemaBuilder","implements":["Stringable","yii\\base\\Configurable"],"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Builds the full string for the column's schema.","return":{"type":"string"}},"buildAfterString":{"signature":"protected function buildAfterString(): string","summary":"Builds the after constraint for the column. Defaults to unsupported.","return":{"type":"string","description":"A string containing the AFTER constraint."},"visibility":"protected","since":"2.0.8"},"buildCommentString":{"signature":"protected function buildCommentString(): string","summary":"Builds the comment specification for the column.","return":{"type":"string","description":"A string containing the COMMENT keyword and the comment itself"},"visibility":"protected","since":"2.0.8"},"buildFirstString":{"signature":"protected function buildFirstString(): string","summary":"Builds the first constraint for the column. Defaults to unsupported.","return":{"type":"string","description":"A string containing the FIRST constraint."},"visibility":"protected","since":"2.0.8"},"buildUnsignedString":{"signature":"protected function buildUnsignedString(): string","summary":"Builds the unsigned string for column. Defaults to unsupported.","return":{"type":"string","description":"A string containing UNSIGNED keyword."},"visibility":"protected","since":"2.0.7"}},"inherited":{"properties":{"after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","categoryMap":"yii\\db\\ColumnSchemaBuilder","check":"yii\\db\\ColumnSchemaBuilder","comment":"yii\\db\\ColumnSchemaBuilder","db":"yii\\db\\ColumnSchemaBuilder","default":"yii\\db\\ColumnSchemaBuilder","isFirst":"yii\\db\\ColumnSchemaBuilder","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","isUnsigned":"yii\\db\\ColumnSchemaBuilder","length":"yii\\db\\ColumnSchemaBuilder","type":"yii\\db\\ColumnSchemaBuilder","typeCategoryMap":"yii\\db\\ColumnSchemaBuilder","typeDefinition":"yii\\db\\ColumnSchemaBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\ColumnSchemaBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","buildAppendString":"yii\\db\\ColumnSchemaBuilder","buildCheckString":"yii\\db\\ColumnSchemaBuilder","buildCompleteString":"yii\\db\\ColumnSchemaBuilder","buildDefaultString":"yii\\db\\ColumnSchemaBuilder","buildDefaultValue":"yii\\db\\ColumnSchemaBuilder","buildLengthString":"yii\\db\\ColumnSchemaBuilder","buildNotNullString":"yii\\db\\ColumnSchemaBuilder","buildUniqueString":"yii\\db\\ColumnSchemaBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","check":"yii\\db\\ColumnSchemaBuilder","className":"yii\\base\\BaseObject","comment":"yii\\db\\ColumnSchemaBuilder","defaultExpression":"yii\\db\\ColumnSchemaBuilder","defaultValue":"yii\\db\\ColumnSchemaBuilder","first":"yii\\db\\ColumnSchemaBuilder","getAppend":"yii\\db\\ColumnSchemaBuilder","getCategoryMap":"yii\\db\\ColumnSchemaBuilder","getCheck":"yii\\db\\ColumnSchemaBuilder","getDefault":"yii\\db\\ColumnSchemaBuilder","getTypeCategory":"yii\\db\\ColumnSchemaBuilder","getTypeDefinition":"yii\\db\\ColumnSchemaBuilder","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","notNull":"yii\\db\\ColumnSchemaBuilder","null":"yii\\db\\ColumnSchemaBuilder","setCategoryMap":"yii\\db\\ColumnSchemaBuilder","unique":"yii\\db\\ColumnSchemaBuilder","unsigned":"yii\\db\\ColumnSchemaBuilder"},"constants":{"CATEGORY_PK":"yii\\db\\ColumnSchemaBuilder","CATEGORY_STRING":"yii\\db\\ColumnSchemaBuilder","CATEGORY_NUMERIC":"yii\\db\\ColumnSchemaBuilder","CATEGORY_TIME":"yii\\db\\ColumnSchemaBuilder","CATEGORY_OTHER":"yii\\db\\ColumnSchemaBuilder"}}},"yii\\db\\mysql\\JsonExpressionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mysql/jsonexpressionbuilder/","summary":"Class JsonExpressionBuilder builds `yii\\db\\JsonExpression` for MySQL DBMS.","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\JsonExpression|yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\JsonExpression|yii\\db\\ExpressionInterface","description":"The expression to be built"},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"constants":{"PARAM_PREFIX":{"value":"':qp'"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\mysql\\QueryBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mysql/querybuilder/","summary":"QueryBuilder is the query builder for MySQL databases (MySQL 8.0+ and MariaDB 10.6+).","since":"2.0","extends":"yii\\db\\QueryBuilder","implements":["yii\\base\\Configurable"],"properties":{"typeMap":{"type":"array","default":"[\\yii\\db\\mysql\\Schema::TYPE_PK => 'int NOT NULL AUTO_INCREMENT PRIMARY KEY', \\yii\\db\\mysql\\Schema::TYPE_UPK => 'int UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY', \\yii\\db\\mysql\\Schema::TYPE_BIGPK => 'bigint NOT NULL AUTO_INCREMENT PRIMARY KEY', \\yii\\db\\mysql\\Schema::TYPE_UBIGPK => 'bigint UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY', \\yii\\db\\mysql\\Schema::TYPE_CHAR => 'char(1)', \\yii\\db\\mysql\\Schema::TYPE_STRING => 'varchar(255)', \\yii\\db\\mysql\\Schema::TYPE_TEXT => 'text', \\yii\\db\\mysql\\Schema::TYPE_TINYINT => 'tinyint', \\yii\\db\\mysql\\Schema::TYPE_SMALLINT => 'smallint', \\yii\\db\\mysql\\Schema::TYPE_INTEGER => 'int', \\yii\\db\\mysql\\Schema::TYPE_BIGINT => 'bigint', \\yii\\db\\mysql\\Schema::TYPE_FLOAT => 'float', \\yii\\db\\mysql\\Schema::TYPE_DOUBLE => 'double', \\yii\\db\\mysql\\Schema::TYPE_DECIMAL => 'decimal(10,0)', \\yii\\db\\mysql\\Schema::TYPE_DATE => 'date', \\yii\\db\\mysql\\Schema::TYPE_BINARY => 'blob', \\yii\\db\\mysql\\Schema::TYPE_BOOLEAN => 'tinyint(1)', \\yii\\db\\mysql\\Schema::TYPE_MONEY => 'decimal(19,4)', \\yii\\db\\mysql\\Schema::TYPE_JSON => 'json']","description":"Mapping from abstract column types (keys) to physical column types (values)."}},"methods":{"addCommentOnColumn":{"signature":"public function addCommentOnColumn(mixed $table, mixed $column, mixed $comment): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be commented. The column name will be properly quoted by the method."},{"name":"$comment","type":"mixed","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"addCommentOnTable":{"signature":"public function addCommentOnTable(mixed $table, mixed $comment): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$comment","type":"mixed","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on table"},"since":"2.0.8"},"buildLimit":{"signature":"public function buildLimit(mixed $limit, mixed $offset): string","params":[{"name":"$limit","type":"mixed"},{"name":"$offset","type":"mixed"}],"return":{"type":"string","description":"The LIMIT and OFFSET clauses"}},"buildOffsetFetch":{"signature":"protected function buildOffsetFetch(int|yii\\db\\Expression $limit, int|yii\\db\\Expression $offset): string","summary":"Builds the OFFSET/FETCH clauses for MariaDB 10.6 or newer.","params":[{"name":"$limit","type":"int|yii\\db\\Expression","description":"The limit number. See `yii\\db\\Query::limit()` for more details."},{"name":"$offset","type":"int|yii\\db\\Expression","description":"The offset number. See `yii\\db\\Query::offset()` for more details."}],"return":{"type":"string","description":"SQL statement for OFFSET/FETCH clauses."},"visibility":"protected"},"checkIntegrity":{"signature":"public function checkIntegrity(bool $check = true, string $schema = '', string $table = ''): string","summary":"Builds a SQL statement for enabling or disabling integrity check.","params":[{"name":"$check","type":"bool","default":"true","optional":true,"description":"Whether to turn on or off the integrity check."},{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Meaningless for MySQL."},{"name":"$table","type":"string","default":"''","optional":true,"description":"The table name. Meaningless for MySQL."}],"return":{"type":"string","description":"The SQL statement for checking integrity"}},"createIndex":{"signature":"public function createIndex(string $name, string $table, array|string $columns, bool $unique = false): string","summary":"Builds a SQL statement for creating a new index.","params":[{"name":"$name","type":"string","description":"The name of the index. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the new index will be created for. The name will be properly quoted by the method."},{"name":"$columns","type":"array|string","description":"The column(s) that should be included in the index. If there are multiple columns, separate them with commas or use an array to represent them. Each column name will be properly quoted by the method, unless a parenthesis is found in the name."},{"name":"$unique","type":"bool","default":"false","optional":true,"description":"Whether to add a `UNIQUE` constraint on the created index."}],"return":{"type":"string","description":"The SQL statement for creating a new index."}},"defaultExpressionBuilders":{"signature":"protected function defaultExpressionBuilders(): array","summary":"Contains array of default expression builders. Extend this method and override it, if you want to change default expression builders for this query builder. See `$expressionBuilders` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"dropCommentFromColumn":{"signature":"public function dropCommentFromColumn(mixed $table, mixed $column): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be commented. The column name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropCommentFromTable":{"signature":"public function dropCommentFromTable(mixed $table): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropForeignKey":{"signature":"public function dropForeignKey(string $name, string $table): string","summary":"Builds a SQL statement for dropping a foreign key constraint.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose foreign key is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a foreign key constraint."}},"dropPrimaryKey":{"signature":"public function dropPrimaryKey(string $name, string $table): string","summary":"Builds a SQL statement for removing a primary key constraint from an existing table.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint to be removed. Ignored by MySQL."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be removed from. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for removing a primary key constraint from an existing table."}},"dropUnique":{"signature":"public function dropUnique(mixed $name, mixed $table): string","summary":"Creates a SQL command for dropping an unique constraint.","params":[{"name":"$name","type":"mixed","description":"The name of the unique constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table whose unique constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping an unique constraint."},"since":"2.0.13"},"hasLimit":{"signature":"protected function hasLimit(mixed $limit): bool","summary":"Checks to see if the given limit is effective.","params":[{"name":"$limit","type":"mixed","description":"The given limit"}],"return":{"type":"bool","description":"Whether the limit is effective"},"visibility":"protected"},"hasOffset":{"signature":"protected function hasOffset(mixed $offset): bool","summary":"Checks to see if the given offset is effective.","params":[{"name":"$offset","type":"mixed","description":"The given offset"}],"return":{"type":"bool","description":"Whether the offset is effective"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"isMariaDb":{"signature":"public function isMariaDb(): bool","summary":"Returns whether the connected server is MariaDB.","return":{"type":"bool","description":"Whether the connected server is MariaDB."}},"prepareInsertValues":{"signature":"protected function prepareInsertValues(mixed $table, mixed $columns, mixed $params = []): array","summary":"Prepares a `VALUES` part for an `INSERT` SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement."},{"name":"$params","type":"mixed","default":"[]","optional":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"array","description":"Array of column names, placeholders, values and params."},"visibility":"protected","since":"2.0.14"},"resetSequence":{"signature":"public function resetSequence(string $tableName, int|null $value = null): string","summary":"Creates a SQL statement for resetting the sequence value of a table's primary key.","params":[{"name":"$tableName","type":"string","description":"The name of the table whose primary key sequence will be reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have the maximum existing value `+1`."}],"return":{"type":"string","description":"The SQL statement for resetting sequence."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the table does not exist or there is no sequence associated with the table."}]},"selectExists":{"signature":"public function selectExists(mixed $rawSql): string","summary":"Creates a SELECT EXISTS() SQL statement.","params":[{"name":"$rawSql","type":"mixed","description":"The subquery in a raw form to select from."}],"return":{"type":"string","description":"The SELECT EXISTS() SQL statement."},"since":"2.0.8"},"upsert":{"signature":"public function upsert(mixed $table, mixed $insertColumns, mixed $updateColumns, mixed &$params): string","summary":"Creates an SQL statement to insert rows into a database table if they do not already exist (matching unique constraints), or update them if they do.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into/updated in."},{"name":"$insertColumns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of `yii\\db\\Query` to perform `INSERT INTO ... SELECT` SQL statement."},{"name":"$updateColumns","type":"mixed","description":"The column data (name => value) to be updated if they already exist. If `true` is passed, the column data will be updated to match the insert column data. If `false` is passed, no update will be performed if the column data already exists."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The resulting SQL."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.14"}},"inherited":{"properties":{"conditionClasses":"yii\\db\\QueryBuilder","db":"yii\\db\\QueryBuilder","expressionBuilders":"yii\\db\\QueryBuilder","separator":"yii\\db\\QueryBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\QueryBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","addCheck":"yii\\db\\QueryBuilder","addColumn":"yii\\db\\QueryBuilder","addDefaultValue":"yii\\db\\QueryBuilder","addForeignKey":"yii\\db\\QueryBuilder","addPrimaryKey":"yii\\db\\QueryBuilder","addUnique":"yii\\db\\QueryBuilder","alterColumn":"yii\\db\\QueryBuilder","batchInsert":"yii\\db\\QueryBuilder","bindParam":"yii\\db\\QueryBuilder","build":"yii\\db\\QueryBuilder","buildColumns":"yii\\db\\QueryBuilder","buildCondition":"yii\\db\\QueryBuilder","buildExpression":"yii\\db\\QueryBuilder","buildFrom":"yii\\db\\QueryBuilder","buildGroupBy":"yii\\db\\QueryBuilder","buildHaving":"yii\\db\\QueryBuilder","buildJoin":"yii\\db\\QueryBuilder","buildOrderBy":"yii\\db\\QueryBuilder","buildOrderByAndLimit":"yii\\db\\QueryBuilder","buildSelect":"yii\\db\\QueryBuilder","buildUnion":"yii\\db\\QueryBuilder","buildUnionOrderByAndLimit":"yii\\db\\QueryBuilder","buildWhere":"yii\\db\\QueryBuilder","buildWithQueries":"yii\\db\\QueryBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","concatUnionSql":"yii\\db\\QueryBuilder","createConditionFromArray":"yii\\db\\QueryBuilder","createTable":"yii\\db\\QueryBuilder","createView":"yii\\db\\QueryBuilder","defaultConditionClasses":"yii\\db\\QueryBuilder","delete":"yii\\db\\QueryBuilder","dropCheck":"yii\\db\\QueryBuilder","dropColumn":"yii\\db\\QueryBuilder","dropDefaultValue":"yii\\db\\QueryBuilder","dropIndex":"yii\\db\\QueryBuilder","dropTable":"yii\\db\\QueryBuilder","dropView":"yii\\db\\QueryBuilder","executeResetSequence":"yii\\db\\QueryBuilder","extractAlias":"yii\\db\\QueryBuilder","getColumnType":"yii\\db\\QueryBuilder","getExpressionBuilder":"yii\\db\\QueryBuilder","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","insert":"yii\\db\\QueryBuilder","prepareInsertSelectSubQuery":"yii\\db\\QueryBuilder","prepareSelectQuery":"yii\\db\\QueryBuilder","prepareUpdateSets":"yii\\db\\QueryBuilder","prepareUpsertColumns":"yii\\db\\QueryBuilder","prepareUpsertSets":"yii\\db\\QueryBuilder","renameColumn":"yii\\db\\QueryBuilder","renameTable":"yii\\db\\QueryBuilder","setConditionClasses":"yii\\db\\QueryBuilder","setExpressionBuilders":"yii\\db\\QueryBuilder","truncateTable":"yii\\db\\QueryBuilder","update":"yii\\db\\QueryBuilder"},"constants":{"PARAM_PREFIX":"yii\\db\\QueryBuilder"}}},"yii\\db\\mysql\\Schema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/mysql/schema/","summary":"Schema is the class for retrieving metadata from a MySQL database (version 8.0 and later).","since":"2.0","extends":"yii\\db\\Schema","implements":["yii\\db\\ConstraintFinderInterface","yii\\base\\Configurable"],"traits":["yii\\db\\ConstraintFinderTrait"],"properties":{"columnQuoteCharacter":{"type":"string|string[]","default":"'`'","visibility":"protected","since":"2.0.14"},"columnSchemaClass":{"type":"class-string<yii\\db\\T>|array{class?: class-string<yii\\db\\T>, __class?: class-string<yii\\db\\T>}","default":"'yii\\db\\mysql\\ColumnSchema'","since":"2.0.11"},"tableQuoteCharacter":{"type":"string|string[]","default":"'`'","visibility":"protected","since":"2.0.14"},"typeMap":{"type":"array","default":"['tinyint' => self::TYPE_TINYINT, 'bool' => self::TYPE_TINYINT, 'boolean' => self::TYPE_TINYINT, 'bit' => self::TYPE_INTEGER, 'smallint' => self::TYPE_SMALLINT, 'mediumint' => self::TYPE_INTEGER, 'int' => self::TYPE_INTEGER, 'integer' => self::TYPE_INTEGER, 'bigint' => self::TYPE_BIGINT, 'float' => self::TYPE_FLOAT, 'double' => self::TYPE_DOUBLE, 'double precision' => self::TYPE_DOUBLE, 'real' => self::TYPE_FLOAT, 'decimal' => self::TYPE_DECIMAL, 'numeric' => self::TYPE_DECIMAL, 'dec' => self::TYPE_DECIMAL, 'fixed' => self::TYPE_DECIMAL, 'tinytext' => self::TYPE_TEXT, 'mediumtext' => self::TYPE_TEXT, 'longtext' => self::TYPE_TEXT, 'longblob' => self::TYPE_BINARY, 'blob' => self::TYPE_BINARY, 'text' => self::TYPE_TEXT, 'varchar' => self::TYPE_STRING, 'string' => self::TYPE_STRING, 'char' => self::TYPE_CHAR, 'datetime' => self::TYPE_DATETIME, 'year' => self::TYPE_DATE, 'date' => self::TYPE_DATE, 'time' => self::TYPE_TIME, 'timestamp' => self::TYPE_TIMESTAMP, 'enum' => self::TYPE_STRING, 'set' => self::TYPE_STRING, 'binary' => self::TYPE_BINARY, 'varbinary' => self::TYPE_BINARY, 'json' => self::TYPE_JSON]","description":"Mapping from physical column types (keys) to abstract column types (values)"}},"methods":{"createColumnSchemaBuilder":{"signature":"public function createColumnSchemaBuilder(mixed $type, mixed $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Create a column schema builder instance giving the type and value precision.","params":[{"name":"$type","type":"mixed","description":"Type of the column. See `yii\\db\\mysql\\ColumnSchemaBuilder::$type`."},{"name":"$length","type":"mixed","default":"null","optional":true,"description":"Length or precision of the column. See `yii\\db\\mysql\\ColumnSchemaBuilder::$length`."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"Column schema builder instance"},"since":"2.0.6"},"createQueryBuilder":{"signature":"public function createQueryBuilder(): yii\\db\\mysql\\QueryBuilder","summary":"Creates a query builder for the MySQL database.","return":{"type":"yii\\db\\mysql\\QueryBuilder","description":"Query builder instance"}},"findColumns":{"signature":"protected function findColumns(yii\\db\\TableSchema $table): bool","summary":"Collects the metadata of table columns.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"bool","description":"Whether the table exists in the database"},"throws":[{"type":"Exception","description":"if DB query fails"}],"visibility":"protected"},"findConstraints":{"signature":"protected function findConstraints(yii\\db\\TableSchema $table): mixed","summary":"Collects the foreign key column details for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"mixed"},"throws":[{"type":"Exception"}],"visibility":"protected"},"findTableNames":{"signature":"protected function findTableNames(mixed $schema = ''): array","summary":"Returns all table names in the database.","params":[{"name":"$schema","type":"mixed","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema."}],"return":{"type":"array","description":"All table names in the database. The names have NO schema name prefix."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected"},"findUniqueIndexes":{"signature":"public function findUniqueIndexes(yii\\db\\TableSchema $table): array","summary":"Returns all unique indexes for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"array","description":"All unique indexes for the given table."}},"getCreateTableSql":{"signature":"protected function getCreateTableSql(yii\\db\\TableSchema $table): string","summary":"Gets the CREATE TABLE sql string.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"string","description":"$sql the result of 'SHOW CREATE TABLE'"},"visibility":"protected"},"loadColumnSchema":{"signature":"protected function loadColumnSchema(array $info): yii\\db\\mysql\\T","summary":"Loads the column information into a `yii\\db\\mysql\\ColumnSchema` object.","params":[{"name":"$info","type":"array","description":"Column information"}],"return":{"type":"yii\\db\\mysql\\T","description":"The column schema object"},"visibility":"protected"},"loadTableChecks":{"signature":"protected function loadTableChecks(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableDefaultValues":{"signature":"protected function loadTableDefaultValues(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is called."}],"visibility":"protected"},"loadTableForeignKeys":{"signature":"protected function loadTableForeignKeys(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableIndexes":{"signature":"protected function loadTableIndexes(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTablePrimaryKey":{"signature":"protected function loadTablePrimaryKey(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableSchema":{"signature":"protected function loadTableSchema(mixed $name): yii\\db\\TableSchema|null","summary":"Loads the metadata for the specified table.","params":[{"name":"$name","type":"mixed","description":"Table name"}],"return":{"type":"yii\\db\\TableSchema|null","description":"DBMS-dependent table metadata, `null` if the table does not exist."},"visibility":"protected"},"loadTableUniques":{"signature":"protected function loadTableUniques(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"resolveTableName":{"signature":"protected function resolveTableName(mixed $name): yii\\db\\TableSchema","summary":"Resolves the table name and schema name (if any).","params":[{"name":"$name","type":"mixed","description":"The table name"}],"return":{"type":"yii\\db\\TableSchema","description":"`yii\\db\\TableSchema` with resolved table, schema, etc. names."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.13"}},"inherited":{"properties":{"db":"yii\\db\\Schema","defaultSchema":"yii\\db\\Schema","exceptionMap":"yii\\db\\Schema","lastInsertID":"yii\\db\\Schema","queryBuilder":"yii\\db\\Schema","schemaChecks":"yii\\db\\ConstraintFinderTrait","schemaDefaultValues":"yii\\db\\ConstraintFinderTrait","schemaForeignKeys":"yii\\db\\ConstraintFinderTrait","schemaIndexes":"yii\\db\\ConstraintFinderTrait","schemaNames":"yii\\db\\Schema","schemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","schemaUniques":"yii\\db\\ConstraintFinderTrait","serverVersion":"yii\\db\\Schema","systemSchemaNames":"yii\\db\\Schema","tableNames":"yii\\db\\Schema","tableSchemas":"yii\\db\\Schema","transactionIsolationLevel":"yii\\db\\Schema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","convertException":"yii\\db\\Schema","createColumnSchema":"yii\\db\\Schema","createSavepoint":"yii\\db\\Schema","findSchemaNames":"yii\\db\\Schema","getCacheKey":"yii\\db\\Schema","getCacheTag":"yii\\db\\Schema","getColumnPhpType":"yii\\db\\Schema","getLastInsertID":"yii\\db\\Schema","getPdoType":"yii\\db\\Schema","getQueryBuilder":"yii\\db\\Schema","getRawTableName":"yii\\db\\Schema","getSchemaChecks":"yii\\db\\ConstraintFinderTrait","getSchemaDefaultValues":"yii\\db\\ConstraintFinderTrait","getSchemaForeignKeys":"yii\\db\\ConstraintFinderTrait","getSchemaIndexes":"yii\\db\\ConstraintFinderTrait","getSchemaMetadata":"yii\\db\\Schema","getSchemaNames":"yii\\db\\Schema","getSchemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","getSchemaUniques":"yii\\db\\ConstraintFinderTrait","getServerVersion":"yii\\db\\Schema","getTableChecks":"yii\\db\\ConstraintFinderTrait","getTableDefaultValues":"yii\\db\\ConstraintFinderTrait","getTableForeignKeys":"yii\\db\\ConstraintFinderTrait","getTableIndexes":"yii\\db\\ConstraintFinderTrait","getTableMetadata":"yii\\db\\Schema","getTableNameParts":"yii\\db\\Schema","getTableNames":"yii\\db\\Schema","getTablePrimaryKey":"yii\\db\\ConstraintFinderTrait","getTableSchema":"yii\\db\\Schema","getTableSchemas":"yii\\db\\Schema","getTableUniques":"yii\\db\\ConstraintFinderTrait","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","insert":"yii\\db\\Schema","isReadQuery":"yii\\db\\Schema","normalizePdoRowKeyCase":"yii\\db\\Schema","quoteColumnName":"yii\\db\\Schema","quoteSimpleColumnName":"yii\\db\\Schema","quoteSimpleTableName":"yii\\db\\Schema","quoteTableName":"yii\\db\\Schema","quoteValue":"yii\\db\\Schema","refresh":"yii\\db\\Schema","refreshTableSchema":"yii\\db\\Schema","releaseSavepoint":"yii\\db\\Schema","resolveRawTableName":"yii\\db\\Schema","rollBackSavepoint":"yii\\db\\Schema","setTableMetadata":"yii\\db\\Schema","setTransactionIsolationLevel":"yii\\db\\Schema","supportsSavepoint":"yii\\db\\Schema","unquoteSimpleColumnName":"yii\\db\\Schema","unquoteSimpleTableName":"yii\\db\\Schema"},"constants":{"TYPE_PK":"yii\\db\\Schema","TYPE_UPK":"yii\\db\\Schema","TYPE_BIGPK":"yii\\db\\Schema","TYPE_UBIGPK":"yii\\db\\Schema","TYPE_CHAR":"yii\\db\\Schema","TYPE_STRING":"yii\\db\\Schema","TYPE_TEXT":"yii\\db\\Schema","TYPE_TINYINT":"yii\\db\\Schema","TYPE_SMALLINT":"yii\\db\\Schema","TYPE_INTEGER":"yii\\db\\Schema","TYPE_BIGINT":"yii\\db\\Schema","TYPE_FLOAT":"yii\\db\\Schema","TYPE_DOUBLE":"yii\\db\\Schema","TYPE_DECIMAL":"yii\\db\\Schema","TYPE_DATETIME":"yii\\db\\Schema","TYPE_TIMESTAMP":"yii\\db\\Schema","TYPE_TIME":"yii\\db\\Schema","TYPE_DATE":"yii\\db\\Schema","TYPE_BINARY":"yii\\db\\Schema","TYPE_BOOLEAN":"yii\\db\\Schema","TYPE_MONEY":"yii\\db\\Schema","TYPE_JSON":"yii\\db\\Schema","SCHEMA_CACHE_VERSION":"yii\\db\\Schema"}}},"yii\\db\\oci\\ColumnSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/oci/columnschema/","summary":"Represents the metadata of a column in an Oracle database table.","since":"22.0","extends":"yii\\db\\ColumnSchema","implements":["yii\\base\\Configurable"],"methods":{"dbTypecast":{"signature":"public function dbTypecast(mixed $value): mixed","summary":"Converts the input value according to `$type` and `$dbType` for use in a db query.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value. This may also be an array containing the value as the first element and the PDO type as the second element."}},"defaultPhpTypecast":{"signature":"public function defaultPhpTypecast(mixed $value): mixed","summary":"Converts an Oracle column default value to its PHP representation.","params":[{"name":"$value","type":"mixed","description":"Default value in Oracle `DATA_DEFAULT` format."}],"return":{"type":"mixed","description":"Converted value."},"since":"22.0"}},"inherited":{"properties":{"allowNull":"yii\\db\\ColumnSchema","autoIncrement":"yii\\db\\ColumnSchema","comment":"yii\\db\\ColumnSchema","dbType":"yii\\db\\ColumnSchema","defaultValue":"yii\\db\\ColumnSchema","enumValues":"yii\\db\\ColumnSchema","isPrimaryKey":"yii\\db\\ColumnSchema","name":"yii\\db\\ColumnSchema","phpType":"yii\\db\\ColumnSchema","precision":"yii\\db\\ColumnSchema","scale":"yii\\db\\ColumnSchema","size":"yii\\db\\ColumnSchema","type":"yii\\db\\ColumnSchema","unsigned":"yii\\db\\ColumnSchema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isType":"yii\\db\\ColumnSchema","phpTypecast":"yii\\db\\ColumnSchema","typecast":"yii\\db\\ColumnSchema"}}},"yii\\db\\oci\\ColumnSchemaBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/oci/columnschemabuilder/","summary":"ColumnSchemaBuilder is the schema builder for Oracle databases.","since":"2.0.6","extends":"yii\\db\\ColumnSchemaBuilder","implements":["Stringable","yii\\base\\Configurable"],"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Builds the full string for the column's schema.","return":{"type":"string"}},"buildUnsignedString":{"signature":"protected function buildUnsignedString(): string","summary":"Builds the unsigned string for column. Defaults to unsupported.","return":{"type":"string","description":"A string containing UNSIGNED keyword."},"visibility":"protected","since":"2.0.7"}},"inherited":{"properties":{"after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","categoryMap":"yii\\db\\ColumnSchemaBuilder","check":"yii\\db\\ColumnSchemaBuilder","comment":"yii\\db\\ColumnSchemaBuilder","db":"yii\\db\\ColumnSchemaBuilder","default":"yii\\db\\ColumnSchemaBuilder","isFirst":"yii\\db\\ColumnSchemaBuilder","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","isUnsigned":"yii\\db\\ColumnSchemaBuilder","length":"yii\\db\\ColumnSchemaBuilder","type":"yii\\db\\ColumnSchemaBuilder","typeCategoryMap":"yii\\db\\ColumnSchemaBuilder","typeDefinition":"yii\\db\\ColumnSchemaBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\ColumnSchemaBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","buildAfterString":"yii\\db\\ColumnSchemaBuilder","buildAppendString":"yii\\db\\ColumnSchemaBuilder","buildCheckString":"yii\\db\\ColumnSchemaBuilder","buildCommentString":"yii\\db\\ColumnSchemaBuilder","buildCompleteString":"yii\\db\\ColumnSchemaBuilder","buildDefaultString":"yii\\db\\ColumnSchemaBuilder","buildDefaultValue":"yii\\db\\ColumnSchemaBuilder","buildFirstString":"yii\\db\\ColumnSchemaBuilder","buildLengthString":"yii\\db\\ColumnSchemaBuilder","buildNotNullString":"yii\\db\\ColumnSchemaBuilder","buildUniqueString":"yii\\db\\ColumnSchemaBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","check":"yii\\db\\ColumnSchemaBuilder","className":"yii\\base\\BaseObject","comment":"yii\\db\\ColumnSchemaBuilder","defaultExpression":"yii\\db\\ColumnSchemaBuilder","defaultValue":"yii\\db\\ColumnSchemaBuilder","first":"yii\\db\\ColumnSchemaBuilder","getAppend":"yii\\db\\ColumnSchemaBuilder","getCategoryMap":"yii\\db\\ColumnSchemaBuilder","getCheck":"yii\\db\\ColumnSchemaBuilder","getDefault":"yii\\db\\ColumnSchemaBuilder","getTypeCategory":"yii\\db\\ColumnSchemaBuilder","getTypeDefinition":"yii\\db\\ColumnSchemaBuilder","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","notNull":"yii\\db\\ColumnSchemaBuilder","null":"yii\\db\\ColumnSchemaBuilder","setCategoryMap":"yii\\db\\ColumnSchemaBuilder","unique":"yii\\db\\ColumnSchemaBuilder","unsigned":"yii\\db\\ColumnSchemaBuilder"},"constants":{"CATEGORY_PK":"yii\\db\\ColumnSchemaBuilder","CATEGORY_STRING":"yii\\db\\ColumnSchemaBuilder","CATEGORY_NUMERIC":"yii\\db\\ColumnSchemaBuilder","CATEGORY_TIME":"yii\\db\\ColumnSchemaBuilder","CATEGORY_OTHER":"yii\\db\\ColumnSchemaBuilder"}}},"yii\\db\\oci\\Command":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/oci/command/","summary":"Command represents an Oracle SQL statement to be executed against a database.","since":"2.0.33","extends":"yii\\db\\Command","implements":["yii\\base\\Configurable"],"methods":{"bindPendingParams":{"signature":"protected function bindPendingParams(): mixed","summary":"Binds pending parameters that were registered via `bindValue()` and `bindValues()`.","return":{"type":"mixed"},"visibility":"protected"},"cancel":{"signature":"public function cancel(): mixed","summary":"Cancels the execution of the SQL statement.","return":{"type":"mixed"}},"execute":{"signature":"public function execute(): int","summary":"Executes the SQL statement.","return":{"type":"int","description":"Number of rows affected by the execution."},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"reset":{"signature":"protected function reset(): mixed","summary":"Resets command properties to their initial state.","return":{"type":"mixed"},"visibility":"protected","since":"2.0.13"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","db":"yii\\db\\Command","fetchMode":"yii\\db\\Command","params":"yii\\db\\Command","pdoStatement":"yii\\db\\Command","pendingParams":"yii\\db\\Command","queryCacheDependency":"yii\\db\\Command","queryCacheDuration":"yii\\db\\Command","rawSql":"yii\\db\\Command","sql":"yii\\db\\Command"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addCheck":"yii\\db\\Command","addColumn":"yii\\db\\Command","addCommentOnColumn":"yii\\db\\Command","addCommentOnTable":"yii\\db\\Command","addDefaultValue":"yii\\db\\Command","addForeignKey":"yii\\db\\Command","addPrimaryKey":"yii\\db\\Command","addUnique":"yii\\db\\Command","alterColumn":"yii\\db\\Command","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","batchInsert":"yii\\db\\Command","behaviors":"yii\\base\\Component","bindParam":"yii\\db\\Command","bindValue":"yii\\db\\Command","bindValues":"yii\\db\\Command","cache":"yii\\db\\Command","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","checkIntegrity":"yii\\db\\Command","className":"yii\\base\\BaseObject","createIndex":"yii\\db\\Command","createTable":"yii\\db\\Command","createView":"yii\\db\\Command","delete":"yii\\db\\Command","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","dropCheck":"yii\\db\\Command","dropColumn":"yii\\db\\Command","dropCommentFromColumn":"yii\\db\\Command","dropCommentFromTable":"yii\\db\\Command","dropDefaultValue":"yii\\db\\Command","dropForeignKey":"yii\\db\\Command","dropIndex":"yii\\db\\Command","dropPrimaryKey":"yii\\db\\Command","dropTable":"yii\\db\\Command","dropUnique":"yii\\db\\Command","dropView":"yii\\db\\Command","ensureBehaviors":"yii\\base\\Component","executeResetSequence":"yii\\db\\Command","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCacheKey":"yii\\db\\Command","getRawSql":"yii\\db\\Command","getSql":"yii\\db\\Command","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","insert":"yii\\db\\Command","internalExecute":"yii\\db\\Command","logQuery":"yii\\db\\Command","noCache":"yii\\db\\Command","off":"yii\\base\\Component","on":"yii\\base\\Component","prepare":"yii\\db\\Command","query":"yii\\db\\Command","queryAll":"yii\\db\\Command","queryColumn":"yii\\db\\Command","queryInternal":"yii\\db\\Command","queryOne":"yii\\db\\Command","queryScalar":"yii\\db\\Command","refreshTableSchema":"yii\\db\\Command","renameColumn":"yii\\db\\Command","renameTable":"yii\\db\\Command","requireTableSchemaRefresh":"yii\\db\\Command","requireTransaction":"yii\\db\\Command","resetSequence":"yii\\db\\Command","setRawSql":"yii\\db\\Command","setRetryHandler":"yii\\db\\Command","setSql":"yii\\db\\Command","trigger":"yii\\base\\Component","truncateTable":"yii\\db\\Command","update":"yii\\db\\Command","upsert":"yii\\db\\Command"}}},"yii\\db\\oci\\LobValue":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/api/yii/db/oci/lobvalue/","summary":"Represents an Oracle `BLOB` value bound through a PDO LOB locator.","since":"22.0","implements":["yii\\db\\ExpressionInterface"],"methods":{"__construct":{"signature":"public function __construct(string $columnName, string|resource $value)","params":[{"name":"$columnName","type":"string"},{"name":"$value","type":"string|resource","description":"Binary payload."}]},"getColumnName":{"signature":"public function getColumnName(): string","summary":"Returns the unquoted target column name.","return":{"type":"string"}},"getValue":{"signature":"public function getValue(): string|resource","return":{"type":"string|resource","description":"Binary payload."}}}},"yii\\db\\oci\\LobValueBuilder":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/api/yii/db/oci/lobvaluebuilder/","summary":"Builds the SQL value expression for an `yii\\db\\oci\\LobValue`.","since":"22.0","implements":["yii\\db\\ExpressionBuilderInterface"],"methods":{"bind":{"signature":"public static function bind(yii\\db\\oci\\LobValue $expression, array &$params): array{0: string, 1: string}","summary":"Registers the payload under a fresh locator placeholder.","params":[{"name":"$expression","type":"yii\\db\\oci\\LobValue","description":"LOB value to register."},{"name":"$params","type":"array","byReference":true,"description":"The parameters to be bound to the SQL statement. This parameter is passed by reference and will be modified by this method."}],"return":{"type":"array{0: string, 1: string}","description":"SQL value expression and locator placeholder."},"static":true},"build":{"signature":"public function build(yii\\db\\oci\\LobValue $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\oci\\LobValue","description":"LOB value to build."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"constants":{"PARAM_PREFIX":{"value":"':lob'"}}},"yii\\db\\oci\\QueryBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/oci/querybuilder/","summary":"QueryBuilder is the query builder for Oracle databases (version 12.1 and above).","since":"2.0","extends":"yii\\db\\QueryBuilder","implements":["yii\\base\\Configurable"],"properties":{"typeMap":{"type":"array","default":"[\\yii\\db\\oci\\Schema::TYPE_PK => 'NUMBER(10) GENERATED BY DEFAULT ON NULL AS IDENTITY NOT NULL PRIMARY KEY', \\yii\\db\\oci\\Schema::TYPE_UPK => 'NUMBER(10) GENERATED BY DEFAULT ON NULL AS IDENTITY NOT NULL PRIMARY KEY', \\yii\\db\\oci\\Schema::TYPE_BIGPK => 'NUMBER(20) GENERATED BY DEFAULT ON NULL AS IDENTITY NOT NULL PRIMARY KEY', \\yii\\db\\oci\\Schema::TYPE_UBIGPK => 'NUMBER(20) GENERATED BY DEFAULT ON NULL AS IDENTITY NOT NULL PRIMARY KEY', \\yii\\db\\oci\\Schema::TYPE_CHAR => 'CHAR(1)', \\yii\\db\\oci\\Schema::TYPE_STRING => 'VARCHAR2(255)', \\yii\\db\\oci\\Schema::TYPE_TEXT => 'CLOB', \\yii\\db\\oci\\Schema::TYPE_TINYINT => 'NUMBER(3)', \\yii\\db\\oci\\Schema::TYPE_SMALLINT => 'NUMBER(5)', \\yii\\db\\oci\\Schema::TYPE_INTEGER => 'NUMBER(10)', \\yii\\db\\oci\\Schema::TYPE_BIGINT => 'NUMBER(20)', \\yii\\db\\oci\\Schema::TYPE_FLOAT => 'NUMBER', \\yii\\db\\oci\\Schema::TYPE_DOUBLE => 'NUMBER', \\yii\\db\\oci\\Schema::TYPE_DECIMAL => 'NUMBER', \\yii\\db\\oci\\Schema::TYPE_DATETIME => 'TIMESTAMP', \\yii\\db\\oci\\Schema::TYPE_TIMESTAMP => 'TIMESTAMP', \\yii\\db\\oci\\Schema::TYPE_TIME => 'TIMESTAMP', \\yii\\db\\oci\\Schema::TYPE_DATE => 'DATE', \\yii\\db\\oci\\Schema::TYPE_BINARY => 'BLOB', \\yii\\db\\oci\\Schema::TYPE_BOOLEAN => 'NUMBER(1)', \\yii\\db\\oci\\Schema::TYPE_MONEY => 'NUMBER(19,4)']","description":"Mapping from abstract column types (keys) to physical column types (values)."}},"methods":{"addForeignKey":{"signature":"public function addForeignKey(mixed $name, mixed $table, mixed $columns, mixed $refTable, mixed $refColumns, mixed $delete = null, mixed $update = null): string","summary":"Builds a SQL statement for adding a foreign key constraint to an existing table.","params":[{"name":"$name","type":"mixed","description":"The name of the foreign key constraint."},{"name":"$table","type":"mixed","description":"The table that the foreign key constraint will be added to."},{"name":"$columns","type":"mixed","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas or use an array to represent them."},{"name":"$refTable","type":"mixed","description":"The table that the foreign key references to."},{"name":"$refColumns","type":"mixed","description":"The name of the column that the foreign key references to. If there are multiple columns, separate them with commas or use an array to represent them."},{"name":"$delete","type":"mixed","default":"null","optional":true,"description":"The ON DELETE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"},{"name":"$update","type":"mixed","default":"null","optional":true,"description":"The ON UPDATE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"}],"return":{"type":"string","description":"The SQL statement for adding a foreign key constraint to an existing table."}},"alterColumn":{"signature":"public function alterColumn(string $table, string $column, string $type): string","summary":"Builds a SQL statement for changing the definition of a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The new column type. The `getColumnType()` method will be invoked to convert abstract column type (if any) into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'."}],"return":{"type":"string","description":"The SQL statement for changing the definition of a column."}},"batchInsert":{"signature":"public function batchInsert(string $table, array $columns, array|Generator $rows, array &$params = []): string","summary":"Generates a batch INSERT SQL statement.","params":[{"name":"$table","type":"string","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"array","description":"The column names."},{"name":"$rows","type":"array|Generator","description":"The rows to be batch inserted into the table."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The parameters to be bound to the batch INSERT SQL statement. This parameter is passed by reference and will be modified by this method."}],"return":{"type":"string","description":"The batch INSERT SQL statement."}},"buildOrderByAndLimit":{"signature":"public function buildOrderByAndLimit(mixed $sql, mixed $orderBy, mixed $limit, mixed $offset): string","summary":"Builds the ORDER BY and LIMIT/OFFSET clauses and appends them to the given SQL.","params":[{"name":"$sql","type":"mixed","description":"The existing SQL (without ORDER BY/LIMIT/OFFSET)"},{"name":"$orderBy","type":"mixed","description":"The order by columns. See `yii\\db\\Query::orderBy()` for more details on how to specify this parameter."},{"name":"$limit","type":"mixed","description":"The limit number. See `yii\\db\\Query::limit()` for more details."},{"name":"$offset","type":"mixed","description":"The offset number. See `yii\\db\\Query::offset()` for more details."}],"return":{"type":"string","description":"The SQL completed with ORDER BY/LIMIT/OFFSET (if any)"}},"buildWithQueries":{"signature":"public function buildWithQueries(mixed $withs, mixed &$params): string","params":[{"name":"$withs","type":"mixed","description":"Of configurations for each WITH query"},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"Compiled WITH prefix of query including nested queries"},"since":"2.0.35"},"defaultExpressionBuilders":{"signature":"protected function defaultExpressionBuilders(): array","summary":"Contains array of default expression builders. Extend this method and override it, if you want to change default expression builders for this query builder. See `$expressionBuilders` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"dropCommentFromColumn":{"signature":"public function dropCommentFromColumn(mixed $table, mixed $column): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be commented. The column name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropCommentFromTable":{"signature":"public function dropCommentFromTable(mixed $table): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"since":"2.0.8"},"dropIndex":{"signature":"public function dropIndex(string $name, string $table): string","summary":"Builds a SQL statement for dropping an index.","params":[{"name":"$name","type":"string","description":"The name of the index to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose index is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping an index."}},"executeResetSequence":{"signature":"public function executeResetSequence(mixed $table, mixed $value = null): mixed","summary":"Execute a SQL statement for resetting the sequence value of a table's primary key.","params":[{"name":"$table","type":"mixed","description":"The name of the table whose primary key sequence is reset."},{"name":"$value","type":"mixed","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have the maximum existing value `+1`."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS"}],"since":"2.0.16"},"insert":{"signature":"public function insert(mixed $table, mixed $columns, mixed &$params): string","summary":"Creates an INSERT SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement. Passing of Query (`yii\\db\\Query`) is available since version 2.0.11."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The INSERT SQL"}},"mergeReturning":{"signature":"public function mergeReturning(string $sql, array $params, array<string, string> $placeholders): string","summary":"Appends a `RETURNING` clause for the given OUT placeholders, merging any locator clause already present.","params":[{"name":"$sql","type":"string","description":"DML statement built by this query builder."},{"name":"$params","type":"array","description":"The parameters bound to the SQL statement."},{"name":"$placeholders","type":"array<string, string>","description":"OUT placeholders indexed by unquoted column name."}],"return":{"type":"string","description":"The SQL statement with the merged `RETURNING` clause."}},"prepareInsertValues":{"signature":"protected function prepareInsertValues(mixed $table, mixed $columns, mixed $params = []): array","summary":"Prepares a `VALUES` part for an `INSERT` SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement."},{"name":"$params","type":"mixed","default":"[]","optional":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"array","description":"Array of column names, placeholders, values and params."},"visibility":"protected","since":"2.0.14"},"renameTable":{"signature":"public function renameTable(string $table, string $newName): string","summary":"Builds a SQL statement for renaming a DB table.","params":[{"name":"$table","type":"string","description":"The table to be renamed. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new table name. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB table."}},"selectExists":{"signature":"public function selectExists(mixed $rawSql): string","summary":"Creates a SELECT EXISTS() SQL statement.","params":[{"name":"$rawSql","type":"mixed","description":"The subquery in a raw form to select from."}],"return":{"type":"string","description":"The SELECT EXISTS() SQL statement."},"since":"2.0.8"},"update":{"signature":"public function update(mixed $table, mixed $columns, mixed $condition, mixed &$params): string","summary":"Creates an UPDATE SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table to be updated."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be updated."},{"name":"$condition","type":"mixed","description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be modified by this method so that they can be bound to the DB command later."}],"return":{"type":"string","description":"The UPDATE SQL"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the condition does not cover a unique key using non-null scalar values."}]},"upsert":{"signature":"public function upsert(mixed $table, mixed $insertColumns, mixed $updateColumns, mixed &$params): string","summary":"Creates an SQL statement to insert rows into a database table if they do not already exist (matching unique constraints), or update them if they do.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into/updated in."},{"name":"$insertColumns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of `yii\\db\\Query` to perform `INSERT INTO ... SELECT` SQL statement."},{"name":"$updateColumns","type":"mixed","description":"The column data (name => value) to be updated if they already exist. If `true` is passed, the column data will be updated to match the insert column data. If `false` is passed, no update will be performed if the column data already exists."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The resulting SQL."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.14"}},"constants":{"UPSERT_AFFECTED_PARAM_PREFIX":{"value":"':yii_upsert_affected'","description":"Parameter name prefix for the affected-row OUT bind registered by a `BLOB` upsert."}},"inherited":{"properties":{"conditionClasses":"yii\\db\\QueryBuilder","db":"yii\\db\\QueryBuilder","expressionBuilders":"yii\\db\\QueryBuilder","separator":"yii\\db\\QueryBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\QueryBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","addCheck":"yii\\db\\QueryBuilder","addColumn":"yii\\db\\QueryBuilder","addCommentOnColumn":"yii\\db\\QueryBuilder","addCommentOnTable":"yii\\db\\QueryBuilder","addDefaultValue":"yii\\db\\QueryBuilder","addPrimaryKey":"yii\\db\\QueryBuilder","addUnique":"yii\\db\\QueryBuilder","bindParam":"yii\\db\\QueryBuilder","build":"yii\\db\\QueryBuilder","buildColumns":"yii\\db\\QueryBuilder","buildCondition":"yii\\db\\QueryBuilder","buildExpression":"yii\\db\\QueryBuilder","buildFrom":"yii\\db\\QueryBuilder","buildGroupBy":"yii\\db\\QueryBuilder","buildHaving":"yii\\db\\QueryBuilder","buildJoin":"yii\\db\\QueryBuilder","buildLimit":"yii\\db\\QueryBuilder","buildOrderBy":"yii\\db\\QueryBuilder","buildSelect":"yii\\db\\QueryBuilder","buildUnion":"yii\\db\\QueryBuilder","buildUnionOrderByAndLimit":"yii\\db\\QueryBuilder","buildWhere":"yii\\db\\QueryBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","checkIntegrity":"yii\\db\\QueryBuilder","className":"yii\\base\\BaseObject","concatUnionSql":"yii\\db\\QueryBuilder","createConditionFromArray":"yii\\db\\QueryBuilder","createIndex":"yii\\db\\QueryBuilder","createTable":"yii\\db\\QueryBuilder","createView":"yii\\db\\QueryBuilder","defaultConditionClasses":"yii\\db\\QueryBuilder","delete":"yii\\db\\QueryBuilder","dropCheck":"yii\\db\\QueryBuilder","dropColumn":"yii\\db\\QueryBuilder","dropDefaultValue":"yii\\db\\QueryBuilder","dropForeignKey":"yii\\db\\QueryBuilder","dropPrimaryKey":"yii\\db\\QueryBuilder","dropTable":"yii\\db\\QueryBuilder","dropUnique":"yii\\db\\QueryBuilder","dropView":"yii\\db\\QueryBuilder","extractAlias":"yii\\db\\QueryBuilder","getColumnType":"yii\\db\\QueryBuilder","getExpressionBuilder":"yii\\db\\QueryBuilder","hasLimit":"yii\\db\\QueryBuilder","hasMethod":"yii\\base\\BaseObject","hasOffset":"yii\\db\\QueryBuilder","hasProperty":"yii\\base\\BaseObject","init":"yii\\db\\QueryBuilder","prepareInsertSelectSubQuery":"yii\\db\\QueryBuilder","prepareSelectQuery":"yii\\db\\QueryBuilder","prepareUpdateSets":"yii\\db\\QueryBuilder","prepareUpsertColumns":"yii\\db\\QueryBuilder","prepareUpsertSets":"yii\\db\\QueryBuilder","renameColumn":"yii\\db\\QueryBuilder","resetSequence":"yii\\db\\QueryBuilder","setConditionClasses":"yii\\db\\QueryBuilder","setExpressionBuilders":"yii\\db\\QueryBuilder","truncateTable":"yii\\db\\QueryBuilder"},"constants":{"PARAM_PREFIX":"yii\\db\\QueryBuilder"}}},"yii\\db\\oci\\Schema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/oci/schema/","summary":"Schema is the class for retrieving metadata from an Oracle database.","since":"2.0","extends":"yii\\db\\Schema","implements":["yii\\db\\ConstraintFinderInterface","yii\\base\\Configurable"],"traits":["yii\\db\\ConstraintFinderTrait"],"properties":{"columnSchemaClass":{"type":"class-string<yii\\db\\T>|array{class?: class-string<yii\\db\\T>, __class?: class-string<yii\\db\\T>}","default":"\\yii\\db\\oci\\ColumnSchema::class","since":"2.0.11"},"exceptionMap":{"type":"array","default":"['ORA-00001: unique constraint' => \\yii\\db\\IntegrityException::class]","description":"Map of DB errors and corresponding exceptions If left part is found in DB error message exception class from the right part is used."},"lastInsertID":{"type":"string","description":"The row ID of the last row inserted, or the last value retrieved from the sequence object.","access":"read-only","virtual":true},"tableQuoteCharacter":{"type":"string|string[]","default":"'\"'","visibility":"protected","since":"2.0.14"}},"methods":{"createColumn":{"signature":"protected function createColumn(array $column): yii\\db\\oci\\T","summary":"Creates ColumnSchema instance.","params":[{"name":"$column","type":"array"}],"return":{"type":"yii\\db\\oci\\T"},"visibility":"protected"},"createColumnSchemaBuilder":{"signature":"public function createColumnSchemaBuilder(mixed $type, mixed $length = null): yii\\db\\ColumnSchemaBuilder","summary":"Create a column schema builder instance giving the type and value precision.","params":[{"name":"$type","type":"mixed","description":"Type of the column. See `yii\\db\\oci\\ColumnSchemaBuilder::$type`."},{"name":"$length","type":"mixed","default":"null","optional":true,"description":"Length or precision of the column. See `yii\\db\\oci\\ColumnSchemaBuilder::$length`."}],"return":{"type":"yii\\db\\ColumnSchemaBuilder","description":"Column schema builder instance"},"since":"2.0.6"},"createQueryBuilder":{"signature":"public function createQueryBuilder(): yii\\db\\TQueryBuilder","summary":"Creates a query builder for the database.","return":{"type":"yii\\db\\TQueryBuilder","description":"Query builder instance"}},"extractColumnSize":{"signature":"protected function extractColumnSize(yii\\db\\oci\\ColumnSchema $column, string $dbType, string $precision, string $scale, string $length): mixed","summary":"Extracts size, precision and scale information from column's DB type.","params":[{"name":"$column","type":"yii\\db\\oci\\ColumnSchema"},{"name":"$dbType","type":"string","description":"The column's DB type"},{"name":"$precision","type":"string","description":"Total number of digits. This parameter is available since version 2.0.4."},{"name":"$scale","type":"string","description":"Number of digits on the right of the decimal separator. This parameter is available since version 2.0.4."},{"name":"$length","type":"string","description":"Length for character types. This parameter is available since version 2.0.4."}],"return":{"type":"mixed"},"visibility":"protected"},"extractColumnType":{"signature":"protected function extractColumnType(yii\\db\\oci\\ColumnSchema $column, string $dbType, string $precision, string $scale, string $length): mixed","summary":"Extracts the data types for the given column.","params":[{"name":"$column","type":"yii\\db\\oci\\ColumnSchema"},{"name":"$dbType","type":"string","description":"DB type"},{"name":"$precision","type":"string","description":"Total number of digits. This parameter is available since version 2.0.4."},{"name":"$scale","type":"string","description":"Number of digits on the right of the decimal separator. This parameter is available since version 2.0.4."},{"name":"$length","type":"string","description":"Length for character types. This parameter is available since version 2.0.4."}],"return":{"type":"mixed"},"visibility":"protected"},"findColumns":{"signature":"protected function findColumns(yii\\db\\TableSchema $table): bool","summary":"Collects the table column metadata.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table schema."}],"return":{"type":"bool","description":"Whether the table exists."},"visibility":"protected"},"findConstraints":{"signature":"protected function findConstraints(yii\\db\\TableSchema $table): mixed","summary":"Finds constraints and fills them into TableSchema object passed.","params":[{"name":"$table","type":"yii\\db\\TableSchema"}],"return":{"type":"mixed"},"visibility":"protected"},"findSchemaNames":{"signature":"protected function findSchemaNames(): array","summary":"Returns all schema names in the database, including the default one but not system schemas.","return":{"type":"array","description":"All schema names in the database, except system schemas."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.4"},"findTableNames":{"signature":"protected function findTableNames(mixed $schema = ''): array","summary":"Returns all table names in the database.","params":[{"name":"$schema","type":"mixed","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema."}],"return":{"type":"array","description":"All table names in the database. The names have NO schema name prefix."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected"},"findUniqueIndexes":{"signature":"public function findUniqueIndexes(yii\\db\\TableSchema $table): array","summary":"Returns all unique indexes for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata."}],"return":{"type":"array","description":"All unique indexes for the given table."},"since":"2.0.4"},"getLastInsertID":{"signature":"public function getLastInsertID(string $sequenceName = ''): string","params":[{"name":"$sequenceName","type":"string","default":"''","optional":true,"description":"Name of the sequence object (required by some DBMS)"}],"return":{"type":"string","description":"The row ID of the last row inserted, or the last value retrieved from the sequence object"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the DB connection is not active"}]},"getTableSequenceName":{"signature":"protected function getTableSequenceName(string $tableName): string|null","summary":"Sequence name of table.","params":[{"name":"$tableName","type":"string","description":"Table name."}],"return":{"type":"string|null","description":"Whether the sequence exists."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"insert":{"signature":"public function insert(mixed $table, mixed $columns): array|false","summary":"Executes the INSERT command, returning primary key values.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table."}],"return":{"type":"array|false","description":"Primary key values or false if the command fails"},"since":"2.0.4"},"loadTableChecks":{"signature":"protected function loadTableChecks(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableDefaultValues":{"signature":"protected function loadTableDefaultValues(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is called."}],"visibility":"protected"},"loadTableForeignKeys":{"signature":"protected function loadTableForeignKeys(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableIndexes":{"signature":"protected function loadTableIndexes(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTablePrimaryKey":{"signature":"protected function loadTablePrimaryKey(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableSchema":{"signature":"protected function loadTableSchema(mixed $name): yii\\db\\TableSchema|null","summary":"Loads the metadata for the specified table.","params":[{"name":"$name","type":"mixed","description":"Table name"}],"return":{"type":"yii\\db\\TableSchema|null","description":"DBMS-dependent table metadata, `null` if the table does not exist."},"visibility":"protected"},"loadTableUniques":{"signature":"protected function loadTableUniques(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"releaseSavepoint":{"signature":"public function releaseSavepoint(mixed $name): mixed","summary":"Releases an existing savepoint.","params":[{"name":"$name","type":"mixed","description":"The savepoint name"}],"return":{"type":"mixed"}},"resolveTableName":{"signature":"protected function resolveTableName(mixed $name): yii\\db\\TableSchema","summary":"Resolves the table name and schema name (if any).","params":[{"name":"$name","type":"mixed","description":"The table name"}],"return":{"type":"yii\\db\\TableSchema","description":"`yii\\db\\TableSchema` with resolved table, schema, etc. names."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.13"}},"inherited":{"properties":{"columnQuoteCharacter":"yii\\db\\Schema","db":"yii\\db\\Schema","defaultSchema":"yii\\db\\Schema","queryBuilder":"yii\\db\\Schema","schemaChecks":"yii\\db\\ConstraintFinderTrait","schemaDefaultValues":"yii\\db\\ConstraintFinderTrait","schemaForeignKeys":"yii\\db\\ConstraintFinderTrait","schemaIndexes":"yii\\db\\ConstraintFinderTrait","schemaNames":"yii\\db\\Schema","schemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","schemaUniques":"yii\\db\\ConstraintFinderTrait","serverVersion":"yii\\db\\Schema","systemSchemaNames":"yii\\db\\Schema","tableNames":"yii\\db\\Schema","tableSchemas":"yii\\db\\Schema","transactionIsolationLevel":"yii\\db\\Schema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","convertException":"yii\\db\\Schema","createColumnSchema":"yii\\db\\Schema","createSavepoint":"yii\\db\\Schema","getCacheKey":"yii\\db\\Schema","getCacheTag":"yii\\db\\Schema","getColumnPhpType":"yii\\db\\Schema","getPdoType":"yii\\db\\Schema","getQueryBuilder":"yii\\db\\Schema","getRawTableName":"yii\\db\\Schema","getSchemaChecks":"yii\\db\\ConstraintFinderTrait","getSchemaDefaultValues":"yii\\db\\ConstraintFinderTrait","getSchemaForeignKeys":"yii\\db\\ConstraintFinderTrait","getSchemaIndexes":"yii\\db\\ConstraintFinderTrait","getSchemaMetadata":"yii\\db\\Schema","getSchemaNames":"yii\\db\\Schema","getSchemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","getSchemaUniques":"yii\\db\\ConstraintFinderTrait","getServerVersion":"yii\\db\\Schema","getTableChecks":"yii\\db\\ConstraintFinderTrait","getTableDefaultValues":"yii\\db\\ConstraintFinderTrait","getTableForeignKeys":"yii\\db\\ConstraintFinderTrait","getTableIndexes":"yii\\db\\ConstraintFinderTrait","getTableMetadata":"yii\\db\\Schema","getTableNameParts":"yii\\db\\Schema","getTableNames":"yii\\db\\Schema","getTablePrimaryKey":"yii\\db\\ConstraintFinderTrait","getTableSchema":"yii\\db\\Schema","getTableSchemas":"yii\\db\\Schema","getTableUniques":"yii\\db\\ConstraintFinderTrait","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","isReadQuery":"yii\\db\\Schema","normalizePdoRowKeyCase":"yii\\db\\Schema","quoteColumnName":"yii\\db\\Schema","quoteSimpleColumnName":"yii\\db\\Schema","quoteSimpleTableName":"yii\\db\\Schema","quoteTableName":"yii\\db\\Schema","quoteValue":"yii\\db\\Schema","refresh":"yii\\db\\Schema","refreshTableSchema":"yii\\db\\Schema","resolveRawTableName":"yii\\db\\Schema","rollBackSavepoint":"yii\\db\\Schema","setTableMetadata":"yii\\db\\Schema","setTransactionIsolationLevel":"yii\\db\\Schema","supportsSavepoint":"yii\\db\\Schema","unquoteSimpleColumnName":"yii\\db\\Schema","unquoteSimpleTableName":"yii\\db\\Schema"},"constants":{"TYPE_PK":"yii\\db\\Schema","TYPE_UPK":"yii\\db\\Schema","TYPE_BIGPK":"yii\\db\\Schema","TYPE_UBIGPK":"yii\\db\\Schema","TYPE_CHAR":"yii\\db\\Schema","TYPE_STRING":"yii\\db\\Schema","TYPE_TEXT":"yii\\db\\Schema","TYPE_TINYINT":"yii\\db\\Schema","TYPE_SMALLINT":"yii\\db\\Schema","TYPE_INTEGER":"yii\\db\\Schema","TYPE_BIGINT":"yii\\db\\Schema","TYPE_FLOAT":"yii\\db\\Schema","TYPE_DOUBLE":"yii\\db\\Schema","TYPE_DECIMAL":"yii\\db\\Schema","TYPE_DATETIME":"yii\\db\\Schema","TYPE_TIMESTAMP":"yii\\db\\Schema","TYPE_TIME":"yii\\db\\Schema","TYPE_DATE":"yii\\db\\Schema","TYPE_BINARY":"yii\\db\\Schema","TYPE_BOOLEAN":"yii\\db\\Schema","TYPE_MONEY":"yii\\db\\Schema","TYPE_JSON":"yii\\db\\Schema","SCHEMA_CACHE_VERSION":"yii\\db\\Schema"}}},"yii\\db\\oci\\conditions\\InConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/oci/conditions/inconditionbuilder/","summary":"Builds objects of `yii\\db\\conditions\\InCondition`.","extends":"yii\\db\\conditions\\InConditionBuilder","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface|yii\\db\\conditions\\InCondition $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\conditions\\InCondition","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"splitCondition":{"signature":"protected function splitCondition(yii\\db\\conditions\\InCondition $condition, array &$params): string|null","summary":"Oracle DBMS does not support more than 1000 parameters in `IN` condition.","params":[{"name":"$condition","type":"yii\\db\\conditions\\InCondition","description":"The expression to be built."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters."}],"return":{"type":"string|null","description":"Null when split is not required. Otherwise - built SQL condition."},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait","buildCompositeInCondition":"yii\\db\\conditions\\InConditionBuilder","buildSubqueryInCondition":"yii\\db\\conditions\\InConditionBuilder","buildValues":"yii\\db\\conditions\\InConditionBuilder","getNotEqualOperator":"yii\\db\\conditions\\InConditionBuilder","getNullCondition":"yii\\db\\conditions\\InConditionBuilder"}}},"yii\\db\\oci\\conditions\\LikeConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/oci/conditions/likeconditionbuilder/","summary":"Class LikeConditionBuilder builds objects of `yii\\db\\conditions\\LikeCondition`","extends":"yii\\db\\conditions\\LikeConditionBuilder","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"properties":{"escapeCharacter":{"type":"string|null","default":"'!'","visibility":"protected"},"escapingReplacements":{"default":"['%' => '!%', '_' => '!_', '!' => '!!']","description":"`\\` is initialized in `buildLikeCondition()` method since we need to choose replacement value based on `yii\\db\\Schema::quoteValue()`.","visibility":"protected"}},"methods":{"build":{"signature":"public function build(yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface","description":"The expression to be built."},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait","parseOperator":"yii\\db\\conditions\\LikeConditionBuilder"}}},"yii\\db\\pgsql\\ArrayExpressionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pgsql/arrayexpressionbuilder/","summary":"Class ArrayExpressionBuilder builds `yii\\db\\ArrayExpression` for PostgreSQL DBMS.","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\ArrayExpression|yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\ArrayExpression|yii\\db\\ExpressionInterface","description":"The expression to be built"},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"buildPlaceholders":{"signature":"protected function buildPlaceholders(yii\\db\\ExpressionInterface|yii\\db\\ArrayExpression $expression, array &$params): array","summary":"Builds placeholders array out of $expression values","params":[{"name":"$expression","type":"yii\\db\\ExpressionInterface|yii\\db\\ArrayExpression"},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters."}],"return":{"type":"array"},"visibility":"protected"},"buildSubqueryArray":{"signature":"protected function buildSubqueryArray(string $sql, yii\\db\\ArrayExpression $expression): string","summary":"Build an array expression from a subquery SQL.","params":[{"name":"$sql","type":"string","description":"The subquery SQL."},{"name":"$expression","type":"yii\\db\\ArrayExpression"}],"return":{"type":"string","description":"The subquery array expression."},"visibility":"protected"},"getTypehint":{"signature":"protected function getTypehint(yii\\db\\ArrayExpression $expression): string","params":[{"name":"$expression","type":"yii\\db\\ArrayExpression"}],"return":{"type":"string","description":"The typecast expression based on `type`."},"visibility":"protected"},"typecastValue":{"signature":"protected function typecastValue(yii\\db\\ArrayExpression $expression, mixed $value): mixed","summary":"Casts $value to use in $expression","params":[{"name":"$expression","type":"yii\\db\\ArrayExpression"},{"name":"$value","type":"mixed"}],"return":{"type":"mixed"},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\pgsql\\ArrayParser":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pgsql/arrayparser/","summary":"The class converts PostgreSQL array representation to PHP array","since":"2.0.14","methods":{"parse":{"signature":"public function parse(string $value): array|null","summary":"Convert array from PostgreSQL to PHP","params":[{"name":"$value","type":"string","description":"String to be converted"}],"return":{"type":"array|null"}}}},"yii\\db\\pgsql\\ColumnSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pgsql/columnschema/","summary":"Represents the metadata of a column in a PostgreSQL database table.","since":"2.0","extends":"yii\\db\\ColumnSchema","implements":["yii\\base\\Configurable"],"properties":{"dimension":{"type":"int","default":"0","description":"The dimension of array."},"sequenceName":{"type":"string|null","default":"null","description":"Name of associated sequence if column is auto-incremental. `null` if no sequence.","since":"2.0.29"}},"methods":{"dbTypecast":{"signature":"public function dbTypecast(mixed $value): mixed","summary":"Converts the input value according to `$type` and `$dbType` for use in a db query.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value. This may also be an array containing the value as the first element and the PDO type as the second element."}},"defaultPhpTypecast":{"signature":"public function defaultPhpTypecast(mixed $value): mixed","summary":"Converts a PostgreSQL column default value to its PHP representation.","params":[{"name":"$value","type":"mixed","description":"Raw default value in PostgreSQL schema metadata format."}],"return":{"type":"mixed","description":"Converted PHP value."},"since":"22.0"},"getArrayParser":{"signature":"protected function getArrayParser(): yii\\db\\pgsql\\ArrayParser","summary":"Creates instance of ArrayParser","return":{"type":"yii\\db\\pgsql\\ArrayParser"},"visibility":"protected"},"phpTypecast":{"signature":"public function phpTypecast(mixed $value): mixed","summary":"Converts the input value according to `$phpType` after retrieval from the database.","params":[{"name":"$value","type":"mixed","description":"Input value"}],"return":{"type":"mixed","description":"Converted value"}},"phpTypecastValue":{"signature":"protected function phpTypecastValue(string|null $value): bool|mixed|null","summary":"Casts $value after retrieving from the DBMS to PHP representation.","params":[{"name":"$value","type":"string|null"}],"return":{"type":"bool|mixed|null"},"visibility":"protected"}},"inherited":{"properties":{"allowNull":"yii\\db\\ColumnSchema","autoIncrement":"yii\\db\\ColumnSchema","comment":"yii\\db\\ColumnSchema","dbType":"yii\\db\\ColumnSchema","defaultValue":"yii\\db\\ColumnSchema","enumValues":"yii\\db\\ColumnSchema","isPrimaryKey":"yii\\db\\ColumnSchema","name":"yii\\db\\ColumnSchema","phpType":"yii\\db\\ColumnSchema","precision":"yii\\db\\ColumnSchema","scale":"yii\\db\\ColumnSchema","size":"yii\\db\\ColumnSchema","type":"yii\\db\\ColumnSchema","unsigned":"yii\\db\\ColumnSchema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isType":"yii\\db\\ColumnSchema","typecast":"yii\\db\\ColumnSchema"}}},"yii\\db\\pgsql\\JsonExpressionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pgsql/jsonexpressionbuilder/","summary":"Class JsonExpressionBuilder builds `yii\\db\\JsonExpression` for PostgreSQL DBMS.","since":"2.0.14","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"build":{"signature":"public function build(yii\\db\\JsonExpression|yii\\db\\ExpressionInterface $expression, array &$params = []): string","summary":"Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.","params":[{"name":"$expression","type":"yii\\db\\JsonExpression|yii\\db\\ExpressionInterface","description":"The expression to be built"},{"name":"$params","type":"array","default":"[]","optional":true,"byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"The raw SQL that will not be additionally escaped or quoted."}},"getTypecast":{"signature":"protected function getTypecast(yii\\db\\JsonExpression $expression): string","params":[{"name":"$expression","type":"yii\\db\\JsonExpression"}],"return":{"type":"string","description":"The typecast expression based on `type`."},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait"}}},"yii\\db\\pgsql\\QueryBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pgsql/querybuilder/","summary":"QueryBuilder is the query builder for PostgreSQL databases (version 14 and above).","since":"2.0","extends":"yii\\db\\QueryBuilder","implements":["yii\\base\\Configurable"],"properties":{"typeMap":{"type":"array","default":"[\\yii\\db\\pgsql\\Schema::TYPE_PK => 'serial NOT NULL PRIMARY KEY', \\yii\\db\\pgsql\\Schema::TYPE_UPK => 'serial NOT NULL PRIMARY KEY', \\yii\\db\\pgsql\\Schema::TYPE_BIGPK => 'bigserial NOT NULL PRIMARY KEY', \\yii\\db\\pgsql\\Schema::TYPE_UBIGPK => 'bigserial NOT NULL PRIMARY KEY', \\yii\\db\\pgsql\\Schema::TYPE_CHAR => 'char(1)', \\yii\\db\\pgsql\\Schema::TYPE_STRING => 'varchar(255)', \\yii\\db\\pgsql\\Schema::TYPE_TEXT => 'text', \\yii\\db\\pgsql\\Schema::TYPE_TINYINT => 'smallint', \\yii\\db\\pgsql\\Schema::TYPE_SMALLINT => 'smallint', \\yii\\db\\pgsql\\Schema::TYPE_INTEGER => 'integer', \\yii\\db\\pgsql\\Schema::TYPE_BIGINT => 'bigint', \\yii\\db\\pgsql\\Schema::TYPE_FLOAT => 'double precision', \\yii\\db\\pgsql\\Schema::TYPE_DOUBLE => 'double precision', \\yii\\db\\pgsql\\Schema::TYPE_DECIMAL => 'numeric(10,0)', \\yii\\db\\pgsql\\Schema::TYPE_DATETIME => 'timestamp(0)', \\yii\\db\\pgsql\\Schema::TYPE_TIMESTAMP => 'timestamp(0)', \\yii\\db\\pgsql\\Schema::TYPE_TIME => 'time(0)', \\yii\\db\\pgsql\\Schema::TYPE_DATE => 'date', \\yii\\db\\pgsql\\Schema::TYPE_BINARY => 'bytea', \\yii\\db\\pgsql\\Schema::TYPE_BOOLEAN => 'boolean', \\yii\\db\\pgsql\\Schema::TYPE_MONEY => 'numeric(19,4)', \\yii\\db\\pgsql\\Schema::TYPE_JSON => 'jsonb']","description":"Mapping from abstract column types (keys) to physical column types (values)."}},"methods":{"alterColumn":{"signature":"public function alterColumn(string $table, string $column, yii\\db\\ColumnSchemaBuilder|string $type): string","summary":"Builds a SQL statement for changing the definition of a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"yii\\db\\ColumnSchemaBuilder|string","description":"The new column definition. A `yii\\db\\ColumnSchemaBuilder` carries the structured column state; a string is resolved through `getColumnType()` to the physical column type unless it is a `SET`/`DROP`/`RESET`/`RESTART`/`ADD GENERATED` action, which is emitted verbatim."}],"return":{"type":"string","description":"The SQL statement for changing the definition of a column."}},"batchInsert":{"signature":"public function batchInsert(mixed $table, mixed $columns, mixed $rows, mixed &$params = []): string","summary":"Generates a batch INSERT SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column names"},{"name":"$rows","type":"mixed","description":"The rows to be batch inserted into the table"},{"name":"$params","type":"mixed","default":"[]","optional":true,"byReference":true,"description":"The binding parameters. This parameter exists since 2.0.14"}],"return":{"type":"string","description":"The batch INSERT SQL statement"}},"buildLimit":{"signature":"public function buildLimit(int|yii\\db\\ExpressionInterface|null $limit, int|yii\\db\\ExpressionInterface|null $offset): string","summary":"Builds the LIMIT and OFFSET clauses for a SELECT query using the PostgreSQL `OFFSET ... FETCH` syntax.","params":[{"name":"$limit","type":"int|yii\\db\\ExpressionInterface|null","description":"The LIMIT value. `null` or a negative value means no limit; `0` is valid and emits `FETCH NEXT 0 ROWS ONLY`."},{"name":"$offset","type":"int|yii\\db\\ExpressionInterface|null","description":"The OFFSET value. `null` or `0` means no offset."}],"return":{"type":"string","description":"The LIMIT and OFFSET clauses built for PostgreSQL `14+`."}},"buildLimitOffsetValue":{"signature":"protected function buildLimitOffsetValue(int|yii\\db\\Expression $value): string","summary":"Builds a PostgreSQL row-limiting value for `OFFSET` / `FETCH` clauses.","params":[{"name":"$value","type":"int|yii\\db\\Expression","description":"The row-limiting value."}],"return":{"type":"string","description":"The value SQL."},"visibility":"protected"},"checkIntegrity":{"signature":"public function checkIntegrity(bool $check = true, string $schema = '', string $table = ''): string","summary":"Builds a SQL statement for enabling or disabling integrity checks.","params":[{"name":"$check","type":"bool","default":"true","optional":true,"description":"Whether to enable or disable integrity checks."},{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema containing the tables."},{"name":"$table","type":"string","default":"''","optional":true,"description":"The table name. An empty string applies the operation to all tables in the schema."}],"return":{"type":"string","description":"The SQL statement for changing the integrity-check state."}},"createIndex":{"signature":"public function createIndex(string $name, string $table, string|array $columns, bool|string $unique = false): string","summary":"Builds a SQL statement for creating a new index.","params":[{"name":"$name","type":"string","description":"The name of the index. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table that the new index will be created for. The table name will be properly quoted by the method."},{"name":"$columns","type":"string|array","description":"The column(s) that should be included in the index. If there are multiple columns, separate them with commas or use an array to represent them. Each column name will be properly quoted by the method, unless a parenthesis is found in the name."},{"name":"$unique","type":"bool|string","default":"false","optional":true,"description":"Whether to make this a UNIQUE index constraint. You can pass `true` or `INDEX_UNIQUE` to create a unique index, `false` to make a non-unique index using the default index type, or one of the following constants to specify the index method to use: `INDEX_B_TREE`, `INDEX_HASH`, `INDEX_GIST`, `INDEX_GIN`."}],"return":{"type":"string","description":"The SQL statement for creating a new index."}},"defaultConditionClasses":{"signature":"protected function defaultConditionClasses(): array","summary":"Contains array of default condition classes. Extend this method, if you want to change default condition classes for the query builder. See `$conditionClasses` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"defaultExpressionBuilders":{"signature":"protected function defaultExpressionBuilders(): array","summary":"Contains array of default expression builders. Extend this method and override it, if you want to change default expression builders for this query builder. See `$expressionBuilders` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"dropIndex":{"signature":"public function dropIndex(string $name, string $table): string","summary":"Builds a SQL statement for dropping an index.","params":[{"name":"$name","type":"string","description":"The name of the index to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose index is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping an index."}},"insert":{"signature":"public function insert(mixed $table, mixed $columns, mixed &$params): string","summary":"Creates an INSERT SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of Query (`yii\\db\\Query`) to perform INSERT INTO ... SELECT SQL statement. Passing of Query (`yii\\db\\Query`) is available since version 2.0.11."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The INSERT SQL"}},"renameTable":{"signature":"public function renameTable(string $oldName, string $newName): string","summary":"Builds a SQL statement for renaming a DB table.","params":[{"name":"$oldName","type":"string","description":"The table to be renamed. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new table name. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB table."}},"resetSequence":{"signature":"public function resetSequence(string $tableName, int|null $value = null): string","summary":"Creates a SQL statement for resetting the sequence value of a table's primary key.","params":[{"name":"$tableName","type":"string","description":"The name of the table whose primary key sequence will be reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have a value `1`."}],"return":{"type":"string","description":"The SQL statement for resetting sequence."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the table does not exist or there is no sequence associated with the table."}]},"truncateTable":{"signature":"public function truncateTable(string $table): string","summary":"Builds a SQL statement for truncating a DB table.","params":[{"name":"$table","type":"string","description":"The table to be truncated. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for truncating a DB table."}},"update":{"signature":"public function update(mixed $table, mixed $columns, mixed $condition, mixed &$params): string","summary":"Creates an UPDATE SQL statement.","params":[{"name":"$table","type":"mixed","description":"The table to be updated."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be updated."},{"name":"$condition","type":"mixed","description":"The condition that will be put in the WHERE part. Please refer to `yii\\db\\Query::where()` on how to specify condition."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be modified by this method so that they can be bound to the DB command later."}],"return":{"type":"string","description":"The UPDATE SQL"}},"upsert":{"signature":"public function upsert(mixed $table, mixed $insertColumns, mixed $updateColumns, mixed &$params): string","summary":"Creates an SQL statement to insert rows into a database table if they do not already exist (matching unique constraints), or update them if they do.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into/updated in."},{"name":"$insertColumns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of `yii\\db\\Query` to perform `INSERT INTO ... SELECT` SQL statement."},{"name":"$updateColumns","type":"mixed","description":"The column data (name => value) to be updated if they already exist. If `true` is passed, the column data will be updated to match the insert column data. If `false` is passed, no update will be performed if the column data already exists."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The resulting SQL."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.14"}},"constants":{"INDEX_UNIQUE":{"value":"'unique'","description":"Defines a UNIQUE index for `createIndex()`.","since":"2.0.6"},"INDEX_B_TREE":{"value":"'btree'","description":"Defines a B-tree index for `createIndex()`.","since":"2.0.6"},"INDEX_HASH":{"value":"'hash'","description":"Defines a hash index for `createIndex()`.","since":"2.0.6"},"INDEX_GIST":{"value":"'gist'","description":"Defines a GiST index for `createIndex()`.","since":"2.0.6"},"INDEX_GIN":{"value":"'gin'","description":"Defines a GIN index for `createIndex()`.","since":"2.0.6"}},"inherited":{"properties":{"conditionClasses":"yii\\db\\QueryBuilder","db":"yii\\db\\QueryBuilder","expressionBuilders":"yii\\db\\QueryBuilder","separator":"yii\\db\\QueryBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\QueryBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","addCheck":"yii\\db\\QueryBuilder","addColumn":"yii\\db\\QueryBuilder","addCommentOnColumn":"yii\\db\\QueryBuilder","addCommentOnTable":"yii\\db\\QueryBuilder","addDefaultValue":"yii\\db\\QueryBuilder","addForeignKey":"yii\\db\\QueryBuilder","addPrimaryKey":"yii\\db\\QueryBuilder","addUnique":"yii\\db\\QueryBuilder","bindParam":"yii\\db\\QueryBuilder","build":"yii\\db\\QueryBuilder","buildColumns":"yii\\db\\QueryBuilder","buildCondition":"yii\\db\\QueryBuilder","buildExpression":"yii\\db\\QueryBuilder","buildFrom":"yii\\db\\QueryBuilder","buildGroupBy":"yii\\db\\QueryBuilder","buildHaving":"yii\\db\\QueryBuilder","buildJoin":"yii\\db\\QueryBuilder","buildOrderBy":"yii\\db\\QueryBuilder","buildOrderByAndLimit":"yii\\db\\QueryBuilder","buildSelect":"yii\\db\\QueryBuilder","buildUnion":"yii\\db\\QueryBuilder","buildUnionOrderByAndLimit":"yii\\db\\QueryBuilder","buildWhere":"yii\\db\\QueryBuilder","buildWithQueries":"yii\\db\\QueryBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","concatUnionSql":"yii\\db\\QueryBuilder","createConditionFromArray":"yii\\db\\QueryBuilder","createTable":"yii\\db\\QueryBuilder","createView":"yii\\db\\QueryBuilder","delete":"yii\\db\\QueryBuilder","dropCheck":"yii\\db\\QueryBuilder","dropColumn":"yii\\db\\QueryBuilder","dropCommentFromColumn":"yii\\db\\QueryBuilder","dropCommentFromTable":"yii\\db\\QueryBuilder","dropDefaultValue":"yii\\db\\QueryBuilder","dropForeignKey":"yii\\db\\QueryBuilder","dropPrimaryKey":"yii\\db\\QueryBuilder","dropTable":"yii\\db\\QueryBuilder","dropUnique":"yii\\db\\QueryBuilder","dropView":"yii\\db\\QueryBuilder","executeResetSequence":"yii\\db\\QueryBuilder","extractAlias":"yii\\db\\QueryBuilder","getColumnType":"yii\\db\\QueryBuilder","getExpressionBuilder":"yii\\db\\QueryBuilder","hasLimit":"yii\\db\\QueryBuilder","hasMethod":"yii\\base\\BaseObject","hasOffset":"yii\\db\\QueryBuilder","hasProperty":"yii\\base\\BaseObject","init":"yii\\db\\QueryBuilder","prepareInsertSelectSubQuery":"yii\\db\\QueryBuilder","prepareInsertValues":"yii\\db\\QueryBuilder","prepareSelectQuery":"yii\\db\\QueryBuilder","prepareUpdateSets":"yii\\db\\QueryBuilder","prepareUpsertColumns":"yii\\db\\QueryBuilder","prepareUpsertSets":"yii\\db\\QueryBuilder","renameColumn":"yii\\db\\QueryBuilder","selectExists":"yii\\db\\QueryBuilder","setConditionClasses":"yii\\db\\QueryBuilder","setExpressionBuilders":"yii\\db\\QueryBuilder"},"constants":{"PARAM_PREFIX":"yii\\db\\QueryBuilder"}}},"yii\\db\\pgsql\\Schema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pgsql/schema/","summary":"Schema is the class for retrieving metadata from a PostgreSQL database (version 14.0 and above).","since":"2.0","extends":"yii\\db\\Schema","implements":["yii\\db\\ConstraintFinderInterface","yii\\base\\Configurable"],"traits":["yii\\db\\ViewFinderTrait","yii\\db\\ConstraintFinderTrait"],"properties":{"columnSchemaClass":{"type":"class-string<yii\\db\\T>|array{class?: class-string<yii\\db\\T>, __class?: class-string<yii\\db\\T>}","default":"'yii\\db\\pgsql\\ColumnSchema'","since":"2.0.11"},"defaultSchema":{"type":"string","default":"'public'","description":"The schema used for unqualified table metadata lookups."},"tableQuoteCharacter":{"type":"string|string[]","default":"'\"'","visibility":"protected","since":"2.0.14"},"typeMap":{"type":"array","default":"['bit' => self::TYPE_INTEGER, 'bit varying' => self::TYPE_INTEGER, 'varbit' => self::TYPE_INTEGER, 'bool' => self::TYPE_BOOLEAN, 'boolean' => self::TYPE_BOOLEAN, 'box' => self::TYPE_STRING, 'circle' => self::TYPE_STRING, 'point' => self::TYPE_STRING, 'line' => self::TYPE_STRING, 'lseg' => self::TYPE_STRING, 'polygon' => self::TYPE_STRING, 'path' => self::TYPE_STRING, 'character' => self::TYPE_CHAR, 'char' => self::TYPE_CHAR, 'bpchar' => self::TYPE_CHAR, 'character varying' => self::TYPE_STRING, 'varchar' => self::TYPE_STRING, 'text' => self::TYPE_TEXT, 'bytea' => self::TYPE_BINARY, 'cidr' => self::TYPE_STRING, 'inet' => self::TYPE_STRING, 'macaddr' => self::TYPE_STRING, 'real' => self::TYPE_FLOAT, 'float4' => self::TYPE_FLOAT, 'double precision' => self::TYPE_DOUBLE, 'float8' => self::TYPE_DOUBLE, 'decimal' => self::TYPE_DECIMAL, 'numeric' => self::TYPE_DECIMAL, 'money' => self::TYPE_MONEY, 'smallint' => self::TYPE_SMALLINT, 'int2' => self::TYPE_SMALLINT, 'int4' => self::TYPE_INTEGER, 'int' => self::TYPE_INTEGER, 'integer' => self::TYPE_INTEGER, 'bigint' => self::TYPE_BIGINT, 'int8' => self::TYPE_BIGINT, 'oid' => self::TYPE_BIGINT, 'smallserial' => self::TYPE_SMALLINT, 'serial2' => self::TYPE_SMALLINT, 'serial4' => self::TYPE_INTEGER, 'serial' => self::TYPE_INTEGER, 'bigserial' => self::TYPE_BIGINT, 'serial8' => self::TYPE_BIGINT, 'pg_lsn' => self::TYPE_BIGINT, 'date' => self::TYPE_DATE, 'interval' => self::TYPE_STRING, 'time without time zone' => self::TYPE_TIME, 'time' => self::TYPE_TIME, 'time with time zone' => self::TYPE_TIME, 'timetz' => self::TYPE_TIME, 'timestamp without time zone' => self::TYPE_TIMESTAMP, 'timestamp' => self::TYPE_TIMESTAMP, 'timestamp with time zone' => self::TYPE_TIMESTAMP, 'timestamptz' => self::TYPE_TIMESTAMP, 'abstime' => self::TYPE_TIMESTAMP, 'tsquery' => self::TYPE_STRING, 'tsvector' => self::TYPE_STRING, 'txid_snapshot' => self::TYPE_STRING, 'unknown' => self::TYPE_STRING, 'uuid' => self::TYPE_STRING, 'json' => self::TYPE_JSON, 'jsonb' => self::TYPE_JSON, 'xml' => self::TYPE_STRING]","description":"Mapping from physical column types (keys) to abstract column types (values)"}},"methods":{"createQueryBuilder":{"signature":"public function createQueryBuilder(): yii\\db\\pgsql\\QueryBuilder","summary":"Creates a query builder for the PostgreSQL database.","return":{"type":"yii\\db\\pgsql\\QueryBuilder","description":"Query builder instance"}},"findColumns":{"signature":"protected function findColumns(yii\\db\\TableSchema $table): bool","summary":"Collects the metadata of table columns.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"bool","description":"Whether the table exists in the database"},"visibility":"protected"},"findConstraints":{"signature":"protected function findConstraints(yii\\db\\TableSchema $table): mixed","summary":"Collects the foreign key column details for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"mixed"},"visibility":"protected"},"findSchemaNames":{"signature":"protected function findSchemaNames(): array","summary":"Returns all schema names in the database, including the default one but not system schemas.","return":{"type":"array","description":"All schema names in the database, except system schemas."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.4"},"findTableNames":{"signature":"protected function findTableNames(mixed $schema = ''): array","summary":"Returns all table names in the database.","params":[{"name":"$schema","type":"mixed","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema."}],"return":{"type":"array","description":"All table names in the database. The names have NO schema name prefix."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected"},"findUniqueIndexes":{"signature":"public function findUniqueIndexes(yii\\db\\TableSchema $table): array","summary":"Returns all unique indexes for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"array","description":"All unique indexes for the given table."}},"findViewNames":{"signature":"protected function findViewNames(mixed $schema = ''): mixed","summary":"{@inheritdoc]","params":[{"name":"$schema","type":"mixed","default":"''","optional":true}],"return":{"type":"mixed"},"visibility":"protected"},"getUniqueIndexInformation":{"signature":"protected function getUniqueIndexInformation(yii\\db\\TableSchema $table): array","summary":"Gets information about given table unique indexes.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"array","description":"With index and column names"},"visibility":"protected"},"insert":{"signature":"public function insert(mixed $table, mixed $columns): array|false","summary":"Executes the INSERT command, returning primary key values.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into."},{"name":"$columns","type":"mixed","description":"The column data (name => value) to be inserted into the table."}],"return":{"type":"array|false","description":"Primary key values or false if the command fails"},"since":"2.0.4"},"loadColumnSchema":{"signature":"protected function loadColumnSchema(array $info): yii\\db\\pgsql\\T","summary":"Loads the column information into a `yii\\db\\pgsql\\ColumnSchema` object.","params":[{"name":"$info","type":"array","description":"Column information"}],"return":{"type":"yii\\db\\pgsql\\T","description":"The column schema object"},"visibility":"protected"},"loadTableChecks":{"signature":"protected function loadTableChecks(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableDefaultValues":{"signature":"protected function loadTableDefaultValues(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is called."}],"visibility":"protected"},"loadTableForeignKeys":{"signature":"protected function loadTableForeignKeys(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableIndexes":{"signature":"protected function loadTableIndexes(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTablePrimaryKey":{"signature":"protected function loadTablePrimaryKey(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableSchema":{"signature":"protected function loadTableSchema(mixed $name): yii\\db\\TableSchema|null","summary":"Loads the metadata for the specified table.","params":[{"name":"$name","type":"mixed","description":"Table name"}],"return":{"type":"yii\\db\\TableSchema|null","description":"DBMS-dependent table metadata, `null` if the table does not exist."},"visibility":"protected"},"loadTableUniques":{"signature":"protected function loadTableUniques(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"resolveTableName":{"signature":"protected function resolveTableName(mixed $name): yii\\db\\TableSchema","summary":"Resolves the table name and schema name (if any).","params":[{"name":"$name","type":"mixed","description":"The table name"}],"return":{"type":"yii\\db\\TableSchema","description":"`yii\\db\\TableSchema` with resolved table, schema, etc. names."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected","since":"2.0.13"}},"constants":{"TYPE_JSONB":{"value":"'jsonb'"}},"inherited":{"properties":{"columnQuoteCharacter":"yii\\db\\Schema","db":"yii\\db\\Schema","exceptionMap":"yii\\db\\Schema","lastInsertID":"yii\\db\\Schema","queryBuilder":"yii\\db\\Schema","schemaChecks":"yii\\db\\ConstraintFinderTrait","schemaDefaultValues":"yii\\db\\ConstraintFinderTrait","schemaForeignKeys":"yii\\db\\ConstraintFinderTrait","schemaIndexes":"yii\\db\\ConstraintFinderTrait","schemaNames":"yii\\db\\Schema","schemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","schemaUniques":"yii\\db\\ConstraintFinderTrait","serverVersion":"yii\\db\\Schema","systemSchemaNames":"yii\\db\\Schema","tableNames":"yii\\db\\Schema","tableSchemas":"yii\\db\\Schema","transactionIsolationLevel":"yii\\db\\Schema","viewNames":"yii\\db\\ViewFinderTrait"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","convertException":"yii\\db\\Schema","createColumnSchema":"yii\\db\\Schema","createColumnSchemaBuilder":"yii\\db\\Schema","createSavepoint":"yii\\db\\Schema","getCacheKey":"yii\\db\\Schema","getCacheTag":"yii\\db\\Schema","getColumnPhpType":"yii\\db\\Schema","getLastInsertID":"yii\\db\\Schema","getPdoType":"yii\\db\\Schema","getQueryBuilder":"yii\\db\\Schema","getRawTableName":"yii\\db\\Schema","getSchemaChecks":"yii\\db\\ConstraintFinderTrait","getSchemaDefaultValues":"yii\\db\\ConstraintFinderTrait","getSchemaForeignKeys":"yii\\db\\ConstraintFinderTrait","getSchemaIndexes":"yii\\db\\ConstraintFinderTrait","getSchemaMetadata":"yii\\db\\Schema","getSchemaNames":"yii\\db\\Schema","getSchemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","getSchemaUniques":"yii\\db\\ConstraintFinderTrait","getServerVersion":"yii\\db\\Schema","getTableChecks":"yii\\db\\ConstraintFinderTrait","getTableDefaultValues":"yii\\db\\ConstraintFinderTrait","getTableForeignKeys":"yii\\db\\ConstraintFinderTrait","getTableIndexes":"yii\\db\\ConstraintFinderTrait","getTableMetadata":"yii\\db\\Schema","getTableNameParts":"yii\\db\\Schema","getTableNames":"yii\\db\\Schema","getTablePrimaryKey":"yii\\db\\ConstraintFinderTrait","getTableSchema":"yii\\db\\Schema","getTableSchemas":"yii\\db\\Schema","getTableUniques":"yii\\db\\ConstraintFinderTrait","getViewNames":"yii\\db\\ViewFinderTrait","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isReadQuery":"yii\\db\\Schema","normalizePdoRowKeyCase":"yii\\db\\Schema","quoteColumnName":"yii\\db\\Schema","quoteSimpleColumnName":"yii\\db\\Schema","quoteSimpleTableName":"yii\\db\\Schema","quoteTableName":"yii\\db\\Schema","quoteValue":"yii\\db\\Schema","refresh":"yii\\db\\Schema","refreshTableSchema":"yii\\db\\Schema","releaseSavepoint":"yii\\db\\Schema","resolveRawTableName":"yii\\db\\Schema","rollBackSavepoint":"yii\\db\\Schema","setTableMetadata":"yii\\db\\Schema","setTransactionIsolationLevel":"yii\\db\\Schema","supportsSavepoint":"yii\\db\\Schema","unquoteSimpleColumnName":"yii\\db\\Schema","unquoteSimpleTableName":"yii\\db\\Schema"},"constants":{"TYPE_PK":"yii\\db\\Schema","TYPE_UPK":"yii\\db\\Schema","TYPE_BIGPK":"yii\\db\\Schema","TYPE_UBIGPK":"yii\\db\\Schema","TYPE_CHAR":"yii\\db\\Schema","TYPE_STRING":"yii\\db\\Schema","TYPE_TEXT":"yii\\db\\Schema","TYPE_TINYINT":"yii\\db\\Schema","TYPE_SMALLINT":"yii\\db\\Schema","TYPE_INTEGER":"yii\\db\\Schema","TYPE_BIGINT":"yii\\db\\Schema","TYPE_FLOAT":"yii\\db\\Schema","TYPE_DOUBLE":"yii\\db\\Schema","TYPE_DECIMAL":"yii\\db\\Schema","TYPE_DATETIME":"yii\\db\\Schema","TYPE_TIMESTAMP":"yii\\db\\Schema","TYPE_TIME":"yii\\db\\Schema","TYPE_DATE":"yii\\db\\Schema","TYPE_BINARY":"yii\\db\\Schema","TYPE_BOOLEAN":"yii\\db\\Schema","TYPE_MONEY":"yii\\db\\Schema","TYPE_JSON":"yii\\db\\Schema","SCHEMA_CACHE_VERSION":"yii\\db\\Schema"}}},"yii\\db\\pgsql\\Transaction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/pgsql/transaction/","summary":"Represents a PostgreSQL DB transaction.","since":"22.0","extends":"yii\\db\\Transaction","implements":["yii\\base\\Configurable"],"methods":{"begin":{"signature":"public function begin(mixed $isolationLevel = null): mixed","summary":"Begins a transaction.","params":[{"name":"$isolationLevel","type":"mixed","default":"null","optional":true,"description":"The [isolation level][] to use for this transaction. This can be one of `READ_UNCOMMITTED`, `READ_COMMITTED`, `REPEATABLE_READ` and `SERIALIZABLE` but also a string containing DBMS specific syntax to be used after `SET TRANSACTION ISOLATION LEVEL`. If not specified (`null`) the isolation level will not be set explicitly and the DBMS default will be used. > Note: Some DBMS allow setting of the isolation level only for the whole connection so subsequent transactions may get the same isolation level even if you did not specify any. When using this feature you may need to set the isolation level for all transactions explicitly to avoid conflicting settings. At the time of this writing affected DBMS are MSSQL and SQLite. > Note: The isolation level applies to the outermost transaction only. Nested transactions are implemented with savepoints and always run at the isolation level of the outer transaction, so an `$isolationLevel` passed to a nested `begin()` call is ignored and a warning is logged (since 2.0.56). [isolation level]: https://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels Starting from version 2.0.16, this method throws exception when beginning nested transaction and underlying DBMS does not support savepoints."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is `null`"},{"type":"yii\\base\\NotSupportedException","description":"if the DBMS does not support nested transactions"},{"type":"yii\\db\\Exception","description":"if DB connection fails"}]}},"inherited":{"properties":{"db":"yii\\db\\Transaction","isActive":"yii\\db\\Transaction","isolationLevel":"yii\\db\\Transaction","level":"yii\\db\\Transaction"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","commit":"yii\\db\\Transaction","getIsActive":"yii\\db\\Transaction","getLevel":"yii\\db\\Transaction","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","rollBack":"yii\\db\\Transaction","setIsolationLevel":"yii\\db\\Transaction"},"constants":{"READ_UNCOMMITTED":"yii\\db\\Transaction","READ_COMMITTED":"yii\\db\\Transaction","REPEATABLE_READ":"yii\\db\\Transaction","SERIALIZABLE":"yii\\db\\Transaction"}}},"yii\\db\\sqlite\\ColumnSchema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/columnschema/","summary":"Represents the metadata of a column in a SQLite database table.","since":"22.0","extends":"yii\\db\\ColumnSchema","implements":["yii\\base\\Configurable"],"methods":{"defaultPhpTypecast":{"signature":"public function defaultPhpTypecast(mixed $value): mixed","summary":"Converts a SQLite column default value to its PHP representation.","params":[{"name":"$value","type":"mixed","description":"Default value in SQLite `dflt_value` format."}],"return":{"type":"mixed","description":"Converted value."},"since":"22.0"}},"inherited":{"properties":{"allowNull":"yii\\db\\ColumnSchema","autoIncrement":"yii\\db\\ColumnSchema","comment":"yii\\db\\ColumnSchema","dbType":"yii\\db\\ColumnSchema","defaultValue":"yii\\db\\ColumnSchema","enumValues":"yii\\db\\ColumnSchema","isPrimaryKey":"yii\\db\\ColumnSchema","name":"yii\\db\\ColumnSchema","phpType":"yii\\db\\ColumnSchema","precision":"yii\\db\\ColumnSchema","scale":"yii\\db\\ColumnSchema","size":"yii\\db\\ColumnSchema","type":"yii\\db\\ColumnSchema","unsigned":"yii\\db\\ColumnSchema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","dbTypecast":"yii\\db\\ColumnSchema","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isType":"yii\\db\\ColumnSchema","phpTypecast":"yii\\db\\ColumnSchema","typecast":"yii\\db\\ColumnSchema"}}},"yii\\db\\sqlite\\ColumnSchemaBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/columnschemabuilder/","summary":"ColumnSchemaBuilder is the schema builder for Sqlite databases.","since":"2.0.8","extends":"yii\\db\\ColumnSchemaBuilder","implements":["Stringable","yii\\base\\Configurable"],"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Builds the full string for the column's schema.","return":{"type":"string"}},"buildUnsignedString":{"signature":"protected function buildUnsignedString(): string","summary":"Builds the unsigned string for column. Defaults to unsupported.","return":{"type":"string","description":"A string containing UNSIGNED keyword."},"visibility":"protected","since":"2.0.7"}},"inherited":{"properties":{"after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","categoryMap":"yii\\db\\ColumnSchemaBuilder","check":"yii\\db\\ColumnSchemaBuilder","comment":"yii\\db\\ColumnSchemaBuilder","db":"yii\\db\\ColumnSchemaBuilder","default":"yii\\db\\ColumnSchemaBuilder","isFirst":"yii\\db\\ColumnSchemaBuilder","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","isUnsigned":"yii\\db\\ColumnSchemaBuilder","length":"yii\\db\\ColumnSchemaBuilder","type":"yii\\db\\ColumnSchemaBuilder","typeCategoryMap":"yii\\db\\ColumnSchemaBuilder","typeDefinition":"yii\\db\\ColumnSchemaBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\ColumnSchemaBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","after":"yii\\db\\ColumnSchemaBuilder","append":"yii\\db\\ColumnSchemaBuilder","buildAfterString":"yii\\db\\ColumnSchemaBuilder","buildAppendString":"yii\\db\\ColumnSchemaBuilder","buildCheckString":"yii\\db\\ColumnSchemaBuilder","buildCommentString":"yii\\db\\ColumnSchemaBuilder","buildCompleteString":"yii\\db\\ColumnSchemaBuilder","buildDefaultString":"yii\\db\\ColumnSchemaBuilder","buildDefaultValue":"yii\\db\\ColumnSchemaBuilder","buildFirstString":"yii\\db\\ColumnSchemaBuilder","buildLengthString":"yii\\db\\ColumnSchemaBuilder","buildNotNullString":"yii\\db\\ColumnSchemaBuilder","buildUniqueString":"yii\\db\\ColumnSchemaBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","check":"yii\\db\\ColumnSchemaBuilder","className":"yii\\base\\BaseObject","comment":"yii\\db\\ColumnSchemaBuilder","defaultExpression":"yii\\db\\ColumnSchemaBuilder","defaultValue":"yii\\db\\ColumnSchemaBuilder","first":"yii\\db\\ColumnSchemaBuilder","getAppend":"yii\\db\\ColumnSchemaBuilder","getCategoryMap":"yii\\db\\ColumnSchemaBuilder","getCheck":"yii\\db\\ColumnSchemaBuilder","getDefault":"yii\\db\\ColumnSchemaBuilder","getTypeCategory":"yii\\db\\ColumnSchemaBuilder","getTypeDefinition":"yii\\db\\ColumnSchemaBuilder","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isNotNull":"yii\\db\\ColumnSchemaBuilder","isUnique":"yii\\db\\ColumnSchemaBuilder","notNull":"yii\\db\\ColumnSchemaBuilder","null":"yii\\db\\ColumnSchemaBuilder","setCategoryMap":"yii\\db\\ColumnSchemaBuilder","unique":"yii\\db\\ColumnSchemaBuilder","unsigned":"yii\\db\\ColumnSchemaBuilder"},"constants":{"CATEGORY_PK":"yii\\db\\ColumnSchemaBuilder","CATEGORY_STRING":"yii\\db\\ColumnSchemaBuilder","CATEGORY_NUMERIC":"yii\\db\\ColumnSchemaBuilder","CATEGORY_TIME":"yii\\db\\ColumnSchemaBuilder","CATEGORY_OTHER":"yii\\db\\ColumnSchemaBuilder"}}},"yii\\db\\sqlite\\Command":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/command/","summary":"Command represents an SQLite's SQL statement to be executed against a database.","since":"2.0.14","extends":"yii\\db\\Command","implements":["yii\\base\\Configurable"],"methods":{"checkIntegrity":{"signature":"public function checkIntegrity(mixed $check = true, mixed $schema = '', mixed $table = ''): $this","summary":"Builds a SQL command for enabling or disabling integrity check.","params":[{"name":"$check","type":"mixed","default":"true","optional":true,"description":"Whether to turn on or off the integrity check."},{"name":"$schema","type":"mixed","default":"''","optional":true,"description":"The schema name of the tables. Defaults to empty string, meaning the current or default schema."},{"name":"$table","type":"mixed","default":"''","optional":true,"description":"The table name."}],"return":{"type":"$this","description":"The command object itself"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS"}]},"execute":{"signature":"public function execute(): int","summary":"Executes the SQL statement.","return":{"type":"int","description":"Number of rows affected by the execution."},"throws":[{"type":"yii\\db\\Exception","description":"execution failed"}]},"prepare":{"signature":"public function prepare(mixed $forRead = null): mixed","summary":"Prepares the SQL statement to be executed.","params":[{"name":"$forRead","type":"mixed","default":"null","optional":true,"description":"Whether this method is called for a read query. If null, it means the SQL statement should be used to determine whether it is for read or write."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\db\\Exception","description":"if there is any DB error"}]},"queryInternal":{"signature":"protected function queryInternal(mixed $method, mixed $fetchMode = null): mixed","summary":"Performs the actual DB query of a SQL statement.","params":[{"name":"$method","type":"mixed","description":"Method of PDOStatement to be called"},{"name":"$fetchMode","type":"mixed","default":"null","optional":true,"description":"The result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) for valid fetch modes. If this parameter is null, the value set in `$fetchMode` will be used."}],"return":{"type":"mixed","description":"The method execution result"},"throws":[{"type":"yii\\db\\Exception","description":"if the query causes any problem"}],"visibility":"protected"},"reset":{"signature":"protected function reset(): mixed","summary":"Resets command properties to their initial state.","return":{"type":"mixed"},"visibility":"protected","since":"2.0.13"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","db":"yii\\db\\Command","fetchMode":"yii\\db\\Command","params":"yii\\db\\Command","pdoStatement":"yii\\db\\Command","pendingParams":"yii\\db\\Command","queryCacheDependency":"yii\\db\\Command","queryCacheDuration":"yii\\db\\Command","rawSql":"yii\\db\\Command","sql":"yii\\db\\Command"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addCheck":"yii\\db\\Command","addColumn":"yii\\db\\Command","addCommentOnColumn":"yii\\db\\Command","addCommentOnTable":"yii\\db\\Command","addDefaultValue":"yii\\db\\Command","addForeignKey":"yii\\db\\Command","addPrimaryKey":"yii\\db\\Command","addUnique":"yii\\db\\Command","alterColumn":"yii\\db\\Command","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","batchInsert":"yii\\db\\Command","behaviors":"yii\\base\\Component","bindParam":"yii\\db\\Command","bindPendingParams":"yii\\db\\Command","bindValue":"yii\\db\\Command","bindValues":"yii\\db\\Command","cache":"yii\\db\\Command","cancel":"yii\\db\\Command","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createIndex":"yii\\db\\Command","createTable":"yii\\db\\Command","createView":"yii\\db\\Command","delete":"yii\\db\\Command","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","dropCheck":"yii\\db\\Command","dropColumn":"yii\\db\\Command","dropCommentFromColumn":"yii\\db\\Command","dropCommentFromTable":"yii\\db\\Command","dropDefaultValue":"yii\\db\\Command","dropForeignKey":"yii\\db\\Command","dropIndex":"yii\\db\\Command","dropPrimaryKey":"yii\\db\\Command","dropTable":"yii\\db\\Command","dropUnique":"yii\\db\\Command","dropView":"yii\\db\\Command","ensureBehaviors":"yii\\base\\Component","executeResetSequence":"yii\\db\\Command","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCacheKey":"yii\\db\\Command","getRawSql":"yii\\db\\Command","getSql":"yii\\db\\Command","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","insert":"yii\\db\\Command","internalExecute":"yii\\db\\Command","logQuery":"yii\\db\\Command","noCache":"yii\\db\\Command","off":"yii\\base\\Component","on":"yii\\base\\Component","query":"yii\\db\\Command","queryAll":"yii\\db\\Command","queryColumn":"yii\\db\\Command","queryOne":"yii\\db\\Command","queryScalar":"yii\\db\\Command","refreshTableSchema":"yii\\db\\Command","renameColumn":"yii\\db\\Command","renameTable":"yii\\db\\Command","requireTableSchemaRefresh":"yii\\db\\Command","requireTransaction":"yii\\db\\Command","resetSequence":"yii\\db\\Command","setRawSql":"yii\\db\\Command","setRetryHandler":"yii\\db\\Command","setSql":"yii\\db\\Command","trigger":"yii\\base\\Component","truncateTable":"yii\\db\\Command","update":"yii\\db\\Command","upsert":"yii\\db\\Command"}}},"yii\\db\\sqlite\\QueryBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/querybuilder/","summary":"QueryBuilder is the query builder for SQLite databases.","since":"2.0","extends":"yii\\db\\QueryBuilder","implements":["yii\\base\\Configurable"],"properties":{"typeMap":{"type":"array","default":"[\\yii\\db\\sqlite\\Schema::TYPE_PK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL', \\yii\\db\\sqlite\\Schema::TYPE_UPK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL', \\yii\\db\\sqlite\\Schema::TYPE_BIGPK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL', \\yii\\db\\sqlite\\Schema::TYPE_UBIGPK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL', \\yii\\db\\sqlite\\Schema::TYPE_CHAR => 'char(1)', \\yii\\db\\sqlite\\Schema::TYPE_STRING => 'varchar(255)', \\yii\\db\\sqlite\\Schema::TYPE_TEXT => 'text', \\yii\\db\\sqlite\\Schema::TYPE_TINYINT => 'tinyint', \\yii\\db\\sqlite\\Schema::TYPE_SMALLINT => 'smallint', \\yii\\db\\sqlite\\Schema::TYPE_INTEGER => 'integer', \\yii\\db\\sqlite\\Schema::TYPE_BIGINT => 'bigint', \\yii\\db\\sqlite\\Schema::TYPE_FLOAT => 'float', \\yii\\db\\sqlite\\Schema::TYPE_DOUBLE => 'double', \\yii\\db\\sqlite\\Schema::TYPE_DECIMAL => 'decimal(10,0)', \\yii\\db\\sqlite\\Schema::TYPE_DATETIME => 'datetime', \\yii\\db\\sqlite\\Schema::TYPE_TIMESTAMP => 'timestamp', \\yii\\db\\sqlite\\Schema::TYPE_TIME => 'time', \\yii\\db\\sqlite\\Schema::TYPE_DATE => 'date', \\yii\\db\\sqlite\\Schema::TYPE_BINARY => 'blob', \\yii\\db\\sqlite\\Schema::TYPE_BOOLEAN => 'boolean', \\yii\\db\\sqlite\\Schema::TYPE_MONEY => 'decimal(19,4)']","description":"Mapping from abstract column types (keys) to physical column types (values)."}},"methods":{"addCheck":{"signature":"public function addCheck(mixed $name, mixed $table, mixed $expression): string","summary":"Creates a SQL command for adding a check constraint to an existing table.","params":[{"name":"$name","type":"mixed","description":"The name of the check constraint. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table that the check constraint will be added to. The name will be properly quoted by the method."},{"name":"$expression","type":"mixed","description":"The SQL of the `CHECK` constraint."}],"return":{"type":"string","description":"The SQL statement for adding a check constraint to an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite."}],"since":"2.0.13"},"addCommentOnColumn":{"signature":"public function addCommentOnColumn(mixed $table, mixed $column, mixed $comment): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be commented. The column name will be properly quoted by the method."},{"name":"$comment","type":"mixed","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"throws":[{"type":"yii\\base\\NotSupportedException"}],"since":"2.0.8"},"addCommentOnTable":{"signature":"public function addCommentOnTable(mixed $table, mixed $comment): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$comment","type":"mixed","description":"The text of the comment to be added. The comment will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on table"},"throws":[{"type":"yii\\base\\NotSupportedException"}],"since":"2.0.8"},"addDefaultValue":{"signature":"public function addDefaultValue(mixed $name, mixed $table, mixed $column, mixed $value): string","summary":"Creates a SQL command for adding a default value constraint to an existing table.","params":[{"name":"$name","type":"mixed","description":"The name of the default value constraint. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table that the default value constraint will be added to. The name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to that the constraint will be added on. The name will be properly quoted by the method."},{"name":"$value","type":"mixed","description":"Default value."}],"return":{"type":"string","description":"The SQL statement for adding a default value constraint to an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite."}],"since":"2.0.13"},"addForeignKey":{"signature":"public function addForeignKey(string $name, string $table, string|array $columns, string $refTable, string|array $refColumns, string|null $delete = null, string|null $update = null): string","summary":"Builds a SQL statement for adding a foreign key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint."},{"name":"$table","type":"string","description":"The table that the foreign key constraint will be added to."},{"name":"$columns","type":"string|array","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas or use an array to represent them."},{"name":"$refTable","type":"string","description":"The table that the foreign key references to."},{"name":"$refColumns","type":"string|array","description":"The name of the column that the foreign key references to. If there are multiple columns, separate them with commas or use an array to represent them."},{"name":"$delete","type":"string|null","default":"null","optional":true,"description":"The ON DELETE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"},{"name":"$update","type":"string|null","default":"null","optional":true,"description":"The ON UPDATE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL"}],"return":{"type":"string","description":"The SQL statement for adding a foreign key constraint to an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite"}]},"addPrimaryKey":{"signature":"public function addPrimaryKey(string $name, string $table, string|array $columns): string","summary":"Builds a SQL statement for adding a primary key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be added to."},{"name":"$columns","type":"string|array","description":"Comma separated string or array of columns that the primary key will consist of."}],"return":{"type":"string","description":"The SQL statement for adding a primary key constraint to an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite"}]},"addUnique":{"signature":"public function addUnique(mixed $name, mixed $table, mixed $columns): string","summary":"Creates a SQL command for adding an unique constraint to an existing table.","params":[{"name":"$name","type":"mixed","description":"The name of the unique constraint. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table that the unique constraint will be added to. The name will be properly quoted by the method."},{"name":"$columns","type":"mixed","description":"The name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding an unique constraint to an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite."}],"since":"2.0.13"},"alterColumn":{"signature":"public function alterColumn(string $table, string $column, string $type): string","summary":"Builds a SQL statement for changing the definition of a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be changed. The table name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be changed. The name will be properly quoted by the method."},{"name":"$type","type":"string","description":"The new column type. The `getColumnType()` method will be invoked to convert abstract column type (if any) into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'."}],"return":{"type":"string","description":"The SQL statement for changing the definition of a column."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite"}]},"buildLimit":{"signature":"public function buildLimit(mixed $limit, mixed $offset): string","params":[{"name":"$limit","type":"mixed"},{"name":"$offset","type":"mixed"}],"return":{"type":"string","description":"The LIMIT and OFFSET clauses"}},"buildUnion":{"signature":"public function buildUnion(mixed $unions, mixed &$params): string","params":[{"name":"$unions","type":"mixed"},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters to be populated"}],"return":{"type":"string","description":"The UNION clause built from `yii\\db\\Query::$union`."}},"checkIntegrity":{"signature":"public function checkIntegrity(bool $check = true, string $schema = '', string $table = ''): string","summary":"Enables or disables integrity check.","params":[{"name":"$check","type":"bool","default":"true","optional":true,"description":"Whether to turn on or off the integrity check."},{"name":"$schema","type":"string","default":"''","optional":true,"description":"The schema of the tables. Meaningless for SQLite."},{"name":"$table","type":"string","default":"''","optional":true,"description":"The table name. Meaningless for SQLite."}],"return":{"type":"string","description":"The SQL statement for checking integrity."}},"concatUnionSql":{"signature":"protected function concatUnionSql(string $sql, string $union): string","summary":"Concatenates the first `SELECT` statement with the UNION clauses built by `buildUnion()`.","params":[{"name":"$sql","type":"string","description":"The SQL of the first `SELECT` statement."},{"name":"$union","type":"string","description":"The UNION clauses."}],"return":{"type":"string","description":"The compound SQL with the first statement parenthesized."},"visibility":"protected","since":"22.0"},"createIndex":{"signature":"public function createIndex(mixed $name, mixed $table, mixed $columns, mixed $unique = false): string","summary":"Builds a SQL statement for creating a new index.","params":[{"name":"$name","type":"mixed","description":"The name of the index. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table that the new index will be created for. The table name will be properly quoted by the method."},{"name":"$columns","type":"mixed","description":"The column(s) that should be included in the index. If there are multiple columns, separate them with commas or use an array to represent them. Each column name will be properly quoted by the method, unless a parenthesis is found in the name."},{"name":"$unique","type":"mixed","default":"false","optional":true,"description":"Whether to add UNIQUE constraint on the created index."}],"return":{"type":"string","description":"The SQL statement for creating a new index."}},"defaultExpressionBuilders":{"signature":"protected function defaultExpressionBuilders(): array","summary":"Contains array of default expression builders. Extend this method and override it, if you want to change default expression builders for this query builder. See `$expressionBuilders` docs for details.","return":{"type":"array"},"visibility":"protected","since":"2.0.14"},"dropCheck":{"signature":"public function dropCheck(mixed $name, mixed $table): string","summary":"Creates a SQL command for dropping a check constraint.","params":[{"name":"$name","type":"mixed","description":"The name of the check constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table whose check constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a check constraint."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite."}],"since":"2.0.13"},"dropColumn":{"signature":"public function dropColumn(string $table, string $column): string","summary":"Builds a SQL statement for dropping a DB column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be dropped. The name will be properly quoted by the method."},{"name":"$column","type":"string","description":"The name of the column to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a DB column."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite"}]},"dropCommentFromColumn":{"signature":"public function dropCommentFromColumn(mixed $table, mixed $column): string","summary":"Builds a SQL command for adding comment to column.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."},{"name":"$column","type":"mixed","description":"The name of the column to be commented. The column name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"throws":[{"type":"yii\\base\\NotSupportedException"}],"since":"2.0.8"},"dropCommentFromTable":{"signature":"public function dropCommentFromTable(mixed $table): string","summary":"Builds a SQL command for adding comment to table.","params":[{"name":"$table","type":"mixed","description":"The table whose column is to be commented. The table name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for adding comment on column"},"throws":[{"type":"yii\\base\\NotSupportedException"}],"since":"2.0.8"},"dropDefaultValue":{"signature":"public function dropDefaultValue(mixed $name, mixed $table): string","summary":"Creates a SQL command for dropping a default value constraint.","params":[{"name":"$name","type":"mixed","description":"The name of the default value constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table whose default value constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a default value constraint."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite."}],"since":"2.0.13"},"dropForeignKey":{"signature":"public function dropForeignKey(string $name, string $table): string","summary":"Builds a SQL statement for dropping a foreign key constraint.","params":[{"name":"$name","type":"string","description":"The name of the foreign key constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose foreign is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping a foreign key constraint."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite"}]},"dropIndex":{"signature":"public function dropIndex(string $name, string $table): string","summary":"Builds a SQL statement for dropping an index.","params":[{"name":"$name","type":"string","description":"The name of the index to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"string","description":"The table whose index is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping an index."}},"dropPrimaryKey":{"signature":"public function dropPrimaryKey(string $name, string $table): string","summary":"Builds a SQL statement for removing a primary key constraint to an existing table.","params":[{"name":"$name","type":"string","description":"The name of the primary key constraint to be removed."},{"name":"$table","type":"string","description":"The table that the primary key constraint will be removed from."}],"return":{"type":"string","description":"The SQL statement for removing a primary key constraint from an existing table."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite"}]},"dropUnique":{"signature":"public function dropUnique(mixed $name, mixed $table): string","summary":"Creates a SQL command for dropping an unique constraint.","params":[{"name":"$name","type":"mixed","description":"The name of the unique constraint to be dropped. The name will be properly quoted by the method."},{"name":"$table","type":"mixed","description":"The table whose unique constraint is to be dropped. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for dropping an unique constraint."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite."}],"since":"2.0.13"},"renameColumn":{"signature":"public function renameColumn(string $table, string $oldName, string $newName): string","summary":"Builds a SQL statement for renaming a column.","params":[{"name":"$table","type":"string","description":"The table whose column is to be renamed. The name will be properly quoted by the method."},{"name":"$oldName","type":"string","description":"The old name of the column. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new name of the column. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB column."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"this is not supported by SQLite"}]},"renameTable":{"signature":"public function renameTable(string $table, string $newName): string","summary":"Builds a SQL statement for renaming a DB table.","params":[{"name":"$table","type":"string","description":"The table to be renamed. The name will be properly quoted by the method."},{"name":"$newName","type":"string","description":"The new table name. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for renaming a DB table."}},"resetSequence":{"signature":"public function resetSequence(string $tableName, int|null $value = null): string","summary":"Creates a SQL statement for resetting the sequence value of a table's primary key.","params":[{"name":"$tableName","type":"string","description":"The name of the table whose primary key sequence will be reset."},{"name":"$value","type":"int|null","default":"null","optional":true,"description":"The integer value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will have a value `1`."}],"return":{"type":"string","description":"The SQL statement for resetting sequence."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the table does not exist or there is no sequence associated with the table."}]},"truncateTable":{"signature":"public function truncateTable(string $table): string","summary":"Builds a SQL statement for truncating a DB table.","params":[{"name":"$table","type":"string","description":"The table to be truncated. The name will be properly quoted by the method."}],"return":{"type":"string","description":"The SQL statement for truncating a DB table."}},"upsert":{"signature":"public function upsert(mixed $table, mixed $insertColumns, mixed $updateColumns, mixed &$params): string","summary":"Creates an SQL statement to insert rows into a database table if they do not already exist (matching unique constraints), or update them if they do.","params":[{"name":"$table","type":"mixed","description":"The table that new rows will be inserted into/updated in."},{"name":"$insertColumns","type":"mixed","description":"The column data (name => value) to be inserted into the table or instance of `yii\\db\\Query` to perform `INSERT INTO ... SELECT` SQL statement."},{"name":"$updateColumns","type":"mixed","description":"The column data (name => value) to be updated if they already exist. If `true` is passed, the column data will be updated to match the insert column data. If `false` is passed, no update will be performed if the column data already exists."},{"name":"$params","type":"mixed","byReference":true,"description":"The binding parameters that will be generated by this method. They should be bound to the DB command later."}],"return":{"type":"string","description":"The resulting SQL."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this is not supported by the underlying DBMS."}],"since":"2.0.14"}},"inherited":{"properties":{"conditionClasses":"yii\\db\\QueryBuilder","db":"yii\\db\\QueryBuilder","expressionBuilders":"yii\\db\\QueryBuilder","separator":"yii\\db\\QueryBuilder"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\db\\QueryBuilder","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","addColumn":"yii\\db\\QueryBuilder","batchInsert":"yii\\db\\QueryBuilder","bindParam":"yii\\db\\QueryBuilder","build":"yii\\db\\QueryBuilder","buildColumns":"yii\\db\\QueryBuilder","buildCondition":"yii\\db\\QueryBuilder","buildExpression":"yii\\db\\QueryBuilder","buildFrom":"yii\\db\\QueryBuilder","buildGroupBy":"yii\\db\\QueryBuilder","buildHaving":"yii\\db\\QueryBuilder","buildJoin":"yii\\db\\QueryBuilder","buildOrderBy":"yii\\db\\QueryBuilder","buildOrderByAndLimit":"yii\\db\\QueryBuilder","buildSelect":"yii\\db\\QueryBuilder","buildUnionOrderByAndLimit":"yii\\db\\QueryBuilder","buildWhere":"yii\\db\\QueryBuilder","buildWithQueries":"yii\\db\\QueryBuilder","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","createConditionFromArray":"yii\\db\\QueryBuilder","createTable":"yii\\db\\QueryBuilder","createView":"yii\\db\\QueryBuilder","defaultConditionClasses":"yii\\db\\QueryBuilder","delete":"yii\\db\\QueryBuilder","dropTable":"yii\\db\\QueryBuilder","dropView":"yii\\db\\QueryBuilder","executeResetSequence":"yii\\db\\QueryBuilder","extractAlias":"yii\\db\\QueryBuilder","getColumnType":"yii\\db\\QueryBuilder","getExpressionBuilder":"yii\\db\\QueryBuilder","hasLimit":"yii\\db\\QueryBuilder","hasMethod":"yii\\base\\BaseObject","hasOffset":"yii\\db\\QueryBuilder","hasProperty":"yii\\base\\BaseObject","init":"yii\\db\\QueryBuilder","insert":"yii\\db\\QueryBuilder","prepareInsertSelectSubQuery":"yii\\db\\QueryBuilder","prepareInsertValues":"yii\\db\\QueryBuilder","prepareSelectQuery":"yii\\db\\QueryBuilder","prepareUpdateSets":"yii\\db\\QueryBuilder","prepareUpsertColumns":"yii\\db\\QueryBuilder","prepareUpsertSets":"yii\\db\\QueryBuilder","selectExists":"yii\\db\\QueryBuilder","setConditionClasses":"yii\\db\\QueryBuilder","setExpressionBuilders":"yii\\db\\QueryBuilder","update":"yii\\db\\QueryBuilder"},"constants":{"PARAM_PREFIX":"yii\\db\\QueryBuilder"}}},"yii\\db\\sqlite\\Schema":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/schema/","summary":"Schema is the class for retrieving metadata from a SQLite (2/3) database.","since":"2.0","extends":"yii\\db\\Schema","implements":["yii\\db\\ConstraintFinderInterface","yii\\base\\Configurable"],"traits":["yii\\db\\ConstraintFinderTrait"],"properties":{"columnQuoteCharacter":{"type":"string|string[]","default":"'`'","visibility":"protected","since":"2.0.14"},"columnSchemaClass":{"type":"class-string<yii\\db\\T>|array{class?: class-string<yii\\db\\T>, __class?: class-string<yii\\db\\T>}","default":"\\yii\\db\\sqlite\\ColumnSchema::class","since":"2.0.11"},"tableQuoteCharacter":{"type":"string|string[]","default":"'`'","visibility":"protected","since":"2.0.14"},"transactionIsolationLevel":{"type":"string","description":"The transaction isolation level to use for this transaction.","access":"write-only","virtual":true},"typeMap":{"type":"array","default":"['tinyint' => self::TYPE_TINYINT, 'bit' => self::TYPE_SMALLINT, 'boolean' => self::TYPE_BOOLEAN, 'bool' => self::TYPE_BOOLEAN, 'smallint' => self::TYPE_SMALLINT, 'mediumint' => self::TYPE_INTEGER, 'int' => self::TYPE_INTEGER, 'integer' => self::TYPE_INTEGER, 'bigint' => self::TYPE_BIGINT, 'float' => self::TYPE_FLOAT, 'double' => self::TYPE_DOUBLE, 'real' => self::TYPE_FLOAT, 'decimal' => self::TYPE_DECIMAL, 'numeric' => self::TYPE_DECIMAL, 'tinytext' => self::TYPE_TEXT, 'mediumtext' => self::TYPE_TEXT, 'longtext' => self::TYPE_TEXT, 'text' => self::TYPE_TEXT, 'varchar' => self::TYPE_STRING, 'string' => self::TYPE_STRING, 'char' => self::TYPE_CHAR, 'blob' => self::TYPE_BINARY, 'datetime' => self::TYPE_DATETIME, 'year' => self::TYPE_DATE, 'date' => self::TYPE_DATE, 'time' => self::TYPE_TIME, 'timestamp' => self::TYPE_TIMESTAMP, 'enum' => self::TYPE_STRING]","description":"Mapping from physical column types (keys) to abstract column types (values)"}},"methods":{"createColumnSchemaBuilder":{"signature":"public function createColumnSchemaBuilder(mixed $type, mixed $length = null): yii\\db\\sqlite\\ColumnSchemaBuilder","summary":"Create a column schema builder instance giving the type and value precision.","params":[{"name":"$type","type":"mixed","description":"Type of the column. See `yii\\db\\sqlite\\ColumnSchemaBuilder::$type`."},{"name":"$length","type":"mixed","default":"null","optional":true,"description":"Length or precision of the column. See `yii\\db\\sqlite\\ColumnSchemaBuilder::$length`."}],"return":{"type":"yii\\db\\sqlite\\ColumnSchemaBuilder","description":"Column schema builder instance"},"since":"2.0.6"},"createQueryBuilder":{"signature":"public function createQueryBuilder(): yii\\db\\sqlite\\QueryBuilder","summary":"Creates a query builder for the MySQL database.","return":{"type":"yii\\db\\sqlite\\QueryBuilder","description":"Query builder instance"}},"findColumns":{"signature":"protected function findColumns(yii\\db\\TableSchema $table): bool","summary":"Collects the table column metadata.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"bool","description":"Whether the table exists in the database"},"visibility":"protected"},"findConstraints":{"signature":"protected function findConstraints(yii\\db\\TableSchema $table): mixed","summary":"Collects the foreign key column details for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"mixed"},"visibility":"protected"},"findTableNames":{"signature":"protected function findTableNames(mixed $schema = ''): array","summary":"Returns all table names in the database.","params":[{"name":"$schema","type":"mixed","default":"''","optional":true,"description":"The schema of the tables. Defaults to empty string, meaning the current or default schema."}],"return":{"type":"array","description":"All table names in the database. The names have NO schema name prefix."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is not supported by the DBMS."}],"visibility":"protected"},"findUniqueIndexes":{"signature":"public function findUniqueIndexes(yii\\db\\TableSchema $table): array","summary":"Returns all unique indexes for the given table.","params":[{"name":"$table","type":"yii\\db\\TableSchema","description":"The table metadata"}],"return":{"type":"array","description":"All unique indexes for the given table."}},"loadColumnSchema":{"signature":"protected function loadColumnSchema(array $info): yii\\db\\sqlite\\T","summary":"Loads the column information into a `yii\\db\\sqlite\\ColumnSchema` object.","params":[{"name":"$info","type":"array","description":"Column information"}],"return":{"type":"yii\\db\\sqlite\\T","description":"The column schema object"},"visibility":"protected"},"loadTableChecks":{"signature":"protected function loadTableChecks(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableDefaultValues":{"signature":"protected function loadTableDefaultValues(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"throws":[{"type":"yii\\base\\NotSupportedException","description":"if this method is called."}],"visibility":"protected"},"loadTableForeignKeys":{"signature":"protected function loadTableForeignKeys(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableIndexes":{"signature":"protected function loadTableIndexes(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTablePrimaryKey":{"signature":"protected function loadTablePrimaryKey(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"loadTableSchema":{"signature":"protected function loadTableSchema(mixed $name): yii\\db\\TableSchema|null","summary":"Loads the metadata for the specified table.","params":[{"name":"$name","type":"mixed","description":"Table name"}],"return":{"type":"yii\\db\\TableSchema|null","description":"DBMS-dependent table metadata, `null` if the table does not exist."},"visibility":"protected"},"loadTableUniques":{"signature":"protected function loadTableUniques(mixed $tableName)","params":[{"name":"$tableName","type":"mixed"}],"visibility":"protected"},"quoteValue":{"signature":"public function quoteValue(mixed $value): mixed","summary":"Quotes a string value for use in a query.","params":[{"name":"$value","type":"mixed"}],"return":{"type":"mixed","description":"The properly quoted string, or the original data if it is not a string."}},"setTransactionIsolationLevel":{"signature":"public function setTransactionIsolationLevel(string $level): mixed","summary":"Sets the isolation level of the current transaction.","params":[{"name":"$level","type":"string","description":"The transaction isolation level to use for this transaction. This can be either `yii\\db\\Transaction::READ_UNCOMMITTED` or `yii\\db\\Transaction::SERIALIZABLE`."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\NotSupportedException","description":"when unsupported isolation levels are used. SQLite only supports SERIALIZABLE and READ UNCOMMITTED."}]}},"inherited":{"properties":{"db":"yii\\db\\Schema","defaultSchema":"yii\\db\\Schema","exceptionMap":"yii\\db\\Schema","lastInsertID":"yii\\db\\Schema","queryBuilder":"yii\\db\\Schema","schemaChecks":"yii\\db\\ConstraintFinderTrait","schemaDefaultValues":"yii\\db\\ConstraintFinderTrait","schemaForeignKeys":"yii\\db\\ConstraintFinderTrait","schemaIndexes":"yii\\db\\ConstraintFinderTrait","schemaNames":"yii\\db\\Schema","schemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","schemaUniques":"yii\\db\\ConstraintFinderTrait","serverVersion":"yii\\db\\Schema","systemSchemaNames":"yii\\db\\Schema","tableNames":"yii\\db\\Schema","tableSchemas":"yii\\db\\Schema"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","convertException":"yii\\db\\Schema","createColumnSchema":"yii\\db\\Schema","createSavepoint":"yii\\db\\Schema","findSchemaNames":"yii\\db\\Schema","getCacheKey":"yii\\db\\Schema","getCacheTag":"yii\\db\\Schema","getColumnPhpType":"yii\\db\\Schema","getLastInsertID":"yii\\db\\Schema","getPdoType":"yii\\db\\Schema","getQueryBuilder":"yii\\db\\Schema","getRawTableName":"yii\\db\\Schema","getSchemaChecks":"yii\\db\\ConstraintFinderTrait","getSchemaDefaultValues":"yii\\db\\ConstraintFinderTrait","getSchemaForeignKeys":"yii\\db\\ConstraintFinderTrait","getSchemaIndexes":"yii\\db\\ConstraintFinderTrait","getSchemaMetadata":"yii\\db\\Schema","getSchemaNames":"yii\\db\\Schema","getSchemaPrimaryKeys":"yii\\db\\ConstraintFinderTrait","getSchemaUniques":"yii\\db\\ConstraintFinderTrait","getServerVersion":"yii\\db\\Schema","getTableChecks":"yii\\db\\ConstraintFinderTrait","getTableDefaultValues":"yii\\db\\ConstraintFinderTrait","getTableForeignKeys":"yii\\db\\ConstraintFinderTrait","getTableIndexes":"yii\\db\\ConstraintFinderTrait","getTableMetadata":"yii\\db\\Schema","getTableNameParts":"yii\\db\\Schema","getTableNames":"yii\\db\\Schema","getTablePrimaryKey":"yii\\db\\ConstraintFinderTrait","getTableSchema":"yii\\db\\Schema","getTableSchemas":"yii\\db\\Schema","getTableUniques":"yii\\db\\ConstraintFinderTrait","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","insert":"yii\\db\\Schema","isReadQuery":"yii\\db\\Schema","normalizePdoRowKeyCase":"yii\\db\\Schema","quoteColumnName":"yii\\db\\Schema","quoteSimpleColumnName":"yii\\db\\Schema","quoteSimpleTableName":"yii\\db\\Schema","quoteTableName":"yii\\db\\Schema","refresh":"yii\\db\\Schema","refreshTableSchema":"yii\\db\\Schema","releaseSavepoint":"yii\\db\\Schema","resolveRawTableName":"yii\\db\\Schema","resolveTableName":"yii\\db\\Schema","rollBackSavepoint":"yii\\db\\Schema","setTableMetadata":"yii\\db\\Schema","supportsSavepoint":"yii\\db\\Schema","unquoteSimpleColumnName":"yii\\db\\Schema","unquoteSimpleTableName":"yii\\db\\Schema"},"constants":{"TYPE_PK":"yii\\db\\Schema","TYPE_UPK":"yii\\db\\Schema","TYPE_BIGPK":"yii\\db\\Schema","TYPE_UBIGPK":"yii\\db\\Schema","TYPE_CHAR":"yii\\db\\Schema","TYPE_STRING":"yii\\db\\Schema","TYPE_TEXT":"yii\\db\\Schema","TYPE_TINYINT":"yii\\db\\Schema","TYPE_SMALLINT":"yii\\db\\Schema","TYPE_INTEGER":"yii\\db\\Schema","TYPE_BIGINT":"yii\\db\\Schema","TYPE_FLOAT":"yii\\db\\Schema","TYPE_DOUBLE":"yii\\db\\Schema","TYPE_DECIMAL":"yii\\db\\Schema","TYPE_DATETIME":"yii\\db\\Schema","TYPE_TIMESTAMP":"yii\\db\\Schema","TYPE_TIME":"yii\\db\\Schema","TYPE_DATE":"yii\\db\\Schema","TYPE_BINARY":"yii\\db\\Schema","TYPE_BOOLEAN":"yii\\db\\Schema","TYPE_MONEY":"yii\\db\\Schema","TYPE_JSON":"yii\\db\\Schema","SCHEMA_CACHE_VERSION":"yii\\db\\Schema"}}},"yii\\db\\sqlite\\SqlTokenizer":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/sqltokenizer/","summary":"SqlTokenizer splits SQLite query into individual SQL tokens.","since":"2.0.13","extends":"yii\\db\\SqlTokenizer","implements":["yii\\base\\Configurable"],"methods":{"isComment":{"signature":"protected function isComment(mixed &$length): bool","summary":"Returns whether there's a commentary at the current offset.","params":[{"name":"$length","type":"mixed","byReference":true,"description":"Length of the matched string."}],"return":{"type":"bool","description":"Whether there's a commentary at the current offset."},"visibility":"protected"},"isIdentifier":{"signature":"protected function isIdentifier(mixed &$length, mixed &$content): bool","summary":"Returns whether there's an identifier at the current offset.","params":[{"name":"$length","type":"mixed","byReference":true,"description":"Length of the matched string."},{"name":"$content","type":"mixed","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether there's an identifier at the current offset."},"visibility":"protected"},"isKeyword":{"signature":"protected function isKeyword(mixed $string, mixed &$content): bool","summary":"Returns whether the given string is a keyword.","params":[{"name":"$string","type":"mixed","description":"String to be matched."},{"name":"$content","type":"mixed","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether the given string is a keyword."},"visibility":"protected"},"isOperator":{"signature":"protected function isOperator(mixed &$length, mixed &$content): bool","summary":"Returns whether there's an operator at the current offset.","params":[{"name":"$length","type":"mixed","byReference":true,"description":"Length of the matched string."},{"name":"$content","type":"mixed","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether there's an operator at the current offset."},"visibility":"protected"},"isStringLiteral":{"signature":"protected function isStringLiteral(mixed &$length, mixed &$content): bool","summary":"Returns whether there's a string literal at the current offset.","params":[{"name":"$length","type":"mixed","byReference":true,"description":"Length of the matched string."},{"name":"$content","type":"mixed","byReference":true,"description":"Optional content instead of the matched string."}],"return":{"type":"bool","description":"Whether there's a string literal at the current offset."},"visibility":"protected"},"isWhitespace":{"signature":"protected function isWhitespace(mixed &$length): bool","summary":"Returns whether there's a whitespace at the current offset.","params":[{"name":"$length","type":"mixed","byReference":true,"description":"Length of the matched string."}],"return":{"type":"bool","description":"Whether there's a whitespace at the current offset."},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","length":"yii\\db\\SqlTokenizer","offset":"yii\\db\\SqlTokenizer","sql":"yii\\db\\SqlTokenizer"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\db\\SqlTokenizer","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","indexAfter":"yii\\db\\SqlTokenizer","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","startsWithAnyLongest":"yii\\db\\SqlTokenizer","substring":"yii\\db\\SqlTokenizer","tokenize":"yii\\db\\SqlTokenizer","trigger":"yii\\base\\Component"}}},"yii\\db\\sqlite\\conditions\\InConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/conditions/inconditionbuilder/","summary":"Builds objects of `yii\\db\\conditions\\InCondition`.","since":"2.0.14","extends":"yii\\db\\conditions\\InConditionBuilder","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"methods":{"buildSubqueryInCondition":{"signature":"protected function buildSubqueryInCondition(string $operator, array|string|yii\\db\\ExpressionInterface $columns, yii\\db\\Query $values, array &$params): string","summary":"Builds SQL for IN condition.","params":[{"name":"$operator","type":"string","description":"Operator in uppercase."},{"name":"$columns","type":"array|string|yii\\db\\ExpressionInterface","description":"The columns to be matched."},{"name":"$values","type":"yii\\db\\Query","description":"Subquery values."},{"name":"$params","type":"array","byReference":true,"description":"The binding parameters."}],"return":{"type":"string","description":"SQL for IN condition."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if `$columns` is an array"}],"visibility":"protected"},"getNotEqualOperator":{"signature":"protected function getNotEqualOperator(): string","summary":"Returns inequality operator for decomposed `NOT IN` conditions.","return":{"type":"string","description":"Inequality operator."},"visibility":"protected"}},"inherited":{"properties":{"queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait","build":"yii\\db\\conditions\\InConditionBuilder","buildCompositeInCondition":"yii\\db\\conditions\\InConditionBuilder","buildValues":"yii\\db\\conditions\\InConditionBuilder","getNullCondition":"yii\\db\\conditions\\InConditionBuilder"}}},"yii\\db\\sqlite\\conditions\\LikeConditionBuilder":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/db/sqlite/conditions/likeconditionbuilder/","summary":"Class LikeConditionBuilder builds objects of `yii\\db\\conditions\\LikeCondition`","extends":"yii\\db\\conditions\\LikeConditionBuilder","implements":["yii\\db\\ExpressionBuilderInterface"],"traits":["yii\\db\\ExpressionBuilderTrait"],"properties":{"escapeCharacter":{"type":"string|null","default":"'\\\\'","visibility":"protected"}},"inherited":{"properties":{"escapingReplacements":"yii\\db\\conditions\\LikeConditionBuilder","queryBuilder":"yii\\db\\ExpressionBuilderTrait"},"methods":{"__construct":"yii\\db\\ExpressionBuilderTrait","build":"yii\\db\\conditions\\LikeConditionBuilder","parseOperator":"yii\\db\\conditions\\LikeConditionBuilder"}}},"yii\\di\\Container":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/di/container/","summary":"Container implements a [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) container.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"definitions":{"type":"array","description":"The list of the object definitions or the loaded shared objects (type or ID => definition or instance).","virtual":true},"resolveArrays":{"type":"bool","description":"Whether to attempt to resolve elements in array dependencies.","access":"write-only","virtual":true},"singleton":{"type":"string","description":"Class name, interface name or alias name","access":"write-only","virtual":true},"singletons":{"type":"array","description":"Array of singleton definitions.","access":"write-only","virtual":true}},"methods":{"build":{"signature":"protected function build(class-string<yii\\di\\T> $class, array $params, array $config): yii\\di\\T","summary":"Creates an instance of the specified class.","params":[{"name":"$class","type":"class-string<yii\\di\\T>","description":"The class name"},{"name":"$params","type":"array","description":"Constructor parameters"},{"name":"$config","type":"array","description":"Configurations to be applied to the new instance"}],"return":{"type":"yii\\di\\T","description":"The newly created instance of the specified class"},"throws":[{"type":"yii\\di\\NotInstantiableException","description":"If resolved to an abstract class or an interface (since 2.0.9)"}],"visibility":"protected"},"clear":{"signature":"public function clear(string $class): mixed","summary":"Removes the definition for the specified name.","params":[{"name":"$class","type":"string","description":"Class name, interface name or alias name"}],"return":{"type":"mixed"}},"get":{"signature":"public function get(string|class-string<yii\\di\\T>|yii\\di\\Instance $class, array $params = [], array $config = []): ($class is class-string<yii\\di\\T> ? yii\\di\\T : object)","summary":"Returns an instance of the requested class.","params":[{"name":"$class","type":"string|class-string<yii\\di\\T>|yii\\di\\Instance","description":"The class Instance, name, or an alias name (e.g. `foo`) that was previously registered via `set()` or `setSingleton()`."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"A list of constructor parameter values. Use one of two definitions: - Parameters as name-value pairs, for example: `['posts' => PostRepository::class]`. - Parameters in the order they appear in the constructor declaration. If you want to skip some parameters, you should index the remaining ones with the integers that represent their positions in the constructor parameter list. Dependencies indexed by name and by position in the same array are not allowed."},{"name":"$config","type":"array","default":"[]","optional":true,"description":"A list of name-value pairs that will be used to initialize the object properties."}],"return":{"type":"($class is class-string<yii\\di\\T> ? yii\\di\\T : object)","description":"An instance of the requested class."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the class cannot be recognized or correspond to an invalid definition"},{"type":"yii\\di\\NotInstantiableException","description":"If resolved to an abstract class or an interface (since 2.0.9)"}]},"getDefinitions":{"signature":"public function getDefinitions(): array","summary":"Returns the list of the object definitions or the loaded shared objects.","return":{"type":"array","description":"The list of the object definitions or the loaded shared objects (type or ID => definition or instance)."}},"getDependencies":{"signature":"protected function getDependencies(class-string<yii\\di\\T> $class): array{ReflectionClass<yii\\di\\T>, array<string, mixed>}","summary":"Returns the dependencies of the specified class.","params":[{"name":"$class","type":"class-string<yii\\di\\T>","description":"Class name, interface name or alias name"}],"return":{"type":"array{ReflectionClass<yii\\di\\T>, array<string, mixed>}","description":"The dependencies of the specified class."},"throws":[{"type":"yii\\di\\NotInstantiableException","description":"if a dependency cannot be resolved or if a dependency cannot be fulfilled."}],"visibility":"protected"},"has":{"signature":"public function has(string $class): bool","summary":"Returns a value indicating whether the container has the definition of the specified name.","params":[{"name":"$class","type":"string","description":"Class name, interface name or alias name"}],"return":{"type":"bool","description":"Whether the container has the definition of the specified name."}},"hasSingleton":{"signature":"public function hasSingleton(string $class, bool $checkInstance = false): bool","summary":"Returns a value indicating whether the given name corresponds to a registered singleton.","params":[{"name":"$class","type":"string","description":"Class name, interface name or alias name"},{"name":"$checkInstance","type":"bool","default":"false","optional":true,"description":"Whether to check if the singleton has been instantiated."}],"return":{"type":"bool","description":"Whether the given name corresponds to a registered singleton. If `$checkInstance` is true, the method should return a value indicating whether the singleton has been instantiated."}},"invoke":{"signature":"public function invoke(callable $callback, array $params = []): mixed","summary":"Invoke a callback with resolving dependencies in parameters.","params":[{"name":"$callback","type":"callable","description":"Callable to be invoked."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The array of parameters for the function. This can be either a list of parameters, or an associative array representing named function parameters."}],"return":{"type":"mixed","description":"The callback return value."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a dependency cannot be resolved or if a dependency cannot be fulfilled."},{"type":"yii\\di\\NotInstantiableException","description":"If resolved to an abstract class or an interface (since 2.0.9)"}],"since":"2.0.7"},"mergeParams":{"signature":"protected function mergeParams(string $class, array $params): array","summary":"Merges the user-specified constructor parameters with the ones registered via `set()`.","params":[{"name":"$class","type":"string","description":"Class name, interface name or alias name"},{"name":"$params","type":"array","description":"The constructor parameters"}],"return":{"type":"array","description":"The merged parameters"},"visibility":"protected"},"normalizeDefinition":{"signature":"protected function normalizeDefinition(string $class, string|array|callable $definition): array","summary":"Normalizes the class definition.","params":[{"name":"$class","type":"string","description":"Class name"},{"name":"$definition","type":"string|array|callable","description":"The class definition"}],"return":{"type":"array","description":"The normalized class definition"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the definition is invalid."}],"visibility":"protected"},"resolveCallableDependencies":{"signature":"public function resolveCallableDependencies(callable $callback, array $params = []): array","summary":"Resolve dependencies for a function.","params":[{"name":"$callback","type":"callable","description":"Callable to be invoked."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The array of parameters for the function, can be either numeric or associative."}],"return":{"type":"array","description":"The resolved dependencies."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a dependency cannot be resolved or if a dependency cannot be fulfilled."},{"type":"yii\\di\\NotInstantiableException","description":"If resolved to an abstract class or an interface (since 2.0.9)"}],"since":"2.0.7"},"resolveDependencies":{"signature":"protected function resolveDependencies(array $dependencies, ReflectionClass<object>|null $reflection = null): array","summary":"Resolves dependencies by replacing them with the actual object instances.","params":[{"name":"$dependencies","type":"array","description":"The dependencies"},{"name":"$reflection","type":"ReflectionClass<object>|null","default":"null","optional":true,"description":"The class reflection associated with the dependencies"}],"return":{"type":"array","description":"The resolved dependencies"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a dependency cannot be resolved or if a dependency cannot be fulfilled."}],"visibility":"protected"},"set":{"signature":"public function set(string $class, mixed $definition = [], array $params = []): $this","summary":"Registers a class definition with this container.","params":[{"name":"$class","type":"string","description":"Class name, interface name or alias name"},{"name":"$definition","type":"mixed","default":"[]","optional":true,"description":"The definition associated with `$class`. It can be one of the following: - a PHP callable: The callable will be executed when `get()` is invoked. The signature of the callable should be `function ($container, $params, $config)`, where `$params` stands for the list of constructor parameters, `$config` the object configuration, and `$container` the container object. The return value of the callable will be returned by `get()` as the object instance requested. - a configuration array: the array contains name-value pairs that will be used to initialize the property values of the newly created object when `get()` is called. The `class` element stands for the class of the object to be created. If `class` is not specified, `$class` will be used as the class name. - a string: a class name, an interface name or an alias name."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The list of constructor parameters. The parameters will be passed to the class constructor when `get()` is called."}],"return":{"type":"$this","description":"The container itself"}},"setDefinitions":{"signature":"public function setDefinitions(array $definitions): mixed","summary":"Registers class definitions within this container.","params":[{"name":"$definitions","type":"array","description":"Array of definitions. There are two allowed formats of array. The first format: - key: class name, interface name or alias name. The key will be passed to the `set()` method as a first argument `$class`. - value: the definition associated with `$class`. Possible values are described in `set()` documentation for the `$definition` parameter. Will be passed to the `set()` method as the second argument `$definition`. Example: ``` $container->setDefinitions([ 'yii\\web\\Request' => 'app\\components\\Request', 'yii\\web\\Response' => [ 'class' => 'app\\components\\Response', 'format' => 'json' ], 'foo\\Bar' => function () { $qux = new Qux; $foo = new Foo($qux); return new Bar($foo); } ]); ``` The second format: - key: class name, interface name or alias name. The key will be passed to the `set()` method as a first argument `$class`. - value: array of two elements. The first element will be passed the `set()` method as the second argument `$definition`, the second one — as `$params`. Example: ``` $container->setDefinitions([ 'foo\\Bar' => [ ['class' => 'app\\Bar'], [Instance::of('baz')] ] ]); ```"}],"return":{"type":"mixed"},"since":"2.0.11"},"setResolveArrays":{"signature":"public function setResolveArrays(bool $value): mixed","params":[{"name":"$value","type":"bool","description":"Whether to attempt to resolve elements in array dependencies"}],"return":{"type":"mixed"},"since":"2.0.37"},"setSingleton":{"signature":"public function setSingleton(string $class, mixed $definition = [], array $params = []): $this","summary":"Registers a class definition with this container and marks the class as a singleton class.","params":[{"name":"$class","type":"string","description":"Class name, interface name or alias name"},{"name":"$definition","type":"mixed","default":"[]","optional":true,"description":"The definition associated with `$class`. See `set()` for more details."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The list of constructor parameters. The parameters will be passed to the class constructor when `get()` is called."}],"return":{"type":"$this","description":"The container itself"}},"setSingletons":{"signature":"public function setSingletons(array $singletons): mixed","summary":"Registers class definitions as singletons within this container by calling `setSingleton()`.","params":[{"name":"$singletons","type":"array","description":"Array of singleton definitions. See `setDefinitions()` for allowed formats of array."}],"return":{"type":"mixed"},"since":"2.0.11"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\di\\Instance":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/di/instance/","summary":"Instance represents a reference to a named object in a dependency injection (DI) container or a service locator.","since":"2.0","properties":{"id":{"type":"string","default":"null","description":"The component ID, class name, interface name or alias name"},"optional":{"type":"bool","default":"null","description":"If null should be returned instead of throwing an exception"}},"methods":{"__construct":{"signature":"protected function __construct(string $id, bool $optional = false)","summary":"Constructor.","params":[{"name":"$id","type":"string","description":"The component ID"},{"name":"$optional","type":"bool","default":"false","optional":true,"description":"If null should be returned instead of throwing an exception"}],"visibility":"protected"},"__set_state":{"signature":"public static function __set_state(array $state): yii\\di\\Instance","summary":"Restores class state after using `var_export()`.","params":[{"name":"$state","type":"array"}],"return":{"type":"yii\\di\\Instance"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when $state property does not contain `id` parameter"}],"static":true,"since":"2.0.12"},"ensure":{"signature":"public static function ensure(object|string|array|static $reference, class-string<yii\\di\\T>|null $type = null, yii\\di\\ServiceLocator|yii\\di\\Container|null $container = null): ($type is null ? object : yii\\di\\T)","summary":"Resolves the specified reference into the actual object and makes sure it is of the specified type.","params":[{"name":"$reference","type":"object|string|array|static","description":"An object or a reference to the desired object. You may specify a reference in terms of a component ID or an Instance object. Starting from version 2.0.2, you may also pass in a configuration array for creating the object. If the \"class\" value is not specified in the configuration array, it will use the value of `$type`."},{"name":"$type","type":"class-string<yii\\di\\T>|null","default":"null","optional":true,"description":"The class/interface name to be checked. If null, type check will not be performed."},{"name":"$container","type":"yii\\di\\ServiceLocator|yii\\di\\Container|null","default":"null","optional":true,"description":"The container. This will be passed to `get()`."}],"return":{"type":"($type is null ? object : yii\\di\\T)","description":"The object referenced by the Instance, or `$reference` itself if it is an object."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the reference is invalid"}],"static":true},"get":{"signature":"public function get(yii\\di\\ServiceLocator|yii\\di\\Container|null $container = null): object|null","summary":"Returns the actual object referenced by this Instance object.","params":[{"name":"$container","type":"yii\\di\\ServiceLocator|yii\\di\\Container|null","default":"null","optional":true,"description":"The container used to locate the referenced object. If null, the method will first try `Yii::$app` then `Yii::$container`."}],"return":{"type":"object|null","description":"The actual object referenced by this Instance object."}},"of":{"signature":"public static function of(string $id, bool $optional = false): yii\\di\\Instance","summary":"Creates a new Instance object.","params":[{"name":"$id","type":"string","description":"The component ID"},{"name":"$optional","type":"bool","default":"false","optional":true,"description":"If null should be returned instead of throwing an exception"}],"return":{"type":"yii\\di\\Instance","description":"The new Instance object."},"static":true}}},"yii\\di\\NotInstantiableException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/di/notinstantiableexception/","summary":"NotInstantiableException represents an exception caused by incorrect dependency injection container configuration or usage.","since":"2.0.9","extends":"yii\\base\\InvalidConfigException","methods":{"__construct":{"signature":"public function __construct(mixed $class, mixed $message = null, mixed $code = 0, mixed $previous = null)","params":[{"name":"$class","type":"mixed"},{"name":"$message","type":"mixed","default":"null","optional":true},{"name":"$code","type":"mixed","default":"0","optional":true},{"name":"$previous","type":"mixed","default":"null","optional":true}]},"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\di\\ServiceLocator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/di/servicelocator/","summary":"ServiceLocator implements a [service locator](https://en.wikipedia.org/wiki/Service_locator_pattern).","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"components":{"type":"array","description":"The list of the component definitions or the loaded component instances (ID => definition or instance).","virtual":true}},"methods":{"__get":{"signature":"public function __get(string $name): mixed","summary":"Getter magic method.","params":[{"name":"$name","type":"string","description":"Component or property name"}],"return":{"type":"mixed","description":"The named property value"}},"__isset":{"signature":"public function __isset(string $name): bool","summary":"Checks if a property value is null.","params":[{"name":"$name","type":"string","description":"The property name or the event name"}],"return":{"type":"bool","description":"Whether the property value is null"}},"clear":{"signature":"public function clear(string $id): mixed","summary":"Removes the component from the locator.","params":[{"name":"$id","type":"string","description":"The component ID"}],"return":{"type":"mixed"}},"get":{"signature":"public function get(string $id, bool $throwException = true): ($throwException is true ? object : object|null)","summary":"Returns the component instance with the specified ID.","params":[{"name":"$id","type":"string","description":"Component ID (e.g. `db`)."},{"name":"$throwException","type":"bool","default":"true","optional":true,"description":"Whether to throw an exception if `$id` is not registered with the locator before."}],"return":{"type":"($throwException is true ? object : object|null)","description":"The component of the specified ID. If `$throwException` is false and `$id` is not registered before, null will be returned."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$id` refers to a nonexistent component ID"}]},"getComponents":{"signature":"public function getComponents(bool $returnDefinitions = true): array","summary":"Returns the list of the component definitions or the loaded component instances.","params":[{"name":"$returnDefinitions","type":"bool","default":"true","optional":true,"description":"Whether to return component definitions instead of the loaded component instances."}],"return":{"type":"array","description":"The list of the component definitions or the loaded component instances (ID => definition or instance)."}},"has":{"signature":"public function has(string $id, bool $checkInstance = false): bool","summary":"Returns a value indicating whether the locator has the specified component definition or has instantiated the component.","params":[{"name":"$id","type":"string","description":"Component ID (e.g. `db`)."},{"name":"$checkInstance","type":"bool","default":"false","optional":true,"description":"Whether the method should check if the component is shared and instantiated."}],"return":{"type":"bool","description":"Whether the locator has the specified component definition or has instantiated the component."}},"set":{"signature":"public function set(string $id, mixed $definition): mixed","summary":"Registers a component definition with this locator.","params":[{"name":"$id","type":"string","description":"Component ID (e.g. `db`)."},{"name":"$definition","type":"mixed","description":"The component definition to be registered with this locator. It can be one of the following: - a class name - a configuration array: the array contains name-value pairs that will be used to initialize the property values of the newly created object when `get()` is called. The `class` element is required and stands for the the class of the object to be created. - a PHP callable: either an anonymous function or an array representing a class method (e.g. `['Foo', 'bar']`). The callable will be called by `get()` to return an object associated with the specified component ID. - an object: When `get()` is called, this object will be returned."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the definition is an invalid configuration array"}]},"setComponents":{"signature":"public function setComponents(array $components): mixed","summary":"Registers a set of component definitions in this locator.","params":[{"name":"$components","type":"array","description":"Component definitions or instances"}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\filters\\AccessControl":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/accesscontrol/","summary":"AccessControl provides simple access control based on a set of rules.","since":"2.0","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\Configurable"],"properties":{"denyCallback":{"type":"callable|null","default":"null","description":"A callback that will be called if the access should be denied to the current user."},"ruleConfig":{"type":"array","default":"['class' => 'yii\\filters\\AccessRule']","description":"The default configuration of access rules."},"rules":{"type":"array","default":"[]","description":"A list of access rule objects or configuration arrays for creating the rule objects."},"user":{"type":"yii\\web\\User|array|string|false","default":"'user'","description":"The user object representing the authentication status or the ID of the user application component."}},"methods":{"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"denyAccess":{"signature":"protected function denyAccess(yii\\web\\User|false $user): mixed","summary":"Denies the access of the user.","params":[{"name":"$user","type":"yii\\web\\User|false","description":"The current user or boolean `false` in case of detached User component"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\ForbiddenHttpException","description":"if the user is already logged in or in case of detached User component."}],"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the `$rules` array by instantiating rule objects from configurations.","return":{"type":"mixed"}}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\AccessRule":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/accessrule/","summary":"This class represents an access rule defined by the `yii\\filters\\AccessControl` action filter.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"actions":{"type":"array|null","default":"null","description":"List of action IDs that this rule applies to."},"allow":{"type":"bool","default":"false","description":"Whether this is an 'allow' rule or 'deny' rule."},"controllers":{"type":"array|null","default":"null","description":"List of the controller IDs that this rule applies to."},"denyCallback":{"type":"callable|null","default":"null","description":"A callback that will be called if this rule determines the access to the current action should be denied."},"ips":{"type":"array|null","default":"null","description":"List of user IP addresses that this rule applies to."},"matchCallback":{"type":"callable","default":"null","description":"A callback that will be called to determine if the rule should be applied."},"permissions":{"type":"array|null","default":"null","description":"List of RBAC (Role-Based Access Control) permissions that this rules applies to. `yii\\web\\User::can()` will be called to check access.","since":"2.0.12"},"roleParams":{"type":"array|object|Closure","default":"[]","description":"Parameters to pass to the `yii\\web\\User::can()` function for evaluating user permissions in `$roles`.","since":"2.0.12"},"roles":{"type":"array|null","default":"null","description":"List of roles that this rule applies to (requires properly configured User component)."},"verbs":{"type":"array|null","default":"null","description":"List of request methods (e.g. `GET`, `POST`) that this rule applies to."}},"methods":{"allows":{"signature":"public function allows(yii\\base\\Action $action, yii\\web\\User|false $user, yii\\web\\Request $request): bool|null","summary":"Checks whether the Web user is allowed to perform the specified action.","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action to be performed"},{"name":"$user","type":"yii\\web\\User|false","description":"The user object or `false` in case of detached User component"},{"name":"$request","type":"yii\\web\\Request"}],"return":{"type":"bool|null","description":"`true` if the user is allowed, `false` if the user is denied, `null` if the rule does not apply to the user"}},"matchAction":{"signature":"protected function matchAction(yii\\base\\Action $action): bool","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action"}],"return":{"type":"bool","description":"Whether the rule applies to the action"},"visibility":"protected"},"matchController":{"signature":"protected function matchController(yii\\base\\Controller|null $controller): bool","params":[{"name":"$controller","type":"yii\\base\\Controller|null","description":"The controller, or `null` when the action runs as a standalone action dispatched by `yii\\base\\Module::$actionMap` (since 22.0)."}],"return":{"type":"bool","description":"Whether the rule applies to the controller."},"visibility":"protected"},"matchCustom":{"signature":"protected function matchCustom(yii\\base\\Action $action): bool","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action to be performed"}],"return":{"type":"bool","description":"Whether the rule should be applied"},"visibility":"protected"},"matchIP":{"signature":"protected function matchIP(string|null $ip): bool","params":[{"name":"$ip","type":"string|null","description":"The IP address"}],"return":{"type":"bool","description":"Whether the rule applies to the IP address"},"visibility":"protected"},"matchRole":{"signature":"protected function matchRole(yii\\web\\User $user): bool","params":[{"name":"$user","type":"yii\\web\\User","description":"The user object"}],"return":{"type":"bool","description":"Whether the rule applies to the role"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if User component is detached"}],"visibility":"protected"},"matchVerb":{"signature":"protected function matchVerb(string $verb): bool","params":[{"name":"$verb","type":"string","description":"The request method."}],"return":{"type":"bool","description":"Whether the rule applies to the request"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\filters\\AjaxFilter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/ajaxfilter/","summary":"AjaxFilter allow to limit access only for ajax requests.","since":"2.0.13","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\Configurable"],"properties":{"errorMessage":{"type":"string","default":"'Request must be XMLHttpRequest.'","description":"The message to be displayed when request isn't ajax"},"request":{"type":"yii\\web\\Request|null","default":"null","description":"The current request."}},"methods":{"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\ContentNegotiator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/contentnegotiator/","summary":"ContentNegotiator supports response format negotiation and application language negotiation.","since":"2.0","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\BootstrapInterface","yii\\base\\Configurable"],"properties":{"formatParam":{"type":"string","default":"'_format'","description":"The name of the GET parameter that specifies the response format."},"formats":{"type":"array|null","default":"null","description":"List of supported response formats."},"languageParam":{"type":"string","default":"'_lang'","description":"The name of the GET parameter that specifies the application language (`yii\\base\\Application::$language`)."},"languages":{"type":"array|null","default":"null","description":"A list of supported languages."},"request":{"type":"yii\\web\\Request","default":"null","description":"The current request."},"response":{"type":"yii\\web\\Response|null","default":"null","description":"The response to be sent."}},"methods":{"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"bootstrap":{"signature":"public function bootstrap(mixed $app): mixed","summary":"Bootstrap method to be called during application bootstrap stage.","params":[{"name":"$app","type":"mixed","description":"The application currently running"}],"return":{"type":"mixed"}},"isLanguageSupported":{"signature":"protected function isLanguageSupported(string $requested, string $supported): bool","summary":"Returns a value indicating whether the requested language matches the supported language.","params":[{"name":"$requested","type":"string","description":"The requested language code"},{"name":"$supported","type":"string","description":"The supported language code"}],"return":{"type":"bool","description":"Whether the requested language is supported"},"visibility":"protected"},"negotiate":{"signature":"public function negotiate(): mixed","summary":"Negotiates the response format and application language.","return":{"type":"mixed"}},"negotiateContentType":{"signature":"protected function negotiateContentType(yii\\web\\Request $request, yii\\web\\Response $response): mixed","summary":"Negotiates the response format.","params":[{"name":"$request","type":"yii\\web\\Request"},{"name":"$response","type":"yii\\web\\Response"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\BadRequestHttpException","description":"if an array received for GET parameter `$formatParam`."},{"type":"yii\\web\\NotAcceptableHttpException","description":"if none of the requested content types is accepted."}],"visibility":"protected"},"negotiateLanguage":{"signature":"protected function negotiateLanguage(yii\\web\\Request $request): string","summary":"Negotiates the application language.","params":[{"name":"$request","type":"yii\\web\\Request"}],"return":{"type":"string","description":"The chosen language"},"visibility":"protected"}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\Cors":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/cors/","summary":"Cors filter implements [Cross Origin Resource Sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing).","since":"2.0","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\Configurable"],"properties":{"actions":{"type":"array","default":"[]","description":"Define specific CORS rules for specific actions"},"cors":{"type":"array","default":"['Origin' => ['*'], 'Access-Control-Request-Method' => ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS'], 'Access-Control-Request-Headers' => ['*'], 'Access-Control-Allow-Credentials' => null, 'Access-Control-Max-Age' => 86400, 'Access-Control-Expose-Headers' => []]","description":"Basic headers handled for the CORS requests."},"request":{"type":"yii\\web\\Request|null","default":"null","description":"The current request."},"response":{"type":"yii\\web\\Response|null","default":"null","description":"The response to be sent."}},"methods":{"addCorsHeaders":{"signature":"public function addCorsHeaders(yii\\web\\Response $response, array $headers): mixed","summary":"Adds the CORS headers to the response.","params":[{"name":"$response","type":"yii\\web\\Response"},{"name":"$headers","type":"array","description":"CORS headers which have been computed"}],"return":{"type":"mixed"}},"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"extractHeaders":{"signature":"public function extractHeaders(): array","summary":"Extract CORS headers from the request.","return":{"type":"array","description":"CORS headers to handle"}},"headerize":{"signature":"protected function headerize(string $string): string","summary":"Convert any string (including php headers with HTTP prefix) to header format.","params":[{"name":"$string","type":"string","description":"String to convert"}],"return":{"type":"string","description":"The result in \"header\" format"},"visibility":"protected"},"headerizeToPhp":{"signature":"protected function headerizeToPhp(string $string): string","summary":"Convert any string (including php headers with HTTP prefix) to header format.","params":[{"name":"$string","type":"string","description":"String to convert"}],"return":{"type":"string","description":"The result in \"php $_SERVER header\" format"},"visibility":"protected"},"overrideDefaultSettings":{"signature":"public function overrideDefaultSettings(yii\\base\\Action $action): mixed","summary":"Override settings for specific action.","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action settings to override"}],"return":{"type":"mixed"}},"prepareAllowHeaders":{"signature":"protected function prepareAllowHeaders(string $type, array $requestHeaders, array &$responseHeaders): mixed","summary":"Handle classic CORS request to avoid duplicate code.","params":[{"name":"$type","type":"string","description":"The kind of headers we would handle"},{"name":"$requestHeaders","type":"array","description":"CORS headers request by client"},{"name":"$responseHeaders","type":"array","byReference":true,"description":"CORS response headers sent to the client"}],"return":{"type":"mixed"},"visibility":"protected"},"prepareHeaders":{"signature":"public function prepareHeaders(array $requestHeaders): array","summary":"For each CORS headers create the specific response.","params":[{"name":"$requestHeaders","type":"array","description":"CORS headers we have detected"}],"return":{"type":"array","description":"CORS headers ready to be sent"}}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\HostControl":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/hostcontrol/","summary":"HostControl provides simple control over requested host name.","since":"2.0.11","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\Configurable"],"properties":{"allowedHosts":{"type":"array|Closure|null","default":"null","description":"List of host names, which are allowed."},"denyCallback":{"type":"callable|null","default":"null","description":"A callback that will be called if the current host does not match `$allowedHosts`."},"fallbackHostInfo":{"type":"string|null","default":"''","description":"Fallback host info (e.g. `https://www.yiiframework.com`) used when Request::$hostInfo (`yii\\web\\Request::$hostInfo`) is invalid."}},"methods":{"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"denyAccess":{"signature":"protected function denyAccess(yii\\base\\Action $action): mixed","summary":"Denies the access.","params":[{"name":"$action","type":"yii\\base\\Action","description":"The action to be executed."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\NotFoundHttpException"}],"visibility":"protected"}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\HttpCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/httpcache/","summary":"HttpCache implements client-side caching by utilizing the `Last-Modified` and `ETag` HTTP headers.","since":"2.0","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\Configurable"],"properties":{"cacheControlHeader":{"type":"string|null","default":"'public, max-age=3600'","description":"The value of the `Cache-Control` HTTP header."},"enabled":{"type":"bool","default":"true","description":"A value indicating whether this filter should be enabled."},"etagSeed":{"type":"callable","default":"null","description":"A PHP callback that generates the ETag seed string."},"lastModified":{"type":"callable","default":"null","description":"A PHP callback that returns the UNIX timestamp of the last modification time."},"params":{"type":"mixed","default":"null","description":"Additional parameters that should be passed to the `$lastModified` and `$etagSeed` callbacks."},"sessionCacheLimiter":{"type":"string|null","default":"''","description":"The name of the cache limiter to be set when [session_cache_limiter()](https://www.php.net/manual/en/function.session-cache-limiter.php) is called."},"weakEtag":{"type":"bool","default":"false","description":"Whether to generate weak ETags.","since":"2.0.8"}},"methods":{"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"generateEtag":{"signature":"protected function generateEtag(string $seed): string","summary":"Generates an ETag from the given seed string.","params":[{"name":"$seed","type":"string","description":"Seed for the ETag"}],"return":{"type":"string","description":"The generated ETag"},"visibility":"protected"},"sendCacheControlHeader":{"signature":"protected function sendCacheControlHeader(): mixed","summary":"Sends the cache control header to the client.","return":{"type":"mixed"},"visibility":"protected"},"validateCache":{"signature":"protected function validateCache(int|null $lastModified, string|null $etag): bool","summary":"Validates if the HTTP cache contains valid content.","params":[{"name":"$lastModified","type":"int|null","description":"The calculated Last-Modified value in terms of a UNIX timestamp. If null, the Last-Modified header will not be validated."},{"name":"$etag","type":"string|null","description":"The calculated ETag value. If null, the ETag header will not be validated."}],"return":{"type":"bool","description":"Whether the HTTP cache is still valid."},"visibility":"protected"}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\PageCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/pagecache/","summary":"PageCache implements server-side caching of whole pages.","since":"2.0","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\DynamicContentAwareInterface","yii\\base\\Configurable"],"traits":["yii\\base\\DynamicContentAwareTrait"],"properties":{"cache":{"type":"yii\\caching\\CacheInterface|array|string","default":"'cache'","description":"The cache object or the application component ID of the cache object."},"cacheCookies":{"type":"bool|array","default":"false","description":"A boolean value indicating whether to cache all cookies, or an array of cookie names indicating which cookies can be cached.","since":"2.0.4"},"cacheHeaders":{"type":"bool|array","default":"true","description":"A boolean value indicating whether to cache all HTTP headers, or an array of HTTP header names (case-sensitive) indicating which HTTP headers can be cached.","since":"2.0.4"},"dependency":{"type":"array|yii\\caching\\Dependency","default":"null","description":"The dependency that the cached content depends on."},"duration":{"type":"int","default":"60","description":"Number of seconds that the data can remain valid in cache."},"enabled":{"type":"bool","default":"true","description":"Whether to enable the page cache."},"variations":{"type":"string[]|string|callable","default":"null","description":"List of factors that would cause the variation of the content being cached."},"varyByRoute":{"type":"bool","default":"true","description":"Whether the content being cached should be differentiated according to the route."},"view":{"type":"yii\\base\\View|null","default":"null","description":"The view component to use for caching."}},"methods":{"afterRestoreResponse":{"signature":"public function afterRestoreResponse(array|null $data): mixed","summary":"This method is invoked right after the response restoring is finished (but before the response is sent).","params":[{"name":"$data","type":"array|null","description":"An array of an additional data stored in a cache entry or `null`."}],"return":{"type":"mixed"},"since":"2.0.11"},"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"beforeCacheResponse":{"signature":"public function beforeCacheResponse(): bool|array","summary":"This method is invoked right before the response caching is to be started.","return":{"type":"bool|array","description":"Whether to cache or not, return an array instead of `true` to store an additional data."},"since":"2.0.11"},"cacheResponse":{"signature":"public function cacheResponse(): mixed","summary":"Caches response properties.","return":{"type":"mixed"},"since":"2.0.3"},"calculateCacheKey":{"signature":"protected function calculateCacheKey(): array","return":{"type":"array","description":"The key used to cache response properties."},"visibility":"protected","since":"2.0.3"},"getView":{"signature":"public function getView()"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"restoreResponse":{"signature":"protected function restoreResponse(yii\\web\\Response $response, array $data): mixed","summary":"Restores response properties from the given data.","params":[{"name":"$response","type":"yii\\web\\Response","description":"The response to be restored."},{"name":"$data","type":"array","description":"The response property data."}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.3"}},"constants":{"PAGE_CACHE_VERSION":{"value":"1","description":"Page cache version, to detect incompatibilities in cached values when the data format of the cache changes."}},"inherited":{"properties":{"dynamicPlaceholders":"yii\\base\\DynamicContentAwareTrait","except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","addDynamicPlaceholder":"yii\\base\\DynamicContentAwareTrait","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","getDynamicPlaceholders":"yii\\base\\DynamicContentAwareTrait","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter","setDynamicPlaceholders":"yii\\base\\DynamicContentAwareTrait","updateDynamicContent":"yii\\base\\DynamicContentAwareTrait"}}},"yii\\filters\\RateLimitInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/filters/ratelimitinterface/","summary":"RateLimitInterface is the interface that may be implemented by an identity object to enforce rate limiting.","since":"2.0","methods":{"getRateLimit":{"signature":"abstract public function getRateLimit(yii\\web\\Request $request, yii\\base\\Action $action): array","summary":"Returns the maximum number of allowed requests and the window size.","params":[{"name":"$request","type":"yii\\web\\Request","description":"The current request"},{"name":"$action","type":"yii\\base\\Action","description":"The action to be executed"}],"return":{"type":"array","description":"An array of two elements. The first element is the maximum number of allowed requests, and the second element is the size of the window in seconds."},"abstract":true},"loadAllowance":{"signature":"abstract public function loadAllowance(yii\\web\\Request $request, yii\\base\\Action $action): array","summary":"Loads the number of allowed requests and the corresponding timestamp from a persistent storage.","params":[{"name":"$request","type":"yii\\web\\Request","description":"The current request"},{"name":"$action","type":"yii\\base\\Action","description":"The action to be executed"}],"return":{"type":"array","description":"An array of two elements. The first element is the number of allowed requests, and the second element is the corresponding UNIX timestamp."},"abstract":true},"saveAllowance":{"signature":"abstract public function saveAllowance(yii\\web\\Request $request, yii\\base\\Action $action, int $allowance, int $timestamp): mixed","summary":"Saves the number of allowed requests and the corresponding timestamp to a persistent storage.","params":[{"name":"$request","type":"yii\\web\\Request","description":"The current request"},{"name":"$action","type":"yii\\base\\Action","description":"The action to be executed"},{"name":"$allowance","type":"int","description":"The number of allowed requests remaining."},{"name":"$timestamp","type":"int","description":"The current timestamp."}],"return":{"type":"mixed"},"abstract":true}}},"yii\\filters\\RateLimiter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/ratelimiter/","summary":"RateLimiter implements a rate limiting algorithm based on the [leaky bucket algorithm](https://en.wikipedia.org/wiki/Leaky_bucket).","since":"2.0","extends":"yii\\base\\ActionFilter","implements":["yii\\base\\Configurable"],"properties":{"enableRateLimitHeaders":{"type":"bool","default":"true","description":"Whether to include rate limit headers in the response"},"errorMessage":{"type":"string","default":"'Rate limit exceeded.'","description":"The message to be displayed when rate limit exceeds"},"request":{"type":"yii\\web\\Request|null","default":"null","description":"The current request."},"response":{"type":"yii\\web\\Response|null","default":"null","description":"The response to be sent."},"user":{"type":"yii\\filters\\RateLimitInterface|yii\\web\\IdentityInterface|Closure|null","default":"null","description":"The user object that implements the RateLimitInterface."}},"methods":{"addRateLimitHeaders":{"signature":"public function addRateLimitHeaders(yii\\web\\Response $response, int $limit, int $remaining, int $reset): mixed","summary":"Adds the rate limit headers to the response.","params":[{"name":"$response","type":"yii\\web\\Response"},{"name":"$limit","type":"int","description":"The maximum number of allowed requests during a period"},{"name":"$remaining","type":"int","description":"The remaining number of allowed requests within the current period"},{"name":"$reset","type":"int","description":"The number of seconds to wait before having maximum number of allowed requests again"}],"return":{"type":"mixed"}},"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"checkRateLimit":{"signature":"public function checkRateLimit(yii\\filters\\RateLimitInterface $user, yii\\web\\Request $request, yii\\web\\Response $response, yii\\base\\Action $action): mixed","summary":"Checks whether the rate limit exceeds.","params":[{"name":"$user","type":"yii\\filters\\RateLimitInterface","description":"The current user"},{"name":"$request","type":"yii\\web\\Request"},{"name":"$response","type":"yii\\web\\Response"},{"name":"$action","type":"yii\\base\\Action","description":"The action to be executed"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\TooManyRequestsHttpException","description":"if rate limit exceeds"}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\VerbFilter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/verbfilter/","summary":"VerbFilter is an action filter that filters by HTTP request methods.","since":"2.0","extends":"yii\\base\\Behavior","implements":["yii\\base\\Configurable"],"properties":{"actions":{"type":"array","default":"[]","description":"This property defines the allowed request methods for each action."}},"methods":{"beforeAction":{"signature":"public function beforeAction(yii\\base\\ActionEvent $event): bool","params":[{"name":"$event","type":"yii\\base\\ActionEvent"}],"return":{"type":"bool"},"throws":[{"type":"yii\\web\\MethodNotAllowedHttpException","description":"when the request method is not allowed."}]},"events":{"signature":"public function events(): array","summary":"Declares event handlers for the `$owner`'s events.","return":{"type":"array","description":"Events (array keys) and the corresponding event handler methods (array values)."}}},"inherited":{"properties":{"owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\base\\Behavior","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\Behavior","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\filters\\auth\\AuthInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/filters/auth/authinterface/","summary":"AuthInterface is the interface that should be implemented by auth method classes.","since":"2.0","methods":{"authenticate":{"signature":"abstract public function authenticate(yii\\web\\User $user, yii\\web\\Request $request, yii\\web\\Response $response): yii\\web\\IdentityInterface|null","summary":"Authenticates the current user.","params":[{"name":"$user","type":"yii\\web\\User"},{"name":"$request","type":"yii\\web\\Request"},{"name":"$response","type":"yii\\web\\Response"}],"return":{"type":"yii\\web\\IdentityInterface|null","description":"The authenticated user identity. If authentication information is not provided, null will be returned."},"throws":[{"type":"yii\\web\\UnauthorizedHttpException","description":"if authentication information is provided but is invalid."}],"abstract":true},"challenge":{"signature":"abstract public function challenge(yii\\web\\Response $response): mixed","summary":"Generates challenges upon authentication failure.","params":[{"name":"$response","type":"yii\\web\\Response"}],"return":{"type":"mixed"},"abstract":true},"handleFailure":{"signature":"abstract public function handleFailure(yii\\web\\Response $response): mixed","summary":"Handles authentication failure.","params":[{"name":"$response","type":"yii\\web\\Response"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\UnauthorizedHttpException"}],"abstract":true}}},"yii\\filters\\auth\\AuthMethod":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/filters/auth/authmethod/","summary":"AuthMethod is a base class implementing the `yii\\filters\\auth\\AuthInterface` interface.","since":"2.0","extends":"yii\\base\\ActionFilter","implements":["yii\\filters\\auth\\AuthInterface","yii\\base\\Configurable"],"properties":{"optional":{"type":"array","default":"[]","description":"List of action IDs that this filter will be applied to, but auth failure will not lead to error.","since":"2.0.7"},"request":{"type":"yii\\web\\Request|null","default":"null","description":"The current request."},"response":{"type":"yii\\web\\Response|null","default":"null","description":"The response to be sent."},"user":{"type":"yii\\web\\User|null","default":"null","description":"The user object representing the user authentication status."}},"methods":{"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"challenge":{"signature":"public function challenge(mixed $response): mixed","summary":"Generates challenges upon authentication failure.","params":[{"name":"$response","type":"mixed"}],"return":{"type":"mixed"}},"handleFailure":{"signature":"public function handleFailure(mixed $response): mixed","summary":"Handles authentication failure.","params":[{"name":"$response","type":"mixed"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\UnauthorizedHttpException"}]},"isOptional":{"signature":"protected function isOptional(yii\\base\\Action $action): bool","summary":"Checks, whether authentication is optional for the given action.","params":[{"name":"$action","type":"yii\\base\\Action","description":"Action to be checked."}],"return":{"type":"bool","description":"Whether authentication is optional or not."},"visibility":"protected","since":"2.0.7"}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","owner":"yii\\base\\Behavior"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","authenticate":"yii\\filters\\auth\\AuthInterface","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter"}}},"yii\\filters\\auth\\CompositeAuth":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/auth/compositeauth/","summary":"CompositeAuth is an action filter that supports multiple authentication methods at the same time.","since":"2.0","extends":"yii\\filters\\auth\\AuthMethod","implements":["yii\\filters\\auth\\AuthInterface","yii\\base\\Configurable"],"properties":{"authMethods":{"type":"list<class-string<yii\\filters\\auth\\AuthInterface>|array{class: class-string<yii\\filters\\auth\\AuthInterface>}>","default":"[]","description":"The supported authentication methods."}},"methods":{"authenticate":{"signature":"public function authenticate(mixed $user, mixed $request, mixed $response): yii\\web\\IdentityInterface|null","summary":"Authenticates the current user.","params":[{"name":"$user","type":"mixed"},{"name":"$request","type":"mixed"},{"name":"$response","type":"mixed"}],"return":{"type":"yii\\web\\IdentityInterface|null","description":"The authenticated user identity. If authentication information is not provided, null will be returned."},"throws":[{"type":"yii\\web\\UnauthorizedHttpException","description":"if authentication information is provided but is invalid."}]},"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to be executed."}},"challenge":{"signature":"public function challenge(mixed $response): mixed","summary":"Generates challenges upon authentication failure.","params":[{"name":"$response","type":"mixed"}],"return":{"type":"mixed"}}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","optional":"yii\\filters\\auth\\AuthMethod","owner":"yii\\base\\Behavior","request":"yii\\filters\\auth\\AuthMethod","response":"yii\\filters\\auth\\AuthMethod","user":"yii\\filters\\auth\\AuthMethod"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","handleFailure":"yii\\filters\\auth\\AuthMethod","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter","isOptional":"yii\\filters\\auth\\AuthMethod"}}},"yii\\filters\\auth\\HttpBasicAuth":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/auth/httpbasicauth/","summary":"HttpBasicAuth is an action filter that supports the HTTP Basic authentication method.","since":"2.0","extends":"yii\\filters\\auth\\AuthMethod","implements":["yii\\filters\\auth\\AuthInterface","yii\\base\\Configurable"],"properties":{"auth":{"type":"callable|null","default":"null","description":"A PHP callable that will authenticate the user with the HTTP basic auth information."},"realm":{"type":"string","default":"'api'","description":"The HTTP authentication realm"}},"methods":{"authenticate":{"signature":"public function authenticate(mixed $user, mixed $request, mixed $response): yii\\web\\IdentityInterface|null","summary":"Authenticates the current user.","params":[{"name":"$user","type":"mixed"},{"name":"$request","type":"mixed"},{"name":"$response","type":"mixed"}],"return":{"type":"yii\\web\\IdentityInterface|null","description":"The authenticated user identity. If authentication information is not provided, null will be returned."},"throws":[{"type":"yii\\web\\UnauthorizedHttpException","description":"if authentication information is provided but is invalid."}]},"challenge":{"signature":"public function challenge(mixed $response): mixed","summary":"Generates challenges upon authentication failure.","params":[{"name":"$response","type":"mixed"}],"return":{"type":"mixed"}}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","optional":"yii\\filters\\auth\\AuthMethod","owner":"yii\\base\\Behavior","request":"yii\\filters\\auth\\AuthMethod","response":"yii\\filters\\auth\\AuthMethod","user":"yii\\filters\\auth\\AuthMethod"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeAction":"yii\\filters\\auth\\AuthMethod","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","handleFailure":"yii\\filters\\auth\\AuthMethod","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter","isOptional":"yii\\filters\\auth\\AuthMethod"}}},"yii\\filters\\auth\\HttpBearerAuth":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/auth/httpbearerauth/","summary":"HttpBearerAuth is an action filter that supports the authentication method based on HTTP Bearer token.","since":"2.0","extends":"yii\\filters\\auth\\HttpHeaderAuth","implements":["yii\\filters\\auth\\AuthInterface","yii\\base\\Configurable"],"properties":{"header":{"type":"string","default":"'Authorization'"},"pattern":{"type":"string","default":"'/^Bearer\\s+(.*?)$/'"},"realm":{"type":"string","default":"'api'","description":"The HTTP authentication realm"}},"methods":{"challenge":{"signature":"public function challenge(mixed $response): mixed","summary":"Generates challenges upon authentication failure.","params":[{"name":"$response","type":"mixed"}],"return":{"type":"mixed"}}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","optional":"yii\\filters\\auth\\AuthMethod","owner":"yii\\base\\Behavior","request":"yii\\filters\\auth\\AuthMethod","response":"yii\\filters\\auth\\AuthMethod","user":"yii\\filters\\auth\\AuthMethod"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","authenticate":"yii\\filters\\auth\\HttpHeaderAuth","beforeAction":"yii\\filters\\auth\\AuthMethod","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","handleFailure":"yii\\filters\\auth\\AuthMethod","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter","isOptional":"yii\\filters\\auth\\AuthMethod"}}},"yii\\filters\\auth\\HttpHeaderAuth":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/auth/httpheaderauth/","summary":"HttpHeaderAuth is an action filter that supports HTTP authentication through HTTP Headers.","since":"2.0.14","extends":"yii\\filters\\auth\\AuthMethod","implements":["yii\\filters\\auth\\AuthInterface","yii\\base\\Configurable"],"properties":{"header":{"type":"string","default":"'X-Api-Key'","description":"The HTTP header name"},"pattern":{"type":"string","default":"null","description":"A pattern to use to extract the HTTP authentication value"}},"methods":{"authenticate":{"signature":"public function authenticate(mixed $user, mixed $request, mixed $response): yii\\web\\IdentityInterface|null","summary":"Authenticates the current user.","params":[{"name":"$user","type":"mixed"},{"name":"$request","type":"mixed"},{"name":"$response","type":"mixed"}],"return":{"type":"yii\\web\\IdentityInterface|null","description":"The authenticated user identity. If authentication information is not provided, null will be returned."},"throws":[{"type":"yii\\web\\UnauthorizedHttpException","description":"if authentication information is provided but is invalid."}]}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","optional":"yii\\filters\\auth\\AuthMethod","owner":"yii\\base\\Behavior","request":"yii\\filters\\auth\\AuthMethod","response":"yii\\filters\\auth\\AuthMethod","user":"yii\\filters\\auth\\AuthMethod"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeAction":"yii\\filters\\auth\\AuthMethod","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","challenge":"yii\\filters\\auth\\AuthMethod","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","handleFailure":"yii\\filters\\auth\\AuthMethod","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter","isOptional":"yii\\filters\\auth\\AuthMethod"}}},"yii\\filters\\auth\\QueryParamAuth":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/filters/auth/queryparamauth/","summary":"QueryParamAuth is an action filter that supports the authentication based on the access token passed through a query parameter.","since":"2.0","extends":"yii\\filters\\auth\\AuthMethod","implements":["yii\\filters\\auth\\AuthInterface","yii\\base\\Configurable"],"properties":{"tokenParam":{"type":"string","default":"'access-token'","description":"The parameter name for passing the access token"}},"methods":{"authenticate":{"signature":"public function authenticate(mixed $user, mixed $request, mixed $response): yii\\web\\IdentityInterface|null","summary":"Authenticates the current user.","params":[{"name":"$user","type":"mixed"},{"name":"$request","type":"mixed"},{"name":"$response","type":"mixed"}],"return":{"type":"yii\\web\\IdentityInterface|null","description":"The authenticated user identity. If authentication information is not provided, null will be returned."},"throws":[{"type":"yii\\web\\UnauthorizedHttpException","description":"if authentication information is provided but is invalid."}]}},"inherited":{"properties":{"except":"yii\\base\\ActionFilter","only":"yii\\base\\ActionFilter","optional":"yii\\filters\\auth\\AuthMethod","owner":"yii\\base\\Behavior","request":"yii\\filters\\auth\\AuthMethod","response":"yii\\filters\\auth\\AuthMethod","user":"yii\\filters\\auth\\AuthMethod"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","afterAction":"yii\\base\\ActionFilter","afterFilter":"yii\\base\\ActionFilter","attach":"yii\\base\\ActionFilter","beforeAction":"yii\\filters\\auth\\AuthMethod","beforeFilter":"yii\\base\\ActionFilter","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","challenge":"yii\\filters\\auth\\AuthMethod","className":"yii\\base\\BaseObject","detach":"yii\\base\\ActionFilter","events":"yii\\base\\Behavior","getActionId":"yii\\base\\ActionFilter","handleFailure":"yii\\filters\\auth\\AuthMethod","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","isActive":"yii\\base\\ActionFilter","isOptional":"yii\\filters\\auth\\AuthMethod"}}},"yii\\grid\\ActionColumn":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/actioncolumn/","summary":"ActionColumn is a column for the `yii\\grid\\GridView` widget that displays buttons for viewing and manipulating the items.","since":"2.0","extends":"yii\\grid\\Column","implements":["yii\\base\\Configurable"],"properties":{"buttonOptions":{"type":"array","default":"[]","description":"Html options to be applied to the default button (`initDefaultButton()`).","since":"2.0.4"},"buttons":{"type":"array","default":"[]","description":"Button rendering callbacks."},"controller":{"type":"string|null","default":"null","description":"The ID of the controller that should handle the actions specified here."},"headerOptions":{"type":"array","default":"['class' => 'action-column']"},"icons":{"type":"array","default":"['eye-open' => '<svg aria-hidden=\"true\" style=\"display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:1.125em\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path fill=\"currentColor\" d=\"M573 241C518 136 411 64 288 64S58 136 3 241a32 32 0 000 30c55 105 162 177 285 177s230-72 285-177a32 32 0 000-30zM288 400a144 144 0 11144-144 144 144 0 01-144 144zm0-240a95 95 0 00-25 4 48 48 0 01-67 67 96 96 0 1092-71z\"/></svg>', 'pencil' => '<svg aria-hidden=\"true\" style=\"display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:1em\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M498 142l-46 46c-5 5-13 5-17 0L324 77c-5-5-5-12 0-17l46-46c19-19 49-19 68 0l60 60c19 19 19 49 0 68zm-214-42L22 362 0 484c-3 16 12 30 28 28l122-22 262-262c5-5 5-13 0-17L301 100c-4-5-12-5-17 0zM124 340c-5-6-5-14 0-20l154-154c6-5 14-5 20 0s5 14 0 20L144 340c-6 5-14 5-20 0zm-36 84h48v36l-64 12-32-31 12-65h36v48z\"/></svg>', 'trash' => '<svg aria-hidden=\"true\" style=\"display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:.875em\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path fill=\"currentColor\" d=\"M32 464a48 48 0 0048 48h288a48 48 0 0048-48V128H32zm272-256a16 16 0 0132 0v224a16 16 0 01-32 0zm-96 0a16 16 0 0132 0v224a16 16 0 01-32 0zm-96 0a16 16 0 0132 0v224a16 16 0 01-32 0zM432 32H312l-9-19a24 24 0 00-22-13H167a24 24 0 00-22 13l-9 19H16A16 16 0 000 48v32a16 16 0 0016 16h416a16 16 0 0016-16V48a16 16 0 00-16-16z\"/></svg>']","description":"Button icons.","since":"2.0.42"},"template":{"type":"string","default":"'{view} {update} {delete}'","description":"The template used for composing each cell in the action column."},"urlCreator":{"type":"callable|null","default":"null","description":"A callback that creates a button URL using the specified model information."},"visibleButtons":{"type":"array","default":"[]","description":"Visibility conditions for each button.","since":"2.0.7"}},"methods":{"createUrl":{"signature":"public function createUrl(string $action, yii\\db\\ActiveRecordInterface $model, mixed $key, int $index): string","summary":"Creates a URL for the given action and model.","params":[{"name":"$action","type":"string","description":"The button name (or action ID)"},{"name":"$model","type":"yii\\db\\ActiveRecordInterface","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"int","description":"The current row index"}],"return":{"type":"string","description":"The created URL"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"initDefaultButton":{"signature":"protected function initDefaultButton(string $name, string $iconName, array $additionalOptions = []): mixed","summary":"Initializes the default button rendering callback for single button.","params":[{"name":"$name","type":"string","description":"Button name as it's written in template"},{"name":"$iconName","type":"string","description":"The icon name used as key in `$icons`"},{"name":"$additionalOptions","type":"array","default":"[]","optional":true,"description":"Array of additional options"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.11"},"initDefaultButtons":{"signature":"protected function initDefaultButtons(): mixed","summary":"Initializes the default button rendering callbacks.","return":{"type":"mixed"},"visibility":"protected"},"renderDataCellContent":{"signature":"protected function renderDataCellContent(mixed $model, mixed $key, mixed $index): string","summary":"Renders the data cell content.","params":[{"name":"$model","type":"mixed","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"mixed","description":"The zero-based index of the data model among the models array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"}},"inherited":{"properties":{"content":"yii\\grid\\Column","contentOptions":"yii\\grid\\Column","filterOptions":"yii\\grid\\Column","footer":"yii\\grid\\Column","footerOptions":"yii\\grid\\Column","grid":"yii\\grid\\Column","header":"yii\\grid\\Column","options":"yii\\grid\\Column","visible":"yii\\grid\\Column"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","getHeaderCellLabel":"yii\\grid\\Column","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","renderDataCell":"yii\\grid\\Column","renderFilterCell":"yii\\grid\\Column","renderFilterCellContent":"yii\\grid\\Column","renderFooterCell":"yii\\grid\\Column","renderFooterCellContent":"yii\\grid\\Column","renderHeaderCell":"yii\\grid\\Column","renderHeaderCellContent":"yii\\grid\\Column"}}},"yii\\grid\\CheckboxColumn":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/checkboxcolumn/","summary":"CheckboxColumn displays a column of checkboxes in a grid view.","since":"2.0","extends":"yii\\grid\\Column","implements":["yii\\base\\Configurable"],"properties":{"checkboxOptions":{"type":"array|Closure","default":"[]","description":"The HTML attributes for checkboxes."},"clientScript":{"type":"array|yii\\web\\client\\ClientScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"cssClass":{"type":"string","default":"null","description":"The css class that will be used to find the checkboxes.","since":"2.0.9"},"multiple":{"type":"bool","default":"true","description":"Whether it is possible to select multiple rows."},"name":{"type":"string","default":"'selection'","description":"The name of the input checkbox input fields."}},"methods":{"getHeaderCheckBoxName":{"signature":"protected function getHeaderCheckBoxName(): string","summary":"Returns header checkbox name.","return":{"type":"string","description":"Header checkbox name"},"visibility":"protected","since":"2.0.8"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$name` is not set."}]},"registerClientScript":{"signature":"public function registerClientScript(): mixed","summary":"Registers the needed JavaScript.","return":{"type":"mixed"},"since":"2.0.8"},"renderDataCellContent":{"signature":"protected function renderDataCellContent(mixed $model, mixed $key, mixed $index): string","summary":"Renders the data cell content.","params":[{"name":"$model","type":"mixed","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"mixed","description":"The zero-based index of the data model among the models array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderHeaderCellContent":{"signature":"protected function renderHeaderCellContent(): string","summary":"Renders the header cell content.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"}},"inherited":{"properties":{"content":"yii\\grid\\Column","contentOptions":"yii\\grid\\Column","filterOptions":"yii\\grid\\Column","footer":"yii\\grid\\Column","footerOptions":"yii\\grid\\Column","grid":"yii\\grid\\Column","header":"yii\\grid\\Column","headerOptions":"yii\\grid\\Column","options":"yii\\grid\\Column","visible":"yii\\grid\\Column"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","getHeaderCellLabel":"yii\\grid\\Column","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","renderDataCell":"yii\\grid\\Column","renderFilterCell":"yii\\grid\\Column","renderFilterCellContent":"yii\\grid\\Column","renderFooterCell":"yii\\grid\\Column","renderFooterCellContent":"yii\\grid\\Column","renderHeaderCell":"yii\\grid\\Column"}}},"yii\\grid\\Column":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/column/","summary":"Column is the base class of all `yii\\grid\\GridView` column classes.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"content":{"type":"callable","default":"null","description":"This is a callable that will be used to generate the content of each cell."},"contentOptions":{"type":"array|Closure","default":"[]","description":"The HTML attributes for the data cell tag."},"filterOptions":{"type":"array","default":"[]","description":"The HTML attributes for the filter cell tag."},"footer":{"type":"string","default":"null","description":"The footer cell content."},"footerOptions":{"type":"array","default":"[]","description":"The HTML attributes for the footer cell tag."},"grid":{"type":"yii\\grid\\GridView","default":"null","description":"The grid view object that owns this column."},"header":{"type":"string|null","default":"null","description":"The header cell content."},"headerOptions":{"type":"array","default":"[]","description":"The HTML attributes for the header cell tag."},"options":{"type":"array","default":"[]","description":"The HTML attributes for the column group tag."},"visible":{"type":"bool","default":"true","description":"Whether this column is visible."}},"methods":{"getHeaderCellLabel":{"signature":"protected function getHeaderCellLabel(): string","summary":"Returns header cell label.","return":{"type":"string","description":"Label"},"visibility":"protected","since":"2.0.8"},"renderDataCell":{"signature":"public function renderDataCell(mixed $model, mixed $key, int $index): string","summary":"Renders a data cell.","params":[{"name":"$model","type":"mixed","description":"The data model being rendered"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"int","description":"The zero-based index of the data item among the item array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string","description":"The rendering result"}},"renderDataCellContent":{"signature":"protected function renderDataCellContent(mixed $model, mixed $key, int $index): string","summary":"Renders the data cell content.","params":[{"name":"$model","type":"mixed","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"int","description":"The zero-based index of the data model among the models array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderFilterCell":{"signature":"public function renderFilterCell(): mixed","summary":"Renders the filter cell.","return":{"type":"mixed"}},"renderFilterCellContent":{"signature":"protected function renderFilterCellContent(): string","summary":"Renders the filter cell content.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderFooterCell":{"signature":"public function renderFooterCell(): mixed","summary":"Renders the footer cell.","return":{"type":"mixed"}},"renderFooterCellContent":{"signature":"protected function renderFooterCellContent(): string","summary":"Renders the footer cell content.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderHeaderCell":{"signature":"public function renderHeaderCell(): mixed","summary":"Renders the header cell.","return":{"type":"mixed"}},"renderHeaderCellContent":{"signature":"protected function renderHeaderCellContent(): string","summary":"Renders the header cell content.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\grid\\DataColumn":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/datacolumn/","summary":"DataColumn is the default column type for the `yii\\grid\\GridView` widget.","since":"2.0","extends":"yii\\grid\\Column","implements":["yii\\base\\Configurable"],"properties":{"attribute":{"type":"string","default":"null","description":"The attribute name associated with this column."},"enableSorting":{"type":"bool","default":"true","description":"Whether to allow sorting by this column."},"encodeLabel":{"type":"bool","default":"true","description":"Whether the header label should be HTML-encoded.","since":"2.0.1"},"filter":{"type":"string|array|null|false","default":"null","description":"The HTML code representing a filter input (e.g. a text field, a dropdown list) that is used for this data column."},"filterAttribute":{"type":"string|null","default":"null","description":"The attribute name of the `yii\\grid\\GridView::$filterModel` associated with this column.","since":"2.0.41"},"filterInputOptions":{"type":"array","default":"['id' => null]","description":"The HTML attributes for the filter input fields."},"format":{"type":"string|array|Closure","default":"'text'","description":"In which format should the value of each data model be displayed as (e.g. `\"raw\"`, `\"text\"`, `\"html\"`, `['date', 'php:Y-m-d']`)."},"label":{"type":"string|null","default":"null","description":"Label to be displayed in the header cell (`$header`) and also to be used as the sorting link label when sorting is enabled for this column."},"sortLinkOptions":{"type":"array","default":"[]","description":"The HTML attributes for the link tag in the header cell generated by `yii\\data\\Sort::link()` when sorting is enabled for this column."},"value":{"type":"string|Closure|null","default":"null","description":"An anonymous function or a string that is used to determine the value to display in the current column."}},"methods":{"getDataCellValue":{"signature":"public function getDataCellValue(mixed $model, mixed $key, int $index): string|null","summary":"Returns the data cell value.","params":[{"name":"$model","type":"mixed","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"int","description":"The zero-based index of the data model among the models array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string|null","description":"The data cell value"}},"getHeaderCellLabel":{"signature":"protected function getHeaderCellLabel(): string","summary":"Returns header cell label.","return":{"type":"string","description":"Label"},"visibility":"protected","since":"2.0.8"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"renderDataCellContent":{"signature":"protected function renderDataCellContent(mixed $model, mixed $key, mixed $index): string","summary":"Renders the data cell content.","params":[{"name":"$model","type":"mixed","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"mixed","description":"The zero-based index of the data model among the models array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderFilterCellContent":{"signature":"protected function renderFilterCellContent(): string","summary":"Renders the filter cell content.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderHeaderCellContent":{"signature":"protected function renderHeaderCellContent(): string","summary":"Renders the header cell content.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"}},"inherited":{"properties":{"content":"yii\\grid\\Column","contentOptions":"yii\\grid\\Column","filterOptions":"yii\\grid\\Column","footer":"yii\\grid\\Column","footerOptions":"yii\\grid\\Column","grid":"yii\\grid\\Column","header":"yii\\grid\\Column","headerOptions":"yii\\grid\\Column","options":"yii\\grid\\Column","visible":"yii\\grid\\Column"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","renderDataCell":"yii\\grid\\Column","renderFilterCell":"yii\\grid\\Column","renderFooterCell":"yii\\grid\\Column","renderFooterCellContent":"yii\\grid\\Column","renderHeaderCell":"yii\\grid\\Column"}}},"yii\\grid\\GridView":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/gridview/","summary":"The GridView widget is used to display data in a grid.","since":"2.0","extends":"yii\\widgets\\BaseListView","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"afterRow":{"type":"Closure","default":"null","description":"An anonymous function that is called once AFTER rendering each data model."},"beforeRow":{"type":"Closure","default":"null","description":"An anonymous function that is called once BEFORE rendering each data model."},"caption":{"type":"string","default":"null","description":"The caption of the grid table"},"captionOptions":{"type":"array","default":"[]","description":"The HTML attributes for the caption element."},"clientScript":{"type":"array|yii\\web\\client\\ClientScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"columns":{"type":"array","default":"[]","description":"Grid column configuration."},"dataColumnClass":{"type":"string","default":"null","description":"The default data column class if the class name is not explicitly specified when configuring a data column."},"emptyCell":{"type":"string","default":"'&nbsp;'","description":"The HTML display when the content of a cell is empty."},"filterErrorOptions":{"type":"array","default":"['class' => 'field-error']","description":"The options for rendering every filter error message."},"filterErrorSummaryOptions":{"type":"array","default":"['class' => 'error-summary']","description":"The options for rendering the filter error summary."},"filterModel":{"type":"yii\\base\\Model|null","default":"null","description":"The model that keeps the user-entered filter data."},"filterOnFocusOut":{"type":"bool","default":"true","description":"Whatever to apply filters on losing focus.","since":"2.0.16"},"filterPosition":{"type":"string","default":"self::FILTER_POS_BODY","description":"Whether the filters should be displayed in the grid view."},"filterRowOptions":{"type":"array","default":"['class' => 'filters']","description":"The HTML attributes for the filter row element."},"filterSelector":{"type":"string|Closure(string, string): string","default":"null","description":"JQuery selector for selecting filter input fields."},"filterUrl":{"type":"string|array|null","default":"null","description":"The URL for returning the filtering result. `Url::to()` will be called to normalize the URL."},"footerRowOptions":{"type":"array","default":"[]","description":"The HTML attributes for the table footer row."},"formatter":{"type":"array|yii\\i18n\\Formatter|null","default":"null","description":"The formatter used to format model attribute values into displayable texts."},"headerRowOptions":{"type":"array","default":"[]","description":"The HTML attributes for the table header row."},"layout":{"type":"string","default":"\"{summary}\\n{items}\\n{pager}\"","description":"The layout that determines how different sections of the grid view should be organized."},"options":{"type":"array","default":"['class' => 'grid-view']","description":"The HTML attributes for the container tag of the grid view."},"overrideFilterSelector":{"type":"bool","default":"false","description":"If set, `$filterSelector` overrides the default selector of '#$id input, #$id select' (where $id is the filter row ID) rather than being added to it."},"placeFooterAfterBody":{"type":"bool","default":"false","description":"Whether to place footer after body in DOM if $showFooter is true","since":"2.0.14"},"rowOptions":{"type":"array|Closure","default":"[]","description":"The HTML attributes for the table body rows."},"showFooter":{"type":"bool","default":"false","description":"Whether to show the footer section of the grid table."},"showHeader":{"type":"bool","default":"true","description":"Whether to show the header section of the grid table."},"showOnEmpty":{"type":"bool","default":"true","description":"Whether to show the grid view if `$dataProvider` returns no data."},"tableOptions":{"type":"array","default":"[]","description":"The HTML attributes for the grid table element."}},"methods":{"createDataColumn":{"signature":"protected function createDataColumn(string $text): yii\\grid\\DataColumn","summary":"Creates a `yii\\grid\\DataColumn` object based on a string in the format of \"attribute:format:label\".","params":[{"name":"$text","type":"string","description":"The column specification string"}],"return":{"type":"yii\\grid\\DataColumn","description":"The column instance"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the column specification is invalid"}],"visibility":"protected"},"getClientOptions":{"signature":"protected function getClientOptions(): array","summary":"Returns the options for the grid view JS widget.","return":{"type":"array","description":"The options"},"visibility":"protected"},"guessColumns":{"signature":"protected function guessColumns(): mixed","summary":"This function tries to guess the columns to show from the given data if `$columns` are not explicitly specified.","return":{"type":"mixed"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the grid view.","return":{"type":"mixed"}},"initColumns":{"signature":"protected function initColumns(): mixed","summary":"Creates column objects and initializes them.","return":{"type":"mixed"},"visibility":"protected"},"renderCaption":{"signature":"public function renderCaption(): bool|string","summary":"Renders the caption element.","return":{"type":"bool|string","description":"The rendered caption element or `false` if no caption element should be rendered."}},"renderColumnGroup":{"signature":"public function renderColumnGroup(): bool|string","summary":"Renders the column group HTML.","return":{"type":"bool|string","description":"The column group HTML or `false` if no column group should be rendered."}},"renderErrors":{"signature":"public function renderErrors(): string","summary":"Renders validator errors of filter model.","return":{"type":"string","description":"The rendering result."}},"renderFilters":{"signature":"public function renderFilters(): string","summary":"Renders the filter.","return":{"type":"string","description":"The rendering result."}},"renderItems":{"signature":"public function renderItems(): string","summary":"Renders the data models for the grid view.","return":{"type":"string","description":"The HTML code of table"}},"renderSection":{"signature":"public function renderSection(mixed $name): string|bool","summary":"Renders a section of the specified name.","params":[{"name":"$name","type":"mixed","description":"The section name, e.g., `{summary}`, `{items}`."}],"return":{"type":"string|bool","description":"The rendering result of the section, or false if the named section is not supported."}},"renderTableBody":{"signature":"public function renderTableBody(): string","summary":"Renders the table body.","return":{"type":"string","description":"The rendering result."}},"renderTableFooter":{"signature":"public function renderTableFooter(): string","summary":"Renders the table footer.","return":{"type":"string","description":"The rendering result."}},"renderTableHeader":{"signature":"public function renderTableHeader(): string","summary":"Renders the table header.","return":{"type":"string","description":"The rendering result."}},"renderTableRow":{"signature":"public function renderTableRow(mixed $model, mixed $key, int $index): string","summary":"Renders a table row with the given data model and key.","params":[{"name":"$model","type":"mixed","description":"The data model to be rendered"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"int","description":"The zero-based index of the data model among the model array returned by `$dataProvider`."}],"return":{"type":"string","description":"The rendering result"}},"run":{"signature":"public function run(): mixed","summary":"Runs the widget.","return":{"type":"mixed"}}},"constants":{"FILTER_POS_HEADER":{"value":"'header'"},"FILTER_POS_FOOTER":{"value":"'footer'"},"FILTER_POS_BODY":{"value":"'body'"}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","dataProvider":"yii\\widgets\\BaseListView","emptyText":"yii\\widgets\\BaseListView","emptyTextOptions":"yii\\widgets\\BaseListView","id":"yii\\base\\Widget","pager":"yii\\widgets\\BaseListView","sorter":"yii\\widgets\\BaseListView","summary":"yii\\widgets\\BaseListView","summaryOptions":"yii\\widgets\\BaseListView","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderEmpty":"yii\\widgets\\BaseListView","renderFile":"yii\\base\\Widget","renderPager":"yii\\widgets\\BaseListView","renderSorter":"yii\\widgets\\BaseListView","renderSummary":"yii\\widgets\\BaseListView","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\grid\\GridViewAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/gridviewasset/","summary":"This asset bundle provides the javascript files for the `yii\\grid\\GridView` widget.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"['yii\\web\\YiiAsset']"},"js":{"default":"['yii.gridView.js']"},"sourcePath":{"default":"'@yii/assets'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\grid\\RadioButtonColumn":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/radiobuttoncolumn/","summary":"RadioButtonColumn displays a column of radio buttons in a grid view.","since":"2.0.11","extends":"yii\\grid\\Column","implements":["yii\\base\\Configurable"],"properties":{"name":{"type":"string","default":"'radioButtonSelection'","description":"The name of the input radio button input fields."},"radioOptions":{"type":"array|Closure","default":"[]","description":"The HTML attributes for the radio buttons."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$name` is not set."}]},"renderDataCellContent":{"signature":"protected function renderDataCellContent(mixed $model, mixed $key, mixed $index): string","summary":"Renders the data cell content.","params":[{"name":"$model","type":"mixed","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"mixed","description":"The zero-based index of the data model among the models array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"}},"inherited":{"properties":{"content":"yii\\grid\\Column","contentOptions":"yii\\grid\\Column","filterOptions":"yii\\grid\\Column","footer":"yii\\grid\\Column","footerOptions":"yii\\grid\\Column","grid":"yii\\grid\\Column","header":"yii\\grid\\Column","headerOptions":"yii\\grid\\Column","options":"yii\\grid\\Column","visible":"yii\\grid\\Column"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","getHeaderCellLabel":"yii\\grid\\Column","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","renderDataCell":"yii\\grid\\Column","renderFilterCell":"yii\\grid\\Column","renderFilterCellContent":"yii\\grid\\Column","renderFooterCell":"yii\\grid\\Column","renderFooterCellContent":"yii\\grid\\Column","renderHeaderCell":"yii\\grid\\Column","renderHeaderCellContent":"yii\\grid\\Column"}}},"yii\\grid\\SerialColumn":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/grid/serialcolumn/","summary":"SerialColumn displays a column of row numbers (1-based).","since":"2.0","extends":"yii\\grid\\Column","implements":["yii\\base\\Configurable"],"properties":{"header":{"type":"string|null","default":"'#'"}},"methods":{"renderDataCellContent":{"signature":"protected function renderDataCellContent(mixed $model, mixed $key, mixed $index): string","summary":"Renders the data cell content.","params":[{"name":"$model","type":"mixed","description":"The data model"},{"name":"$key","type":"mixed","description":"The key associated with the data model"},{"name":"$index","type":"mixed","description":"The zero-based index of the data model among the models array returned by `yii\\grid\\GridView::$dataProvider`."}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"}},"inherited":{"properties":{"content":"yii\\grid\\Column","contentOptions":"yii\\grid\\Column","filterOptions":"yii\\grid\\Column","footer":"yii\\grid\\Column","footerOptions":"yii\\grid\\Column","grid":"yii\\grid\\Column","headerOptions":"yii\\grid\\Column","options":"yii\\grid\\Column","visible":"yii\\grid\\Column"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","getHeaderCellLabel":"yii\\grid\\Column","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","renderDataCell":"yii\\grid\\Column","renderFilterCell":"yii\\grid\\Column","renderFilterCellContent":"yii\\grid\\Column","renderFooterCell":"yii\\grid\\Column","renderFooterCellContent":"yii\\grid\\Column","renderHeaderCell":"yii\\grid\\Column","renderHeaderCellContent":"yii\\grid\\Column"}}},"yii\\helpers\\ArrayHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/arrayhelper/","summary":"ArrayHelper provides additional array functionality that you can use in your application.","since":"2.0","extends":"yii\\helpers\\BaseArrayHelper","inherited":{"methods":{"filter":"yii\\helpers\\BaseArrayHelper","flatten":"yii\\helpers\\BaseArrayHelper","getColumn":"yii\\helpers\\BaseArrayHelper","getValue":"yii\\helpers\\BaseArrayHelper","htmlDecode":"yii\\helpers\\BaseArrayHelper","htmlEncode":"yii\\helpers\\BaseArrayHelper","index":"yii\\helpers\\BaseArrayHelper","isAssociative":"yii\\helpers\\BaseArrayHelper","isIn":"yii\\helpers\\BaseArrayHelper","isIndexed":"yii\\helpers\\BaseArrayHelper","isSubset":"yii\\helpers\\BaseArrayHelper","isTraversable":"yii\\helpers\\BaseArrayHelper","keyExists":"yii\\helpers\\BaseArrayHelper","map":"yii\\helpers\\BaseArrayHelper","merge":"yii\\helpers\\BaseArrayHelper","multisort":"yii\\helpers\\BaseArrayHelper","recursiveSort":"yii\\helpers\\BaseArrayHelper","remove":"yii\\helpers\\BaseArrayHelper","removeValue":"yii\\helpers\\BaseArrayHelper","setValue":"yii\\helpers\\BaseArrayHelper","toArray":"yii\\helpers\\BaseArrayHelper"}}},"yii\\helpers\\BaseArrayHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basearrayhelper/","summary":"BaseArrayHelper provides concrete implementation for `yii\\helpers\\ArrayHelper`.","since":"2.0","methods":{"filter":{"signature":"public static function filter(array $array, iterable $filters): array","summary":"Filters array according to rules specified.","params":[{"name":"$array","type":"array","description":"Source array"},{"name":"$filters","type":"iterable","description":"Rules that define array keys which should be left or removed from results. Each rule is: - `var` - `$array['var']` will be left in result. - `var.key` = only `$array['var']['key'] will be left in result. - `!var.key` = `$array['var']['key'] will be removed from result."}],"return":{"type":"array","description":"Filtered array"},"static":true,"since":"2.0.9"},"flatten":{"signature":"public static function flatten(array $array, string $separator = '.'): array","summary":"Flattens a multidimensional array into a one-dimensional array.","params":[{"name":"$array","type":"array","description":"The input array to be flattened in terms of name-value pairs."},{"name":"$separator","type":"string","default":"'.'","optional":true,"description":"The separator to use between keys. Defaults to '.'."}],"return":{"type":"array","description":"The flattened array."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if `$array` is neither traversable nor an array."}],"static":true},"getColumn":{"signature":"public static function getColumn(array $array, int|string|array|Closure $name, bool $keepKeys = true): array","summary":"Returns the values of a specified column in an array.","params":[{"name":"$array","type":"array"},{"name":"$name","type":"int|string|array|Closure"},{"name":"$keepKeys","type":"bool","default":"true","optional":true,"description":"Whether to maintain the array keys. If false, the resulting array will be re-indexed with integers."}],"return":{"type":"array","description":"The list of column values"},"static":true},"getValue":{"signature":"public static function getValue(array|object $array, string|Closure|array $key, mixed $default = null): mixed","summary":"Retrieves the value of an array element or object property with the given key or property name.","params":[{"name":"$array","type":"array|object","description":"Array or object to extract value from"},{"name":"$key","type":"string|Closure|array","description":"Key name of the array element, an array of keys or property name of the object, or an anonymous function returning the value. The anonymous function signature should be: `function($array, $defaultValue)`. The possibility to pass an array of keys is available since version 2.0.4."},{"name":"$default","type":"mixed","default":"null","optional":true,"description":"The default value to be returned if the specified array key does not exist. Not used when getting value from an object."}],"return":{"type":"mixed","description":"The value of the element if found, default value otherwise"},"static":true},"htmlDecode":{"signature":"public static function htmlDecode(array $data, bool $valuesOnly = true): array","summary":"Decodes HTML entities into the corresponding characters in an array of strings.","params":[{"name":"$data","type":"array","description":"Data to be decoded"},{"name":"$valuesOnly","type":"bool","default":"true","optional":true,"description":"Whether to decode array values only. If `false`, then both the array keys and array values will be decoded."}],"return":{"type":"array","description":"The decoded data"},"static":true},"htmlEncode":{"signature":"public static function htmlEncode(array $data, bool $valuesOnly = true, string|null $charset = null): array","summary":"Encodes special characters in an array of strings into HTML entities.","params":[{"name":"$data","type":"array","description":"Data to be encoded"},{"name":"$valuesOnly","type":"bool","default":"true","optional":true,"description":"Whether to encode array values only. If false, both the array keys and array values will be encoded."},{"name":"$charset","type":"string|null","default":"null","optional":true,"description":"The charset that the data is using. If not set, `yii\\base\\Application::$charset` will be used."}],"return":{"type":"array","description":"The encoded data"},"static":true},"index":{"signature":"public static function index(array $array, string|Closure|null $key, string|string[]|Closure[]|null $groups = []): array","summary":"Indexes and/or groups the array according to a specified key.","params":[{"name":"$array","type":"array","description":"The array that needs to be indexed or grouped"},{"name":"$key","type":"string|Closure|null","description":"The column name or anonymous function which result will be used to index the array"},{"name":"$groups","type":"string|string[]|Closure[]|null","default":"[]","optional":true,"description":"The array of keys, that will be used to group the input array by one or more keys. If the $key attribute or its value for the particular element is null and $groups is not defined, the array element will be discarded. Otherwise, if $groups is specified, array element will be added to the result array without any key. This parameter is available since version 2.0.8."}],"return":{"type":"array","description":"The indexed and/or grouped array"},"static":true},"isAssociative":{"signature":"public static function isAssociative(array $array, bool $allStrings = true): bool","summary":"Returns a value indicating whether the given array is an associative array.","params":[{"name":"$array","type":"array","description":"The array being checked"},{"name":"$allStrings","type":"bool","default":"true","optional":true,"description":"Whether the array keys must be all strings in order for the array to be treated as associative."}],"return":{"type":"bool","description":"Whether the array is associative"},"static":true},"isIn":{"signature":"public static function isIn(mixed $needle, iterable $haystack, bool $strict = false): bool","summary":"Check whether an array or `Traversable` contains an element.","params":[{"name":"$needle","type":"mixed","description":"The value to look for."},{"name":"$haystack","type":"iterable","description":"The set of values to search."},{"name":"$strict","type":"bool","default":"false","optional":true,"description":"Whether to enable strict (`===`) comparison."}],"return":{"type":"bool","description":"`true` if `$needle` was found in `$haystack`, `false` otherwise."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if `$haystack` is neither traversable nor an array."}],"static":true,"since":"2.0.7"},"isIndexed":{"signature":"public static function isIndexed(array $array, bool $consecutive = false): bool","summary":"Returns a value indicating whether the given array is an indexed array.","params":[{"name":"$array","type":"array","description":"The array being checked"},{"name":"$consecutive","type":"bool","default":"false","optional":true,"description":"Whether the array keys must be a consecutive sequence in order for the array to be treated as indexed."}],"return":{"type":"bool","description":"Whether the array is indexed"},"static":true},"isSubset":{"signature":"public static function isSubset(iterable $needles, iterable $haystack, bool $strict = false): bool","summary":"Checks whether an array or `Traversable` is a subset of another array or `Traversable`.","params":[{"name":"$needles","type":"iterable","description":"The values that must **all** be in `$haystack`."},{"name":"$haystack","type":"iterable","description":"The set of value to search."},{"name":"$strict","type":"bool","default":"false","optional":true,"description":"Whether to enable strict (`===`) comparison."}],"return":{"type":"bool","description":"`true` if `$needles` is a subset of `$haystack`, `false` otherwise."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if `$haystack` or `$needles` is neither traversable nor an array."}],"static":true,"since":"2.0.7"},"isTraversable":{"signature":"public static function isTraversable(mixed $var): bool","summary":"Checks whether a variable is an array or `Traversable`.","params":[{"name":"$var","type":"mixed","description":"The variable being evaluated."}],"return":{"type":"bool","description":"Whether $var can be traversed via foreach"},"static":true,"since":"2.0.8"},"keyExists":{"signature":"public static function keyExists(string|int $key, array<array-key, mixed>|ArrayAccess<array-key, mixed> $array, bool $caseSensitive = true): bool","summary":"Checks if the given array contains the specified key.","params":[{"name":"$key","type":"string|int","description":"The key to check"},{"name":"$array","type":"array<array-key, mixed>|ArrayAccess<array-key, mixed>","description":"The array with keys to check"},{"name":"$caseSensitive","type":"bool","default":"true","optional":true,"description":"Whether the key comparison should be case-sensitive"}],"return":{"type":"bool","description":"Whether the array contains the specified key"},"static":true},"map":{"signature":"public static function map(array $array, string|Closure $from, string|Closure $to, string|Closure|null $group = null): array","summary":"Builds a map (key-value pairs) from a multidimensional array or an array of objects.","params":[{"name":"$array","type":"array"},{"name":"$from","type":"string|Closure"},{"name":"$to","type":"string|Closure"},{"name":"$group","type":"string|Closure|null","default":"null","optional":true}],"return":{"type":"array"},"static":true},"merge":{"signature":"public static function merge(array<array-key, mixed> $a, array<array-key, mixed> ...$b): array<array-key, mixed>","summary":"Merges two or more arrays into one recursively.","params":[{"name":"$a","type":"array<array-key, mixed>","description":"Array to be merged to"},{"name":"$b","type":"array<array-key, mixed>","optional":true,"variadic":true,"description":"Array to be merged from. You can specify additional arrays via third argument, fourth argument etc."}],"return":{"type":"array<array-key, mixed>","description":"The merged array (the original arrays are not changed.)"},"static":true},"multisort":{"signature":"public static function multisort(array &$array, string|Closure|array $key, int|array $direction = \\yii\\helpers\\SORT_ASC, int|array $sortFlag = \\yii\\helpers\\SORT_REGULAR): mixed","summary":"Sorts an array of objects or arrays (with the same structure) by one or several keys.","params":[{"name":"$array","type":"array","byReference":true,"description":"The array to be sorted. The array will be modified after calling this method."},{"name":"$key","type":"string|Closure|array","description":"The key(s) to be sorted by. This refers to a key name of the sub-array elements, a property name of the objects, or an anonymous function returning the values for comparison purpose. The anonymous function signature should be: `function($item)`. To sort by multiple keys, provide an array of keys here."},{"name":"$direction","type":"int|array","default":"\\yii\\helpers\\SORT_ASC","optional":true,"description":"The sorting direction. It can be either `SORT_ASC` or `SORT_DESC`. When sorting by multiple keys with different sorting directions, use an array of sorting directions."},{"name":"$sortFlag","type":"int|array","default":"\\yii\\helpers\\SORT_REGULAR","optional":true,"description":"The PHP sort flag. Valid values include `SORT_REGULAR`, `SORT_NUMERIC`, `SORT_STRING`, `SORT_LOCALE_STRING`, `SORT_NATURAL` and `SORT_FLAG_CASE`. Please refer to [PHP manual](https://www.php.net/manual/en/function.sort.php) for more details. When sorting by multiple keys with different sort flags, use an array of sort flags."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the $direction or $sortFlag parameters do not have correct number of elements as that of $key."}],"static":true},"recursiveSort":{"signature":"public static function recursiveSort(array &$array, callable|null $sorter = null): array","summary":"Sorts array recursively.","params":[{"name":"$array","type":"array","byReference":true,"description":"An array passing by reference."},{"name":"$sorter","type":"callable|null","default":"null","optional":true,"description":"The array sorter. If omitted, sort index array by values, sort assoc array by keys."}],"return":{"type":"array"},"static":true},"remove":{"signature":"public static function remove(array &$array, string $key, mixed $default = null): mixed|null","summary":"Removes an item from an array and returns the value. If the key does not exist in the array, the default value will be returned instead.","params":[{"name":"$array","type":"array","byReference":true,"description":"The array to extract value from"},{"name":"$key","type":"string","description":"Key name of the array element"},{"name":"$default","type":"mixed","default":"null","optional":true,"description":"The default value to be returned if the specified key does not exist"}],"return":{"type":"mixed|null","description":"The value of the element if found, default value otherwise"},"static":true},"removeValue":{"signature":"public static function removeValue(array &$array, mixed $value): array","summary":"Removes items with matching values from the array and returns the removed items.","params":[{"name":"$array","type":"array","byReference":true,"description":"The array where to look the value from"},{"name":"$value","type":"mixed","description":"The value to remove from the array"}],"return":{"type":"array","description":"The items that were removed from the array"},"static":true,"since":"2.0.11"},"setValue":{"signature":"public static function setValue(array &$array, string|array|null $path, mixed $value): mixed","summary":"Writes a value into an associative array at the key path specified.","params":[{"name":"$array","type":"array","byReference":true,"description":"The array to write the value to"},{"name":"$path","type":"string|array|null","description":"The path of where do you want to write a value to `$array` the path can be described by a string when each key should be separated by a dot you can also describe the path as an array of keys if the path is null then `$array` will be assigned the `$value`"},{"name":"$value","type":"mixed","description":"The value to be written"}],"return":{"type":"mixed"},"static":true,"since":"2.0.13"},"toArray":{"signature":"public static function toArray(object|array|string $object, array $properties = [], bool $recursive = true): array","summary":"Converts an object or an array of objects into an array.","params":[{"name":"$object","type":"object|array|string","description":"The object to be converted into an array"},{"name":"$properties","type":"array","default":"[]","optional":true,"description":"A mapping from object class names to the properties that need to put into the resulting arrays. The properties specified for each class is an array of the following format: ``` [ 'app\\models\\Post' => [ 'id', 'title', // the key name in array result => property name 'createTime' => 'created_at', // the key name in array result => anonymous function 'length' => function ($post) { return strlen($post->content); }, ], ] ``` The result of `ArrayHelper::toArray($post, $properties)` could be like the following: ``` [ 'id' => 123, 'title' => 'test', 'createTime' => '2013-01-01 12:00AM', 'length' => 301, ] ```"},{"name":"$recursive","type":"bool","default":"true","optional":true,"description":"Whether to recursively converts properties which are objects into arrays."}],"return":{"type":"array","description":"The array representation of the object"},"static":true}}},"yii\\helpers\\BaseConsole":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/baseconsole/","summary":"BaseConsole provides concrete implementation for `yii\\helpers\\Console`.","since":"2.0","methods":{"ansiColorizedSubstr":{"signature":"public static function ansiColorizedSubstr(string $string, int $start, int $length): string","summary":"Returns the portion with ANSI color codes of string specified by the start and length parameters.","params":[{"name":"$string","type":"string"},{"name":"$start","type":"int"},{"name":"$length","type":"int"}],"return":{"type":"string"},"static":true},"ansiFormat":{"signature":"public static function ansiFormat(string $string, array $format = []): string","summary":"Will return a string formatted with the given ANSI style.","params":[{"name":"$string","type":"string","description":"The string to be formatted"},{"name":"$format","type":"array","default":"[]","optional":true,"description":"An array containing formatting values. You can pass any of the `FG_*`, `BG_*` and `TEXT_*` constants and also `xtermFgColor()` and `xtermBgColor()` to specify a format."}],"return":{"type":"string"},"static":true},"ansiFormatCode":{"signature":"public static function ansiFormatCode(array $format): string","summary":"Returns the ANSI format code.","params":[{"name":"$format","type":"array","description":"An array containing formatting values. You can pass any of the `FG_*`, `BG_*` and `TEXT_*` constants and also `xtermFgColor()` and `xtermBgColor()` to specify a format."}],"return":{"type":"string","description":"The ANSI format code according to the given formatting constants."},"static":true},"ansiStrlen":{"signature":"public static function ansiStrlen(string $string): int","summary":"Returns the length of the string without ANSI color codes.","params":[{"name":"$string","type":"string","description":"The string to measure"}],"return":{"type":"int","description":"The length of the string not counting ANSI format characters"},"static":true},"ansiStrwidth":{"signature":"public static function ansiStrwidth(string $string): int","summary":"Returns the width of the string without ANSI color codes.","params":[{"name":"$string","type":"string","description":"The string to measure"}],"return":{"type":"int","description":"The width of the string not counting ANSI format characters"},"static":true,"since":"2.0.36"},"ansiToHtml":{"signature":"public static function ansiToHtml(string $string, array $styleMap = []): string","summary":"Converts an ANSI formatted string to HTML.","params":[{"name":"$string","type":"string","description":"The string to convert."},{"name":"$styleMap","type":"array","default":"[]","optional":true,"description":"An optional mapping of ANSI control codes such as FG\\_*COLOR* or `BOLD` to a set of css style definitions. The CSS style definitions are represented as an array where the array keys correspond to the css style attribute names and the values are the css values. values may be arrays that will be merged and imploded with `' '` when rendered."}],"return":{"type":"string","description":"HTML representation of the ANSI formatted string"},"static":true},"beginAnsiFormat":{"signature":"public static function beginAnsiFormat(array $format): mixed","summary":"Echoes an ANSI format code that affects the formatting of any text that is printed afterwards.","params":[{"name":"$format","type":"array","description":"An array containing formatting values. You can pass any of the `FG_*`, `BG_*` and `TEXT_*` constants and also `xtermFgColor()` and `xtermBgColor()` to specify a format."}],"return":{"type":"mixed"},"static":true},"clearLine":{"signature":"public static function clearLine(): mixed","summary":"Clears the line, the cursor is currently on by sending ANSI control code EL with argument 2 to the terminal.","return":{"type":"mixed"},"static":true},"clearLineAfterCursor":{"signature":"public static function clearLineAfterCursor(): mixed","summary":"Clears text from cursor position to the end of the line by sending ANSI control code EL with argument 0 to the terminal.","return":{"type":"mixed"},"static":true},"clearLineBeforeCursor":{"signature":"public static function clearLineBeforeCursor(): mixed","summary":"Clears text from cursor position to the beginning of the line by sending ANSI control code EL with argument 1 to the terminal.","return":{"type":"mixed"},"static":true},"clearScreen":{"signature":"public static function clearScreen(): mixed","summary":"Clears entire screen content by sending ANSI control code ED with argument 2 to the terminal.","return":{"type":"mixed"},"static":true},"clearScreenAfterCursor":{"signature":"public static function clearScreenAfterCursor(): mixed","summary":"Clears text from cursor to the end of the screen by sending ANSI control code ED with argument 0 to the terminal.","return":{"type":"mixed"},"static":true},"clearScreenBeforeCursor":{"signature":"public static function clearScreenBeforeCursor(): mixed","summary":"Clears text from cursor to the beginning of the screen by sending ANSI control code ED with argument 1 to the terminal.","return":{"type":"mixed"},"static":true},"confirm":{"signature":"public static function confirm(string $message, bool $default = false): bool","summary":"Asks user to confirm by typing y or n.","params":[{"name":"$message","type":"string","description":"To print out before waiting for user input"},{"name":"$default","type":"bool","default":"false","optional":true,"description":"This value is returned if no selection is made."}],"return":{"type":"bool","description":"Whether user confirmed"},"static":true},"endAnsiFormat":{"signature":"public static function endAnsiFormat(): mixed","summary":"Resets any ANSI format set by previous method `beginAnsiFormat()` Any output after this will have default text format.","return":{"type":"mixed"},"static":true},"endProgress":{"signature":"public static function endProgress(string|bool $remove = false, bool $keepPrefix = true): mixed","summary":"Ends a progress bar that has been started by `startProgress()`.","params":[{"name":"$remove","type":"string|bool","default":"false","optional":true,"description":"This can be `false` to leave the progress bar on screen and just print a newline. If set to `true`, the line of the progress bar will be cleared. This may also be a string to be displayed instead of the progress bar."},{"name":"$keepPrefix","type":"bool","default":"true","optional":true,"description":"Whether to keep the prefix that has been specified for the progressbar when progressbar gets removed. Defaults to true."}],"return":{"type":"mixed"},"static":true},"error":{"signature":"public static function error(string|null $string = null): int|bool","summary":"Prints text to STDERR appended with a carriage return (PHP_EOL).","params":[{"name":"$string","type":"string|null","default":"null","optional":true,"description":"The text to print"}],"return":{"type":"int|bool","description":"Number of bytes printed or false on error."},"static":true},"errorSummary":{"signature":"public static function errorSummary(yii\\base\\Model|yii\\base\\Model[] $models, array $options = []): string","summary":"Generates a summary of the validation errors.","params":[{"name":"$models","type":"yii\\base\\Model|yii\\base\\Model[]","description":"The model(s) whose validation errors are to be displayed."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - showAllErrors: boolean, if set to true every error message for each attribute will be shown otherwise only the first error message for each attribute will be shown. Defaults to `false`."}],"return":{"type":"string","description":"The generated error summary"},"static":true,"since":"2.0.14"},"escape":{"signature":"public static function escape(string $string): string","summary":"Escapes % so they don't get interpreted as color codes when the string is parsed by `renderColoredString()`.","params":[{"name":"$string","type":"string","description":"String to escape"}],"return":{"type":"string"},"static":true},"getScreenSize":{"signature":"public static function getScreenSize(bool $refresh = false): array|bool","summary":"Returns terminal screen size.","params":[{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to force checking and not re-use cached size value. This is useful to detect changing window size while the application is running but may not get up to date values on every terminal."}],"return":{"type":"array|bool","description":"An array of ($width, $height) or false when it was not able to determine size."},"static":true},"hideCursor":{"signature":"public static function hideCursor(): mixed","summary":"Hides the cursor by sending ANSI DECTCEM code ?25l to the terminal.","return":{"type":"mixed"},"static":true},"input":{"signature":"public static function input(string|null $prompt = null): string","summary":"Asks the user for input. Ends when the user types a carriage return (PHP_EOL). Optionally, It also provides a prompt.","params":[{"name":"$prompt","type":"string|null","default":"null","optional":true,"description":"The prompt to display before waiting for input (optional)"}],"return":{"type":"string","description":"The user's input"},"static":true},"isRunningOnWindows":{"signature":"public static function isRunningOnWindows(): bool","summary":"Returns true if the console is running on windows.","return":{"type":"bool"},"static":true},"markdownToAnsi":{"signature":"public static function markdownToAnsi(string $markdown): string","summary":"Converts Markdown to be better readable in console environments by applying some ANSI format.","params":[{"name":"$markdown","type":"string","description":"The markdown string."}],"return":{"type":"string","description":"The parsed result as ANSI formatted string."},"static":true},"moveCursorBackward":{"signature":"public static function moveCursorBackward(int $steps = 1): mixed","summary":"Moves the terminal cursor backward by sending ANSI control code CUB to the terminal.","params":[{"name":"$steps","type":"int","default":"1","optional":true,"description":"Number of steps the cursor should be moved backward"}],"return":{"type":"mixed"},"static":true},"moveCursorDown":{"signature":"public static function moveCursorDown(int $rows = 1): mixed","summary":"Moves the terminal cursor down by sending ANSI control code CUD to the terminal.","params":[{"name":"$rows","type":"int","default":"1","optional":true,"description":"Number of rows the cursor should be moved down"}],"return":{"type":"mixed"},"static":true},"moveCursorForward":{"signature":"public static function moveCursorForward(int $steps = 1): mixed","summary":"Moves the terminal cursor forward by sending ANSI control code CUF to the terminal.","params":[{"name":"$steps","type":"int","default":"1","optional":true,"description":"Number of steps the cursor should be moved forward"}],"return":{"type":"mixed"},"static":true},"moveCursorNextLine":{"signature":"public static function moveCursorNextLine(int $lines = 1): mixed","summary":"Moves the terminal cursor to the beginning of the next line by sending ANSI control code CNL to the terminal.","params":[{"name":"$lines","type":"int","default":"1","optional":true,"description":"Number of lines the cursor should be moved down"}],"return":{"type":"mixed"},"static":true},"moveCursorPrevLine":{"signature":"public static function moveCursorPrevLine(int $lines = 1): mixed","summary":"Moves the terminal cursor to the beginning of the previous line by sending ANSI control code CPL to the terminal.","params":[{"name":"$lines","type":"int","default":"1","optional":true,"description":"Number of lines the cursor should be moved up"}],"return":{"type":"mixed"},"static":true},"moveCursorTo":{"signature":"public static function moveCursorTo(int $column, int|null $row = null): mixed","summary":"Moves the cursor to an absolute position given as column and row by sending ANSI control code CUP or CHA to the terminal.","params":[{"name":"$column","type":"int","description":"1-based column number, 1 is the left edge of the screen."},{"name":"$row","type":"int|null","default":"null","optional":true,"description":"1-based row number, 1 is the top edge of the screen. if not set, will move cursor only in current line."}],"return":{"type":"mixed"},"static":true},"moveCursorUp":{"signature":"public static function moveCursorUp(int $rows = 1): mixed","summary":"Moves the terminal cursor up by sending ANSI control code CUU to the terminal.","params":[{"name":"$rows","type":"int","default":"1","optional":true,"description":"Number of rows the cursor should be moved up"}],"return":{"type":"mixed"},"static":true},"output":{"signature":"public static function output(string|null $string = null): int|bool","summary":"Prints text to STDOUT appended with a carriage return (PHP_EOL).","params":[{"name":"$string","type":"string|null","default":"null","optional":true,"description":"The text to print"}],"return":{"type":"int|bool","description":"Number of bytes printed or false on error."},"static":true},"prompt":{"signature":"public static function prompt(string $text, array $options = []): string","summary":"Prompts the user for input and validates it.","params":[{"name":"$text","type":"string","description":"Prompt string"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The options to validate the input: - `required`: whether it is required or not - `default`: default value if no input is inserted by the user - `pattern`: regular expression pattern to validate user input - `validator`: a callable function to validate input. The function must accept two parameters: - `input`: the user input to validate - `error`: the error value passed by reference if validation failed."}],"return":{"type":"string","description":"The user input"},"static":true},"renderColoredString":{"signature":"public static function renderColoredString(string $string, bool $colored = true): string","summary":"Converts a string to ansi formatted by replacing patterns like %y (for yellow) with ansi control codes.","params":[{"name":"$string","type":"string","description":"String to convert"},{"name":"$colored","type":"bool","default":"true","optional":true,"description":"Should the string be colored?"}],"return":{"type":"string"},"static":true},"restoreCursorPosition":{"signature":"public static function restoreCursorPosition(): mixed","summary":"Restores the cursor position saved with `saveCursorPosition()` by sending ANSI control code RCP to the terminal.","return":{"type":"mixed"},"static":true},"saveCursorPosition":{"signature":"public static function saveCursorPosition(): mixed","summary":"Saves the current cursor position by sending ANSI control code SCP to the terminal.","return":{"type":"mixed"},"static":true},"scrollDown":{"signature":"public static function scrollDown(int $lines = 1): mixed","summary":"Scrolls whole page down by sending ANSI control code SD to the terminal.","params":[{"name":"$lines","type":"int","default":"1","optional":true,"description":"Number of lines to scroll down"}],"return":{"type":"mixed"},"static":true},"scrollUp":{"signature":"public static function scrollUp(int $lines = 1): mixed","summary":"Scrolls whole page up by sending ANSI control code SU to the terminal.","params":[{"name":"$lines","type":"int","default":"1","optional":true,"description":"Number of lines to scroll up"}],"return":{"type":"mixed"},"static":true},"select":{"signature":"public static function select(string $prompt, array $options = [], string|null $default = null): string","summary":"Gives the user an option to choose from. Giving '?' as an input will show a list of options to choose from and their explanations.","params":[{"name":"$prompt","type":"string","description":"The prompt message"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Key-value array of options to choose from. Key is what is inputed and used, value is what's displayed to end user by help command."},{"name":"$default","type":"string|null","default":"null","optional":true,"description":"Value to use when the user doesn't provide an option. If the default is `null`, the user is required to select an option."}],"return":{"type":"string","description":"An option character the user chose"},"static":true},"showCursor":{"signature":"public static function showCursor(): mixed","summary":"Will show a cursor again when it has been hidden by `hideCursor()` by sending ANSI DECTCEM code ?25h to the terminal.","return":{"type":"mixed"},"static":true},"startProgress":{"signature":"public static function startProgress(int $done, int $total, string $prefix = '', int|float|bool|null $width = null): mixed","summary":"Starts display of a progress bar on screen.","params":[{"name":"$done","type":"int","description":"The number of items that are completed."},{"name":"$total","type":"int","description":"The total value of items that are to be done."},{"name":"$prefix","type":"string","default":"''","optional":true,"description":"An optional string to display before the progress bar. Default to empty string which results in no prefix to be displayed."},{"name":"$width","type":"int|float|bool|null","default":"null","optional":true,"description":"Optional width of the progressbar. This can be an integer representing the number of characters to display for the progress bar or a float between 0 and 1 representing the percentage of screen with the progress bar may take. It can also be set to false to disable the bar and only show progress information like percent, number of items and ETA. If not set, the bar will be as wide as the screen. Screen size will be detected using `getScreenSize()`."}],"return":{"type":"mixed"},"static":true},"stderr":{"signature":"public static function stderr(string $string): int|bool","summary":"Prints a string to STDERR.","params":[{"name":"$string","type":"string","description":"The string to print"}],"return":{"type":"int|bool","description":"Number of bytes printed or false on error"},"static":true},"stdin":{"signature":"public static function stdin(bool $raw = false): string","summary":"Gets input from STDIN and returns a string right-trimmed for EOLs.","params":[{"name":"$raw","type":"bool","default":"false","optional":true,"description":"If set to true, returns the raw string without trimming"}],"return":{"type":"string","description":"The string read from stdin"},"static":true},"stdout":{"signature":"public static function stdout(string $string): int|bool","summary":"Prints a string to STDOUT.","params":[{"name":"$string","type":"string","description":"The string to print"}],"return":{"type":"int|bool","description":"Number of bytes printed or false on error"},"static":true},"streamSupportsAnsiColors":{"signature":"public static function streamSupportsAnsiColors(mixed $stream): bool","summary":"Returns true if the stream supports colorization. ANSI colors are disabled if not supported by the stream.","params":[{"name":"$stream","type":"mixed"}],"return":{"type":"bool","description":"True if the stream supports ANSI colors, otherwise false."},"static":true},"stripAnsiFormat":{"signature":"public static function stripAnsiFormat(string $string): string","summary":"Strips ANSI control codes from a string.","params":[{"name":"$string","type":"string","description":"String to strip"}],"return":{"type":"string"},"static":true},"updateProgress":{"signature":"public static function updateProgress(int $done, int $total, string|null $prefix = null): mixed","summary":"Updates a progress bar that has been started by `startProgress()`.","params":[{"name":"$done","type":"int","description":"The number of items that are completed."},{"name":"$total","type":"int","description":"The total value of items that are to be done."},{"name":"$prefix","type":"string|null","default":"null","optional":true,"description":"An optional string to display before the progress bar. Defaults to null meaning the prefix specified by `startProgress()` will be used. If prefix is specified it will update the prefix that will be used by later calls."}],"return":{"type":"mixed"},"static":true},"wrapText":{"signature":"public static function wrapText(string $text, int $indent = 0, bool $refresh = false): string","summary":"Word wrap text with indentation to fit the screen size.","params":[{"name":"$text","type":"string","description":"The text to be wrapped"},{"name":"$indent","type":"int","default":"0","optional":true,"description":"Number of spaces to use for indentation."},{"name":"$refresh","type":"bool","default":"false","optional":true,"description":"Whether to force refresh of screen size. This will be passed to `getScreenSize()`."}],"return":{"type":"string","description":"The wrapped text."},"static":true,"since":"2.0.4"},"xtermBgColor":{"signature":"public static function xtermBgColor(int $colorCode): string","summary":"Returns the ansi format code for xterm background color.","params":[{"name":"$colorCode","type":"int","description":"Xterm color code"}],"return":{"type":"string"},"static":true},"xtermFgColor":{"signature":"public static function xtermFgColor(int $colorCode): string","summary":"Returns the ansi format code for xterm foreground color.","params":[{"name":"$colorCode","type":"int","description":"Xterm color code"}],"return":{"type":"string"},"static":true}},"constants":{"FG_BLACK":{"value":"30"},"FG_RED":{"value":"31"},"FG_GREEN":{"value":"32"},"FG_YELLOW":{"value":"33"},"FG_BLUE":{"value":"34"},"FG_PURPLE":{"value":"35"},"FG_CYAN":{"value":"36"},"FG_GREY":{"value":"37"},"BG_BLACK":{"value":"40"},"BG_RED":{"value":"41"},"BG_GREEN":{"value":"42"},"BG_YELLOW":{"value":"43"},"BG_BLUE":{"value":"44"},"BG_PURPLE":{"value":"45"},"BG_CYAN":{"value":"46"},"BG_GREY":{"value":"47"},"RESET":{"value":"0"},"NORMAL":{"value":"0"},"BOLD":{"value":"1"},"ITALIC":{"value":"3"},"UNDERLINE":{"value":"4"},"BLINK":{"value":"5"},"NEGATIVE":{"value":"7"},"CONCEALED":{"value":"8"},"CROSSED_OUT":{"value":"9"},"FRAMED":{"value":"51"},"ENCIRCLED":{"value":"52"},"OVERLINED":{"value":"53"}}},"yii\\helpers\\BaseFileHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basefilehelper/","summary":"BaseFileHelper provides concrete implementation for `yii\\helpers\\FileHelper`.","since":"2.0","properties":{"mimeAliasesFile":{"type":"string","default":"'@yii/helpers/mimeAliases.php'","description":"The path (or alias) of a PHP file containing MIME aliases.","static":true,"since":"2.0.14"},"mimeExtensionsFile":{"type":"string","default":"'@yii/helpers/mimeExtensions.php'","description":"The path (or alias) of a PHP file containing extensions per MIME type.","static":true,"since":"2.0.48"},"mimeMagicFile":{"type":"string","default":"'@yii/helpers/mimeTypes.php'","description":"The path (or alias) of a PHP file containing MIME type information.","static":true}},"methods":{"changeOwnership":{"signature":"public static function changeOwnership(string $path, string|array|int|null $ownership, int|null $mode = null): mixed","summary":"Changes the Unix user and/or group ownership of a file or directory, and optionally the mode.","params":[{"name":"$path","type":"string","description":"The path to the file or directory."},{"name":"$ownership","type":"string|array|int|null","description":"The user and/or group ownership for the file or directory. When $ownership is a string, the format is 'user:group' where both are optional. E.g. 'user' or 'user:' will only change the user, ':group' will only change the group, 'user:group' will change both. When $owners is an index array the format is [0 => user, 1 => group], e.g. `[$myUser, $myGroup]`. It is also possible to pass an associative array, e.g. ['user' => $myUser, 'group' => $myGroup]. In case $owners is an integer it will be used as user id. If `null`, an empty array or an empty string is passed, the ownership will not be changed."},{"name":"$mode","type":"int|null","default":"null","optional":true,"description":"The permission to be set for the file or directory. If `null` is passed, the mode will not be changed."}],"return":{"type":"mixed"},"static":true,"since":"2.0.43"},"copyDirectory":{"signature":"public static function copyDirectory(string $src, string $dst, array $options = []): mixed","summary":"Copies a whole directory as another one.","params":[{"name":"$src","type":"string","description":"The source directory"},{"name":"$dst","type":"string","description":"The destination directory"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for directory copy. Valid options are: - dirMode: integer, the permission to be set for newly copied directories. Defaults to 0775. - fileMode: integer, the permission to be set for newly copied files. Defaults to the current environment setting. - filter: callback, a PHP callback that is called for each directory or file. The signature of the callback should be: `function ($path)`, where `$path` refers the full path to be filtered. The callback can return one of the following values: * true: the directory or file will be copied (the \"only\" and \"except\" options will be ignored) * false: the directory or file will NOT be copied (the \"only\" and \"except\" options will be ignored) * null: the \"only\" and \"except\" options will determine whether the directory or file should be copied - only: array, list of patterns that the file paths should match if they want to be copied. A path matches a pattern if it contains the pattern string at its end. For example, '.php' matches all file paths ending with '.php'. Note, the '/' characters in a pattern matches both '/' and '\\' in the paths. If a file path matches a pattern in both \"only\" and \"except\", it will NOT be copied. - except: array, list of patterns that the files or directories should match if they want to be excluded from being copied. A path matches a pattern if it contains the pattern string at its end. Patterns ending with '/' apply to directory paths only, and patterns not ending with '/' apply to file paths only. For example, '/a/b' matches all file paths ending with '/a/b'; and '.svn/' matches directory paths ending with '.svn'. Note, the '/' characters in a pattern matches both '/' and '\\' in the paths. - caseSensitive: boolean, whether patterns specified at \"only\" or \"except\" should be case sensitive. Defaults to true. - recursive: boolean, whether the files under the subdirectories should also be copied. Defaults to true. - beforeCopy: callback, a PHP callback that is called before copying each sub-directory or file. If the callback returns false, the copy operation for the sub-directory or file will be cancelled. The signature of the callback should be: `function ($from, $to)`, where `$from` is the sub-directory or file to be copied from, while `$to` is the copy target. - afterCopy: callback, a PHP callback that is called after each sub-directory or file is successfully copied. The signature of the callback should be: `function ($from, $to)`, where `$from` is the sub-directory or file copied from, while `$to` is the copy target. - copyEmptyDirectories: boolean, whether to copy empty directories. Set this to false to avoid creating directories that do not contain files. This affects directories that do not contain files initially as well as directories that do not contain files at the target destination because files have been filtered via `only` or `except`. Defaults to true. This option is available since version 2.0.12. Before 2.0.12 empty directories are always copied."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if unable to open directory"}],"static":true},"createDirectory":{"signature":"public static function createDirectory(string $path, int $mode = 0775, bool $recursive = true): bool","summary":"Creates a new directory.","params":[{"name":"$path","type":"string","description":"Path of the directory to be created."},{"name":"$mode","type":"int","default":"0775","optional":true,"description":"The permission to be set for the created directory."},{"name":"$recursive","type":"bool","default":"true","optional":true,"description":"Whether to create parent directories if they do not exist."}],"return":{"type":"bool","description":"Whether the directory is created successfully"},"throws":[{"type":"yii\\base\\Exception","description":"if the directory could not be created (i.e. php error due to parallel changes)"}],"static":true},"filterPath":{"signature":"public static function filterPath(string $path, array $options): bool","summary":"Checks if the given file path satisfies the filtering options.","params":[{"name":"$path","type":"string","description":"The path of the file or directory to be checked"},{"name":"$options","type":"array","description":"The filtering options. See `findFiles()` for explanations of the supported options."}],"return":{"type":"bool","description":"Whether the file or directory satisfies the filtering options."},"static":true},"findDirectories":{"signature":"public static function findDirectories(string $dir, array $options = []): array","summary":"Returns the directories found under the specified directory and subdirectories.","params":[{"name":"$dir","type":"string","description":"The directory under which the files will be looked for."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for directory searching. Valid options are: - `filter`: callback, a PHP callback that is called for each directory or file. The signature of the callback should be: `function (string $path): bool`, where `$path` refers the full path to be filtered. The callback can return one of the following values: * `true`: the directory will be returned * `false`: the directory will NOT be returned - `recursive`: boolean, whether the files under the subdirectories should also be looked for. Defaults to `true`. See `findFiles()` for more options."}],"return":{"type":"array","description":"Directories found under the directory, in no particular order. Ordering depends on the files system used."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the dir is invalid."}],"static":true,"since":"2.0.14"},"findFiles":{"signature":"public static function findFiles(string $dir, array $options = []): array","summary":"Returns the files found under the specified directory and subdirectories.","params":[{"name":"$dir","type":"string","description":"The directory under which the files will be looked for."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for file searching. Valid options are: - `filter`: callback, a PHP callback that is called for each directory or file. The signature of the callback should be: `function ($path)`, where `$path` refers the full path to be filtered. The callback can return one of the following values: * `true`: the directory or file will be returned (the `only` and `except` options will be ignored) * `false`: the directory or file will NOT be returned (the `only` and `except` options will be ignored) * `null`: the `only` and `except` options will determine whether the directory or file should be returned - `except`: array, list of patterns excluding from the results matching file or directory paths. Patterns ending with slash ('/') apply to directory paths only, and patterns not ending with '/' apply to file paths only. For example, '/a/b' matches all file paths ending with '/a/b'; and `.svn/` matches directory paths ending with `.svn`. If the pattern does not contain a slash (`/`), it is treated as a shell glob pattern and checked for a match against the pathname relative to `$dir`. Otherwise, the pattern is treated as a shell glob suitable for consumption by `fnmatch(3)` with the `FNM_PATHNAME` flag: wildcards in the pattern will not match a `/` in the pathname. For example, `views/*.php` matches `views/index.php` but not `views/controller/index.php`. A leading slash matches the beginning of the pathname. For example, `/*.php` matches `index.php` but not `views/start/index.php`. An optional prefix `!` which negates the pattern; any matching file excluded by a previous pattern will become included again. If a negated pattern matches, this will override lower precedence patterns sources. Put a backslash (`\\`) in front of the first `!` for patterns that begin with a literal `!`, for example, `\\!important!.txt`. Note, the '/' characters in a pattern matches both '/' and '\\' in the paths. You can find more details about the gitignore pattern format [here](https://git-scm.com/docs/gitignore/en#_pattern_format). - `only`: array, list of patterns that the file paths should match if they are to be returned. Directory paths are not checked against them. Same pattern matching rules as in the `except` option are used. If a file path matches a pattern in both `only` and `except`, it will NOT be returned. - `caseSensitive`: boolean, whether patterns specified at `only` or `except` should be case sensitive. Defaults to `true`. - `recursive`: boolean, whether the files under the subdirectories should also be looked for. Defaults to `true`."}],"return":{"type":"array","description":"Files found under the directory, in no particular order. Ordering depends on the files system used."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the dir is invalid."}],"static":true},"getExtensionByMimeType":{"signature":"public static function getExtensionByMimeType(string $mimeType, bool $preferShort = false, string|null $magicFile = null): string|null","summary":"Determines the most common extension by given MIME type.","params":[{"name":"$mimeType","type":"string","description":"File MIME type."},{"name":"$preferShort","type":"bool","default":"false","optional":true,"description":"Return an extension with a maximum of 3 characters."},{"name":"$magicFile","type":"string|null","default":"null","optional":true,"description":"The path (or alias) of the file that contains all available MIME type information. If this is not set, the file specified by `$mimeMagicFile` will be used."}],"return":{"type":"string|null","description":"The extensions corresponding to the specified MIME type"},"static":true,"since":"2.0.48"},"getExtensionsByMimeType":{"signature":"public static function getExtensionsByMimeType(string $mimeType, string|null $magicFile = null): array","summary":"Determines the extensions by given MIME type.","params":[{"name":"$mimeType","type":"string","description":"File MIME type."},{"name":"$magicFile","type":"string|null","default":"null","optional":true,"description":"The path (or alias) of the file that contains all available MIME type information. If this is not set, the file specified by `$mimeMagicFile` will be used."}],"return":{"type":"array","description":"The extensions corresponding to the specified MIME type"},"static":true},"getMimeType":{"signature":"public static function getMimeType(string $file, string|null $magicFile = null, bool $checkExtension = true): string|null","summary":"Determines the MIME type of the specified file.","params":[{"name":"$file","type":"string","description":"The file name."},{"name":"$magicFile","type":"string|null","default":"null","optional":true,"description":"Name of the optional magic database file (or alias), usually something like `/path/to/magic.mime`. This will be passed as the second parameter to [finfo_open()](https://www.php.net/manual/en/function.finfo-open.php) when the `fileinfo` extension is installed. If the MIME type is being determined based via `getMimeTypeByExtension()` and this is null, it will use the file specified by `$mimeMagicFile`."},{"name":"$checkExtension","type":"bool","default":"true","optional":true,"description":"Whether to use the file extension to determine the MIME type in case `finfo_open()` cannot determine it."}],"return":{"type":"string|null","description":"The MIME type (e.g. `text/plain`). Null is returned if the MIME type cannot be determined."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when the `fileinfo` PHP extension is not installed and `$checkExtension` is `false`."}],"static":true},"getMimeTypeByExtension":{"signature":"public static function getMimeTypeByExtension(string $file, string|null $magicFile = null): string|null","summary":"Determines the MIME type based on the extension name of the specified file.","params":[{"name":"$file","type":"string","description":"The file name."},{"name":"$magicFile","type":"string|null","default":"null","optional":true,"description":"The path (or alias) of the file that contains all available MIME type information. If this is not set, the file specified by `$mimeMagicFile` will be used."}],"return":{"type":"string|null","description":"The MIME type. Null is returned if the MIME type cannot be determined."},"static":true},"loadMimeAliases":{"signature":"protected static function loadMimeAliases(string|null $aliasesFile): array","summary":"Loads MIME aliases from the specified file.","params":[{"name":"$aliasesFile","type":"string|null","description":"The path (or alias) of the file that contains MIME type aliases. If this is not set, the file specified by `$mimeAliasesFile` will be used."}],"return":{"type":"array","description":"The mapping from file extensions to MIME types"},"visibility":"protected","static":true,"since":"2.0.14"},"loadMimeExtensions":{"signature":"protected static function loadMimeExtensions(string|null $extensionsFile): array","summary":"Loads MIME extensions from the specified file.","params":[{"name":"$extensionsFile","type":"string|null","description":"The path (or alias) of the file that contains MIME type aliases. If this is not set, the file specified by `$mimeAliasesFile` will be used."}],"return":{"type":"array","description":"The mapping from file extensions to MIME types"},"visibility":"protected","static":true,"since":"2.0.48"},"loadMimeTypes":{"signature":"protected static function loadMimeTypes(string|null $magicFile): array","summary":"Loads MIME types from the specified file.","params":[{"name":"$magicFile","type":"string|null","description":"The path (or alias) of the file that contains all available MIME type information. If this is not set, the file specified by `$mimeMagicFile` will be used."}],"return":{"type":"array","description":"The mapping from file extensions to MIME types"},"visibility":"protected","static":true},"localize":{"signature":"public static function localize(string $file, string|null $language = null, string|null $sourceLanguage = null): string","summary":"Returns the localized version of a specified file.","params":[{"name":"$file","type":"string","description":"The original file"},{"name":"$language","type":"string|null","default":"null","optional":true,"description":"The target language that the file should be localized to. If not set, the value of `yii\\base\\Application::$language` will be used."},{"name":"$sourceLanguage","type":"string|null","default":"null","optional":true,"description":"The language that the original file is in. If not set, the value of `yii\\base\\Application::$sourceLanguage` will be used."}],"return":{"type":"string","description":"The matching localized file, or the original file if the localized version is not found. If the target and the source language codes are the same, the original file will be returned."},"static":true},"normalizeOptions":{"signature":"protected static function normalizeOptions(array $options): array","params":[{"name":"$options","type":"array","description":"Raw options"}],"return":{"type":"array","description":"Normalized options"},"visibility":"protected","static":true,"since":"2.0.12"},"normalizePath":{"signature":"public static function normalizePath(string $path, string $ds = \\yii\\helpers\\DIRECTORY_SEPARATOR): string","summary":"Normalizes a file/directory path.","params":[{"name":"$path","type":"string","description":"The file/directory path to be normalized"},{"name":"$ds","type":"string","default":"\\yii\\helpers\\DIRECTORY_SEPARATOR","optional":true,"description":"The directory separator to be used in the normalized result. Defaults to `DIRECTORY_SEPARATOR`."}],"return":{"type":"string","description":"The normalized file/directory path"},"static":true},"removeDirectory":{"signature":"public static function removeDirectory(string $dir, array $options = []): mixed","summary":"Removes a directory (and all its content) recursively.","params":[{"name":"$dir","type":"string","description":"The directory to be deleted recursively."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for directory remove. Valid options are: - traverseSymlinks: boolean, whether symlinks to the directories should be traversed too. Defaults to `false`, meaning the content of the symlinked directory would not be deleted. Only symlink would be removed in that default case."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\ErrorException","description":"in case of failure"}],"static":true},"unlink":{"signature":"public static function unlink(string $path): bool","summary":"Removes a file or symlink in a cross-platform way","params":[{"name":"$path","type":"string"}],"return":{"type":"bool"},"static":true,"since":"2.0.14"}},"constants":{"PATTERN_NODIR":{"value":"1"},"PATTERN_ENDSWITH":{"value":"4"},"PATTERN_MUSTBEDIR":{"value":"8"},"PATTERN_NEGATIVE":{"value":"16"},"PATTERN_CASE_INSENSITIVE":{"value":"32"}}},"yii\\helpers\\BaseFormatConverter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/baseformatconverter/","summary":"BaseFormatConverter provides concrete implementation for `yii\\helpers\\FormatConverter`.","since":"2.0","properties":{"juiFallbackDatePatterns":{"type":"array","default":"['short' => ['date' => 'd/m/y', 'time' => '', 'datetime' => 'd/m/y'], 'medium' => ['date' => 'M d, yy', 'time' => '', 'datetime' => 'M d, yy'], 'long' => ['date' => 'MM d, yy', 'time' => '', 'datetime' => 'MM d, yy'], 'full' => ['date' => 'DD, MM d, yy', 'time' => '', 'datetime' => 'DD, MM d, yy']]","description":"The jQuery UI fallback definition to use for the ICU short patterns `short`, `medium`, `long` and `full`.","static":true},"phpFallbackDatePatterns":{"type":"array","default":"['short' => ['date' => 'n/j/y', 'time' => 'H:i', 'datetime' => 'n/j/y H:i'], 'medium' => ['date' => 'M j, Y', 'time' => 'g:i:s A', 'datetime' => 'M j, Y g:i:s A'], 'long' => ['date' => 'F j, Y', 'time' => 'g:i:sA', 'datetime' => 'F j, Y g:i:sA'], 'full' => ['date' => 'l, F j, Y', 'time' => 'g:i:sA T', 'datetime' => 'l, F j, Y g:i:sA T']]","description":"The php fallback definition to use for the ICU short patterns `short`, `medium`, `long` and `full`.","static":true}},"methods":{"convertDateIcuToJui":{"signature":"public static function convertDateIcuToJui(string $pattern, string $type = 'date', string|null $locale = null): string","summary":"Converts a date format pattern from [ICU format](https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax) to [jQuery UI date format](https://api.jqueryui.com/datepicker/#utility-formatDate).","params":[{"name":"$pattern","type":"string","description":"Date format pattern in ICU format."},{"name":"$type","type":"string","default":"'date'","optional":true,"description":"'date', 'time', or 'datetime'."},{"name":"$locale","type":"string|null","default":"null","optional":true,"description":"The locale to use for converting ICU short patterns `short`, `medium`, `long` and `full`. If not given, `Yii::$app->language` will be used."}],"return":{"type":"string","description":"The converted date format pattern."},"throws":[{"type":"Exception"}],"static":true},"convertDateIcuToPhp":{"signature":"public static function convertDateIcuToPhp(string $pattern, string $type = 'date', string|null $locale = null): string","summary":"Converts a date format pattern from [ICU format](https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax) to [PHP `date()` function format](https://www.php.net/manual/en/function.date).","params":[{"name":"$pattern","type":"string","description":"Date format pattern in ICU format."},{"name":"$type","type":"string","default":"'date'","optional":true,"description":"'date', 'time', or 'datetime'."},{"name":"$locale","type":"string|null","default":"null","optional":true,"description":"The locale to use for converting ICU short patterns `short`, `medium`, `long` and `full`. If not given, `Yii::$app->language` will be used."}],"return":{"type":"string","description":"The converted date format pattern."},"throws":[{"type":"Exception"}],"static":true},"convertDatePhpToIcu":{"signature":"public static function convertDatePhpToIcu(string $pattern): string","summary":"Converts a date format pattern from [PHP `date()` function format](https://www.php.net/manual/en/function.date) to [ICU format](https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax).","params":[{"name":"$pattern","type":"string","description":"Date format pattern in PHP `date()` function format."}],"return":{"type":"string","description":"The converted date format pattern."},"static":true},"convertDatePhpToJui":{"signature":"public static function convertDatePhpToJui(string $pattern): string","summary":"Converts a date format pattern from [PHP `date()` function format](https://www.php.net/manual/en/function.date) to [jQuery UI date format](https://api.jqueryui.com/datepicker/#utility-formatDate).","params":[{"name":"$pattern","type":"string","description":"Date format pattern in PHP `date()` function format."}],"return":{"type":"string","description":"The converted date format pattern."},"static":true}}},"yii\\helpers\\BaseHtml":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basehtml/","summary":"BaseHtml provides concrete implementation for `yii\\helpers\\Html`.","since":"2.0","properties":{"attributeOrder":{"type":"array","default":"['type', 'id', 'class', 'name', 'value', 'href', 'src', 'srcset', 'form', 'action', 'method', 'selected', 'checked', 'readonly', 'disabled', 'multiple', 'size', 'maxlength', 'width', 'height', 'rows', 'cols', 'alt', 'title', 'rel', 'media']","description":"The preferred order of attributes in a tag.","static":true},"attributeRegex":{"type":"string","default":"'/(^|.*\\])([\\w\\.\\+]+)(\\[.*|$)/u'","description":"Regular expression used for attribute name validation.","static":true,"since":"2.0.12"},"dataAttributes":{"type":"array","default":"['aria', 'data', 'data-ng', 'ng']","description":"List of tag attributes that should be specially handled when their values are of array type.","static":true,"since":"2.0.3"},"normalizeClassAttribute":{"type":"bool","default":"false","description":"Whether to removes duplicate class names in tag attribute `class`","static":true,"since":"2.0.44"},"voidElements":{"type":"array","default":"['area' => 1, 'base' => 1, 'br' => 1, 'col' => 1, 'command' => 1, 'embed' => 1, 'hr' => 1, 'img' => 1, 'input' => 1, 'keygen' => 1, 'link' => 1, 'meta' => 1, 'param' => 1, 'source' => 1, 'track' => 1, 'wbr' => 1]","description":"List of void elements (element name => 1)","static":true}},"methods":{"a":{"signature":"public static function a(string $text, array|string|null $url = null, array $options = []): string","summary":"Generates a hyperlink tag.","params":[{"name":"$text","type":"string","description":"Link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is coming from end users, you should consider `encode()` it to prevent XSS attacks."},{"name":"$url","type":"array|string|null","default":"null","optional":true,"description":"The URL for the hyperlink tag. This parameter will be processed by `yii\\helpers\\Url::to()` and will be used for the \"href\" attribute of the tag. If this parameter is null, the \"href\" attribute will not be generated. If you want to use an absolute url you can call `yii\\helpers\\Url::to()` yourself, before passing the URL to this method, like this: ``` Html::a('link text', Url::to($url, true)) ```"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated hyperlink"},"static":true},"activeBooleanInput":{"signature":"protected static function activeBooleanInput(string $type, yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a boolean input This method is mainly called by `activeCheckbox()` and `activeRadio()`.","params":[{"name":"$type","type":"string","description":"The input type. This can be either `radio` or `checkbox`."},{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `booleanInput()` for details about accepted attributes."}],"return":{"type":"string","description":"The generated input element"},"visibility":"protected","static":true,"since":"2.0.9"},"activeCheckbox":{"signature":"public static function activeCheckbox(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a checkbox tag together with a label for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `booleanInput()` for details about accepted attributes."}],"return":{"type":"string","description":"The generated checkbox tag"},"static":true},"activeCheckboxList":{"signature":"public static function activeCheckboxList(yii\\base\\Model $model, string $attribute, array $items, array $options = []): string","summary":"Generates a list of checkboxes.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$items","type":"array","description":"The data item used to generate the checkboxes. The array keys are the checkbox values, and the array values are the corresponding labels."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the checkbox list container tag. The following options are specially handled: - tag: string|false, the tag name of the container element. False to render checkbox without container. See also `tag()`. - unselect: string, the value that should be submitted when none of the checkboxes is selected. You may set this option to be null to prevent default value submission. If this option is not set, an empty string will be submitted. - encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true. This option is ignored if `item` option is set. - separator: string, the HTML code that separates items. - itemOptions: array, the options for generating the checkbox tag using `checkbox()`. - item: callable, a callback that can be used to customize the generation of the HTML code corresponding to a single item in $items. The signature of this callback must be: ``` function ($index, $label, $name, $checked, $value) ``` where $index is the zero-based index of the checkbox in the whole list; $label is the label for the checkbox; and $name, $value and $checked represent the name, value and the checked status of the checkbox input. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated checkbox list"},"static":true},"activeDropDownList":{"signature":"public static function activeDropDownList(yii\\base\\Model $model, string $attribute, array $items, array $options = []): string","summary":"Generates a drop-down list for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$items","type":"array","description":"The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). For each sub-array, an option group will be generated whose label is the key associated with the sub-array. If you have a list of data models, you may convert them into the format described above using `yii\\helpers\\ArrayHelper::map()`. Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in the labels will also be HTML-encoded."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - prompt: string, a prompt text to be displayed as the first option. Since version 2.0.11 you can use an array to override the value and to set other tag attributes: ``` ['text' => 'Please select', 'options' => ['value' => 'none', 'class' => 'prompt', 'label' => 'Select']], ``` - options: array, the attributes for the select option tags. The array keys must be valid option values, and the array values are the extra attributes for the corresponding option tags. For example, ``` [ 'value1' => ['disabled' => true], 'value2' => ['label' => 'value 2'], ]; ``` - groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options', except that the array keys represent the optgroup labels specified in $items. - encodeSpaces: bool, whether to encode spaces in option prompt and option value with `&nbsp;` character. Defaults to false. - encode: bool, whether to encode option prompt and option value characters. Defaults to `true`. This option is available since 2.0.3. The rest of the options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated drop-down list tag"},"static":true},"activeFileInput":{"signature":"public static function activeFileInput(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a file input tag for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. See `renderTagAttributes()` for details on how attributes are being rendered. If `hiddenOptions` parameter which is another set of HTML options array is defined, it will be extracted from `$options` to be used for the hidden input."}],"return":{"type":"string","description":"The generated input tag"},"static":true},"activeHiddenInput":{"signature":"public static function activeHiddenInput(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a hidden input tag for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated input tag"},"static":true},"activeHint":{"signature":"public static function activeHint(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a hint tag for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. The following options are specially handled: - hint: this specifies the hint to be displayed. Note that this will NOT be encoded (`encode()`). If this is not set, `yii\\base\\Model::getAttributeHint()` will be called to get the hint for display (without encoding). See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated hint tag"},"static":true,"since":"2.0.4"},"activeInput":{"signature":"public static function activeInput(string $type, yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates an input tag for the given model attribute.","params":[{"name":"$type","type":"string","description":"The input type (e.g. 'text', 'password')"},{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated input tag"},"static":true},"activeLabel":{"signature":"public static function activeLabel(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a label tag for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. The following options are specially handled: - label: this specifies the label to be displayed. Note that this will NOT be encoded (`encode()`). If this is not set, `yii\\base\\Model::getAttributeLabel()` will be called to get the label for display (after encoding). See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated label tag"},"static":true},"activeListBox":{"signature":"public static function activeListBox(yii\\base\\Model $model, string $attribute, array $items, array $options = []): string","summary":"Generates a list box.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$items","type":"array","description":"The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). For each sub-array, an option group will be generated whose label is the key associated with the sub-array. If you have a list of data models, you may convert them into the format described above using `yii\\helpers\\ArrayHelper::map()`. Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in the labels will also be HTML-encoded."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - prompt: string, a prompt text to be displayed as the first option. Since version 2.0.11 you can use an array to override the value and to set other tag attributes: ``` ['text' => 'Please select', 'options' => ['value' => 'none', 'class' => 'prompt', 'label' => 'Select']], ``` - options: array, the attributes for the select option tags. The array keys must be valid option values, and the array values are the extra attributes for the corresponding option tags. For example, ``` [ 'value1' => ['disabled' => true], 'value2' => ['label' => 'value 2'], ]; ``` - groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options', except that the array keys represent the optgroup labels specified in $items. - unselect: string, the value that will be submitted when no option is selected. When this attribute is set, a hidden field will be generated so that if no option is selected in multiple mode, we can still obtain the posted unselect value. - encodeSpaces: bool, whether to encode spaces in option prompt and option value with `&nbsp;` character. Defaults to false. - encode: bool, whether to encode option prompt and option value characters. Defaults to `true`. This option is available since 2.0.3. The rest of the options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated list box tag"},"static":true},"activeListInput":{"signature":"protected static function activeListInput(string $type, yii\\base\\Model $model, string $attribute, array $items, array $options = []): string","summary":"Generates a list of input fields.","params":[{"name":"$type","type":"string","description":"The input type. This can be 'listBox', 'radioList', or 'checkBoxList'."},{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$items","type":"array","description":"The data item used to generate the input fields. The array keys are the input values, and the array values are the corresponding labels."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the input list. The supported special options depend on the input type specified by `$type`."}],"return":{"type":"string","description":"The generated input list"},"visibility":"protected","static":true},"activePasswordInput":{"signature":"public static function activePasswordInput(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a password input tag for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. See `renderTagAttributes()` for details on how attributes are being rendered. The following special options are recognized: - maxlength: integer|boolean, when `maxlength` is set true and the model attribute is validated by a string validator, the `maxlength` option will take the max value of `yii\\validators\\StringValidator::$max` and [[\\yii\\validators\\StringValidator::length]. This is available since version 2.0.6 and improved taking `length` into account since version 2.0.42. - placeholder: string|boolean, when `placeholder` equals `true`, the attribute label from the $model will be used as a placeholder (this behavior is available since version 2.0.14)."}],"return":{"type":"string","description":"The generated input tag"},"static":true},"activeRadio":{"signature":"public static function activeRadio(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a radio button tag together with a label for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `booleanInput()` for details about accepted attributes."}],"return":{"type":"string","description":"The generated radio button tag"},"static":true},"activeRadioList":{"signature":"public static function activeRadioList(yii\\base\\Model $model, string $attribute, array $items, array $options = []): string","summary":"Generates a list of radio buttons.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$items","type":"array","description":"The data item used to generate the radio buttons. The array keys are the radio values, and the array values are the corresponding labels."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the radio button list container tag. The following options are specially handled: - tag: string|false, the tag name of the container element. False to render radio button without container. See also `tag()`. - unselect: string, the value that should be submitted when none of the radio buttons is selected. You may set this option to be null to prevent default value submission. If this option is not set, an empty string will be submitted. - encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true. This option is ignored if `item` option is set. - separator: string, the HTML code that separates items. - itemOptions: array, the options for generating the radio button tag using `radio()`. - item: callable, a callback that can be used to customize the generation of the HTML code corresponding to a single item in $items. The signature of this callback must be: ``` function ($index, $label, $name, $checked, $value) ``` where $index is the zero-based index of the radio button in the whole list; $label is the label for the radio button; and $name, $value and $checked represent the name, value and the checked status of the radio button input. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated radio button list"},"static":true},"activeTextarea":{"signature":"public static function activeTextarea(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a textarea tag for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. See `renderTagAttributes()` for details on how attributes are being rendered. The following special options are recognized: - maxlength: integer|boolean, when `maxlength` is set true and the model attribute is validated by a string validator, the `maxlength` option will take the max value of `yii\\validators\\StringValidator::$max` and [[\\yii\\validators\\StringValidator::length]. This is available since version 2.0.6 and improved taking `length` into account since version 2.0.42. - placeholder: string|boolean, when `placeholder` equals `true`, the attribute label from the $model will be used as a placeholder (this behavior is available since version 2.0.14)."}],"return":{"type":"string","description":"The generated textarea tag"},"static":true},"activeTextInput":{"signature":"public static function activeTextInput(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a text input tag for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. See `renderTagAttributes()` for details on how attributes are being rendered. The following special options are recognized: - maxlength: integer|boolean, when `maxlength` is set true and the model attribute is validated by a string validator, the `maxlength` option will take the max value of `yii\\validators\\StringValidator::$max` and [[\\yii\\validators\\StringValidator::length]. This is available since version 2.0.3 and improved taking `length` into account since version 2.0.42. - placeholder: string|boolean, when `placeholder` equals `true`, the attribute label from the $model will be used as a placeholder (this behavior is available since version 2.0.14)."}],"return":{"type":"string","description":"The generated input tag"},"static":true},"addCssClass":{"signature":"public static function addCssClass(array &$options, string|array $class): mixed","summary":"Adds a CSS class (or several classes) to the specified options.","params":[{"name":"$options","type":"array","byReference":true,"description":"The options to be modified."},{"name":"$class","type":"string|array","description":"The CSS class(es) to be added"}],"return":{"type":"mixed"},"static":true},"addCssStyle":{"signature":"public static function addCssStyle(array &$options, string|array $style, bool $overwrite = true): mixed","summary":"Adds the specified CSS style to the HTML options.","params":[{"name":"$options","type":"array","byReference":true,"description":"The HTML options to be modified."},{"name":"$style","type":"string|array","description":"The new style string (e.g. `'width: 100px; height: 200px'`) or array (e.g. `['width' => '100px', 'height' => '200px']`)."},{"name":"$overwrite","type":"bool","default":"true","optional":true,"description":"Whether to overwrite existing CSS properties if the new style contain them too."}],"return":{"type":"mixed"},"static":true},"beginForm":{"signature":"public static function beginForm(array|string $action = '', string $method = 'post', array $options = []): string","summary":"Generates a form start tag.","params":[{"name":"$action","type":"array|string","default":"''","optional":true,"description":"The form action URL. This parameter will be processed by `yii\\helpers\\Url::to()`."},{"name":"$method","type":"string","default":"'post'","optional":true,"description":"The form submission method, such as \"post\", \"get\", \"put\", \"delete\" (case-insensitive). Since most browsers only support \"post\" and \"get\", if other methods are given, they will be simulated using \"post\", and a hidden input will be added which contains the actual method type. See `yii\\web\\Request::$methodParam` for more details."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered. Special options: - `csrf`: whether to generate the CSRF hidden input. Defaults to true."}],"return":{"type":"string","description":"The generated form start tag."},"static":true},"beginTag":{"signature":"public static function beginTag(string|bool|null $name, array $options = []): string","summary":"Generates a start tag.","params":[{"name":"$name","type":"string|bool|null","description":"The tag name. If $name is `null` or `false`, the corresponding content will be rendered without any tag."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated start tag"},"static":true},"booleanInput":{"signature":"protected static function booleanInput(string $type, string $name, bool $checked = false, array $options = []): string","summary":"Generates a boolean input.","params":[{"name":"$type","type":"string","description":"The input type. This can be either `radio` or `checkbox`."},{"name":"$name","type":"string","description":"The name attribute."},{"name":"$checked","type":"bool","default":"false","optional":true,"description":"Whether the checkbox should be checked."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - uncheck: string, the value associated with the uncheck state of the checkbox. When this attribute is present, a hidden input will be generated so that if the checkbox is not checked and is submitted, the value of this attribute will still be submitted to the server via the hidden input. - label: string, a label displayed next to the checkbox. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is is coming from end users, you should `encode()` it to prevent XSS attacks. When this option is specified, the checkbox will be enclosed by a label tag. - labelOptions: array, the HTML attributes for the label tag. Do not set this option unless you set the \"label\" option. The rest of the options will be rendered as the attributes of the resulting checkbox tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated checkbox tag"},"visibility":"protected","static":true,"since":"2.0.9"},"button":{"signature":"public static function button(string $content = 'Button', array $options = []): string","summary":"Generates a button tag.","params":[{"name":"$content","type":"string","default":"'Button'","optional":true,"description":"The content enclosed within the button tag. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is is coming from end users, you should consider `encode()` it to prevent XSS attacks."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated button tag"},"static":true},"buttonInput":{"signature":"public static function buttonInput(string|null $label = 'Button', array $options = []): string","summary":"Generates an input button.","params":[{"name":"$label","type":"string|null","default":"'Button'","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated button tag"},"static":true},"checkbox":{"signature":"public static function checkbox(string $name, bool $checked = false, array $options = []): string","summary":"Generates a checkbox input.","params":[{"name":"$name","type":"string","description":"The name attribute."},{"name":"$checked","type":"bool","default":"false","optional":true,"description":"Whether the checkbox should be checked."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `booleanInput()` for details about accepted attributes."}],"return":{"type":"string","description":"The generated checkbox tag"},"static":true},"checkboxList":{"signature":"public static function checkboxList(string $name, string|array|null $selection = null, array $items = [], array $options = []): string","summary":"Generates a list of checkboxes.","params":[{"name":"$name","type":"string","description":"The name attribute of each checkbox."},{"name":"$selection","type":"string|array|null","default":"null","optional":true,"description":"The selected value(s). String for single or array for multiple selection(s)."},{"name":"$items","type":"array","default":"[]","optional":true,"description":"The data item used to generate the checkboxes. The array keys are the checkbox values, while the array values are the corresponding labels."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the checkbox list container tag. The following options are specially handled: - tag: string|false, the tag name of the container element. False to render checkbox without container. See also `tag()`. - unselect: string, the value that should be submitted when none of the checkboxes is selected. By setting this option, a hidden input will be generated. - disabled: boolean, whether the generated by unselect option hidden input should be disabled. Defaults to false. This option is available since version 2.0.16. - encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true. This option is ignored if `item` option is set. - strict: boolean, if `$selection` is an array and this value is true a strict comparison will be performed on `$items` keys. Defaults to false. This option is available since 2.0.37. - separator: string, the HTML code that separates items. - itemOptions: array, the options for generating the checkbox tag using `checkbox()`. - item: callable, a callback that can be used to customize the generation of the HTML code corresponding to a single item in $items. The signature of this callback must be: ``` function ($index, $label, $name, $checked, $value) ``` where $index is the zero-based index of the checkbox in the whole list; $label is the label for the checkbox; and $name, $value and $checked represent the name, value and the checked status of the checkbox input, respectively. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated checkbox list"},"static":true},"csrfMetaTags":{"signature":"public static function csrfMetaTags(): string","summary":"Generates the meta tags containing CSRF token information.","return":{"type":"string","description":"The generated meta tags"},"static":true},"cssFile":{"signature":"public static function cssFile(array|string $url, array $options = []): string","summary":"Generates a link tag that refers to an external CSS file.","params":[{"name":"$url","type":"array|string","description":"The URL of the external CSS file. This parameter will be processed by `yii\\helpers\\Url::to()`."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - condition: specifies the conditional comments for IE, e.g., `lt IE 9`. When this is specified, the generated `link` tag will be enclosed within the conditional comments. This is mainly useful for supporting old versions of IE browsers. - noscript: if set to true, `link` tag will be wrapped into `<noscript>` tags. The rest of the options will be rendered as the attributes of the resulting link tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated link tag"},"static":true},"cssStyleFromArray":{"signature":"public static function cssStyleFromArray(array $style): string","summary":"Converts a CSS style array into a string representation.","params":[{"name":"$style","type":"array","description":"The CSS style array. The array keys are the CSS property names, and the array values are the corresponding CSS property values."}],"return":{"type":"string","description":"The CSS style string. If the CSS style is empty, a null will be returned."},"static":true},"cssStyleToArray":{"signature":"public static function cssStyleToArray(string $style): array","summary":"Converts a CSS style string into an array representation.","params":[{"name":"$style","type":"string","description":"The CSS style string"}],"return":{"type":"array","description":"The array representation of the CSS style"},"static":true},"decode":{"signature":"public static function decode(string $content): string","summary":"Decodes special HTML entities back to the corresponding characters.","params":[{"name":"$content","type":"string","description":"The content to be decoded"}],"return":{"type":"string","description":"The decoded content"},"static":true},"dropDownList":{"signature":"public static function dropDownList(string $name, string|bool|array|null $selection = null, array $items = [], array $options = []): string","summary":"Generates a drop-down list.","params":[{"name":"$name","type":"string","description":"The input name"},{"name":"$selection","type":"string|bool|array|null","default":"null","optional":true,"description":"The selected value(s). String/boolean for single or array for multiple selection(s)."},{"name":"$items","type":"array","default":"[]","optional":true,"description":"The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). For each sub-array, an option group will be generated whose label is the key associated with the sub-array. If you have a list of data models, you may convert them into the format described above using `yii\\helpers\\ArrayHelper::map()`. Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in the labels will also be HTML-encoded."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - prompt: string, a prompt text to be displayed as the first option. Since version 2.0.11 you can use an array to override the value and to set other tag attributes: ``` ['text' => 'Please select', 'options' => ['value' => 'none', 'class' => 'prompt', 'label' => 'Select']], ``` - options: array, the attributes for the select option tags. The array keys must be valid option values, and the array values are the extra attributes for the corresponding option tags. For example, ``` [ 'value1' => ['disabled' => true], 'value2' => ['label' => 'value 2'], ]; ``` - groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options', except that the array keys represent the optgroup labels specified in $items. - encodeSpaces: bool, whether to encode spaces in option prompt and option value with `&nbsp;` character. Defaults to false. - encode: bool, whether to encode option prompt and option value characters. Defaults to `true`. This option is available since 2.0.3. - strict: boolean, if `$selection` is an array and this value is true a strict comparison will be performed on `$items` keys. Defaults to false. This option is available since 2.0.37. The rest of the options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated drop-down list tag"},"static":true},"encode":{"signature":"public static function encode(string $content, bool $doubleEncode = true): string","summary":"Encodes special characters into HTML entities.","params":[{"name":"$content","type":"string","description":"The content to be encoded"},{"name":"$doubleEncode","type":"bool","default":"true","optional":true,"description":"Whether to encode HTML entities in `$content`. If false, HTML entities in `$content` will not be further encoded."}],"return":{"type":"string","description":"The encoded content"},"static":true},"endForm":{"signature":"public static function endForm(): string","summary":"Generates a form end tag.","return":{"type":"string","description":"The generated tag"},"static":true},"endTag":{"signature":"public static function endTag(string|bool|null $name): string","summary":"Generates an end tag.","params":[{"name":"$name","type":"string|bool|null","description":"The tag name. If $name is `null` or `false`, the corresponding content will be rendered without any tag."}],"return":{"type":"string","description":"The generated end tag"},"static":true},"error":{"signature":"public static function error(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Generates a tag that contains the first validation error of the specified model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. The following options are specially handled: - tag: this specifies the tag name. If not set, \"div\" will be used. See also `tag()`. - encode: boolean, if set to false then the error message won't be encoded. - errorSource (since 2.0.14): \\Closure|callable, callback that will be called to obtain an error message. The signature of the callback must be: `function ($model, $attribute)` and return a string. When not set, the `$model->getFirstError()` method will be called. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated label tag"},"static":true},"errorSummary":{"signature":"public static function errorSummary(yii\\base\\Model|yii\\base\\Model[] $models, array $options = []): string","summary":"Generates a summary of the validation errors.","params":[{"name":"$models","type":"yii\\base\\Model|yii\\base\\Model[]","description":"The model(s) whose validation errors are to be displayed."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - header: string, the header HTML for the error summary. If not set, a default prompt string will be used. - footer: string, the footer HTML for the error summary. Defaults to empty string. - encode: boolean, if set to false then the error messages won't be encoded. Defaults to `true`. - showAllErrors: boolean, if set to true every error message for each attribute will be shown otherwise only the first error message for each attribute will be shown. Defaults to `false`. Option is available since 2.0.10. - emptyClass: string, the class name that is added to an empty summary. The rest of the options will be rendered as the attributes of the container tag."}],"return":{"type":"string","description":"The generated error summary"},"static":true},"escapeJsRegularExpression":{"signature":"public static function escapeJsRegularExpression(string $regexp): string","summary":"Escapes regular expression to use in JavaScript.","params":[{"name":"$regexp","type":"string","description":"The regular expression to be escaped."}],"return":{"type":"string","description":"The escaped result."},"static":true,"since":"2.0.6"},"fileInput":{"signature":"public static function fileInput(string $name, string|null $value = null, array $options = []): string","summary":"Generates a file input field.","params":[{"name":"$name","type":"string","description":"The name attribute."},{"name":"$value","type":"string|null","default":"null","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated file input tag"},"static":true},"getAttributeName":{"signature":"public static function getAttributeName(string $attribute): string","summary":"Returns the real attribute name from the given attribute expression.","params":[{"name":"$attribute","type":"string","description":"The attribute name or expression"}],"return":{"type":"string","description":"The attribute name without prefix and suffix."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the attribute name contains non-word characters."}],"static":true},"getAttributeValue":{"signature":"public static function getAttributeValue(yii\\base\\Model $model, string $attribute): string|array|null","summary":"Returns the value of the specified attribute name or expression.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression"}],"return":{"type":"string|array|null","description":"The corresponding attribute value"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the attribute name contains non-word characters."}],"static":true},"getInputId":{"signature":"public static function getInputId(yii\\base\\Model $model, string $attribute): string","summary":"Generates an appropriate input ID for the specified attribute name or expression.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for explanation of attribute expression."}],"return":{"type":"string","description":"The generated input ID."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the attribute name contains non-word characters."}],"static":true},"getInputIdByName":{"signature":"public static function getInputIdByName(string $name): string","summary":"Converts input name to ID.","params":[{"name":"$name","type":"string","description":"The input name"}],"return":{"type":"string","description":"The generated input ID"},"static":true,"since":"2.0.43"},"getInputName":{"signature":"public static function getInputName(yii\\base\\Model $model, string $attribute): string","summary":"Generates an appropriate input name for the specified attribute name or expression.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression"}],"return":{"type":"string","description":"The generated input name"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the attribute name contains non-word characters."}],"static":true},"hiddenInput":{"signature":"public static function hiddenInput(string $name, string|null $value = null, array $options = []): string","summary":"Generates a hidden input field.","params":[{"name":"$name","type":"string","description":"The name attribute."},{"name":"$value","type":"string|null","default":"null","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated hidden input tag"},"static":true},"img":{"signature":"public static function img(array|string $src, array $options = []): string","summary":"Generates an image tag.","params":[{"name":"$src","type":"array|string","description":"The image URL. This parameter will be processed by `yii\\helpers\\Url::to()`."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered. Since version 2.0.12 It is possible to pass the `srcset` option as an array which keys are descriptors and values are URLs. All URLs will be processed by `yii\\helpers\\Url::to()`."}],"return":{"type":"string","description":"The generated image tag."},"static":true},"input":{"signature":"public static function input(string $type, string|null $name = null, string|null $value = null, array $options = []): string","summary":"Generates an input type of the given type.","params":[{"name":"$type","type":"string","description":"The type attribute."},{"name":"$name","type":"string|null","default":"null","optional":true,"description":"The name attribute. If it is null, the name attribute will not be generated."},{"name":"$value","type":"string|null","default":"null","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated input tag"},"static":true},"jsFile":{"signature":"public static function jsFile(string $url, array $options = []): string","summary":"Generates a script tag that refers to an external JavaScript file.","params":[{"name":"$url","type":"string","description":"The URL of the external JavaScript file. This parameter will be processed by `yii\\helpers\\Url::to()`."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following option is specially handled: - condition: specifies the conditional comments for IE, e.g., `lt IE 9`. When this is specified, the generated `script` tag will be enclosed within the conditional comments. This is mainly useful for supporting old versions of IE browsers. The rest of the options will be rendered as the attributes of the resulting script tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated script tag"},"static":true},"label":{"signature":"public static function label(string $content, string|null $for = null, array $options = []): string","summary":"Generates a label tag.","params":[{"name":"$content","type":"string","description":"Label text. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is is coming from end users, you should `encode()` it to prevent XSS attacks."},{"name":"$for","type":"string|null","default":"null","optional":true,"description":"The ID of the HTML element that this label is associated with. If this is null, the \"for\" attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated label tag"},"static":true},"listBox":{"signature":"public static function listBox(string $name, string|bool|array|null $selection = null, array $items = [], array $options = []): string","summary":"Generates a list box.","params":[{"name":"$name","type":"string","description":"The input name"},{"name":"$selection","type":"string|bool|array|null","default":"null","optional":true,"description":"The selected value(s). String for single or array for multiple selection(s)."},{"name":"$items","type":"array","default":"[]","optional":true,"description":"The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). For each sub-array, an option group will be generated whose label is the key associated with the sub-array. If you have a list of data models, you may convert them into the format described above using `yii\\helpers\\ArrayHelper::map()`. Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in the labels will also be HTML-encoded."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - prompt: string, a prompt text to be displayed as the first option. Since version 2.0.11 you can use an array to override the value and to set other tag attributes: ``` ['text' => 'Please select', 'options' => ['value' => 'none', 'class' => 'prompt', 'label' => 'Select']], ``` - options: array, the attributes for the select option tags. The array keys must be valid option values, and the array values are the extra attributes for the corresponding option tags. For example, ``` [ 'value1' => ['disabled' => true], 'value2' => ['label' => 'value 2'], ]; ``` - groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options', except that the array keys represent the optgroup labels specified in $items. - unselect: string, the value that will be submitted when no option is selected. When this attribute is set, a hidden field will be generated so that if no option is selected in multiple mode, we can still obtain the posted unselect value. - encodeSpaces: bool, whether to encode spaces in option prompt and option value with `&nbsp;` character. Defaults to false. - encode: bool, whether to encode option prompt and option value characters. Defaults to `true`. This option is available since 2.0.3. - strict: boolean, if `$selection` is an array and this value is true a strict comparison will be performed on `$items` keys. Defaults to false. This option is available since 2.0.37. The rest of the options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated list box tag"},"static":true},"mailto":{"signature":"public static function mailto(string $text, string|null $email = null, array $options = []): string","summary":"Generates a mailto hyperlink.","params":[{"name":"$text","type":"string","description":"Link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is coming from end users, you should consider `encode()` it to prevent XSS attacks."},{"name":"$email","type":"string|null","default":"null","optional":true,"description":"Email address. If this is null, the first parameter (link body) will be treated as the email address and used."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated mailto link"},"static":true},"ol":{"signature":"public static function ol(array|Traversable $items, array $options = []): string","summary":"Generates an ordered list.","params":[{"name":"$items","type":"array|Traversable","description":"The items for generating the list. Each item generates a single list item. Note that items will be automatically HTML encoded if `$options['encode']` is not set or true."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the radio button list. The following options are supported: - encode: boolean, whether to HTML-encode the items. Defaults to true. This option is ignored if the `item` option is specified. - itemOptions: array, the HTML attributes for the `li` tags. This option is ignored if the `item` option is specified. - item: callable, a callback that is used to generate each individual list item. The signature of this callback must be: ``` function ($item, $index) ``` where $index is the array key corresponding to `$item` in `$items`. The callback should return the whole list item tag. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated ordered list. An empty string is returned if `$items` is empty."},"static":true},"passwordInput":{"signature":"public static function passwordInput(string $name, string|null $value = null, array $options = []): string","summary":"Generates a password input field.","params":[{"name":"$name","type":"string","description":"The name attribute."},{"name":"$value","type":"string|null","default":"null","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated password input tag"},"static":true},"radio":{"signature":"public static function radio(string $name, bool $checked = false, array $options = []): string","summary":"Generates a radio button input.","params":[{"name":"$name","type":"string","description":"The name attribute."},{"name":"$checked","type":"bool","default":"false","optional":true,"description":"Whether the radio button should be checked."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `booleanInput()` for details about accepted attributes."}],"return":{"type":"string","description":"The generated radio button tag"},"static":true},"radioList":{"signature":"public static function radioList(string $name, string|array|null $selection = null, array $items = [], array $options = []): string","summary":"Generates a list of radio buttons.","params":[{"name":"$name","type":"string","description":"The name attribute of each radio button."},{"name":"$selection","type":"string|array|null","default":"null","optional":true,"description":"The selected value(s). String for single or array for multiple selection(s)."},{"name":"$items","type":"array","default":"[]","optional":true,"description":"The data item used to generate the radio buttons. The array keys are the radio button values, while the array values are the corresponding labels."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the radio button list container tag. The following options are specially handled: - tag: string|false, the tag name of the container element. False to render radio buttons without container. See also `tag()`. - unselect: string, the value that should be submitted when none of the radio buttons is selected. By setting this option, a hidden input will be generated. - disabled: boolean, whether the generated by unselect option hidden input should be disabled. Defaults to false. This option is available since version 2.0.16. - encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true. This option is ignored if `item` option is set. - strict: boolean, if `$selection` is an array and this value is true a strict comparison will be performed on `$items` keys. Defaults to false. This option is available since 2.0.37. - separator: string, the HTML code that separates items. - itemOptions: array, the options for generating the radio button tag using `radio()`. - item: callable, a callback that can be used to customize the generation of the HTML code corresponding to a single item in $items. The signature of this callback must be: ``` function ($index, $label, $name, $checked, $value) ``` where $index is the zero-based index of the radio button in the whole list; $label is the label for the radio button; and $name, $value and $checked represent the name, value and the checked status of the radio button input, respectively. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated radio button list"},"static":true},"removeCssClass":{"signature":"public static function removeCssClass(array &$options, string|array $class): mixed","summary":"Removes a CSS class from the specified options.","params":[{"name":"$options","type":"array","byReference":true,"description":"The options to be modified."},{"name":"$class","type":"string|array","description":"The CSS class(es) to be removed"}],"return":{"type":"mixed"},"static":true},"removeCssStyle":{"signature":"public static function removeCssStyle(array &$options, string|array $properties): mixed","summary":"Removes the specified CSS style from the HTML options.","params":[{"name":"$options","type":"array","byReference":true,"description":"The HTML options to be modified."},{"name":"$properties","type":"string|array","description":"The CSS properties to be removed. You may use a string if you are removing a single property."}],"return":{"type":"mixed"},"static":true},"renderSelectOptions":{"signature":"public static function renderSelectOptions(string|array|bool|null $selection, array $items, array &$tagOptions = []): string","summary":"Renders the option tags that can be used by `dropDownList()` and `listBox()`.","params":[{"name":"$selection","type":"string|array|bool|null","description":"The selected value(s). String/boolean for single or array for multiple selection(s)."},{"name":"$items","type":"array","description":"The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). For each sub-array, an option group will be generated whose label is the key associated with the sub-array. If you have a list of data models, you may convert them into the format described above using `yii\\helpers\\ArrayHelper::map()`. Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in the labels will also be HTML-encoded."},{"name":"$tagOptions","type":"array","default":"[]","optional":true,"byReference":true,"description":"The $options parameter that is passed to the `dropDownList()` or `listBox()` call. This method will take out these elements, if any: \"prompt\", \"options\" and \"groups\". See more details in `dropDownList()` for the explanation of these elements."}],"return":{"type":"string","description":"The generated list options"},"static":true},"renderTagAttributes":{"signature":"public static function renderTagAttributes(array $attributes): string","summary":"Renders the HTML tag attributes.","params":[{"name":"$attributes","type":"array","description":"Attributes to be rendered. The attribute values will be HTML-encoded using `encode()`."}],"return":{"type":"string","description":"The rendering result. If the attributes are not empty, they will be rendered into a string with a leading white space (so that it can be directly appended to the tag name in a tag). If there is no attribute, an empty string will be returned."},"static":true},"resetButton":{"signature":"public static function resetButton(string $content = 'Reset', array $options = []): string","summary":"Generates a reset button tag.","params":[{"name":"$content","type":"string","default":"'Reset'","optional":true,"description":"The content enclosed within the button tag. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is is coming from end users, you should consider `encode()` it to prevent XSS attacks."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated reset button tag"},"static":true},"resetInput":{"signature":"public static function resetInput(string|null $label = 'Reset', array $options = []): string","summary":"Generates a reset input button.","params":[{"name":"$label","type":"string|null","default":"'Reset'","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The attributes of the button tag. The values will be HTML-encoded using `encode()`. Attributes whose value is null will be ignored and not put in the tag returned. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated button tag"},"static":true},"script":{"signature":"public static function script(string $content, array $options = []): string","summary":"Generates a script tag.","params":[{"name":"$content","type":"string","description":"The script content"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated script tag"},"static":true},"setActivePlaceholder":{"signature":"protected static function setActivePlaceholder(yii\\base\\Model $model, string $attribute, array &$options = []): mixed","summary":"Generate placeholder from model attribute label.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model object"},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"byReference":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`."}],"return":{"type":"mixed"},"visibility":"protected","static":true,"since":"2.0.14"},"style":{"signature":"public static function style(string $content, array $options = []): string","summary":"Generates a style tag.","params":[{"name":"$content","type":"string","description":"The style content"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated style tag"},"static":true},"submitButton":{"signature":"public static function submitButton(string $content = 'Submit', array $options = []): string","summary":"Generates a submit button tag.","params":[{"name":"$content","type":"string","default":"'Submit'","optional":true,"description":"The content enclosed within the button tag. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is is coming from end users, you should consider `encode()` it to prevent XSS attacks."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated submit button tag"},"static":true},"submitInput":{"signature":"public static function submitInput(string|null $label = 'Submit', array $options = []): string","summary":"Generates a submit input button.","params":[{"name":"$label","type":"string|null","default":"'Submit'","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated button tag"},"static":true},"tag":{"signature":"public static function tag(string|bool|null $name, string $content = '', array $options = []): string","summary":"Generates a complete HTML tag.","params":[{"name":"$name","type":"string|bool|null","description":"The tag name. If $name is `null` or `false`, the corresponding content will be rendered without any tag."},{"name":"$content","type":"string","default":"''","optional":true,"description":"The content to be enclosed between the start and end tags. It will not be HTML-encoded. If this is coming from end users, you should consider `encode()` it to prevent XSS attacks."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The HTML tag attributes (HTML options) in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. For example when using `['class' => 'my-class', 'target' => '_blank', 'value' => null]` it will result in the html attributes rendered like this: `class=\"my-class\" target=\"_blank\"`. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated HTML tag"},"static":true},"textarea":{"signature":"public static function textarea(string $name, string $value = '', array $options = []): string","summary":"Generates a text area input.","params":[{"name":"$name","type":"string","description":"The input name"},{"name":"$value","type":"string","default":"''","optional":true,"description":"The input value. Note that it will be encoded using `encode()`."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered. The following special options are recognized: - `doubleEncode`: whether to double encode HTML entities in `$value`. If `false`, HTML entities in `$value` will not be further encoded. This option is available since version 2.0.11."}],"return":{"type":"string","description":"The generated text area tag"},"static":true},"textInput":{"signature":"public static function textInput(string $name, string|null $value = null, array $options = []): string","summary":"Generates a text input field.","params":[{"name":"$name","type":"string","description":"The name attribute."},{"name":"$value","type":"string|null","default":"null","optional":true,"description":"The value attribute. If it is null, the value attribute will not be generated."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `encode()`. If a value is null, the corresponding attribute will not be rendered. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated text input tag"},"static":true},"ul":{"signature":"public static function ul(array|Traversable $items, array $options = []): string","summary":"Generates an unordered list.","params":[{"name":"$items","type":"array|Traversable","description":"The items for generating the list. Each item generates a single list item. Note that items will be automatically HTML encoded if `$options['encode']` is not set or true."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the radio button list. The following options are supported: - encode: boolean, whether to HTML-encode the items. Defaults to true. This option is ignored if the `item` option is specified. - separator: string, the HTML code that separates items. Defaults to a simple newline (`\"\\n\"`). This option is available since version 2.0.7. - itemOptions: array, the HTML attributes for the `li` tags. This option is ignored if the `item` option is specified. - item: callable, a callback that is used to generate each individual list item. The signature of this callback must be: ``` function ($item, $index) ``` where $index is the array key corresponding to `$item` in `$items`. The callback should return the whole list item tag. See `renderTagAttributes()` for details on how attributes are being rendered."}],"return":{"type":"string","description":"The generated unordered list. An empty list tag will be returned if `$items` is empty."},"static":true}}},"yii\\helpers\\BaseHtmlPurifier":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basehtmlpurifier/","summary":"BaseHtmlPurifier provides concrete implementation for `yii\\helpers\\HtmlPurifier`.","since":"2.0","methods":{"configure":{"signature":"protected static function configure(HTMLPurifier_Config $config): mixed","summary":"Allow the extended HtmlPurifier class to set some default config options.","params":[{"name":"$config","type":"HTMLPurifier_Config"}],"return":{"type":"mixed"},"visibility":"protected","static":true,"since":"2.0.3"},"process":{"signature":"public static function process(string $content, array|Closure|null $config = null): string","summary":"Passes markup through HTMLPurifier making it safe to output to end user.","params":[{"name":"$content","type":"string","description":"The HTML content to purify"},{"name":"$config","type":"array|Closure|null","default":"null","optional":true,"description":"The config to use for HtmlPurifier. If not specified or `null` the default config will be used. You can use an array or an anonymous function to provide configuration options: - An array will be passed to the `HTMLPurifier_Config::create()` method. - An anonymous function will be called after the config was created. The signature should be: `function($config)` where `$config` will be an instance of `HTMLPurifier_Config`. Here is a usage example of such a function: ``` // Allow the HTML5 data attribute `data-type` on `img` elements. $content = HtmlPurifier::process($content, function ($config) { $config->getHTMLDefinition(true) ->addAttribute('img', 'data-type', 'Text'); }); ```"}],"return":{"type":"string","description":"The purified HTML content."},"static":true}}},"yii\\helpers\\BaseInflector":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/baseinflector/","summary":"BaseInflector provides concrete implementation for `yii\\helpers\\Inflector`.","since":"2.0","properties":{"plurals":{"type":"array","default":"['/([nrlm]ese|deer|fish|sheep|measles|ois|pox|media)$/i' => '\\1', '/^(sea[-]bass)$/i' => '\\1', '/(m)ove$/i' => '\\1oves', '/(f)oot$/i' => '\\1eet', '/(h)uman$/i' => '\\1umans', '/(s)tatus$/i' => '\\1tatuses', '/(s)taff$/i' => '\\1taff', '/(t)ooth$/i' => '\\1eeth', '/(quiz)$/i' => '\\1zes', '/^(ox)$/i' => '\\1\\2en', '/([m|l])ouse$/i' => '\\1ice', '/(matr|vert|ind)(ix|ex)$/i' => '\\1ices', '/(x|ch|ss|sh)$/i' => '\\1es', '/([^aeiouy]|qu)y$/i' => '\\1ies', '/(hive)$/i' => '\\1s', '/(?:([^f])fe|([lr])f)$/i' => '\\1\\2ves', '/sis$/i' => 'ses', '/([ti])um$/i' => '\\1a', '/(p)erson$/i' => '\\1eople', '/(m)an$/i' => '\\1en', '/(c)hild$/i' => '\\1hildren', '/(buffal|tomat|potat|ech|her|vet)o$/i' => '\\1oes', '/(alumn|bacill|cact|foc|fung|nucle|radi|stimul|syllab|termin|vir)us$/i' => '\\1i', '/us$/i' => 'uses', '/(alias)$/i' => '\\1es', '/(ax|cris|test)is$/i' => '\\1es', '/(currenc)y$/' => '\\1ies', '/s$/' => 's', '/^$/' => '', '/$/' => 's']","description":"The rules for converting a word into its plural form.","static":true},"singulars":{"type":"array","default":"['/([nrlm]ese|deer|fish|sheep|measles|ois|pox|media|ss)$/i' => '\\1', '/^(sea[-]bass)$/i' => '\\1', '/(s)tatuses$/i' => '\\1tatus', '/(f)eet$/i' => '\\1oot', '/(t)eeth$/i' => '\\1ooth', '/^(.*)(menu)s$/i' => '\\1\\2', '/(quiz)zes$/i' => '\\1', '/(matr)ices$/i' => '\\1ix', '/(vert|ind)ices$/i' => '\\1ex', '/^(ox)en/i' => '\\1', '/(alias)(es)*$/i' => '\\1', '/(alumn|bacill|cact|foc|fung|nucle|radi|stimul|syllab|termin|viri?)i$/i' => '\\1us', '/([ftw]ax)es/i' => '\\1', '/(cris|ax|test)es$/i' => '\\1is', '/(shoe|slave)s$/i' => '\\1', '/(o)es$/i' => '\\1', '/ouses$/' => 'ouse', '/([^a])uses$/' => '\\1us', '/([m|l])ice$/i' => '\\1ouse', '/(x|ch|ss|sh)es$/i' => '\\1', '/(m)ovies$/i' => '\\1\\2ovie', '/(s)eries$/i' => '\\1\\2eries', '/([^aeiouy]|qu)ies$/i' => '\\1y', '/([lr])ves$/i' => '\\1f', '/(tive)s$/i' => '\\1', '/(hive)s$/i' => '\\1', '/(drive)s$/i' => '\\1', '/([^fo])ves$/i' => '\\1fe', '/(^analy)ses$/i' => '\\1sis', '/(analy|diagno|^ba|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i' => '\\1\\2sis', '/([ti])a$/i' => '\\1um', '/(p)eople$/i' => '\\1\\2erson', '/(m)en$/i' => '\\1an', '/(c)hildren$/i' => '\\1\\2hild', '/(n)ews$/i' => '\\1\\2ews', '/(n)etherlands$/i' => '\\1\\2etherlands', '/eaus$/' => 'eau', '/(currenc)ies$/' => '\\1y', '/^(.*us)$/' => '\\1', '/s$/i' => '']","description":"The rules for converting a word into its singular form.","static":true},"specials":{"type":"array","default":"['atlas' => 'atlases', 'beef' => 'beefs', 'brother' => 'brothers', 'cafe' => 'cafes', 'child' => 'children', 'cookie' => 'cookies', 'corpus' => 'corpuses', 'cow' => 'cows', 'curve' => 'curves', 'foe' => 'foes', 'ganglion' => 'ganglions', 'genie' => 'genies', 'genus' => 'genera', 'graffito' => 'graffiti', 'hoof' => 'hoofs', 'loaf' => 'loaves', 'man' => 'men', 'money' => 'monies', 'mongoose' => 'mongooses', 'move' => 'moves', 'mythos' => 'mythoi', 'niche' => 'niches', 'numen' => 'numina', 'occiput' => 'occiputs', 'octopus' => 'octopuses', 'opus' => 'opuses', 'ox' => 'oxen', 'pasta' => 'pasta', 'penis' => 'penises', 'sex' => 'sexes', 'soliloquy' => 'soliloquies', 'testis' => 'testes', 'trilby' => 'trilbys', 'turf' => 'turfs', 'wave' => 'waves', 'Amoyese' => 'Amoyese', 'bison' => 'bison', 'Borghese' => 'Borghese', 'bream' => 'bream', 'breeches' => 'breeches', 'britches' => 'britches', 'buffalo' => 'buffalo', 'cantus' => 'cantus', 'carp' => 'carp', 'chassis' => 'chassis', 'clippers' => 'clippers', 'cod' => 'cod', 'coitus' => 'coitus', 'Congoese' => 'Congoese', 'contretemps' => 'contretemps', 'corps' => 'corps', 'debris' => 'debris', 'diabetes' => 'diabetes', 'djinn' => 'djinn', 'eland' => 'eland', 'elk' => 'elk', 'equipment' => 'equipment', 'Faroese' => 'Faroese', 'flounder' => 'flounder', 'Foochowese' => 'Foochowese', 'gallows' => 'gallows', 'Genevese' => 'Genevese', 'Genoese' => 'Genoese', 'Gilbertese' => 'Gilbertese', 'graffiti' => 'graffiti', 'headquarters' => 'headquarters', 'herpes' => 'herpes', 'hijinks' => 'hijinks', 'Hottentotese' => 'Hottentotese', 'information' => 'information', 'innings' => 'innings', 'jackanapes' => 'jackanapes', 'Kiplingese' => 'Kiplingese', 'Kongoese' => 'Kongoese', 'Lucchese' => 'Lucchese', 'mackerel' => 'mackerel', 'Maltese' => 'Maltese', 'mews' => 'mews', 'moose' => 'moose', 'mumps' => 'mumps', 'Nankingese' => 'Nankingese', 'news' => 'news', 'nexus' => 'nexus', 'Niasese' => 'Niasese', 'Pekingese' => 'Pekingese', 'Piedmontese' => 'Piedmontese', 'pincers' => 'pincers', 'Pistoiese' => 'Pistoiese', 'pliers' => 'pliers', 'Portuguese' => 'Portuguese', 'proceedings' => 'proceedings', 'rabies' => 'rabies', 'rice' => 'rice', 'rhinoceros' => 'rhinoceros', 'salmon' => 'salmon', 'Sarawakese' => 'Sarawakese', 'scissors' => 'scissors', 'series' => 'series', 'Shavese' => 'Shavese', 'shears' => 'shears', 'siemens' => 'siemens', 'species' => 'species', 'swine' => 'swine', 'testes' => 'testes', 'trousers' => 'trousers', 'trout' => 'trout', 'tuna' => 'tuna', 'Vermontese' => 'Vermontese', 'Wenchowese' => 'Wenchowese', 'whiting' => 'whiting', 'wildebeest' => 'wildebeest', 'Yengeese' => 'Yengeese', 'software' => 'software', 'hardware' => 'hardware']","description":"The special rules for converting a word between its plural form and singular form.","static":true},"transliteration":{"type":"array","default":"['À' => 'A', 'Á' => 'A', 'Â' => 'A', 'Ã' => 'A', 'Ä' => 'A', 'Å' => 'A', 'Æ' => 'AE', 'Ç' => 'C', 'È' => 'E', 'É' => 'E', 'Ê' => 'E', 'Ë' => 'E', 'Ì' => 'I', 'Í' => 'I', 'Î' => 'I', 'Ï' => 'I', 'Ð' => 'D', 'Ñ' => 'N', 'Ò' => 'O', 'Ó' => 'O', 'Ô' => 'O', 'Õ' => 'O', 'Ö' => 'O', 'Ő' => 'O', 'Ø' => 'O', 'Ù' => 'U', 'Ú' => 'U', 'Û' => 'U', 'Ü' => 'U', 'Ű' => 'U', 'Ý' => 'Y', 'Þ' => 'TH', 'ß' => 'ss', 'à' => 'a', 'á' => 'a', 'â' => 'a', 'ã' => 'a', 'ä' => 'a', 'å' => 'a', 'æ' => 'ae', 'ç' => 'c', 'è' => 'e', 'é' => 'e', 'ê' => 'e', 'ë' => 'e', 'ì' => 'i', 'í' => 'i', 'î' => 'i', 'ï' => 'i', 'ð' => 'd', 'ñ' => 'n', 'ò' => 'o', 'ó' => 'o', 'ô' => 'o', 'õ' => 'o', 'ö' => 'o', 'ő' => 'o', 'ø' => 'o', 'ù' => 'u', 'ú' => 'u', 'û' => 'u', 'ü' => 'u', 'ű' => 'u', 'ý' => 'y', 'þ' => 'th', 'ÿ' => 'y']","description":"Fallback map for transliteration used by `transliterate()` when intl isn't available.","static":true},"transliterator":{"type":"mixed","default":"self::TRANSLITERATE_LOOSE","description":"Either a `Transliterator`, or a string from which a `Transliterator` can be built for transliteration.","static":true}},"methods":{"camel2id":{"signature":"public static function camel2id(string $name, string $separator = '-', bool|string $strict = false): string","summary":"Converts a CamelCase name into an ID in lowercase.","params":[{"name":"$name","type":"string","description":"The string to be converted"},{"name":"$separator","type":"string","default":"'-'","optional":true,"description":"The character used to concatenate the words in the ID"},{"name":"$strict","type":"bool|string","default":"false","optional":true,"description":"Whether to insert a separator between two consecutive uppercase chars, defaults to false"}],"return":{"type":"string","description":"The resulting ID"},"static":true},"camel2words":{"signature":"public static function camel2words(string $name, bool $ucwords = true): string","summary":"Converts a CamelCase name into space-separated words.","params":[{"name":"$name","type":"string","description":"The string to be converted"},{"name":"$ucwords","type":"bool","default":"true","optional":true,"description":"Whether to capitalize the first letter in each word"}],"return":{"type":"string","description":"The resulting words"},"static":true},"camelize":{"signature":"public static function camelize(string $word): string","summary":"Returns given word as CamelCased.","params":[{"name":"$word","type":"string","description":"The word to CamelCase"}],"return":{"type":"string"},"static":true},"classify":{"signature":"public static function classify(string $tableName): string","summary":"Converts a table name to its class name.","params":[{"name":"$tableName","type":"string"}],"return":{"type":"string"},"static":true},"hasIntl":{"signature":"protected static function hasIntl(): bool","return":{"type":"bool","description":"If intl extension is loaded"},"visibility":"protected","static":true},"humanize":{"signature":"public static function humanize(string $word, bool $ucAll = false): string","summary":"Returns a human-readable string from $word.","params":[{"name":"$word","type":"string","description":"The string to humanize"},{"name":"$ucAll","type":"bool","default":"false","optional":true,"description":"Whether to set all words to uppercase or not"}],"return":{"type":"string"},"static":true},"id2camel":{"signature":"public static function id2camel(string $id, string $separator = '-'): string","summary":"Converts an ID into a CamelCase name.","params":[{"name":"$id","type":"string","description":"The ID to be converted"},{"name":"$separator","type":"string","default":"'-'","optional":true,"description":"The character used to separate the words in the ID"}],"return":{"type":"string","description":"The resulting CamelCase name"},"static":true},"ordinalize":{"signature":"public static function ordinalize(int $number): string","summary":"Converts number to its ordinal English form. For example, converts 13 to 13th, 2 to 2nd .","params":[{"name":"$number","type":"int","description":"The number to get its ordinal value"}],"return":{"type":"string"},"static":true},"pluralize":{"signature":"public static function pluralize(string $word): string","summary":"Converts a word to its plural form.","params":[{"name":"$word","type":"string","description":"The word to be pluralized"}],"return":{"type":"string","description":"The pluralized word"},"static":true},"sentence":{"signature":"public static function sentence(array $words, string|null $twoWordsConnector = null, string|null $lastWordConnector = null, string $connector = ', '): string","summary":"Converts a list of words into a sentence.","params":[{"name":"$words","type":"array","description":"The words to be converted into an string"},{"name":"$twoWordsConnector","type":"string|null","default":"null","optional":true,"description":"The string connecting words when there are only two"},{"name":"$lastWordConnector","type":"string|null","default":"null","optional":true,"description":"The string connecting the last two words. If this is null, it will take the value of `$twoWordsConnector`."},{"name":"$connector","type":"string","default":"', '","optional":true,"description":"The string connecting words other than those connected by $lastWordConnector and $twoWordsConnector"}],"return":{"type":"string","description":"The generated sentence"},"static":true,"since":"2.0.1"},"singularize":{"signature":"public static function singularize(string $word): string","summary":"Returns the singular of the $word.","params":[{"name":"$word","type":"string","description":"The english word to singularize"}],"return":{"type":"string","description":"Singular noun."},"static":true},"slug":{"signature":"public static function slug(string $string, string $replacement = '-', bool $lowercase = true): string","summary":"Returns a string with all spaces converted to given replacement, non word characters removed and the rest of characters transliterated.","params":[{"name":"$string","type":"string","description":"An arbitrary string to convert"},{"name":"$replacement","type":"string","default":"'-'","optional":true,"description":"The replacement to use for spaces"},{"name":"$lowercase","type":"bool","default":"true","optional":true,"description":"Whether to return the string in lowercase or not. Defaults to `true`."}],"return":{"type":"string","description":"The converted string."},"static":true},"tableize":{"signature":"public static function tableize(string $className): string","summary":"Converts a class name to its table name (pluralized) naming conventions.","params":[{"name":"$className","type":"string","description":"The class name for getting related table_name"}],"return":{"type":"string"},"static":true},"titleize":{"signature":"public static function titleize(string $words, bool $ucAll = false): string","summary":"Converts an underscored or CamelCase word into a English sentence.","params":[{"name":"$words","type":"string"},{"name":"$ucAll","type":"bool","default":"false","optional":true,"description":"Whether to set all words to uppercase"}],"return":{"type":"string"},"static":true},"transliterate":{"signature":"public static function transliterate(string $string, string|Transliterator|null $transliterator = null): string","summary":"Returns transliterated version of a string.","params":[{"name":"$string","type":"string","description":"Input string"},{"name":"$transliterator","type":"string|Transliterator|null","default":"null","optional":true,"description":"Either a `Transliterator` or a string from which a `Transliterator` can be built."}],"return":{"type":"string"},"static":true},"underscore":{"signature":"public static function underscore(string $words): string","summary":"Converts any \"CamelCased\" into an \"underscored_word\".","params":[{"name":"$words","type":"string","description":"The word(s) to underscore"}],"return":{"type":"string"},"static":true},"variablize":{"signature":"public static function variablize(string $word): string","summary":"Same as camelize but first char is in lowercase.","params":[{"name":"$word","type":"string","description":"To lowerCamelCase"}],"return":{"type":"string"},"static":true}},"constants":{"TRANSLITERATE_STRICT":{"value":"'Any-Latin; NFKD'","description":"Shortcut for `Any-Latin; NFKD` transliteration rule.","since":"2.0.7"},"TRANSLITERATE_MEDIUM":{"value":"'Any-Latin; Latin-ASCII'","description":"Shortcut for `Any-Latin; Latin-ASCII` transliteration rule.","since":"2.0.7"},"TRANSLITERATE_LOOSE":{"value":"'Any-Latin; Latin-ASCII; [\\u0080-\\uffff] remove'","description":"Shortcut for `Any-Latin; Latin-ASCII; [\\u0080-\\uffff] remove` transliteration rule.","since":"2.0.7"}}},"yii\\helpers\\BaseIpHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/baseiphelper/","summary":"Class BaseIpHelper provides concrete implementation for `yii\\helpers\\IpHelper`","since":"2.0.14","methods":{"expandIPv6":{"signature":"public static function expandIPv6(string $ip): string","summary":"Expands an IPv6 address to it's full notation.","params":[{"name":"$ip","type":"string","description":"The original valid IPv6 address"}],"return":{"type":"string","description":"The expanded IPv6 address"},"static":true},"getIpVersion":{"signature":"public static function getIpVersion(string $ip): int","summary":"Gets the IP version. Does not perform IP address validation.","params":[{"name":"$ip","type":"string","description":"The valid IPv4 or IPv6 address."}],"return":{"type":"int","description":"`IPV4` or `IPV6`"},"static":true},"inRange":{"signature":"public static function inRange(string $subnet, string $range): bool","summary":"Checks whether IP address or subnet $subnet is contained by $subnet.","params":[{"name":"$subnet","type":"string","description":"The valid IPv4 or IPv6 address or CIDR range, e.g.: `10.0.0.0/8` or `2001:af::/64`"},{"name":"$range","type":"string","description":"The valid IPv4 or IPv6 CIDR range, e.g. `10.0.0.0/8` or `2001:af::/64`"}],"return":{"type":"bool","description":"Whether $subnet is contained by $range"},"throws":[{"type":"yii\\base\\NotSupportedException"}],"static":true},"ip2bin":{"signature":"public static function ip2bin(string $ip): string","summary":"Converts IP address to bits representation.","params":[{"name":"$ip","type":"string","description":"The valid IPv4 or IPv6 address"}],"return":{"type":"string","description":"Bits as a string"},"throws":[{"type":"yii\\base\\NotSupportedException"}],"static":true}},"constants":{"IPV4":{"value":"4"},"IPV6":{"value":"6"},"IPV6_ADDRESS_LENGTH":{"value":"128","description":"The length of IPv6 address in bits"},"IPV4_ADDRESS_LENGTH":{"value":"32","description":"The length of IPv4 address in bits"}}},"yii\\helpers\\BaseJson":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basejson/","summary":"BaseJson provides concrete implementation for `yii\\helpers\\Json`.","since":"2.0","properties":{"jsonErrorMessages":{"type":"array","default":"['JSON_ERROR_SYNTAX' => 'Syntax error', 'JSON_ERROR_UNSUPPORTED_TYPE' => 'Type is not supported', 'JSON_ERROR_DEPTH' => 'The maximum stack depth has been exceeded', 'JSON_ERROR_STATE_MISMATCH' => 'Invalid or malformed JSON', 'JSON_ERROR_CTRL_CHAR' => 'Control character error, possibly incorrectly encoded', 'JSON_ERROR_UTF8' => 'Malformed UTF-8 characters, possibly incorrectly encoded']","description":"List of JSON Error messages assigned to constant names for better handling of PHP <= 5.5.","static":true,"since":"2.0.7"},"keepObjectType":{"type":"bool","default":"false","description":"Avoids objects with zero-indexed keys to be encoded as array `Json::encode((object)['test'])` will be encoded as an object not as an array.","static":true,"since":"2.0.44"},"prettyPrint":{"type":"bool|null","default":"null","description":"Enables human readable output a.k.a.","static":true,"since":"2.0.43"}},"methods":{"decode":{"signature":"public static function decode(string $json, bool $asArray = true): mixed","summary":"Decodes the given JSON string into a PHP data structure.","params":[{"name":"$json","type":"string","description":"The JSON string to be decoded"},{"name":"$asArray","type":"bool","default":"true","optional":true,"description":"Whether to return objects in terms of associative arrays."}],"return":{"type":"mixed","description":"The PHP data"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if there is any decoding error"}],"static":true},"encode":{"signature":"public static function encode(mixed $value, int $options = 320): string","summary":"Encodes the given value into a JSON string.","params":[{"name":"$value","type":"mixed","description":"The data to be encoded."},{"name":"$options","type":"int","default":"320","optional":true,"description":"The encoding options. For more details please refer to <https://www.php.net/manual/en/function.json-encode.php>. Default is `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE`."}],"return":{"type":"string","description":"The encoding result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if there is any encoding error."}],"static":true},"errorSummary":{"signature":"public static function errorSummary(yii\\base\\Model|yii\\base\\Model[] $models, array $options = []): string","summary":"Generates a summary of the validation errors.","params":[{"name":"$models","type":"yii\\base\\Model|yii\\base\\Model[]","description":"The model(s) whose validation errors are to be displayed."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - showAllErrors: boolean, if set to true every error message for each attribute will be shown otherwise only the first error message for each attribute will be shown. Defaults to `false`."}],"return":{"type":"string","description":"The generated error summary"},"static":true,"since":"2.0.14"},"handleJsonError":{"signature":"protected static function handleJsonError(int $lastError): mixed","summary":"Handles `encode()` and `decode()` errors by throwing exceptions with the respective error message.","params":[{"name":"$lastError","type":"int","description":"Error code from [json_last_error()](https://www.php.net/manual/en/function.json-last-error.php)."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if there is any encoding/decoding error."}],"visibility":"protected","static":true,"since":"2.0.6"},"htmlEncode":{"signature":"public static function htmlEncode(mixed $value): string","summary":"Encodes the given value into a JSON string HTML-escaping entities so it is safe to be embedded in HTML code.","params":[{"name":"$value","type":"mixed","description":"The data to be encoded"}],"return":{"type":"string","description":"The encoding result"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if there is any encoding error"}],"static":true,"since":"2.0.4"},"processData":{"signature":"protected static function processData(mixed $data, array &$expressions, string $expPrefix): mixed","summary":"Pre-processes the data before sending it to `json_encode()`.","params":[{"name":"$data","type":"mixed","description":"The data to be processed"},{"name":"$expressions","type":"array","byReference":true,"description":"Collection of JavaScript expressions"},{"name":"$expPrefix","type":"string","description":"A prefix internally used to handle JS expressions"}],"return":{"type":"mixed","description":"The processed data"},"visibility":"protected","static":true}}},"yii\\helpers\\BaseMarkdown":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basemarkdown/","summary":"BaseMarkdown provides concrete implementation for `yii\\helpers\\Markdown`.","since":"2.0","properties":{"defaultFlavor":{"type":"string","default":"'original'","description":"The markdown flavor to use when none is specified explicitly.","static":true},"flavors":{"type":"array","default":"['original' => ['class' => 'cebe\\markdown\\Markdown', 'html5' => true], 'gfm' => ['class' => 'cebe\\markdown\\GithubMarkdown', 'html5' => true], 'gfm-comment' => ['class' => 'cebe\\markdown\\GithubMarkdown', 'html5' => true, 'enableNewlines' => true], 'extra' => ['class' => 'cebe\\markdown\\MarkdownExtra', 'html5' => true]]","description":"A map of markdown flavor names to corresponding parser class configurations.","static":true}},"methods":{"getParser":{"signature":"protected static function getParser(string|null $flavor): cebe\\markdown\\Parser","params":[{"name":"$flavor","type":"string|null","description":"The markdown flavor to use. See `$flavors` for available values. Defaults to `$defaultFlavor`, if not set."}],"return":{"type":"cebe\\markdown\\Parser"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when an undefined flavor is given."}],"visibility":"protected","static":true},"process":{"signature":"public static function process(string $markdown, string|null $flavor = null): string","summary":"Converts markdown into HTML.","params":[{"name":"$markdown","type":"string","description":"The markdown text to parse"},{"name":"$flavor","type":"string|null","default":"null","optional":true,"description":"The markdown flavor to use. See `$flavors` for available values. Defaults to `$defaultFlavor`, if not set."}],"return":{"type":"string","description":"The parsed HTML output"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when an undefined flavor is given."}],"static":true},"processParagraph":{"signature":"public static function processParagraph(string $markdown, string|null $flavor = null): string","summary":"Converts markdown into HTML but only parses inline elements.","params":[{"name":"$markdown","type":"string","description":"The markdown text to parse"},{"name":"$flavor","type":"string|null","default":"null","optional":true,"description":"The markdown flavor to use. See `$flavors` for available values. Defaults to `$defaultFlavor`, if not set."}],"return":{"type":"string","description":"The parsed HTML output"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when an undefined flavor is given."}],"static":true}}},"yii\\helpers\\BaseStringHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basestringhelper/","summary":"BaseStringHelper provides concrete implementation for `yii\\helpers\\StringHelper`.","since":"2.0","methods":{"base64UrlDecode":{"signature":"public static function base64UrlDecode(string $input): string","summary":"Decodes \"Base 64 Encoding with URL and Filename Safe Alphabet\" (RFC 4648).","params":[{"name":"$input","type":"string","description":"Encoded string."}],"return":{"type":"string","description":"Decoded string."},"static":true,"since":"2.0.12"},"base64UrlEncode":{"signature":"public static function base64UrlEncode(string $input): string","summary":"Encodes string into \"Base 64 Encoding with URL and Filename Safe Alphabet\" (RFC 4648).","params":[{"name":"$input","type":"string","description":"The string to encode."}],"return":{"type":"string","description":"Encoded string."},"static":true,"since":"2.0.12"},"basename":{"signature":"public static function basename(string $path, string $suffix = ''): string","summary":"Returns the trailing name component of a path.","params":[{"name":"$path","type":"string","description":"A path string."},{"name":"$suffix","type":"string","default":"''","optional":true,"description":"If the name component ends in suffix this will also be cut off."}],"return":{"type":"string","description":"The trailing name component of the given path."},"static":true},"byteLength":{"signature":"public static function byteLength(string $string): int","summary":"Returns the number of bytes in the given string.","params":[{"name":"$string","type":"string","description":"The string being measured for length"}],"return":{"type":"int","description":"The number of bytes in the given string."},"static":true},"byteSubstr":{"signature":"public static function byteSubstr(string $string, int $start, int|null $length = null): string","summary":"Returns the portion of string specified by the start and length parameters.","params":[{"name":"$string","type":"string","description":"The input string. Must be one character or longer."},{"name":"$start","type":"int","description":"The starting position"},{"name":"$length","type":"int|null","default":"null","optional":true,"description":"The desired portion length. If not specified or `null`, there will be no limit on length i.e. the output will be until the end of the string."}],"return":{"type":"string","description":"The extracted part of string, or FALSE on failure or an empty string."},"static":true},"convertIniSizeToBytes":{"signature":"public static function convertIniSizeToBytes(string $string): int","summary":"Converts php.ini style size to bytes.","params":[{"name":"$string","type":"string","description":"Php.ini style size. Examples: `512M`, `1024K`, `1G`, `256`."}],"return":{"type":"int","description":"The number of bytes equivalent to the specified string."},"static":true,"since":"2.0.54"},"countWords":{"signature":"public static function countWords(string $string): int","summary":"Counts words in a string.","params":[{"name":"$string","type":"string","description":"The text to calculate"}],"return":{"type":"int"},"static":true,"since":"2.0.8"},"dirname":{"signature":"public static function dirname(string $path): string","summary":"Returns parent directory's path.","params":[{"name":"$path","type":"string","description":"A path string."}],"return":{"type":"string","description":"The parent directory's path."},"static":true},"endsWith":{"signature":"public static function endsWith(string $string, string $with, bool $caseSensitive = true): bool","summary":"Check if given string ends with specified substring. Binary and multibyte safe.","params":[{"name":"$string","type":"string","description":"Input string to check"},{"name":"$with","type":"string","description":"Part to search inside of the `$string`."},{"name":"$caseSensitive","type":"bool","default":"true","optional":true,"description":"Case sensitive search. Default is true. When case sensitive is enabled, `$with` must exactly match the ending of the string in order to get a true value."}],"return":{"type":"bool","description":"Returns true if first input ends with second input, false otherwise"},"static":true},"explode":{"signature":"public static function explode(string $string, string $delimiter = ',', mixed $trim = true, bool $skipEmpty = false): array","summary":"Explodes string into array, optionally trims values and skips empty ones.","params":[{"name":"$string","type":"string","description":"String to be exploded."},{"name":"$delimiter","type":"string","default":"','","optional":true,"description":"Delimiter. Default is ','."},{"name":"$trim","type":"mixed","default":"true","optional":true,"description":"Whether to trim each element. Can be: - boolean - to trim normally; - string - custom characters to trim. Will be passed as a second argument to `trim()` function. - callable - will be called for each value instead of trim. Takes the only argument - value."},{"name":"$skipEmpty","type":"bool","default":"false","optional":true,"description":"Whether to skip empty strings between delimiters. Default is false."}],"return":{"type":"array"},"static":true,"since":"2.0.4"},"findBetween":{"signature":"public static function findBetween(string $string, string $start, string $end): string|null","summary":"Returns the portion of the string that lies between the first occurrence of the start string and the last occurrence of the end string after that.","params":[{"name":"$string","type":"string","description":"The input string."},{"name":"$start","type":"string","description":"The string marking the start of the portion to extract."},{"name":"$end","type":"string","description":"The string marking the end of the portion to extract."}],"return":{"type":"string|null","description":"The portion of the string between the first occurrence of start and the last occurrence of end, or null if either start or end cannot be found."},"static":true},"floatToString":{"signature":"public static function floatToString(float|int $number): string","summary":"Safely casts a float to string independent of the current locale.","params":[{"name":"$number","type":"float|int","description":"A floating point number or integer."}],"return":{"type":"string","description":"The string representation of the number."},"static":true,"since":"2.0.13"},"mask":{"signature":"public static function mask(string $string, int $start, int $length, string $mask = '*'): string","summary":"Masks a portion of a string with a repeated character.","params":[{"name":"$string","type":"string","description":"The input string."},{"name":"$start","type":"int","description":"The starting position from where to begin masking. This can be a positive or negative integer. Positive values count from the beginning, negative values count from the end of the string."},{"name":"$length","type":"int","description":"The length of the section to be masked. The masking will start from the $start position and continue for $length characters."},{"name":"$mask","type":"string","default":"'*'","optional":true,"description":"The character to use for masking. The default is '*'."}],"return":{"type":"string","description":"The masked string."},"static":true},"matchWildcard":{"signature":"public static function matchWildcard(string $pattern, string $string, array $options = []): bool","summary":"Checks if the passed string would match the given shell wildcard pattern.","params":[{"name":"$pattern","type":"string","description":"The shell wildcard pattern."},{"name":"$string","type":"string","description":"The tested string."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for matching. Valid options are: - caseSensitive: bool, whether pattern should be case sensitive. Defaults to `true`. - escape: bool, whether backslash escaping is enabled. Defaults to `true`. - filePath: bool, whether slashes in string only matches slashes in the given pattern. Defaults to `false`."}],"return":{"type":"bool","description":"Whether the string matches pattern or not."},"static":true,"since":"2.0.14"},"mb_ucfirst":{"signature":"public static function mb_ucfirst(string $string, string $encoding = 'UTF-8'): string","summary":"This method provides a unicode-safe implementation of built-in PHP function `ucfirst()`.","params":[{"name":"$string","type":"string","description":"The string to be proceeded"},{"name":"$encoding","type":"string","default":"'UTF-8'","optional":true,"description":"Optional, defaults to \"UTF-8\""}],"return":{"type":"string"},"static":true,"since":"2.0.16"},"mb_ucwords":{"signature":"public static function mb_ucwords(string $string, string $encoding = 'UTF-8'): string","summary":"This method provides a unicode-safe implementation of built-in PHP function `ucwords()`.","params":[{"name":"$string","type":"string","description":"The string to be proceeded"},{"name":"$encoding","type":"string","default":"'UTF-8'","optional":true,"description":"Optional, defaults to \"UTF-8\""}],"return":{"type":"string"},"static":true,"since":"2.0.16"},"normalizeNumber":{"signature":"public static function normalizeNumber(int|float|string $value): string","summary":"Returns string representation of number value with replaced commas to dots, if decimal point of current locale is comma.","params":[{"name":"$value","type":"int|float|string","description":"The value to normalize."}],"return":{"type":"string"},"static":true,"since":"2.0.11"},"startsWith":{"signature":"public static function startsWith(string $string, string $with, bool $caseSensitive = true): bool","summary":"Check if given string starts with specified substring. Binary and multibyte safe.","params":[{"name":"$string","type":"string","description":"Input string"},{"name":"$with","type":"string","description":"Part to search inside the $string"},{"name":"$caseSensitive","type":"bool","default":"true","optional":true,"description":"Case sensitive search. Default is true. When case sensitive is enabled, `$with` must exactly match the starting of the string in order to get a true value."}],"return":{"type":"bool","description":"Returns true if first input starts with second input, false otherwise"},"static":true},"truncate":{"signature":"public static function truncate(string $string, int $length, string $suffix = '...', string|null $encoding = null, bool $asHtml = false): string","summary":"Truncates a string to the number of characters specified.","params":[{"name":"$string","type":"string","description":"The string to truncate."},{"name":"$length","type":"int","description":"How many characters from original string to include into truncated string."},{"name":"$suffix","type":"string","default":"'...'","optional":true,"description":"String to append to the end of truncated string."},{"name":"$encoding","type":"string|null","default":"null","optional":true,"description":"The charset to use, defaults to charset currently used by application."},{"name":"$asHtml","type":"bool","default":"false","optional":true,"description":"Whether to treat the string being truncated as HTML and preserve proper HTML tags. This parameter is available since version 2.0.1."}],"return":{"type":"string","description":"The truncated string."},"static":true},"truncateHtml":{"signature":"protected static function truncateHtml(string $string, int $count, string $suffix, string|bool $encoding = false): string","summary":"Truncate a string while preserving the HTML.","params":[{"name":"$string","type":"string","description":"The string to truncate"},{"name":"$count","type":"int","description":"The counter"},{"name":"$suffix","type":"string","description":"String to append to the end of the truncated string."},{"name":"$encoding","type":"string|bool","default":"false","optional":true,"description":"Encoding flag or charset."}],"return":{"type":"string"},"visibility":"protected","static":true,"since":"2.0.1"},"truncateWords":{"signature":"public static function truncateWords(string $string, int $count, string $suffix = '...', bool $asHtml = false): string","summary":"Truncates a string to the number of words specified.","params":[{"name":"$string","type":"string","description":"The string to truncate."},{"name":"$count","type":"int","description":"How many words from original string to include into truncated string."},{"name":"$suffix","type":"string","default":"'...'","optional":true,"description":"String to append to the end of truncated string."},{"name":"$asHtml","type":"bool","default":"false","optional":true,"description":"Whether to treat the string being truncated as HTML and preserve proper HTML tags. This parameter is available since version 2.0.1."}],"return":{"type":"string","description":"The truncated string."},"static":true}}},"yii\\helpers\\BaseUrl":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/baseurl/","summary":"BaseUrl provides concrete implementation for `yii\\helpers\\Url`.","since":"2.0","properties":{"urlManager":{"type":"yii\\web\\UrlManager","default":"null","description":"URL manager to use for creating URLs","static":true,"since":"2.0.8"}},"methods":{"base":{"signature":"public static function base(bool|string $scheme = false): string","summary":"Returns the base URL of the current request.","params":[{"name":"$scheme","type":"bool|string","default":"false","optional":true,"description":"The URI scheme to use in the returned base URL: - `false` (default): returning the base URL without host info. - `true`: returning an absolute base URL whose scheme is the same as that in `yii\\web\\UrlManager::$hostInfo`. - string: returning an absolute base URL with the specified scheme (either `http`, `https` or empty string for protocol-relative URL)."}],"return":{"type":"string"},"static":true},"canonical":{"signature":"public static function canonical(): string","summary":"Returns the canonical URL of the currently requested page.","return":{"type":"string","description":"The canonical URL of the currently requested page"},"static":true},"current":{"signature":"public static function current(array $params = [], bool|string $scheme = false): string","summary":"Creates a URL by using the current route and the GET parameters.","params":[{"name":"$params","type":"array","default":"[]","optional":true,"description":"An associative array of parameters that will be merged with the current GET parameters. If a parameter value is null, the corresponding GET parameter will be removed."},{"name":"$scheme","type":"bool|string","default":"false","optional":true,"description":"The URI scheme to use in the generated URL: - `false` (default): generating a relative URL. - `true`: returning an absolute base URL whose scheme is the same as that in `yii\\web\\UrlManager::$hostInfo`. - string: generating an absolute URL with the specified scheme (either `http`, `https` or empty string for protocol-relative URL)."}],"return":{"type":"string","description":"The generated URL"},"static":true,"since":"2.0.3"},"ensureScheme":{"signature":"public static function ensureScheme(string $url, string $scheme): string","summary":"Normalize the URL by ensuring it uses specified scheme.","params":[{"name":"$url","type":"string","description":"The URL to process"},{"name":"$scheme","type":"string","description":"The URI scheme used in the URL (e.g. `http` or `https`). Use an empty string to create protocol-relative URL (e.g. `//example.com/path`)"}],"return":{"type":"string","description":"The processed URL"},"static":true,"since":"2.0.11"},"getUrlManager":{"signature":"protected static function getUrlManager(): yii\\web\\UrlManager","return":{"type":"yii\\web\\UrlManager","description":"URL manager used to create URLs"},"visibility":"protected","static":true,"since":"2.0.8"},"home":{"signature":"public static function home(bool|string $scheme = false): string","summary":"Returns the home URL.","params":[{"name":"$scheme","type":"bool|string","default":"false","optional":true,"description":"The URI scheme to use for the returned URL: - `false` (default): returning a relative URL. - `true`: returning an absolute base URL whose scheme is the same as that in `yii\\web\\UrlManager::$hostInfo`. - string: returning an absolute URL with the specified scheme (either `http`, `https` or empty string for protocol-relative URL)."}],"return":{"type":"string","description":"Home URL"},"static":true},"isRelative":{"signature":"public static function isRelative(string $url): bool","summary":"Returns a value indicating whether a URL is relative.","params":[{"name":"$url","type":"string","description":"The URL to be checked"}],"return":{"type":"bool","description":"Whether the URL is relative"},"static":true},"normalizeRoute":{"signature":"protected static function normalizeRoute(string $route): string","summary":"Normalizes route and makes it suitable for UrlManager. Absolute routes are staying as is while relative routes are converted to absolute ones.","params":[{"name":"$route","type":"string","description":"The route. This can be either an absolute route or a relative route."}],"return":{"type":"string","description":"Normalized route suitable for UrlManager"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"a relative route is given while there is no active controller"}],"visibility":"protected","static":true},"previous":{"signature":"public static function previous(string|null $name = null): string|null","summary":"Returns the URL previously remembered (`remember()`).","params":[{"name":"$name","type":"string|null","default":"null","optional":true,"description":"The named associated with the URL that was remembered previously. If not set, `yii\\web\\User::getReturnUrl()` will be used to obtain remembered URL."}],"return":{"type":"string|null","description":"The URL previously remembered. Null is returned if no URL was remembered with the given name and `$name` is not specified."},"static":true},"remember":{"signature":"public static function remember(string|array $url = '', string|null $name = null): mixed","summary":"Remembers the specified URL so that it can be later fetched back by `previous()`.","params":[{"name":"$url","type":"string|array","default":"''","optional":true,"description":"The URL to remember. Please refer to `to()` for acceptable formats. If this parameter is not specified, the currently requested URL will be used."},{"name":"$name","type":"string|null","default":"null","optional":true,"description":"The name associated with the URL to be remembered. This can be used later by `previous()`. If not set, `yii\\web\\User::setReturnUrl()` will be used with passed URL."}],"return":{"type":"mixed"},"static":true},"resolveCurrentRoute":{"signature":"protected static function resolveCurrentRoute(): string","summary":"Resolves the route of the currently requested page.","return":{"type":"string","description":"Route of the currently requested page, without a leading slash."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if no controller is active and `yii\\base\\Application::$requestedRoute` is empty."}],"visibility":"protected","static":true,"since":"22.0"},"to":{"signature":"public static function to(array|string $url = '', bool|string $scheme = false): string","summary":"Creates a URL based on the given parameters.","params":[{"name":"$url","type":"array|string","default":"''","optional":true,"description":"The parameter to be used to generate a valid URL"},{"name":"$scheme","type":"bool|string","default":"false","optional":true,"description":"The URI scheme to use in the generated URL: - `false` (default): generating a relative URL. - `true`: returning an absolute base URL whose scheme is the same as that in `yii\\web\\UrlManager::$hostInfo`. - string: generating an absolute URL with the specified scheme (either `http`, `https` or empty string for protocol-relative URL)."}],"return":{"type":"string","description":"The generated URL"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"a relative route is given while there is no active controller"}],"static":true},"toRoute":{"signature":"public static function toRoute(string|array $route, bool|string $scheme = false): string","summary":"Creates a URL for the given route.","params":[{"name":"$route","type":"string|array","description":"Use a string to represent a route (e.g. `index`, `site/index`), or an array to represent a route with query parameters (e.g. `['site/index', 'param1' => 'value1']`)."},{"name":"$scheme","type":"bool|string","default":"false","optional":true,"description":"The URI scheme to use in the generated URL: - `false` (default): generating a relative URL. - `true`: returning an absolute base URL whose scheme is the same as that in `yii\\web\\UrlManager::$hostInfo`. - string: generating an absolute URL with the specified scheme (either `http`, `https` or empty string for protocol-relative URL)."}],"return":{"type":"string","description":"The generated URL"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"a relative route is given while there is no active controller"}],"static":true}}},"yii\\helpers\\BaseVarDumper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/basevardumper/","summary":"BaseVarDumper provides concrete implementation for `yii\\helpers\\VarDumper`.","since":"2.0","methods":{"dump":{"signature":"public static function dump(mixed $var, int $depth = 10, bool $highlight = false): mixed","summary":"Displays a variable.","params":[{"name":"$var","type":"mixed","description":"Variable to be dumped"},{"name":"$depth","type":"int","default":"10","optional":true,"description":"Maximum depth that the dumper should go into the variable. Defaults to 10."},{"name":"$highlight","type":"bool","default":"false","optional":true,"description":"Whether the result should be syntax-highlighted"}],"return":{"type":"mixed"},"static":true},"dumpAsString":{"signature":"public static function dumpAsString(mixed $var, int $depth = 10, bool $highlight = false): string","summary":"Dumps a variable in terms of a string.","params":[{"name":"$var","type":"mixed","description":"Variable to be dumped"},{"name":"$depth","type":"int","default":"10","optional":true,"description":"Maximum depth that the dumper should go into the variable. Defaults to 10."},{"name":"$highlight","type":"bool","default":"false","optional":true,"description":"Whether the result should be syntax-highlighted"}],"return":{"type":"string","description":"The string representation of the variable"},"static":true},"export":{"signature":"public static function export(mixed $var): string","summary":"Exports a variable as a string representation.","params":[{"name":"$var","type":"mixed","description":"The variable to be exported."}],"return":{"type":"string","description":"A string representation of the variable"},"static":true}}},"yii\\helpers\\Console":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/console/","summary":"Console helper provides useful methods for command line related tasks such as getting input or formatting and coloring output.","since":"2.0","extends":"yii\\helpers\\BaseConsole","inherited":{"methods":{"ansiColorizedSubstr":"yii\\helpers\\BaseConsole","ansiFormat":"yii\\helpers\\BaseConsole","ansiFormatCode":"yii\\helpers\\BaseConsole","ansiStrlen":"yii\\helpers\\BaseConsole","ansiStrwidth":"yii\\helpers\\BaseConsole","ansiToHtml":"yii\\helpers\\BaseConsole","beginAnsiFormat":"yii\\helpers\\BaseConsole","clearLine":"yii\\helpers\\BaseConsole","clearLineAfterCursor":"yii\\helpers\\BaseConsole","clearLineBeforeCursor":"yii\\helpers\\BaseConsole","clearScreen":"yii\\helpers\\BaseConsole","clearScreenAfterCursor":"yii\\helpers\\BaseConsole","clearScreenBeforeCursor":"yii\\helpers\\BaseConsole","confirm":"yii\\helpers\\BaseConsole","endAnsiFormat":"yii\\helpers\\BaseConsole","endProgress":"yii\\helpers\\BaseConsole","error":"yii\\helpers\\BaseConsole","errorSummary":"yii\\helpers\\BaseConsole","escape":"yii\\helpers\\BaseConsole","getScreenSize":"yii\\helpers\\BaseConsole","hideCursor":"yii\\helpers\\BaseConsole","input":"yii\\helpers\\BaseConsole","isRunningOnWindows":"yii\\helpers\\BaseConsole","markdownToAnsi":"yii\\helpers\\BaseConsole","moveCursorBackward":"yii\\helpers\\BaseConsole","moveCursorDown":"yii\\helpers\\BaseConsole","moveCursorForward":"yii\\helpers\\BaseConsole","moveCursorNextLine":"yii\\helpers\\BaseConsole","moveCursorPrevLine":"yii\\helpers\\BaseConsole","moveCursorTo":"yii\\helpers\\BaseConsole","moveCursorUp":"yii\\helpers\\BaseConsole","output":"yii\\helpers\\BaseConsole","prompt":"yii\\helpers\\BaseConsole","renderColoredString":"yii\\helpers\\BaseConsole","restoreCursorPosition":"yii\\helpers\\BaseConsole","saveCursorPosition":"yii\\helpers\\BaseConsole","scrollDown":"yii\\helpers\\BaseConsole","scrollUp":"yii\\helpers\\BaseConsole","select":"yii\\helpers\\BaseConsole","showCursor":"yii\\helpers\\BaseConsole","startProgress":"yii\\helpers\\BaseConsole","stderr":"yii\\helpers\\BaseConsole","stdin":"yii\\helpers\\BaseConsole","stdout":"yii\\helpers\\BaseConsole","streamSupportsAnsiColors":"yii\\helpers\\BaseConsole","stripAnsiFormat":"yii\\helpers\\BaseConsole","updateProgress":"yii\\helpers\\BaseConsole","wrapText":"yii\\helpers\\BaseConsole","xtermBgColor":"yii\\helpers\\BaseConsole","xtermFgColor":"yii\\helpers\\BaseConsole"},"constants":{"FG_BLACK":"yii\\helpers\\BaseConsole","FG_RED":"yii\\helpers\\BaseConsole","FG_GREEN":"yii\\helpers\\BaseConsole","FG_YELLOW":"yii\\helpers\\BaseConsole","FG_BLUE":"yii\\helpers\\BaseConsole","FG_PURPLE":"yii\\helpers\\BaseConsole","FG_CYAN":"yii\\helpers\\BaseConsole","FG_GREY":"yii\\helpers\\BaseConsole","BG_BLACK":"yii\\helpers\\BaseConsole","BG_RED":"yii\\helpers\\BaseConsole","BG_GREEN":"yii\\helpers\\BaseConsole","BG_YELLOW":"yii\\helpers\\BaseConsole","BG_BLUE":"yii\\helpers\\BaseConsole","BG_PURPLE":"yii\\helpers\\BaseConsole","BG_CYAN":"yii\\helpers\\BaseConsole","BG_GREY":"yii\\helpers\\BaseConsole","RESET":"yii\\helpers\\BaseConsole","NORMAL":"yii\\helpers\\BaseConsole","BOLD":"yii\\helpers\\BaseConsole","ITALIC":"yii\\helpers\\BaseConsole","UNDERLINE":"yii\\helpers\\BaseConsole","BLINK":"yii\\helpers\\BaseConsole","NEGATIVE":"yii\\helpers\\BaseConsole","CONCEALED":"yii\\helpers\\BaseConsole","CROSSED_OUT":"yii\\helpers\\BaseConsole","FRAMED":"yii\\helpers\\BaseConsole","ENCIRCLED":"yii\\helpers\\BaseConsole","OVERLINED":"yii\\helpers\\BaseConsole"}}},"yii\\helpers\\FileHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/filehelper/","summary":"File system helper.","since":"2.0","extends":"yii\\helpers\\BaseFileHelper","inherited":{"properties":{"mimeAliasesFile":"yii\\helpers\\BaseFileHelper","mimeExtensionsFile":"yii\\helpers\\BaseFileHelper","mimeMagicFile":"yii\\helpers\\BaseFileHelper"},"methods":{"changeOwnership":"yii\\helpers\\BaseFileHelper","copyDirectory":"yii\\helpers\\BaseFileHelper","createDirectory":"yii\\helpers\\BaseFileHelper","filterPath":"yii\\helpers\\BaseFileHelper","findDirectories":"yii\\helpers\\BaseFileHelper","findFiles":"yii\\helpers\\BaseFileHelper","getExtensionByMimeType":"yii\\helpers\\BaseFileHelper","getExtensionsByMimeType":"yii\\helpers\\BaseFileHelper","getMimeType":"yii\\helpers\\BaseFileHelper","getMimeTypeByExtension":"yii\\helpers\\BaseFileHelper","loadMimeAliases":"yii\\helpers\\BaseFileHelper","loadMimeExtensions":"yii\\helpers\\BaseFileHelper","loadMimeTypes":"yii\\helpers\\BaseFileHelper","localize":"yii\\helpers\\BaseFileHelper","normalizeOptions":"yii\\helpers\\BaseFileHelper","normalizePath":"yii\\helpers\\BaseFileHelper","removeDirectory":"yii\\helpers\\BaseFileHelper","unlink":"yii\\helpers\\BaseFileHelper"},"constants":{"PATTERN_NODIR":"yii\\helpers\\BaseFileHelper","PATTERN_ENDSWITH":"yii\\helpers\\BaseFileHelper","PATTERN_MUSTBEDIR":"yii\\helpers\\BaseFileHelper","PATTERN_NEGATIVE":"yii\\helpers\\BaseFileHelper","PATTERN_CASE_INSENSITIVE":"yii\\helpers\\BaseFileHelper"}}},"yii\\helpers\\FormatConverter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/formatconverter/","summary":"FormatConverter provides functionality to convert between different formatting pattern formats.","since":"2.0","extends":"yii\\helpers\\BaseFormatConverter","inherited":{"properties":{"juiFallbackDatePatterns":"yii\\helpers\\BaseFormatConverter","phpFallbackDatePatterns":"yii\\helpers\\BaseFormatConverter"},"methods":{"convertDateIcuToJui":"yii\\helpers\\BaseFormatConverter","convertDateIcuToPhp":"yii\\helpers\\BaseFormatConverter","convertDatePhpToIcu":"yii\\helpers\\BaseFormatConverter","convertDatePhpToJui":"yii\\helpers\\BaseFormatConverter"}}},"yii\\helpers\\Html":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/html/","summary":"Html provides a set of static methods for generating commonly used HTML tags.","since":"2.0","extends":"yii\\helpers\\BaseHtml","inherited":{"properties":{"attributeOrder":"yii\\helpers\\BaseHtml","attributeRegex":"yii\\helpers\\BaseHtml","dataAttributes":"yii\\helpers\\BaseHtml","normalizeClassAttribute":"yii\\helpers\\BaseHtml","voidElements":"yii\\helpers\\BaseHtml"},"methods":{"a":"yii\\helpers\\BaseHtml","activeBooleanInput":"yii\\helpers\\BaseHtml","activeCheckbox":"yii\\helpers\\BaseHtml","activeCheckboxList":"yii\\helpers\\BaseHtml","activeDropDownList":"yii\\helpers\\BaseHtml","activeFileInput":"yii\\helpers\\BaseHtml","activeHiddenInput":"yii\\helpers\\BaseHtml","activeHint":"yii\\helpers\\BaseHtml","activeInput":"yii\\helpers\\BaseHtml","activeLabel":"yii\\helpers\\BaseHtml","activeListBox":"yii\\helpers\\BaseHtml","activeListInput":"yii\\helpers\\BaseHtml","activePasswordInput":"yii\\helpers\\BaseHtml","activeRadio":"yii\\helpers\\BaseHtml","activeRadioList":"yii\\helpers\\BaseHtml","activeTextarea":"yii\\helpers\\BaseHtml","activeTextInput":"yii\\helpers\\BaseHtml","addCssClass":"yii\\helpers\\BaseHtml","addCssStyle":"yii\\helpers\\BaseHtml","beginForm":"yii\\helpers\\BaseHtml","beginTag":"yii\\helpers\\BaseHtml","booleanInput":"yii\\helpers\\BaseHtml","button":"yii\\helpers\\BaseHtml","buttonInput":"yii\\helpers\\BaseHtml","checkbox":"yii\\helpers\\BaseHtml","checkboxList":"yii\\helpers\\BaseHtml","csrfMetaTags":"yii\\helpers\\BaseHtml","cssFile":"yii\\helpers\\BaseHtml","cssStyleFromArray":"yii\\helpers\\BaseHtml","cssStyleToArray":"yii\\helpers\\BaseHtml","decode":"yii\\helpers\\BaseHtml","dropDownList":"yii\\helpers\\BaseHtml","encode":"yii\\helpers\\BaseHtml","endForm":"yii\\helpers\\BaseHtml","endTag":"yii\\helpers\\BaseHtml","error":"yii\\helpers\\BaseHtml","errorSummary":"yii\\helpers\\BaseHtml","escapeJsRegularExpression":"yii\\helpers\\BaseHtml","fileInput":"yii\\helpers\\BaseHtml","getAttributeName":"yii\\helpers\\BaseHtml","getAttributeValue":"yii\\helpers\\BaseHtml","getInputId":"yii\\helpers\\BaseHtml","getInputIdByName":"yii\\helpers\\BaseHtml","getInputName":"yii\\helpers\\BaseHtml","hiddenInput":"yii\\helpers\\BaseHtml","img":"yii\\helpers\\BaseHtml","input":"yii\\helpers\\BaseHtml","jsFile":"yii\\helpers\\BaseHtml","label":"yii\\helpers\\BaseHtml","listBox":"yii\\helpers\\BaseHtml","mailto":"yii\\helpers\\BaseHtml","ol":"yii\\helpers\\BaseHtml","passwordInput":"yii\\helpers\\BaseHtml","radio":"yii\\helpers\\BaseHtml","radioList":"yii\\helpers\\BaseHtml","removeCssClass":"yii\\helpers\\BaseHtml","removeCssStyle":"yii\\helpers\\BaseHtml","renderSelectOptions":"yii\\helpers\\BaseHtml","renderTagAttributes":"yii\\helpers\\BaseHtml","resetButton":"yii\\helpers\\BaseHtml","resetInput":"yii\\helpers\\BaseHtml","script":"yii\\helpers\\BaseHtml","setActivePlaceholder":"yii\\helpers\\BaseHtml","style":"yii\\helpers\\BaseHtml","submitButton":"yii\\helpers\\BaseHtml","submitInput":"yii\\helpers\\BaseHtml","tag":"yii\\helpers\\BaseHtml","textarea":"yii\\helpers\\BaseHtml","textInput":"yii\\helpers\\BaseHtml","ul":"yii\\helpers\\BaseHtml"}}},"yii\\helpers\\HtmlPurifier":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/htmlpurifier/","summary":"HtmlPurifier provides an ability to clean up HTML from any harmful code.","since":"2.0","extends":"yii\\helpers\\BaseHtmlPurifier","inherited":{"methods":{"configure":"yii\\helpers\\BaseHtmlPurifier","process":"yii\\helpers\\BaseHtmlPurifier"}}},"yii\\helpers\\Inflector":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/inflector/","summary":"Inflector pluralizes and singularizes English nouns. It also contains some other useful methods.","since":"2.0","extends":"yii\\helpers\\BaseInflector","inherited":{"properties":{"plurals":"yii\\helpers\\BaseInflector","singulars":"yii\\helpers\\BaseInflector","specials":"yii\\helpers\\BaseInflector","transliteration":"yii\\helpers\\BaseInflector","transliterator":"yii\\helpers\\BaseInflector"},"methods":{"camel2id":"yii\\helpers\\BaseInflector","camel2words":"yii\\helpers\\BaseInflector","camelize":"yii\\helpers\\BaseInflector","classify":"yii\\helpers\\BaseInflector","hasIntl":"yii\\helpers\\BaseInflector","humanize":"yii\\helpers\\BaseInflector","id2camel":"yii\\helpers\\BaseInflector","ordinalize":"yii\\helpers\\BaseInflector","pluralize":"yii\\helpers\\BaseInflector","sentence":"yii\\helpers\\BaseInflector","singularize":"yii\\helpers\\BaseInflector","slug":"yii\\helpers\\BaseInflector","tableize":"yii\\helpers\\BaseInflector","titleize":"yii\\helpers\\BaseInflector","transliterate":"yii\\helpers\\BaseInflector","underscore":"yii\\helpers\\BaseInflector","variablize":"yii\\helpers\\BaseInflector"},"constants":{"TRANSLITERATE_STRICT":"yii\\helpers\\BaseInflector","TRANSLITERATE_MEDIUM":"yii\\helpers\\BaseInflector","TRANSLITERATE_LOOSE":"yii\\helpers\\BaseInflector"}}},"yii\\helpers\\IpHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/iphelper/","summary":"Class IpHelper provides a set of IP-related static methods.","since":"2.0.14","extends":"yii\\helpers\\BaseIpHelper","inherited":{"methods":{"expandIPv6":"yii\\helpers\\BaseIpHelper","getIpVersion":"yii\\helpers\\BaseIpHelper","inRange":"yii\\helpers\\BaseIpHelper","ip2bin":"yii\\helpers\\BaseIpHelper"},"constants":{"IPV4":"yii\\helpers\\BaseIpHelper","IPV6":"yii\\helpers\\BaseIpHelper","IPV6_ADDRESS_LENGTH":"yii\\helpers\\BaseIpHelper","IPV4_ADDRESS_LENGTH":"yii\\helpers\\BaseIpHelper"}}},"yii\\helpers\\Json":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/json/","summary":"Json is a helper class providing JSON data encoding and decoding.","since":"2.0","extends":"yii\\helpers\\BaseJson","inherited":{"properties":{"jsonErrorMessages":"yii\\helpers\\BaseJson","keepObjectType":"yii\\helpers\\BaseJson","prettyPrint":"yii\\helpers\\BaseJson"},"methods":{"decode":"yii\\helpers\\BaseJson","encode":"yii\\helpers\\BaseJson","errorSummary":"yii\\helpers\\BaseJson","handleJsonError":"yii\\helpers\\BaseJson","htmlEncode":"yii\\helpers\\BaseJson","processData":"yii\\helpers\\BaseJson"}}},"yii\\helpers\\Markdown":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/markdown/","summary":"Markdown provides an ability to transform markdown into HTML.","since":"2.0","extends":"yii\\helpers\\BaseMarkdown","inherited":{"properties":{"defaultFlavor":"yii\\helpers\\BaseMarkdown","flavors":"yii\\helpers\\BaseMarkdown"},"methods":{"getParser":"yii\\helpers\\BaseMarkdown","process":"yii\\helpers\\BaseMarkdown","processParagraph":"yii\\helpers\\BaseMarkdown"}}},"yii\\helpers\\ReplaceArrayValue":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/replacearrayvalue/","summary":"Object that represents the replacement of array value while performing `yii\\helpers\\ArrayHelper::merge()`.","since":"2.0.10","properties":{"value":{"type":"mixed","default":"null","description":"Value used as replacement."}},"methods":{"__construct":{"signature":"public function __construct(mixed $value)","summary":"Constructor.","params":[{"name":"$value","type":"mixed","description":"Value used as replacement."}]},"__set_state":{"signature":"public static function __set_state(array $state): yii\\helpers\\ReplaceArrayValue","summary":"Restores class state after using `var_export()`.","params":[{"name":"$state","type":"array"}],"return":{"type":"yii\\helpers\\ReplaceArrayValue"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"when $state property does not contain `value` parameter"}],"static":true,"since":"2.0.16"}}},"yii\\helpers\\StringHelper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/stringhelper/","summary":"StringHelper.","since":"2.0","extends":"yii\\helpers\\BaseStringHelper","inherited":{"methods":{"base64UrlDecode":"yii\\helpers\\BaseStringHelper","base64UrlEncode":"yii\\helpers\\BaseStringHelper","basename":"yii\\helpers\\BaseStringHelper","byteLength":"yii\\helpers\\BaseStringHelper","byteSubstr":"yii\\helpers\\BaseStringHelper","convertIniSizeToBytes":"yii\\helpers\\BaseStringHelper","countWords":"yii\\helpers\\BaseStringHelper","dirname":"yii\\helpers\\BaseStringHelper","endsWith":"yii\\helpers\\BaseStringHelper","explode":"yii\\helpers\\BaseStringHelper","findBetween":"yii\\helpers\\BaseStringHelper","floatToString":"yii\\helpers\\BaseStringHelper","mask":"yii\\helpers\\BaseStringHelper","matchWildcard":"yii\\helpers\\BaseStringHelper","mb_ucfirst":"yii\\helpers\\BaseStringHelper","mb_ucwords":"yii\\helpers\\BaseStringHelper","normalizeNumber":"yii\\helpers\\BaseStringHelper","startsWith":"yii\\helpers\\BaseStringHelper","truncate":"yii\\helpers\\BaseStringHelper","truncateHtml":"yii\\helpers\\BaseStringHelper","truncateWords":"yii\\helpers\\BaseStringHelper"}}},"yii\\helpers\\UnsetArrayValue":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/unsetarrayvalue/","summary":"Object that represents the removal of array value while performing `yii\\helpers\\ArrayHelper::merge()`.","since":"2.0.10","methods":{"__set_state":{"signature":"public static function __set_state(array $state): yii\\helpers\\UnsetArrayValue","summary":"Restores class state after using `var_export()`.","params":[{"name":"$state","type":"array"}],"return":{"type":"yii\\helpers\\UnsetArrayValue"},"static":true,"since":"2.0.16"}}},"yii\\helpers\\Url":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/url/","summary":"Url provides a set of static methods for managing URLs.","since":"2.0","extends":"yii\\helpers\\BaseUrl","inherited":{"properties":{"urlManager":"yii\\helpers\\BaseUrl"},"methods":{"base":"yii\\helpers\\BaseUrl","canonical":"yii\\helpers\\BaseUrl","current":"yii\\helpers\\BaseUrl","ensureScheme":"yii\\helpers\\BaseUrl","getUrlManager":"yii\\helpers\\BaseUrl","home":"yii\\helpers\\BaseUrl","isRelative":"yii\\helpers\\BaseUrl","normalizeRoute":"yii\\helpers\\BaseUrl","previous":"yii\\helpers\\BaseUrl","remember":"yii\\helpers\\BaseUrl","resolveCurrentRoute":"yii\\helpers\\BaseUrl","to":"yii\\helpers\\BaseUrl","toRoute":"yii\\helpers\\BaseUrl"}}},"yii\\helpers\\VarDumper":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/helpers/vardumper/","summary":"VarDumper is intended to replace the buggy PHP function var_dump and print_r.","since":"2.0","extends":"yii\\helpers\\BaseVarDumper","inherited":{"methods":{"dump":"yii\\helpers\\BaseVarDumper","dumpAsString":"yii\\helpers\\BaseVarDumper","export":"yii\\helpers\\BaseVarDumper"}}},"yii\\i18n\\DbMessageSource":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/dbmessagesource/","summary":"DbMessageSource extends `yii\\i18n\\MessageSource` and represents a message source that stores translated messages in database.","since":"2.0","extends":"yii\\i18n\\MessageSource","implements":["yii\\base\\Configurable"],"properties":{"cache":{"type":"yii\\caching\\CacheInterface|array|string","default":"'cache'","description":"The cache object or the application component ID of the cache object."},"cachingDuration":{"type":"int","default":"0","description":"The time in seconds that the messages can remain valid in cache."},"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."},"enableCaching":{"type":"bool","default":"false","description":"Whether to enable caching translated messages"},"messageTable":{"type":"string","default":"'{{%message}}'","description":"The name of the translated message table."},"sourceMessageTable":{"type":"string","default":"'{{%source_message}}'","description":"The name of the source message table."}},"methods":{"createFallbackQuery":{"signature":"protected function createFallbackQuery(string $category, string $language, string $fallbackLanguage): yii\\db\\Query","summary":"The method builds the `yii\\db\\Query` object for the fallback language messages search.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$language","type":"string","description":"The originally requested language"},{"name":"$fallbackLanguage","type":"string","description":"The target fallback language"}],"return":{"type":"yii\\db\\Query"},"visibility":"protected","since":"2.0.7"},"init":{"signature":"public function init(): mixed","summary":"Initializes the DbMessageSource component.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is invalid or `$cache` is invalid."}]},"loadMessages":{"signature":"protected function loadMessages(string $category, string $language): array","summary":"Loads the message translation for the specified language and category.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$language","type":"string","description":"The target language"}],"return":{"type":"array","description":"The loaded messages. The keys are original messages, and the values are translated messages."},"visibility":"protected"},"loadMessagesFromDb":{"signature":"protected function loadMessagesFromDb(string $category, string $language): array","summary":"Loads the messages from database.","params":[{"name":"$category","type":"string","description":"The message category."},{"name":"$language","type":"string","description":"The target language."}],"return":{"type":"array","description":"The messages loaded from database."},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","forceTranslation":"yii\\i18n\\MessageSource","sourceLanguage":"yii\\i18n\\MessageSource"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","translate":"yii\\i18n\\MessageSource","translateMessage":"yii\\i18n\\MessageSource","trigger":"yii\\base\\Component"},"events":{"EVENT_MISSING_TRANSLATION":"yii\\i18n\\MessageSource"}}},"yii\\i18n\\Formatter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/formatter/","summary":"Formatter provides a set of commonly used data formatting methods.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"baseUnits":{"type":"array","default":"[self::UNIT_LENGTH => [self::UNIT_SYSTEM_IMPERIAL => 12, self::UNIT_SYSTEM_METRIC => 1000], self::UNIT_WEIGHT => [self::UNIT_SYSTEM_IMPERIAL => 7000, self::UNIT_SYSTEM_METRIC => 1000]]","description":"The base units that are used as multipliers for smallest possible unit from `$measureUnits`.","since":"2.0.13"},"booleanFormat":{"type":"array","default":"null","description":"The text to be displayed when formatting a boolean value."},"calendar":{"type":"IntlCalendar|int|null","default":"null","description":"The calendar to be used for date formatting.","since":"2.0.7"},"currencyCode":{"type":"string|null","default":"null","description":"The 3-letter ISO 4217 currency code indicating the default currency to use for `asCurrency()`."},"currencyDecimalSeparator":{"type":"string|null","default":"null","description":"The character displayed as the decimal point when formatting a currency.","since":"2.0.35"},"dateFormat":{"type":"string","default":"'medium'","description":"The default format string to be used to format a date (`asDate()`)."},"datetimeFormat":{"type":"string","default":"'medium'","description":"The default format string to be used to format a date and time (`asDatetime()`)."},"decimalSeparator":{"type":"string|null","default":"null","description":"The character displayed as the decimal point when formatting a number."},"defaultTimeZone":{"type":"string","default":"'UTC'","description":"The time zone that is assumed for input values if they do not include a time zone explicitly.","since":"2.0.1"},"language":{"type":"string|null","default":"null","description":"The language code (e.g. `en-US`, `en`) that is used to translate internal messages.","since":"2.0.28"},"locale":{"type":"string|null","default":"null","description":"The locale ID that is used to localize the date and number formatting."},"measureUnits":{"type":"array","default":"[self::UNIT_LENGTH => [self::UNIT_SYSTEM_IMPERIAL => ['inch' => 1, 'foot' => 12, 'yard' => 36, 'chain' => 792, 'furlong' => 7920, 'mile' => 63360], self::UNIT_SYSTEM_METRIC => ['millimeter' => 1, 'centimeter' => 10, 'meter' => 1000, 'kilometer' => 1000000]], self::UNIT_WEIGHT => [self::UNIT_SYSTEM_IMPERIAL => ['grain' => 1, 'drachm' => 27.34375, 'ounce' => 437.5, 'pound' => 7000, 'stone' => 98000, 'quarter' => 196000, 'hundredweight' => 784000, 'ton' => 15680000], self::UNIT_SYSTEM_METRIC => ['gram' => 1, 'kilogram' => 1000, 'ton' => 1000000]]]","description":"Configuration of weight and length measurement units.","since":"2.0.13"},"nullDisplay":{"type":"string|null","default":"null","description":"The text to be displayed when formatting a `null` value."},"numberFormatterOptions":{"type":"array","default":"[]","description":"A list of name value pairs that are passed to the intl [NumberFormatter::setAttribute()](https://www.php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by `createNumberFormatter()`."},"numberFormatterSymbols":{"type":"array","default":"[]","description":"A list of name value pairs that are passed to the intl [NumberFormatter::setSymbol()](https://www.php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by `createNumberFormatter()`.","since":"2.0.4"},"numberFormatterTextOptions":{"type":"array","default":"[]","description":"A list of name value pairs that are passed to the intl [NumberFormatter::setTextAttribute()](https://www.php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by `createNumberFormatter()`."},"sizeFormatBase":{"type":"int","default":"1024","description":"The base at which a kilobyte is calculated (1000 or 1024 bytes per kilobyte), used by `asSize()` and `asShortSize()`."},"systemOfUnits":{"type":"string","default":"self::UNIT_SYSTEM_METRIC","description":"Default system of measure units.","since":"2.0.13"},"thousandSeparator":{"type":"string|null","default":"null","description":"The character displayed as the thousands separator (also called grouping separator) character when formatting a number."},"timeFormat":{"type":"string","default":"'medium'","description":"The default format string to be used to format a time (`asTime()`)."},"timeZone":{"type":"string|null","default":"null","description":"The time zone to use for formatting time and date values."}},"methods":{"asBoolean":{"signature":"public function asBoolean(mixed $value): string","summary":"Formats the value as a boolean.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."}],"return":{"type":"string","description":"The formatted result."}},"asCurrency":{"signature":"public function asCurrency(mixed $value, string|null $currency = null, array $options = [], array $textOptions = []): string","summary":"Formats the value as a currency number.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."},{"name":"$currency","type":"string|null","default":"null","optional":true,"description":"The 3-letter ISO 4217 currency code indicating the currency to use. If null, `$currencyCode` will be used."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."},{"type":"yii\\base\\InvalidConfigException","description":"if no currency is given and `$currencyCode` is not defined."}]},"asCurrencyStringFallback":{"signature":"protected function asCurrencyStringFallback(string|int|float $value, string|null $currency = null): string","summary":"Fallback for formatting value as a currency number.","params":[{"name":"$value","type":"string|int|float","description":"The value to be formatted."},{"name":"$currency","type":"string|null","default":"null","optional":true,"description":"The 3-letter ISO 4217 currency code indicating the currency to use. If null, `$currencyCode` will be used."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if no currency is given and `$currencyCode` is not defined."}],"visibility":"protected","since":"2.0.16"},"asDate":{"signature":"public function asDate(int|string|DateTime|DateTimeInterface|null $value, string|null $format = null): string","summary":"Formats the value as a date.","params":[{"name":"$value","type":"int|string|DateTime|DateTimeInterface|null","description":"The value to be formatted. The following types of value are supported: - an integer representing a UNIX timestamp. A UNIX timestamp is always in UTC by its definition. - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php). The timestamp is assumed to be in `$defaultTimeZone` unless a time zone is explicitly given. - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object. You may set the time zone for the DateTime object to specify the source time zone. The formatter will convert date values according to `$timeZone` before formatting it. If no timezone conversion should be performed, you need to set `$defaultTimeZone` and `$timeZone` to the same value. Also no conversion will be performed on values that have no time information, e.g. `\"2017-06-05\"`."},{"name":"$format","type":"string|null","default":"null","optional":true,"description":"The format used to convert the value into a date string. If null, `$dateFormat` will be used. This can be \"short\", \"medium\", \"long\", or \"full\", which represents a preset format of different lengths. It can also be a custom format as specified in the [ICU manual](https://unicode-org.github.io/icu/userguide/format_parse/datetime/). Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the PHP [date()](https://www.php.net/manual/en/function.date.php)-function."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value can not be evaluated as a date value."},{"type":"yii\\base\\InvalidConfigException","description":"if the date format is invalid."}]},"asDatetime":{"signature":"public function asDatetime(int|string|DateTime|DateTimeInterface|null $value, string|null $format = null): string","summary":"Formats the value as a datetime.","params":[{"name":"$value","type":"int|string|DateTime|DateTimeInterface|null","description":"The value to be formatted. The following types of value are supported: - an integer representing a UNIX timestamp. A UNIX timestamp is always in UTC by its definition. - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php). The timestamp is assumed to be in `$defaultTimeZone` unless a time zone is explicitly given. - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object. You may set the time zone for the DateTime object to specify the source time zone. The formatter will convert date values according to `$timeZone` before formatting it. If no timezone conversion should be performed, you need to set `$defaultTimeZone` and `$timeZone` to the same value."},{"name":"$format","type":"string|null","default":"null","optional":true,"description":"The format used to convert the value into a date string. If null, `$datetimeFormat` will be used. This can be \"short\", \"medium\", \"long\", or \"full\", which represents a preset format of different lengths. It can also be a custom format as specified in the [ICU manual](https://unicode-org.github.io/icu/userguide/format_parse/datetime/). Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the PHP [date()](https://www.php.net/manual/en/function.date.php)-function."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value can not be evaluated as a date value."},{"type":"yii\\base\\InvalidConfigException","description":"if the date format is invalid."}]},"asDecimal":{"signature":"public function asDecimal(mixed $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value as a decimal number.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point. If not given, the number of digits depends in the input value and is determined based on `NumberFormatter::MIN_FRACTION_DIGITS` and `NumberFormatter::MAX_FRACTION_DIGITS`, which can be configured using `$numberFormatterOptions`. If the PHP intl extension is not available, the default value is `2`. If you want consistent behavior between environments where intl is available and not, you should explicitly specify a value here."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."}]},"asDecimalStringFallback":{"signature":"protected function asDecimalStringFallback(string|int|float $value, int|null $decimals = 2): string","summary":"Fallback for formatting value as a decimal number.","params":[{"name":"$value","type":"string|int|float","description":"The value to be formatted."},{"name":"$decimals","type":"int|null","default":"2","optional":true,"description":"The number of digits after the decimal point. The default value is `2`."}],"return":{"type":"string","description":"The formatted result."},"visibility":"protected","since":"2.0.16"},"asDuration":{"signature":"public function asDuration(DateInterval|string|int|null $value, string $implodeString = ', ', string $negativeSign = '-'): string","summary":"Represents the value as duration in human readable format.","params":[{"name":"$value","type":"DateInterval|string|int|null","description":"The value to be formatted. Acceptable formats: - [DateInterval object](https://www.php.net/manual/ru/class.dateinterval.php) - integer - number of seconds. For example: value `131` represents `2 minutes, 11 seconds` - ISO8601 duration format. For example, all of these values represent `1 day, 2 hours, 30 minutes` duration: `2015-01-01T13:00:00Z/2015-01-02T13:30:00Z` - between two datetime values `2015-01-01T13:00:00Z/P1D2H30M` - time interval after datetime value `P1D2H30M/2015-01-02T13:30:00Z` - time interval before datetime value `P1D2H30M` - simply a date interval `P-1D2H30M` - a negative date interval (`-1 day, 2 hours, 30 minutes`)"},{"name":"$implodeString","type":"string","default":"', '","optional":true,"description":"Will be used to concatenate duration parts. Defaults to `, `."},{"name":"$negativeSign","type":"string","default":"'-'","optional":true,"description":"Will be prefixed to the formatted duration, when it is negative. Defaults to `-`."}],"return":{"type":"string","description":"The formatted duration."},"since":"2.0.7"},"asEmail":{"signature":"public function asEmail(string|null $value, array $options = []): string","summary":"Formats the value as a mailto link.","params":[{"name":"$value","type":"string|null","description":"The value to be formatted."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `yii\\helpers\\Html::mailto()`."}],"return":{"type":"string","description":"The formatted result."}},"asHtml":{"signature":"public function asHtml(string|null $value, array|null $config = null): string","summary":"Formats the value as HTML text.","params":[{"name":"$value","type":"string|null","description":"The value to be formatted."},{"name":"$config","type":"array|null","default":"null","optional":true,"description":"The configuration for the HTMLPurifier class."}],"return":{"type":"string","description":"The formatted result."}},"asImage":{"signature":"public function asImage(mixed $value, array $options = []): string","summary":"Formats the value as an image tag.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `yii\\helpers\\Html::img()`."}],"return":{"type":"string","description":"The formatted result."}},"asInteger":{"signature":"public function asInteger(mixed $value, array $options = [], array $textOptions = []): string","summary":"Formats the value as an integer number by removing any decimal digits without rounding.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."}]},"asIntegerStringFallback":{"signature":"protected function asIntegerStringFallback(string|int|float $value): string","summary":"Fallback for formatting value as an integer number by removing any decimal digits without rounding.","params":[{"name":"$value","type":"string|int|float","description":"The value to be formatted."}],"return":{"type":"string","description":"The formatted result."},"visibility":"protected","since":"2.0.16"},"asLength":{"signature":"public function asLength(float|int $value, int|null $decimals = null, array $numberOptions = [], array $textOptions = []): string","summary":"Formats the value as a length in human readable form for example `12 meters`.","params":[{"name":"$value","type":"float|int","description":"Value to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point."},{"name":"$numberOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."},{"type":"yii\\base\\InvalidConfigException","description":"when INTL is not installed or does not contain required information."}],"since":"2.0.13"},"asNtext":{"signature":"public function asNtext(string|null $value): string","summary":"Formats the value as an HTML-encoded plain text with newlines converted into breaks.","params":[{"name":"$value","type":"string|null","description":"The value to be formatted."}],"return":{"type":"string","description":"The formatted result."}},"asOrdinal":{"signature":"public function asOrdinal(mixed $value): string","summary":"Formats the value as a ordinal value of a number.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted"}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."},{"type":"yii\\base\\InvalidConfigException","description":"when the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available."}]},"asParagraphs":{"signature":"public function asParagraphs(string|null $value): string","summary":"Formats the value as HTML-encoded text paragraphs.","params":[{"name":"$value","type":"string|null","description":"The value to be formatted."}],"return":{"type":"string","description":"The formatted result."}},"asPercent":{"signature":"public function asPercent(mixed $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value as a percent number with \"%\" sign.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted. It must be a factor e.g. `0.75` will result in `75%`."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point. If not given, the number of digits depends in the input value and is determined based on `NumberFormatter::MIN_FRACTION_DIGITS` and `NumberFormatter::MAX_FRACTION_DIGITS`, which can be configured using `$numberFormatterOptions`. If the PHP intl extension is not available, the default value is `0`. If you want consistent behavior between environments where intl is available and not, you should explicitly specify a value here."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."}]},"asPercentStringFallback":{"signature":"protected function asPercentStringFallback(string|int|float $value, int|null $decimals = null): string","summary":"Fallback for formatting value as a percent number with \"%\" sign.","params":[{"name":"$value","type":"string|int|float","description":"The value to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point. The default value is `0`."}],"return":{"type":"string","description":"The formatted result."},"visibility":"protected","since":"2.0.16"},"asRaw":{"signature":"public function asRaw(mixed $value): string","summary":"Formats the value as is without any formatting.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."}],"return":{"type":"string","description":"The formatted result."}},"asRelativeTime":{"signature":"public function asRelativeTime(int|string|DateTime|DateTimeInterface|DateInterval|null $value, int|string|DateTime|DateTimeInterface|null $referenceTime = null): string","summary":"Formats the value as the time interval between a date and now in human readable form.","params":[{"name":"$value","type":"int|string|DateTime|DateTimeInterface|DateInterval|null","description":"The value to be formatted. The following types of value are supported: - an integer representing a UNIX timestamp - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php). The timestamp is assumed to be in `$defaultTimeZone` unless a time zone is explicitly given. - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object - a PHP DateInterval object (a positive time interval will refer to the past, a negative one to the future)"},{"name":"$referenceTime","type":"int|string|DateTime|DateTimeInterface|null","default":"null","optional":true,"description":"If specified the value is used as a reference time instead of `now` when `$value` is not a `DateInterval` object."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value can not be evaluated as a date value."}]},"asScientific":{"signature":"public function asScientific(mixed $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value as a scientific number.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point. If not given, the number of digits depends in the input value and is determined based on `NumberFormatter::MIN_FRACTION_DIGITS` and `NumberFormatter::MAX_FRACTION_DIGITS`, which can be configured using `$numberFormatterOptions`. If the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available, the default value depends on your PHP configuration. If you want consistent behavior between environments where intl is available and not, you should explicitly specify a value here."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."}]},"asShortLength":{"signature":"public function asShortLength(float|int $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value as a length in human readable form for example `12 m`.","params":[{"name":"$value","type":"float|int","description":"Value to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."},{"type":"yii\\base\\InvalidConfigException","description":"when INTL is not installed or does not contain required information."}],"since":"2.0.13"},"asShortSize":{"signature":"public function asShortSize(string|int|float|null $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value in bytes as a size in human readable form for example `12 kB`.","params":[{"name":"$value","type":"string|int|float|null","description":"Value in bytes to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."}]},"asShortWeight":{"signature":"public function asShortWeight(float|int $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value as a weight in human readable form for example `12 kg`.","params":[{"name":"$value","type":"float|int","description":"Value to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."},{"type":"yii\\base\\InvalidConfigException","description":"when INTL is not installed or does not contain required information."}],"since":"2.0.13"},"asSize":{"signature":"public function asSize(string|int|float|null $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value in bytes as a size in human readable form, for example `12 kilobytes`.","params":[{"name":"$value","type":"string|int|float|null","description":"Value in bytes to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."}]},"asSpellout":{"signature":"public function asSpellout(mixed $value): string","summary":"Formats the value as a number spellout.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted"}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."},{"type":"yii\\base\\InvalidConfigException","description":"when the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available."}]},"asText":{"signature":"public function asText(string|null $value): string","summary":"Formats the value as an HTML-encoded plain text.","params":[{"name":"$value","type":"string|null","description":"The value to be formatted."}],"return":{"type":"string","description":"The formatted result."}},"asTime":{"signature":"public function asTime(int|string|DateTime|DateTimeInterface|null $value, string|null $format = null): string","summary":"Formats the value as a time.","params":[{"name":"$value","type":"int|string|DateTime|DateTimeInterface|null","description":"The value to be formatted. The following types of value are supported: - an integer representing a UNIX timestamp. A UNIX timestamp is always in UTC by its definition. - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php). The timestamp is assumed to be in `$defaultTimeZone` unless a time zone is explicitly given. - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object. You may set the time zone for the DateTime object to specify the source time zone. The formatter will convert date values according to `$timeZone` before formatting it. If no timezone conversion should be performed, you need to set `$defaultTimeZone` and `$timeZone` to the same value."},{"name":"$format","type":"string|null","default":"null","optional":true,"description":"The format used to convert the value into a date string. If null, `$timeFormat` will be used. This can be \"short\", \"medium\", \"long\", or \"full\", which represents a preset format of different lengths. It can also be a custom format as specified in the [ICU manual](https://unicode-org.github.io/icu/userguide/format_parse/datetime/). Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the PHP [date()](https://www.php.net/manual/en/function.date.php)-function."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value can not be evaluated as a date value."},{"type":"yii\\base\\InvalidConfigException","description":"if the date format is invalid."}]},"asTimestamp":{"signature":"public function asTimestamp(int|string|DateTime|DateTimeInterface|null $value): string","summary":"Formats a date, time or datetime in a float number as UNIX timestamp (seconds since 01-01-1970).","params":[{"name":"$value","type":"int|string|DateTime|DateTimeInterface|null","description":"The value to be formatted. The following types of value are supported: - an integer representing a UNIX timestamp - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php). The timestamp is assumed to be in `$defaultTimeZone` unless a time zone is explicitly given. - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object"}],"return":{"type":"string","description":"The formatted result."}},"asUrl":{"signature":"public function asUrl(mixed $value, array $options = []): string","summary":"Formats the value as a hyperlink.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. See `yii\\helpers\\Html::a()`. Since 2.0.43 there is a special option available `scheme` - if set it won't be passed to `yii\\helpers\\Html::a()` but it will control the URL protocol part of the link by normalizing URL and ensuring that it uses specified scheme. See `yii\\helpers\\Url::ensureScheme()`. If `scheme` is not set the original behavior is preserved which is to add \"http://\" prefix when \"://\" string is not found in the $value."}],"return":{"type":"string","description":"The formatted result."}},"asWeight":{"signature":"public function asWeight(float|int $value, int|null $decimals = null, array $options = [], array $textOptions = []): string","summary":"Formats the value as a weight in human readable form for example `12 kilograms`.","params":[{"name":"$value","type":"float|int","description":"Value to be formatted."},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"string","description":"The formatted result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."},{"type":"yii\\base\\InvalidConfigException","description":"when INTL is not installed or does not contain required information."}],"since":"2.0.13"},"createNumberFormatter":{"signature":"protected function createNumberFormatter(int $style, int|null $decimals = null, array $options = [], array $textOptions = []): NumberFormatter","summary":"Creates a number formatter based on the given type and format.","params":[{"name":"$style","type":"int","description":"The type of the number formatter. Values: NumberFormatter::DECIMAL, ::CURRENCY, ::PERCENT, ::SCIENTIFIC, ::SPELLOUT, ::ORDINAL ::DURATION, ::PATTERN_RULEBASED, ::DEFAULT_STYLE, ::IGNORE"},{"name":"$decimals","type":"int|null","default":"null","optional":true,"description":"The number of digits after the decimal point."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","default":"[]","optional":true,"description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"NumberFormatter","description":"The created formatter instance"},"visibility":"protected"},"format":{"signature":"public function format(mixed $value, string|array|Closure $format): string","summary":"Formats the value based on the given format type.","params":[{"name":"$value","type":"mixed","description":"The value to be formatted."},{"name":"$format","type":"string|array|Closure","description":"The format of the value, e.g., \"html\", \"text\" or an anonymous function returning the formatted value. To specify additional parameters of the formatting method, you may use an array. The first element of the array specifies the format name, while the rest of the elements will be used as the parameters to the formatting method. For example, a format of `['date', 'Y-m-d']` will cause the invocation of `asDate($value, 'Y-m-d')`. The anonymous function signature should be: `function($value, $formatter)`, where `$value` is the value that should be formatted and `$formatter` is an instance of the Formatter class, which can be used to call other formatting functions. The possibility to use an anonymous function is available since version 2.0.13."}],"return":{"type":"string","description":"The formatting result."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the format type is not supported by this class."}]},"formatNumber":{"signature":"protected function formatNumber(string|int|float $value, int|null $decimals, int $maxPosition, array|int $formatBase, array $options, array $textOptions): array","summary":"Given the value in bytes formats number part of the human readable form.","params":[{"name":"$value","type":"string|int|float","description":"Value in bytes to be formatted."},{"name":"$decimals","type":"int|null","description":"The number of digits after the decimal point"},{"name":"$maxPosition","type":"int","description":"Maximum internal position of size unit, ignored if $formatBase is an array"},{"name":"$formatBase","type":"array|int","description":"The base at which each next unit is calculated, either 1000 or 1024, or an array"},{"name":"$options","type":"array","description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterOptions`."},{"name":"$textOptions","type":"array","description":"Optional configuration for the number formatter. This parameter will be merged with `$numberFormatterTextOptions`."}],"return":{"type":"array","description":"[parameters for Yii::t containing formatted number, internal position of size unit]"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric or the formatting failed."}],"visibility":"protected","since":"2.0.32"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"isNormalizedValueMispresented":{"signature":"protected function isNormalizedValueMispresented(string|float|int $value, float|int $normalizedValue): bool","summary":"Checks if string representations of given value and its normalized version are different.","params":[{"name":"$value","type":"string|float|int"},{"name":"$normalizedValue","type":"float|int"}],"return":{"type":"bool"},"visibility":"protected","since":"2.0.16"},"normalizeDatetimeValue":{"signature":"protected function normalizeDatetimeValue(int|string|DateTime|DateTimeInterface|null $value, bool $checkDateTimeInfo = false): DateTime|array","summary":"Normalizes the given datetime value as a DateTime object that can be taken by various date/time formatting methods.","params":[{"name":"$value","type":"int|string|DateTime|DateTimeInterface|null","description":"The datetime value to be normalized. The following types of value are supported: - an integer representing a UNIX timestamp - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php). The timestamp is assumed to be in `$defaultTimeZone` unless a time zone is explicitly given. - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object"},{"name":"$checkDateTimeInfo","type":"bool","default":"false","optional":true,"description":"Whether to also check if the date/time value has some time and date information attached. Defaults to `false`. If `true`, the method will then return an array with the first element being the normalized timestamp, the second a boolean indicating whether the timestamp has time information and third a boolean indicating whether the timestamp has date information. This parameter is available since version 2.0.1."}],"return":{"type":"DateTime|array","description":"The normalized datetime value Since version 2.0.1 this may also return an array if `$checkDateTimeInfo` is true. The first element of the array is the normalized timestamp and the second is a boolean indicating whether the timestamp has time information or it is just a date value. Since version 2.0.12 the array has third boolean element indicating whether the timestamp has date information or it is just a time value."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value can not be evaluated as a date value."}],"visibility":"protected"},"normalizeNumericStringValue":{"signature":"protected function normalizeNumericStringValue(string $value): string","summary":"Normalizes a numeric string value.","params":[{"name":"$value","type":"string"}],"return":{"type":"string","description":"The normalized number value as a string"},"visibility":"protected","since":"2.0.16"},"normalizeNumericValue":{"signature":"protected function normalizeNumericValue(mixed $value): float|int","summary":"Normalizes a numeric input value.","params":[{"name":"$value","type":"mixed","description":"The input value"}],"return":{"type":"float|int","description":"The normalized number value"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the input value is not numeric."}],"visibility":"protected"}},"constants":{"UNIT_SYSTEM_METRIC":{"value":"'metric'","since":"2.0.13"},"UNIT_SYSTEM_IMPERIAL":{"value":"'imperial'","since":"2.0.13"},"FORMAT_WIDTH_LONG":{"value":"'long'","since":"2.0.13"},"FORMAT_WIDTH_SHORT":{"value":"'short'","since":"2.0.13"},"UNIT_LENGTH":{"value":"'length'","since":"2.0.13"},"UNIT_WEIGHT":{"value":"'mass'","since":"2.0.13"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\GettextFile":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/i18n/gettextfile/","summary":"GettextFile is the base class for representing a Gettext message file.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"methods":{"load":{"signature":"abstract public function load(string $filePath, string $context): array","summary":"Loads messages from a file.","params":[{"name":"$filePath","type":"string","description":"File path"},{"name":"$context","type":"string","description":"Message context"}],"return":{"type":"array","description":"Message translations. Array keys are source messages and array values are translated messages: source message => translated message."},"abstract":true},"save":{"signature":"abstract public function save(string $filePath, array $messages): mixed","summary":"Saves messages to a file.","params":[{"name":"$filePath","type":"string","description":"File path"},{"name":"$messages","type":"array","description":"Message translations. Array keys are source messages and array values are translated messages: source message => translated message. Note if the message has a context, the message ID must be prefixed with the context with chr(4) as the separator."}],"return":{"type":"mixed"},"abstract":true}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\GettextMessageSource":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/gettextmessagesource/","summary":"GettextMessageSource represents a message source that is based on GNU Gettext.","since":"2.0","extends":"yii\\i18n\\MessageSource","implements":["yii\\base\\Configurable"],"properties":{"basePath":{"type":"string","default":"'@app/messages'","description":"Base directory of messages files"},"catalog":{"type":"string","default":"'messages'","description":"Sub-directory of messages files"},"useBigEndian":{"type":"bool","default":"false","description":"Whether to use big-endian when reading and writing an integer"},"useMoFile":{"type":"bool","default":"true","description":"Whether to use generated MO files"}},"methods":{"getMessageFilePath":{"signature":"protected function getMessageFilePath(string $language): string","summary":"Returns message file path for the specified language and category.","params":[{"name":"$language","type":"string","description":"The target language"}],"return":{"type":"string","description":"Path to message file"},"visibility":"protected"},"loadFallbackMessages":{"signature":"protected function loadFallbackMessages(string $category, string $fallbackLanguage, array $messages, string $originalMessageFile): array","summary":"The method is normally called by `loadMessages()` to load the fallback messages for the language.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$fallbackLanguage","type":"string","description":"The target fallback language"},{"name":"$messages","type":"array","description":"The array of previously loaded translation messages. The keys are original messages, and the values are the translated messages."},{"name":"$originalMessageFile","type":"string","description":"The path to the file with messages. Used to log an error message in case when no translations were found."}],"return":{"type":"array","description":"The loaded messages. The keys are original messages, and the values are the translated messages."},"visibility":"protected","since":"2.0.7"},"loadMessages":{"signature":"protected function loadMessages(string $category, string $language): array","summary":"Loads the message translation for the specified $language and $category.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$language","type":"string","description":"The target language"}],"return":{"type":"array","description":"The loaded messages. The keys are original messages, and the values are translated messages."},"visibility":"protected"},"loadMessagesFromFile":{"signature":"protected function loadMessagesFromFile(string $messageFile, string $category): array|null","summary":"Loads the message translation for the specified language and category or returns null if file doesn't exist.","params":[{"name":"$messageFile","type":"string","description":"Path to message file"},{"name":"$category","type":"string","description":"The message category"}],"return":{"type":"array|null","description":"Array of messages or null if file not found"},"visibility":"protected"}},"constants":{"MO_FILE_EXT":{"value":"'.mo'"},"PO_FILE_EXT":{"value":"'.po'"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","forceTranslation":"yii\\i18n\\MessageSource","sourceLanguage":"yii\\i18n\\MessageSource"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\i18n\\MessageSource","off":"yii\\base\\Component","on":"yii\\base\\Component","translate":"yii\\i18n\\MessageSource","translateMessage":"yii\\i18n\\MessageSource","trigger":"yii\\base\\Component"},"events":{"EVENT_MISSING_TRANSLATION":"yii\\i18n\\MessageSource"}}},"yii\\i18n\\GettextMoFile":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/gettextmofile/","summary":"GettextMoFile represents an MO Gettext message file.","since":"2.0","extends":"yii\\i18n\\GettextFile","implements":["yii\\base\\Configurable"],"properties":{"useBigEndian":{"type":"bool","default":"false","description":"Whether to use big-endian when reading and writing an integer."}},"methods":{"load":{"signature":"public function load(string $filePath, string $context): array","summary":"Loads messages from an MO file.","params":[{"name":"$filePath","type":"string","description":"File path"},{"name":"$context","type":"string","description":"Message context"}],"return":{"type":"array","description":"Message translations. Array keys are source messages and array values are translated messages: source message => translated message."},"throws":[{"type":"yii\\base\\Exception","description":"if unable to read the MO file"}]},"readBytes":{"signature":"protected function readBytes(resource $fileHandle, int $byteCount = 1): string|null","summary":"Reads one or several bytes.","params":[{"name":"$fileHandle","type":"resource","description":"To read from"},{"name":"$byteCount","type":"int","default":"1","optional":true,"description":"To be read"}],"return":{"type":"string|null","description":"Bytes"},"visibility":"protected"},"readInteger":{"signature":"protected function readInteger(resource $fileHandle): int","summary":"Reads a 4-byte integer.","params":[{"name":"$fileHandle","type":"resource","description":"To read from"}],"return":{"type":"int","description":"The result"},"visibility":"protected"},"readString":{"signature":"protected function readString(resource $fileHandle, int $length, int|null $offset = null): string|null","summary":"Reads a string.","params":[{"name":"$fileHandle","type":"resource","description":"File handle"},{"name":"$length","type":"int","description":"Of the string"},{"name":"$offset","type":"int|null","default":"null","optional":true,"description":"Of the string in the file. If null, it reads from the current position."}],"return":{"type":"string|null","description":"The result"},"visibility":"protected"},"save":{"signature":"public function save(string $filePath, array $messages): mixed","summary":"Saves messages to an MO file.","params":[{"name":"$filePath","type":"string","description":"File path"},{"name":"$messages","type":"array","description":"Message translations. Array keys are source messages and array values are translated messages: source message => translated message. Note if the message has a context, the message ID must be prefixed with the context with chr(4) as the separator."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\Exception","description":"if unable to save the MO file"}]},"writeBytes":{"signature":"protected function writeBytes(resource $fileHandle, string $bytes): int","summary":"Write bytes.","params":[{"name":"$fileHandle","type":"resource","description":"To write to"},{"name":"$bytes","type":"string","description":"To be written"}],"return":{"type":"int","description":"How many bytes are written"},"visibility":"protected"},"writeInteger":{"signature":"protected function writeInteger(resource $fileHandle, int $integer): int","summary":"Writes a 4-byte integer.","params":[{"name":"$fileHandle","type":"resource","description":"To write to"},{"name":"$integer","type":"int","description":"To be written"}],"return":{"type":"int","description":"How many bytes are written"},"visibility":"protected"},"writeString":{"signature":"protected function writeString(resource $fileHandle, string $string): int","summary":"Writes a string.","params":[{"name":"$fileHandle","type":"resource","description":"To write to"},{"name":"$string","type":"string","description":"To be written"}],"return":{"type":"int","description":"How many bytes are written"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\GettextPoFile":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/gettextpofile/","summary":"GettextPoFile represents a PO Gettext message file.","since":"2.0","extends":"yii\\i18n\\GettextFile","implements":["yii\\base\\Configurable"],"methods":{"decode":{"signature":"protected function decode(string $string): string","summary":"Decodes special characters in a message.","params":[{"name":"$string","type":"string","description":"Message to be decoded"}],"return":{"type":"string","description":"The decoded message"},"visibility":"protected"},"encode":{"signature":"protected function encode(string $string): string","summary":"Encodes special characters in a message.","params":[{"name":"$string","type":"string","description":"Message to be encoded"}],"return":{"type":"string","description":"The encoded message"},"visibility":"protected"},"load":{"signature":"public function load(string $filePath, string $context): array","summary":"Loads messages from a PO file.","params":[{"name":"$filePath","type":"string","description":"File path"},{"name":"$context","type":"string","description":"Message context"}],"return":{"type":"array","description":"Message translations. Array keys are source messages and array values are translated messages: source message => translated message."}},"save":{"signature":"public function save(string $filePath, array $messages): mixed","summary":"Saves messages to a PO file.","params":[{"name":"$filePath","type":"string","description":"File path"},{"name":"$messages","type":"array","description":"Message translations. Array keys are source messages and array values are translated messages: source message => translated message. Note if the message has a context, the message ID must be prefixed with the context with chr(4) as the separator."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\I18N":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/i18n/","summary":"I18N provides features related with internationalization (I18N) and localization (L10N).","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"messageFormatter":{"type":"string|array|yii\\i18n\\MessageFormatter","description":"The message formatter to be used to format message via ICU message format.","virtual":true},"translations":{"type":"array","default":"null","description":"List of `yii\\i18n\\MessageSource` configurations or objects."}},"methods":{"format":{"signature":"public function format(string $message, array $params, string $language): string","summary":"Formats a message using `yii\\i18n\\MessageFormatter`.","params":[{"name":"$message","type":"string","description":"The message to be formatted."},{"name":"$params","type":"array","description":"The parameters that will be used to replace the corresponding placeholders in the message."},{"name":"$language","type":"string","description":"The language code (e.g. `en-US`, `en`)."}],"return":{"type":"string","description":"The formatted message."}},"getMessageFormatter":{"signature":"public function getMessageFormatter(): yii\\i18n\\MessageFormatter","summary":"Returns the message formatter instance.","return":{"type":"yii\\i18n\\MessageFormatter","description":"The message formatter to be used to format message via ICU message format."}},"getMessageSource":{"signature":"public function getMessageSource(string $category): yii\\i18n\\MessageSource","summary":"Returns the message source for the given category.","params":[{"name":"$category","type":"string","description":"The category name."}],"return":{"type":"yii\\i18n\\MessageSource","description":"The message source for the given category."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if there is no message source available for the specified category."}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the component by configuring the default message categories.","return":{"type":"mixed"}},"setMessageFormatter":{"signature":"public function setMessageFormatter(string|array|yii\\i18n\\MessageFormatter $value): mixed","params":[{"name":"$value","type":"string|array|yii\\i18n\\MessageFormatter","description":"The message formatter to be used to format message via ICU message format. Can be given as array or string configuration that will be given to `Yii::createObject()` to create an instance or a `yii\\i18n\\MessageFormatter` instance."}],"return":{"type":"mixed"}},"translate":{"signature":"public function translate(string $category, string $message, array $params, string $language): string","summary":"Translates a message to the specified language.","params":[{"name":"$category","type":"string","description":"The message category."},{"name":"$message","type":"string","description":"The message to be translated."},{"name":"$params","type":"array","description":"The parameters that will be used to replace the corresponding placeholders in the message."},{"name":"$language","type":"string","description":"The language code (e.g. `en-US`, `en`)."}],"return":{"type":"string","description":"The translated and formatted message."}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\Locale":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/locale/","summary":"Locale provides various locale information via convenient methods.","since":"2.0.14","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"currencySymbol":{"type":"string","access":"read-only","virtual":true},"locale":{"type":"string|null","default":"null","description":"The locale ID."}},"methods":{"getCurrencySymbol":{"signature":"public function getCurrencySymbol(string|null $currencyCode = null): string","summary":"Returns a currency symbol","params":[{"name":"$currencyCode","type":"string|null","default":"null","optional":true,"description":"The 3-letter ISO 4217 currency code to get symbol for. If null, method will attempt using currency code from `$locale`."}],"return":{"type":"string"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\MessageFormatter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/messageformatter/","summary":"MessageFormatter allows formatting messages via [ICU message format](https://unicode-org.github.io/icu/userguide/format_parse/messages/).","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"errorCode":{"type":"string","description":"Code of the last error.","access":"read-only","virtual":true},"errorMessage":{"type":"string","description":"Description of the last error.","access":"read-only","virtual":true}},"methods":{"fallbackFormat":{"signature":"protected function fallbackFormat(string $pattern, array $args, string $locale): false|string","summary":"Fallback implementation for MessageFormatter::formatMessage.","params":[{"name":"$pattern","type":"string","description":"The pattern string to insert things into."},{"name":"$args","type":"array","description":"The array of values to insert into the format string"},{"name":"$locale","type":"string","description":"The locale to use for formatting locale-dependent parts"}],"return":{"type":"false|string","description":"The formatted pattern string or `false` if an error occurred"},"visibility":"protected"},"format":{"signature":"public function format(string $pattern, array $params, string $language): string|false","summary":"Formats a message via [ICU message format](https://unicode-org.github.io/icu/userguide/format_parse/messages/).","params":[{"name":"$pattern","type":"string","description":"The pattern string to insert parameters into."},{"name":"$params","type":"array","description":"The array of name value pairs to insert into the format string."},{"name":"$language","type":"string","description":"The locale to use for formatting locale-dependent parts"}],"return":{"type":"string|false","description":"The formatted pattern string or `false` if an error occurred"}},"getErrorCode":{"signature":"public function getErrorCode(): string","summary":"Get the error code from the last operation.","return":{"type":"string","description":"Code of the last error."}},"getErrorMessage":{"signature":"public function getErrorMessage(): string","summary":"Get the error text from the last operation.","return":{"type":"string","description":"Description of the last error."}},"parse":{"signature":"public function parse(string $pattern, string $message, string $language): array|bool","summary":"Parses an input string according to an [ICU message format](https://unicode-org.github.io/icu/userguide/format_parse/messages/) pattern.","params":[{"name":"$pattern","type":"string","description":"The pattern to use for parsing the message."},{"name":"$message","type":"string","description":"The message to parse, conforming to the pattern."},{"name":"$language","type":"string","description":"The locale to use for formatting locale-dependent parts"}],"return":{"type":"array|bool","description":"An array containing items extracted, or `FALSE` on error."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"when PHP intl extension is not installed."}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\MessageSource":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/messagesource/","summary":"MessageSource is the base class for message translation repository classes.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"forceTranslation":{"type":"bool","default":"false","description":"Whether to force message translation when the source and target languages are the same."},"sourceLanguage":{"type":"string|null","default":"null","description":"The language that the original messages are in."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes this component.","return":{"type":"mixed"}},"loadMessages":{"signature":"protected function loadMessages(string $category, string $language): array","summary":"Loads the message translation for the specified language and category.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$language","type":"string","description":"The target language"}],"return":{"type":"array","description":"The loaded messages. The keys are original messages, and the values are translated messages."},"visibility":"protected"},"translate":{"signature":"public function translate(string $category, string $message, string $language): string|bool","summary":"Translates a message to the specified language.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$message","type":"string","description":"The message to be translated"},{"name":"$language","type":"string","description":"The target language"}],"return":{"type":"string|bool","description":"The translated message or false if translation wasn't found or isn't required"}},"translateMessage":{"signature":"protected function translateMessage(string $category, string $message, string $language): string|bool","summary":"Translates the specified message.","params":[{"name":"$category","type":"string","description":"The category that the message belongs to."},{"name":"$message","type":"string","description":"The message to be translated."},{"name":"$language","type":"string","description":"The target language."}],"return":{"type":"string|bool","description":"The translated message or false if translation wasn't found."},"visibility":"protected"}},"events":{"EVENT_MISSING_TRANSLATION":{"value":"'missingTranslation'","type":"yii\\i18n\\MissingTranslationEvent","description":"An event that is triggered when a message translation is not found."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\i18n\\MissingTranslationEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/missingtranslationevent/","summary":"MissingTranslationEvent represents the parameter for the `yii\\i18n\\MessageSource::EVENT_MISSING_TRANSLATION` event.","since":"2.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"category":{"type":"string","default":"null","description":"The category that the message belongs to"},"language":{"type":"string","default":"null","description":"The language ID (e.g. en-US) that the message is to be translated to"},"message":{"type":"string","default":"null","description":"The message to be translated."},"translatedMessage":{"type":"string|null","default":"null","description":"The translated message."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\i18n\\PhpMessageSource":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/i18n/phpmessagesource/","summary":"PhpMessageSource represents a message source that stores translated messages in PHP scripts.","since":"2.0","extends":"yii\\i18n\\MessageSource","implements":["yii\\base\\Configurable"],"properties":{"basePath":{"type":"string","default":"'@app/messages'","description":"The base path for all translated messages."},"fileMap":{"type":"array","default":"null","description":"Mapping between message categories and the corresponding message file paths."}},"methods":{"getMessageFilePath":{"signature":"protected function getMessageFilePath(string $category, string $language): string","summary":"Returns message file path for the specified language and category.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$language","type":"string","description":"The target language"}],"return":{"type":"string","description":"Path to message file"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the language code is invalid, or the category resolves to an unsafe path."}],"visibility":"protected"},"loadFallbackMessages":{"signature":"protected function loadFallbackMessages(string $category, string $fallbackLanguage, array $messages, string $originalMessageFile): array","summary":"The method is normally called by `loadMessages()` to load the fallback messages for the language.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$fallbackLanguage","type":"string","description":"The target fallback language"},{"name":"$messages","type":"array","description":"The array of previously loaded translation messages. The keys are original messages, and the values are the translated messages."},{"name":"$originalMessageFile","type":"string","description":"The path to the file with messages. Used to log an error message in case when no translations were found."}],"return":{"type":"array","description":"The loaded messages. The keys are original messages, and the values are the translated messages."},"visibility":"protected","since":"2.0.7"},"loadMessages":{"signature":"protected function loadMessages(string $category, string $language): array","summary":"Loads the message translation for the specified $language and $category.","params":[{"name":"$category","type":"string","description":"The message category"},{"name":"$language","type":"string","description":"The target language"}],"return":{"type":"array","description":"The loaded messages. The keys are original messages, and the values are the translated messages."},"visibility":"protected"},"loadMessagesFromFile":{"signature":"protected function loadMessagesFromFile(string $messageFile): array|null","summary":"Loads the message translation for the specified language and category or returns null if file doesn't exist.","params":[{"name":"$messageFile","type":"string","description":"Path to message file"}],"return":{"type":"array|null","description":"Array of messages or null if file not found"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","forceTranslation":"yii\\i18n\\MessageSource","sourceLanguage":"yii\\i18n\\MessageSource"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\i18n\\MessageSource","off":"yii\\base\\Component","on":"yii\\base\\Component","translate":"yii\\i18n\\MessageSource","translateMessage":"yii\\i18n\\MessageSource","trigger":"yii\\base\\Component"},"events":{"EVENT_MISSING_TRANSLATION":"yii\\i18n\\MessageSource"}}},"yii\\log\\DbTarget":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/dbtarget/","summary":"DbTarget stores log messages in a database table.","since":"2.0","extends":"yii\\log\\Target","implements":["yii\\base\\Configurable"],"properties":{"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."},"logTable":{"type":"string","default":"'{{%log}}'","description":"Name of the DB table to store cache content."}},"methods":{"export":{"signature":"public function export(): mixed","summary":"Stores log messages to DB.","return":{"type":"mixed"},"throws":[{"type":"yii\\db\\Exception"},{"type":"yii\\log\\LogRuntimeException"}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the DbTarget component.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is invalid."}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","categories":"yii\\log\\Target","enabled":"yii\\log\\Target","except":"yii\\log\\Target","exportInterval":"yii\\log\\Target","levels":"yii\\log\\Target","logVars":"yii\\log\\Target","maskVars":"yii\\log\\Target","messages":"yii\\log\\Target","microtime":"yii\\log\\Target","prefix":"yii\\log\\Target"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","collect":"yii\\log\\Target","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","filterMessages":"yii\\log\\Target","formatMessage":"yii\\log\\Target","formatMessageText":"yii\\log\\Target","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getContextMessage":"yii\\log\\Target","getEnabled":"yii\\log\\Target","getLevels":"yii\\log\\Target","getMessagePrefix":"yii\\log\\Target","getTime":"yii\\log\\Target","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","setEnabled":"yii\\log\\Target","setLevels":"yii\\log\\Target","trigger":"yii\\base\\Component"}}},"yii\\log\\Dispatcher":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/dispatcher/","summary":"Dispatcher manages a set of log targets (`yii\\log\\Target`).","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"flushInterval":{"type":"int","description":"How many messages should be logged before they are sent to targets.","virtual":true},"logger":{"type":"yii\\log\\Logger|string|array","description":"The logger to be used.","virtual":true},"targets":{"type":"array","default":"[]","description":"The log targets."},"traceLevel":{"type":"int","description":"How many application call stacks should be logged together with each message.","virtual":true}},"methods":{"__construct":{"signature":"public function __construct(mixed $config = [])","summary":"Constructor.","params":[{"name":"$config","type":"mixed","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"dispatch":{"signature":"public function dispatch(array<int|string, yii\\log\\LogMessage> $messages, bool $final): mixed","summary":"Dispatches the logged messages to `$targets`.","params":[{"name":"$messages","type":"array<int|string, yii\\log\\LogMessage>","description":"The logged messages"},{"name":"$final","type":"bool","description":"Whether this method is called at the end of the current application"}],"return":{"type":"mixed"}},"generateTargetFailErrorMessage":{"signature":"protected function generateTargetFailErrorMessage(yii\\log\\Target $target, Throwable $throwable, string $method): yii\\log\\LogMessage","summary":"Generate target error message","params":[{"name":"$target","type":"yii\\log\\Target","description":"Log target object"},{"name":"$throwable","type":"Throwable","description":"Catched exception"},{"name":"$method","type":"string","description":"Full method path"}],"return":{"type":"yii\\log\\LogMessage","description":"Generated error message data"},"visibility":"protected","since":"2.0.32"},"getFlushInterval":{"signature":"public function getFlushInterval(): int","return":{"type":"int","description":"How many messages should be logged before they are sent to targets. This method returns the value of `yii\\log\\Logger::$flushInterval`."}},"getLogger":{"signature":"public function getLogger(): yii\\log\\Logger","summary":"Gets the connected logger.","return":{"type":"yii\\log\\Logger","description":"The logger."}},"getTraceLevel":{"signature":"public function getTraceLevel(): int","return":{"type":"int","description":"How many application call stacks should be logged together with each message. This method returns the value of `yii\\log\\Logger::$traceLevel`. Defaults to 0."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"setFlushInterval":{"signature":"public function setFlushInterval(int $value): mixed","params":[{"name":"$value","type":"int","description":"How many messages should be logged before they are sent to targets. This method will set the value of `yii\\log\\Logger::$flushInterval`. Defaults to 1000, meaning the `yii\\log\\Logger::flush()` method will be invoked once every 1000 messages logged. Set this property to be 0 if you don't want to flush messages until the application terminates. This property mainly affects how much memory will be taken by the logged messages. A smaller value means less memory, but will increase the execution time due to the overhead of `yii\\log\\Logger::flush()`."}],"return":{"type":"mixed"}},"setLogger":{"signature":"public function setLogger(yii\\log\\Logger|string|array $value): mixed","summary":"Sets the connected logger.","params":[{"name":"$value","type":"yii\\log\\Logger|string|array","description":"The logger to be used. This can either be a logger instance or a configuration that will be used to create one using `Yii::createObject()`. If you are providing custom logger configuration and would like it to be used for the whole application and not just for the dispatcher you should use `Yii::setLogger()` instead."}],"return":{"type":"mixed"}},"setTraceLevel":{"signature":"public function setTraceLevel(int $value): mixed","params":[{"name":"$value","type":"int","description":"How many application call stacks should be logged together with each message. This method will set the value of `yii\\log\\Logger::$traceLevel`. If the value is greater than 0, at most that number of call stacks will be logged. Note that only application call stacks are counted. Defaults to 0."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\log\\EmailTarget":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/emailtarget/","summary":"EmailTarget sends selected log messages to the specified email addresses.","since":"2.0","extends":"yii\\log\\Target","implements":["yii\\base\\Configurable"],"properties":{"mailer":{"type":"yii\\mail\\MailerInterface|array|string","default":"'mailer'","description":"The mailer object or the application component ID of the mailer object."},"message":{"type":"array","default":"[]","description":"The configuration array for creating a message (`yii\\mail\\MessageInterface`) object."}},"methods":{"composeMessage":{"signature":"protected function composeMessage(string $body): yii\\mail\\MessageInterface","summary":"Composes a mail message with the given body content.","params":[{"name":"$body","type":"string","description":"The body content"}],"return":{"type":"yii\\mail\\MessageInterface","description":"$message"},"visibility":"protected"},"export":{"signature":"public function export(): mixed","summary":"Sends log messages to specified email addresses.","return":{"type":"mixed"},"throws":[{"type":"yii\\log\\LogRuntimeException"}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","categories":"yii\\log\\Target","enabled":"yii\\log\\Target","except":"yii\\log\\Target","exportInterval":"yii\\log\\Target","levels":"yii\\log\\Target","logVars":"yii\\log\\Target","maskVars":"yii\\log\\Target","messages":"yii\\log\\Target","microtime":"yii\\log\\Target","prefix":"yii\\log\\Target"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","collect":"yii\\log\\Target","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","filterMessages":"yii\\log\\Target","formatMessage":"yii\\log\\Target","formatMessageText":"yii\\log\\Target","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getContextMessage":"yii\\log\\Target","getEnabled":"yii\\log\\Target","getLevels":"yii\\log\\Target","getMessagePrefix":"yii\\log\\Target","getTime":"yii\\log\\Target","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","setEnabled":"yii\\log\\Target","setLevels":"yii\\log\\Target","trigger":"yii\\base\\Component"}}},"yii\\log\\FileTarget":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/filetarget/","summary":"FileTarget records log messages in a file.","since":"2.0","extends":"yii\\log\\Target","implements":["yii\\base\\Configurable"],"properties":{"dirMode":{"type":"int","default":"0775","description":"The permission to be set for newly created directories."},"enableRotation":{"type":"bool","default":"true","description":"Whether log files should be rotated when they reach a certain maximum size (`$maxFileSize`).","since":"2.0.3"},"fileMode":{"type":"int|null","default":"null","description":"The permission to be set for newly created log files."},"logFile":{"type":"string|null","default":"null","description":"Log file path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."},"maxFileSize":{"type":"int","default":"10240","description":"Maximum log file size, in kilo-bytes."},"maxLogFiles":{"type":"int","default":"5","description":"Number of log files used for rotation."}},"methods":{"export":{"signature":"public function export(): mixed","summary":"Writes log messages to a file.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if unable to open the log file for writing"},{"type":"yii\\log\\LogRuntimeException","description":"if unable to write complete log to file"}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the route.","return":{"type":"mixed"}},"rotateFiles":{"signature":"protected function rotateFiles(): mixed","summary":"Rotates log files.","return":{"type":"mixed"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","categories":"yii\\log\\Target","enabled":"yii\\log\\Target","except":"yii\\log\\Target","exportInterval":"yii\\log\\Target","levels":"yii\\log\\Target","logVars":"yii\\log\\Target","maskVars":"yii\\log\\Target","messages":"yii\\log\\Target","microtime":"yii\\log\\Target","prefix":"yii\\log\\Target"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","collect":"yii\\log\\Target","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","filterMessages":"yii\\log\\Target","formatMessage":"yii\\log\\Target","formatMessageText":"yii\\log\\Target","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getContextMessage":"yii\\log\\Target","getEnabled":"yii\\log\\Target","getLevels":"yii\\log\\Target","getMessagePrefix":"yii\\log\\Target","getTime":"yii\\log\\Target","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","setEnabled":"yii\\log\\Target","setLevels":"yii\\log\\Target","trigger":"yii\\base\\Component"}}},"yii\\log\\LogRuntimeException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/logruntimeexception/","summary":"LogRuntimeException represents an exception caused by problems with log delivery.","since":"2.0.14","extends":"yii\\base\\Exception","methods":{"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\log\\Logger":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/logger/","summary":"Logger records logged messages in memory and sends them to different targets if `$dispatcher` is set.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"dbEventNames":{"type":"array","default":"['yii\\db\\Command::query', 'yii\\db\\Command::execute']","description":"Of event names used to get statistical results of DB queries.","since":"2.0.41"},"dbProfiling":{"type":"array{int, int|float}","description":"The first element indicates the number of SQL statements executed, and the second element the total time spent in SQL execution.","access":"read-only","virtual":true},"dispatcher":{"type":"yii\\log\\Dispatcher","default":"null","description":"The message dispatcher."},"elapsedTime":{"type":"float","description":"The total elapsed time in seconds for current request.","access":"read-only","virtual":true},"flushInterval":{"type":"int","default":"1000","description":"How many messages should be logged before they are flushed from memory and sent to targets."},"messages":{"type":"array<int|string, yii\\log\\LogMessage>","default":"[]","description":"Logged messages."},"profiling":{"type":"list<yii\\log\\ProfilingTiming>","description":"The profiling results.","access":"read-only","virtual":true},"profilingAware":{"type":"bool","default":"false","description":"Whether the profiling-aware mode should be switched on.","since":"2.0.43"},"traceLevel":{"type":"int","default":"0","description":"How much call stack information (file name and line number) should be logged for each message."}},"methods":{"calculateTimings":{"signature":"public function calculateTimings(array<int|string, yii\\log\\LogMessage> $messages): list<yii\\log\\ProfilingTiming>","summary":"Calculates the elapsed time for the given log messages.","params":[{"name":"$messages","type":"array<int|string, yii\\log\\LogMessage>","description":"The log messages obtained from profiling"}],"return":{"type":"list<yii\\log\\ProfilingTiming>","description":"Timings. Each element is an array consisting of these elements: `info`, `category`, `timestamp`, `trace`, `level`, `duration`, `memory`, `memoryDiff`. The `memory` and `memoryDiff` values are available since version 2.0.11."}},"flush":{"signature":"public function flush(bool $final = false): mixed","summary":"Flushes log messages from memory to targets.","params":[{"name":"$final","type":"bool","default":"false","optional":true,"description":"Whether this is a final call during a request."}],"return":{"type":"mixed"}},"getDbProfiling":{"signature":"public function getDbProfiling(): array{int, int|float}","summary":"Returns the statistical results of DB queries.","return":{"type":"array{int, int|float}","description":"The first element indicates the number of SQL statements executed, and the second element the total time spent in SQL execution."}},"getElapsedTime":{"signature":"public function getElapsedTime(): float","summary":"Returns the total elapsed time since the start of the current request.","return":{"type":"float","description":"The total elapsed time in seconds for current request."}},"getLevelName":{"signature":"public static function getLevelName(int $level): string","summary":"Returns the text display of the specified level.","params":[{"name":"$level","type":"int","description":"The message level, e.g. `LEVEL_ERROR`, `LEVEL_WARNING`."}],"return":{"type":"string","description":"The text display of the level"},"static":true},"getProfiling":{"signature":"public function getProfiling(list<string> $categories = [], list<string> $excludeCategories = []): list<yii\\log\\ProfilingTiming>","summary":"Returns the profiling results.","params":[{"name":"$categories","type":"list<string>","default":"[]","optional":true,"description":"List of categories that you are interested in. You can use an asterisk at the end of a category to do a prefix match. For example, 'yii\\db\\*' will match categories starting with 'yii\\db\\', such as 'yii\\db\\Connection'."},{"name":"$excludeCategories","type":"list<string>","default":"[]","optional":true,"description":"List of categories that you want to exclude"}],"return":{"type":"list<yii\\log\\ProfilingTiming>","description":"The profiling results. Each element is an array consisting of these elements: `info`, `category`, `timestamp`, `trace`, `level`, `duration`, `memory`, `memoryDiff`. The `memory` and `memoryDiff` values are available since version 2.0.11."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the logger by registering `flush()` as a shutdown function.","return":{"type":"mixed"}},"log":{"signature":"public function log(string|array|Throwable|yii\\log\\PsrMessage $message, int $level, string $category = 'application'): mixed","summary":"Logs a message with the given type and category.","params":[{"name":"$message","type":"string|array|Throwable|yii\\log\\PsrMessage","description":"The message to be logged. This can be a simple string or a more complex data structure that will be handled by a log target (`yii\\log\\Target`)."},{"name":"$level","type":"int","description":"The level of the message. This must be one of the following: `Logger::LEVEL_ERROR`, `Logger::LEVEL_WARNING`, `Logger::LEVEL_INFO`, `Logger::LEVEL_TRACE`, `Logger::LEVEL_PROFILE`, `Logger::LEVEL_PROFILE_BEGIN`, `Logger::LEVEL_PROFILE_END`."},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"The category of the message."}],"return":{"type":"mixed"}}},"constants":{"LEVEL_ERROR":{"value":"0x1","description":"Error message level. An error message is one that indicates the abnormal termination of the application and may require developer's handling."},"LEVEL_WARNING":{"value":"0x2","description":"Warning message level. A warning message is one that indicates some abnormal happens but the application is able to continue to run. Developers should pay attention to this message."},"LEVEL_INFO":{"value":"0x4","description":"Informational message level. An informational message is one that includes certain information for developers to review."},"LEVEL_TRACE":{"value":"0x8","description":"Tracing message level. A tracing message is one that reveals the code execution flow."},"LEVEL_PROFILE":{"value":"0x40","description":"Profiling message level. This indicates the message is for profiling purpose."},"LEVEL_PROFILE_BEGIN":{"value":"0x50","description":"Profiling message level. This indicates the message is for profiling purpose. It marks the beginning of a profiling block."},"LEVEL_PROFILE_END":{"value":"0x60","description":"Profiling message level. This indicates the message is for profiling purpose. It marks the end of a profiling block."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\log\\PsrLogger":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/api/yii/log/psrlogger/","summary":"Adapts PSR-3 log calls to a Yii logger.","since":"22.0","extends":"Psr\\Log\\AbstractLogger","methods":{"__construct":{"signature":"public function __construct(yii\\log\\Logger|null $logger = null, array<string, int> $levelMap = \\self::DEFAULT_LEVEL_MAP, string $category = 'application')","params":[{"name":"$logger","type":"yii\\log\\Logger|null","default":"null","optional":true,"description":"Yii logger to use. `null` resolves the current global Yii logger for every call."},{"name":"$levelMap","type":"array<string, int>","default":"\\self::DEFAULT_LEVEL_MAP","optional":true,"description":"Mapping from supported PSR-3 levels to Yii log levels."},{"name":"$category","type":"string","default":"'application'","optional":true,"description":"Default Yii log category. A string `category` context value overrides it for that call."}]},"getLogger":{"signature":"public function getLogger(): yii\\log\\Logger","summary":"Returns the configured Yii logger or the current global logger.","return":{"type":"yii\\log\\Logger"}},"log":{"signature":"public function log(mixed $level, Stringable|string $message, array<array-key, mixed> $context = []): void","summary":"Logs with an arbitrary level.","params":[{"name":"$level","type":"mixed"},{"name":"$message","type":"Stringable|string"},{"name":"$context","type":"array<array-key, mixed>","default":"[]","optional":true}],"return":{"type":"void"},"throws":[{"type":"Psr\\Log\\InvalidArgumentException","description":"If the level is not supported."}]}},"constants":{"DEFAULT_LEVEL_MAP":{"value":"[\\Psr\\Log\\LogLevel::EMERGENCY => \\yii\\log\\Logger::LEVEL_ERROR, \\Psr\\Log\\LogLevel::ALERT => \\yii\\log\\Logger::LEVEL_ERROR, \\Psr\\Log\\LogLevel::CRITICAL => \\yii\\log\\Logger::LEVEL_ERROR, \\Psr\\Log\\LogLevel::ERROR => \\yii\\log\\Logger::LEVEL_ERROR, \\Psr\\Log\\LogLevel::WARNING => \\yii\\log\\Logger::LEVEL_WARNING, \\Psr\\Log\\LogLevel::NOTICE => \\yii\\log\\Logger::LEVEL_WARNING, \\Psr\\Log\\LogLevel::INFO => \\yii\\log\\Logger::LEVEL_INFO, \\Psr\\Log\\LogLevel::DEBUG => \\yii\\log\\Logger::LEVEL_TRACE]","description":"Default mapping from PSR-3 levels to Yii log levels."}}},"yii\\log\\PsrMessage":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/api/yii/log/psrmessage/","summary":"Stores a PSR-3 message together with its original level and context.","since":"22.0","implements":["Stringable"],"methods":{"__construct":{"signature":"public function __construct(string|Stringable $message, array<array-key, mixed> $context, string $level)","params":[{"name":"$message","type":"string|Stringable","description":"The PSR-3 message, cast to `string` eagerly so a throwing `Stringable` fails at the logging call site instead of during a later target flush."},{"name":"$context","type":"array<array-key, mixed>","description":"The PSR-3 context."},{"name":"$level","type":"string","description":"The original PSR-3 level."}]},"__toString":{"signature":"public function __toString(): string","summary":"Returns the message with safely convertible context placeholders interpolated.","return":{"type":"string"}},"getContext":{"signature":"public function getContext(): array<array-key, mixed>","summary":"Returns the PSR-3 context.","return":{"type":"array<array-key, mixed>"}},"getLevel":{"signature":"public function getLevel(): string","summary":"Returns the original PSR-3 level.","return":{"type":"string"}},"getMessage":{"signature":"public function getMessage(): string","summary":"Returns the message without placeholder interpolation.","return":{"type":"string"}}}},"yii\\log\\PsrTarget":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/psrtarget/","summary":"Exports Yii log messages to a PSR-3 logger.","since":"22.0","extends":"yii\\log\\Target","implements":["yii\\base\\Configurable"],"properties":{"addTimestampToContext":{"type":"bool","default":"false","description":"Whether to add the original Yii log timestamp to the PSR-3 context."},"extractExceptionTrace":{"type":"bool","default":"false","description":"Whether to export an exception message and trace separately instead of stringifying the exception."},"levelMap":{"type":"array<int, string>","default":"[\\yii\\log\\Logger::LEVEL_ERROR => \\Psr\\Log\\LogLevel::ERROR, \\yii\\log\\Logger::LEVEL_WARNING => \\Psr\\Log\\LogLevel::WARNING, \\yii\\log\\Logger::LEVEL_INFO => \\Psr\\Log\\LogLevel::INFO, \\yii\\log\\Logger::LEVEL_TRACE => \\Psr\\Log\\LogLevel::DEBUG, \\yii\\log\\Logger::LEVEL_PROFILE => \\Psr\\Log\\LogLevel::DEBUG, \\yii\\log\\Logger::LEVEL_PROFILE_BEGIN => \\Psr\\Log\\LogLevel::DEBUG, \\yii\\log\\Logger::LEVEL_PROFILE_END => \\Psr\\Log\\LogLevel::DEBUG]","description":"Mapping from Yii levels to PSR-3 levels."},"logger":{"type":"Psr\\Log\\LoggerInterface","description":"The PSR-3 logger used to export messages.","virtual":true},"psrLevels":{"type":"list<string>|null","description":"Exact PSR-3 levels this target exports after Yii level and category filtering. `null` means all PSR-3 levels.","virtual":true}},"methods":{"export":{"signature":"public function export(): void","summary":"Exports accumulated messages to the configured PSR-3 logger.","return":{"type":"void"}},"getLogger":{"signature":"public function getLogger(): Psr\\Log\\LoggerInterface","summary":"Returns the configured PSR-3 logger.","return":{"type":"Psr\\Log\\LoggerInterface"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"If no logger is configured."}]},"getPsrLevels":{"signature":"public function getPsrLevels(): list<string>|null","summary":"Returns the exact PSR-3 levels this target exports.","return":{"type":"list<string>|null","description":"`null` means all PSR-3 levels."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"resolvePsrLevel":{"signature":"protected function resolvePsrLevel(array $message): string","summary":"Resolves the PSR-3 level for a Yii message.","params":[{"name":"$message","type":"array","description":"Yii log message."}],"return":{"type":"string"},"throws":[{"type":"yii\\log\\LogRuntimeException","description":"If the level cannot be mapped."}],"visibility":"protected"},"setLogger":{"signature":"public function setLogger(Psr\\Log\\LoggerInterface $logger): void","summary":"Sets the PSR-3 logger.","params":[{"name":"$logger","type":"Psr\\Log\\LoggerInterface"}],"return":{"type":"void"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"If a Yii-to-PSR adapter is configured as the destination."}]},"setPsrLevels":{"signature":"public function setPsrLevels(list<string>|null $levels): void","summary":"Sets the exact PSR-3 levels this target exports after normal Yii target filtering.","params":[{"name":"$levels","type":"list<string>|null","description":"`null` or an empty array enables all PSR-3 levels."}],"return":{"type":"void"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"If a level is not recognized."}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","categories":"yii\\log\\Target","enabled":"yii\\log\\Target","except":"yii\\log\\Target","exportInterval":"yii\\log\\Target","levels":"yii\\log\\Target","logVars":"yii\\log\\Target","maskVars":"yii\\log\\Target","messages":"yii\\log\\Target","microtime":"yii\\log\\Target","prefix":"yii\\log\\Target"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","collect":"yii\\log\\Target","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","filterMessages":"yii\\log\\Target","formatMessage":"yii\\log\\Target","formatMessageText":"yii\\log\\Target","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getContextMessage":"yii\\log\\Target","getEnabled":"yii\\log\\Target","getLevels":"yii\\log\\Target","getMessagePrefix":"yii\\log\\Target","getTime":"yii\\log\\Target","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","setEnabled":"yii\\log\\Target","setLevels":"yii\\log\\Target","trigger":"yii\\base\\Component"}}},"yii\\log\\SyslogTarget":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/log/syslogtarget/","summary":"SyslogTarget writes log to syslog.","since":"2.0","extends":"yii\\log\\Target","implements":["yii\\base\\Configurable"],"properties":{"facility":{"type":"int","default":"LOG_USER","description":"Syslog facility."},"identity":{"type":"string","default":"null","description":"Syslog identity"},"options":{"type":"int|null","default":"null","description":"Openlog options.","since":"2.0.11"}},"methods":{"export":{"signature":"public function export(): mixed","summary":"Writes log messages to syslog.","return":{"type":"mixed"},"throws":[{"type":"yii\\log\\LogRuntimeException"}]},"formatMessage":{"signature":"public function formatMessage(mixed $message): string","summary":"Formats a log message for display as a string.","params":[{"name":"$message","type":"mixed","description":"The log message to be formatted. The message structure follows that in `yii\\log\\Logger::$messages`."}],"return":{"type":"string","description":"The formatted message"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","categories":"yii\\log\\Target","enabled":"yii\\log\\Target","except":"yii\\log\\Target","exportInterval":"yii\\log\\Target","levels":"yii\\log\\Target","logVars":"yii\\log\\Target","maskVars":"yii\\log\\Target","messages":"yii\\log\\Target","microtime":"yii\\log\\Target","prefix":"yii\\log\\Target"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","collect":"yii\\log\\Target","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","filterMessages":"yii\\log\\Target","formatMessageText":"yii\\log\\Target","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getContextMessage":"yii\\log\\Target","getEnabled":"yii\\log\\Target","getLevels":"yii\\log\\Target","getMessagePrefix":"yii\\log\\Target","getTime":"yii\\log\\Target","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","setEnabled":"yii\\log\\Target","setLevels":"yii\\log\\Target","trigger":"yii\\base\\Component"}}},"yii\\log\\Target":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/log/target/","summary":"Target is the base class for all log target classes.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"categories":{"type":"list<string>","default":"[]","description":"List of message categories that this target is interested in."},"enabled":{"type":"bool|callable","description":"A boolean value or a callable to obtain the value from.","virtual":true},"except":{"type":"list<string>","default":"[]","description":"List of message categories that this target is NOT interested in."},"exportInterval":{"type":"int","default":"1000","description":"How many messages should be accumulated before they are exported."},"levels":{"type":"array|int","description":"Message levels that this target is interested in.","virtual":true},"logVars":{"type":"list<string>","default":"['_GET', '_POST', '_FILES', '_COOKIE', '_SESSION', '_SERVER']","description":"List of the PHP predefined variables that should be logged in a message."},"maskVars":{"type":"list<string>","default":"['_SERVER.HTTP_AUTHORIZATION', '_SERVER.PHP_AUTH_USER', '_SERVER.PHP_AUTH_PW']","description":"List of the PHP predefined variables that should NOT be logged \"as is\" and should always be replaced with a mask `***` before logging, when exist.","since":"2.0.16"},"messages":{"type":"list<yii\\log\\LogMessage>","default":"[]","description":"The messages that are retrieved from the logger so far by this log target."},"microtime":{"type":"bool","default":"false","description":"Whether to log time with microseconds.","since":"2.0.13"},"prefix":{"type":"callable(yii\\log\\LogMessage): string|null","default":"null","description":"A PHP callable that returns a string to be prefixed to every exported message."}},"methods":{"collect":{"signature":"public function collect(array<int|string, yii\\log\\LogMessage> $messages, bool $final): mixed","summary":"Processes the given log messages.","params":[{"name":"$messages","type":"array<int|string, yii\\log\\LogMessage>","description":"Log messages to be processed. See `yii\\log\\Logger::$messages` for the structure of each message."},{"name":"$final","type":"bool","description":"Whether this method is called at the end of the current application"}],"return":{"type":"mixed"}},"export":{"signature":"abstract public function export(): mixed","summary":"Exports log `$messages` to a specific destination.","return":{"type":"mixed"},"abstract":true},"filterMessages":{"signature":"public static function filterMessages(array<yii\\log\\TKey, yii\\log\\LogMessage> $messages, int $levels = 0, list<string> $categories = [], list<string> $except = []): array<yii\\log\\TKey, yii\\log\\LogMessage>","summary":"Filters the given messages according to their categories and levels.","params":[{"name":"$messages","type":"array<yii\\log\\TKey, yii\\log\\LogMessage>","description":"Messages to be filtered. The message structure follows that in `yii\\log\\Logger::$messages`."},{"name":"$levels","type":"int","default":"0","optional":true,"description":"The message levels to filter by. This is a bitmap of level values. Value 0 means allowing all levels."},{"name":"$categories","type":"list<string>","default":"[]","optional":true,"description":"The message categories to filter by. If empty, it means all categories are allowed."},{"name":"$except","type":"list<string>","default":"[]","optional":true,"description":"The message categories to exclude. If empty, it means all categories are allowed."}],"return":{"type":"array<yii\\log\\TKey, yii\\log\\LogMessage>","description":"The filtered messages."},"static":true},"formatMessage":{"signature":"public function formatMessage(yii\\log\\LogMessage $message): string","summary":"Formats a log message for display as a string.","params":[{"name":"$message","type":"yii\\log\\LogMessage","description":"The log message to be formatted. The message structure follows that in `yii\\log\\Logger::$messages`."}],"return":{"type":"string","description":"The formatted message"}},"formatMessageText":{"signature":"protected function formatMessageText(mixed $text): string","summary":"Converts a log message value to text.","params":[{"name":"$text","type":"mixed","description":"Log message value."}],"return":{"type":"string","description":"Formatted message value."},"visibility":"protected","since":"22.0"},"getContextMessage":{"signature":"protected function getContextMessage(): string","summary":"Generates the context information to be logged.","return":{"type":"string","description":"The context information. If an empty string, it means no context information."},"visibility":"protected"},"getEnabled":{"signature":"public function getEnabled(): bool","summary":"Check whether the log target is enabled.","return":{"type":"bool","description":"A value indicating whether this log target is enabled."}},"getLevels":{"signature":"public function getLevels(): int","return":{"type":"int","description":"The message levels that this target is interested in. This is a bitmap of level values. Defaults to 0, meaning all available levels."}},"getMessagePrefix":{"signature":"public function getMessagePrefix(yii\\log\\LogMessage $message): string","summary":"Returns a string to be prefixed to the given message.","params":[{"name":"$message","type":"yii\\log\\LogMessage","description":"The message being exported. The message structure follows that in `yii\\log\\Logger::$messages`."}],"return":{"type":"string","description":"The prefix string"}},"getTime":{"signature":"protected function getTime(float $timestamp): string","summary":"Returns formatted ('Y-m-d H:i:s') timestamp for message.","params":[{"name":"$timestamp","type":"float"}],"return":{"type":"string"},"visibility":"protected","since":"2.0.13"},"setEnabled":{"signature":"public function setEnabled(bool|callable $value): mixed","summary":"Sets a value indicating whether this log target is enabled.","params":[{"name":"$value","type":"bool|callable","description":"A boolean value or a callable to obtain the value from. The callable value is available since version 2.0.13. A callable may be used to determine whether the log target should be enabled in a dynamic way. For example, to only enable a log if the current user is logged in you can configure the target as follows: ``` 'enabled' => function() { return !Yii::$app->user->isGuest; } ```"}],"return":{"type":"mixed"}},"setLevels":{"signature":"public function setLevels(array|int $levels): mixed","summary":"Sets the message levels that this target is interested in.","params":[{"name":"$levels","type":"array|int","description":"Message levels that this target is interested in."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if $levels value is not correct."}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\mail\\BaseMailer":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/mail/basemailer/","summary":"BaseMailer serves as a base class that implements the basic functions required by `yii\\mail\\MailerInterface`.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\mail\\MailerInterface","yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"fileTransportCallback":{"type":"callable|null","default":"null","description":"A PHP callback that will be called by `send()` when `$useFileTransport` is true."},"fileTransportPath":{"type":"string","default":"'@runtime/mail'","description":"The directory where the email messages are saved when `$useFileTransport` is true."},"htmlLayout":{"type":"string|bool","default":"'layouts/html'","description":"HTML layout view name."},"messageClass":{"type":"string","default":"'yii\\mail\\BaseMessage'","description":"The default class name of the new message instances created by `createMessage()`"},"messageConfig":{"type":"array","default":"[]","description":"The configuration that should be applied to any newly created email message instance by `createMessage()` or `compose()`."},"textLayout":{"type":"string|bool","default":"'layouts/text'","description":"Text layout view name."},"useFileTransport":{"type":"bool","default":"false","description":"Whether to save email messages as files under `$fileTransportPath` instead of sending them to the actual recipients."},"view":{"type":"array|yii\\web\\View","description":"View instance or its array configuration that will be used to render message bodies.","virtual":true},"viewPath":{"type":"string","description":"The directory that contains the view files for composing mail messages Defaults to '@app/mail'.","virtual":true}},"methods":{"afterSend":{"signature":"public function afterSend(yii\\mail\\MessageInterface $message, bool $isSuccessful): mixed","summary":"This method is invoked right after mail was send.","params":[{"name":"$message","type":"yii\\mail\\MessageInterface"},{"name":"$isSuccessful","type":"bool"}],"return":{"type":"mixed"}},"beforeSend":{"signature":"public function beforeSend(yii\\mail\\MessageInterface $message): bool","summary":"This method is invoked right before mail send.","params":[{"name":"$message","type":"yii\\mail\\MessageInterface"}],"return":{"type":"bool","description":"Whether to continue sending an email."}},"compose":{"signature":"public function compose(string|array|null $view = null, array $params = []): yii\\mail\\MessageInterface","summary":"Creates a new message instance and optionally composes its body content via view rendering.","params":[{"name":"$view","type":"string|array|null","default":"null","optional":true,"description":"The view to be used for rendering the message body. This can be: - a string, which represents the view name or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) for rendering the HTML body of the email. In this case, the text body will be generated by applying `strip_tags()` to the HTML body. - an array with 'html' and/or 'text' elements. The 'html' element refers to the view name or path alias for rendering the HTML body, while 'text' element is for rendering the text body. For example, `['html' => 'contact-html', 'text' => 'contact-text']`. - null, meaning the message instance will be returned without body content. The view to be rendered can be specified in one of the following formats: - path alias (e.g. \"@app/mail/contact\"); - a relative view name (e.g. \"contact\") located under `$viewPath`."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that will be extracted and made available in the view file."}],"return":{"type":"yii\\mail\\MessageInterface","description":"Message instance."}},"createMessage":{"signature":"protected function createMessage(): yii\\mail\\MessageInterface","summary":"Creates a new message instance.","return":{"type":"yii\\mail\\MessageInterface","description":"Message instance."},"visibility":"protected"},"createView":{"signature":"protected function createView(array $config): yii\\web\\View","summary":"Creates view instance from given configuration.","params":[{"name":"$config","type":"array","description":"View configuration."}],"return":{"type":"yii\\web\\View","description":"View instance."},"visibility":"protected"},"generateMessageFileName":{"signature":"public function generateMessageFileName(): string","return":{"type":"string","description":"The file name for saving the message when `$useFileTransport` is true."}},"getView":{"signature":"public function getView(): yii\\web\\View","return":{"type":"yii\\web\\View","description":"View instance."}},"getViewPath":{"signature":"public function getViewPath(): string","return":{"type":"string","description":"The directory that contains the view files for composing mail messages Defaults to '@app/mail'."}},"render":{"signature":"public function render(string $view, array $params = [], string|bool $layout = false): string","summary":"Renders the specified view with optional parameters and layout.","params":[{"name":"$view","type":"string","description":"The view name or the [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) of the view file."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that will be extracted and made available in the view file."},{"name":"$layout","type":"string|bool","default":"false","optional":true,"description":"Layout view name or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/). If false, no layout will be applied."}],"return":{"type":"string","description":"The rendering result."}},"saveMessage":{"signature":"protected function saveMessage(yii\\mail\\MessageInterface $message): bool","summary":"Saves the message as a file under `$fileTransportPath`.","params":[{"name":"$message","type":"yii\\mail\\MessageInterface"}],"return":{"type":"bool","description":"Whether the message is saved successfully"},"visibility":"protected"},"send":{"signature":"public function send(yii\\mail\\MessageInterface $message): bool","summary":"Sends the given email message.","params":[{"name":"$message","type":"yii\\mail\\MessageInterface","description":"Email message instance to be sent"}],"return":{"type":"bool","description":"Whether the message has been sent successfully"}},"sendMessage":{"signature":"abstract protected function sendMessage(yii\\mail\\MessageInterface $message): bool","summary":"Sends the specified message.","params":[{"name":"$message","type":"yii\\mail\\MessageInterface","description":"The message to be sent"}],"return":{"type":"bool","description":"Whether the message is sent successfully"},"visibility":"protected","abstract":true},"sendMultiple":{"signature":"public function sendMultiple(array $messages): int","summary":"Sends multiple messages at once.","params":[{"name":"$messages","type":"array","description":"List of email messages, which should be sent."}],"return":{"type":"int","description":"Number of messages that are successfully sent."}},"setView":{"signature":"public function setView(array|yii\\web\\View $view): mixed","params":[{"name":"$view","type":"array|yii\\web\\View","description":"View instance or its array configuration that will be used to render message bodies."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"on invalid argument."}]},"setViewPath":{"signature":"public function setViewPath(string $path): mixed","params":[{"name":"$path","type":"string","description":"The directory that contains the view files for composing mail messages This can be specified as an absolute path or a [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."}],"return":{"type":"mixed"}}},"events":{"EVENT_BEFORE_SEND":{"value":"'beforeSend'","type":"yii\\mail\\MailEvent","description":"An event raised right before send."},"EVENT_AFTER_SEND":{"value":"'afterSend'","type":"yii\\mail\\MailEvent","description":"An event raised right after send."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\mail\\BaseMessage":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/mail/basemessage/","summary":"BaseMessage serves as a base class that implements the `send()` method required by `yii\\mail\\MessageInterface`.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\mail\\MessageInterface","yii\\base\\Configurable"],"properties":{"mailer":{"type":"yii\\mail\\MailerInterface|null","default":"null","description":"The mailer instance that created this message."}},"methods":{"__toString":{"signature":"public function __toString(): string","summary":"PHP magic method that returns the string representation of this object.","return":{"type":"string","description":"The string representation of this object."}},"send":{"signature":"public function send(yii\\mail\\MailerInterface|null $mailer = null): bool","summary":"Sends this email message.","params":[{"name":"$mailer","type":"yii\\mail\\MailerInterface|null","default":"null","optional":true,"description":"The mailer that should be used to send this message. If no mailer is given it will first check if `$mailer` is set and if not, the \"mailer\" application component will be used instead."}],"return":{"type":"bool","description":"Whether this message is sent successfully."}}},"inherited":{"properties":{"bcc":"yii\\mail\\MessageInterface","cc":"yii\\mail\\MessageInterface","charset":"yii\\mail\\MessageInterface","from":"yii\\mail\\MessageInterface","htmlBody":"yii\\mail\\MessageInterface","replyTo":"yii\\mail\\MessageInterface","subject":"yii\\mail\\MessageInterface","textBody":"yii\\mail\\MessageInterface","to":"yii\\mail\\MessageInterface"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","attach":"yii\\mail\\MessageInterface","attachContent":"yii\\mail\\MessageInterface","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","embed":"yii\\mail\\MessageInterface","embedContent":"yii\\mail\\MessageInterface","getBcc":"yii\\mail\\MessageInterface","getCc":"yii\\mail\\MessageInterface","getCharset":"yii\\mail\\MessageInterface","getFrom":"yii\\mail\\MessageInterface","getReplyTo":"yii\\mail\\MessageInterface","getSubject":"yii\\mail\\MessageInterface","getTo":"yii\\mail\\MessageInterface","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","setBcc":"yii\\mail\\MessageInterface","setCc":"yii\\mail\\MessageInterface","setCharset":"yii\\mail\\MessageInterface","setFrom":"yii\\mail\\MessageInterface","setHtmlBody":"yii\\mail\\MessageInterface","setReplyTo":"yii\\mail\\MessageInterface","setSubject":"yii\\mail\\MessageInterface","setTextBody":"yii\\mail\\MessageInterface","setTo":"yii\\mail\\MessageInterface","toString":"yii\\mail\\MessageInterface"}}},"yii\\mail\\MailEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/mail/mailevent/","summary":"MailEvent represents the event parameter used for events triggered by `yii\\mail\\BaseMailer`.","since":"2.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"isSuccessful":{"type":"bool","default":"null","description":"If message was sent successfully."},"isValid":{"type":"bool","default":"true","description":"Whether to continue sending an email."},"message":{"type":"yii\\mail\\MessageInterface","default":"null","description":"The mail message being send."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\mail\\MailerInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/mail/mailerinterface/","summary":"MailerInterface is the interface that should be implemented by mailer classes.","since":"2.0","methods":{"compose":{"signature":"abstract public function compose(string|array|null $view = null, array $params = []): yii\\mail\\MessageInterface","summary":"Creates a new message instance and optionally composes its body content via view rendering.","params":[{"name":"$view","type":"string|array|null","default":"null","optional":true,"description":"The view to be used for rendering the message body. This can be: - a string, which represents the view name or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) for rendering the HTML body of the email. In this case, the text body will be generated by applying `strip_tags()` to the HTML body. - an array with 'html' and/or 'text' elements. The 'html' element refers to the view name or path alias for rendering the HTML body, while 'text' element is for rendering the text body. For example, `['html' => 'contact-html', 'text' => 'contact-text']`. - null, meaning the message instance will be returned without body content."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that will be extracted and made available in the view file."}],"return":{"type":"yii\\mail\\MessageInterface","description":"Message instance."},"abstract":true},"send":{"signature":"abstract public function send(yii\\mail\\MessageInterface $message): bool","summary":"Sends the given email message.","params":[{"name":"$message","type":"yii\\mail\\MessageInterface","description":"Email message instance to be sent"}],"return":{"type":"bool","description":"Whether the message has been sent successfully"},"abstract":true},"sendMultiple":{"signature":"abstract public function sendMultiple(array $messages): int","summary":"Sends multiple messages at once.","params":[{"name":"$messages","type":"array","description":"List of email messages, which should be sent."}],"return":{"type":"int","description":"Number of messages that are successfully sent."},"abstract":true}}},"yii\\mail\\MessageInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/mail/messageinterface/","summary":"MessageInterface is the interface that should be implemented by mail message classes.","since":"2.0","methods":{"attach":{"signature":"abstract public function attach(string $fileName, array $options = []): $this","summary":"Attaches existing file to the email message.","params":[{"name":"$fileName","type":"string","description":"Full file name"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for embed file. Valid options are: - fileName: name, which should be used to attach file. - contentType: attached file MIME type."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"attachContent":{"signature":"abstract public function attachContent(string $content, array $options = []): $this","summary":"Attach specified content as file for the email message.","params":[{"name":"$content","type":"string","description":"Attachment file content."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for embed file. Valid options are: - fileName: name, which should be used to attach file. - contentType: attached file MIME type."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"embed":{"signature":"abstract public function embed(string $fileName, array $options = []): string","summary":"Attach a file and return it's CID source.","params":[{"name":"$fileName","type":"string","description":"File name."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for embed file. Valid options are: - fileName: name, which should be used to attach file. - contentType: attached file MIME type."}],"return":{"type":"string","description":"Attachment CID."},"abstract":true},"embedContent":{"signature":"abstract public function embedContent(string $content, array $options = []): string","summary":"Attach a content as file and return it's CID source.","params":[{"name":"$content","type":"string","description":"Attachment file content."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options for embed file. Valid options are: - fileName: name, which should be used to attach file. - contentType: attached file MIME type."}],"return":{"type":"string","description":"Attachment CID."},"abstract":true},"getBcc":{"signature":"abstract public function getBcc(): string|array","summary":"Returns the Bcc (hidden copy receiver) addresses of this message.","return":{"type":"string|array","description":"The Bcc (hidden copy receiver) addresses of this message."},"abstract":true},"getCc":{"signature":"abstract public function getCc(): string|array","summary":"Returns the Cc (additional copy receiver) addresses of this message.","return":{"type":"string|array","description":"The Cc (additional copy receiver) addresses of this message."},"abstract":true},"getCharset":{"signature":"abstract public function getCharset(): string","summary":"Returns the character set of this message.","return":{"type":"string","description":"The character set of this message."},"abstract":true},"getFrom":{"signature":"abstract public function getFrom(): string|array","summary":"Returns the message sender.","return":{"type":"string|array","description":"The sender"},"abstract":true},"getReplyTo":{"signature":"abstract public function getReplyTo(): string|array","summary":"Returns the reply-to address of this message.","return":{"type":"string|array","description":"The reply-to address of this message."},"abstract":true},"getSubject":{"signature":"abstract public function getSubject(): string","summary":"Returns the message subject.","return":{"type":"string","description":"The message subject"},"abstract":true},"getTo":{"signature":"abstract public function getTo(): string|array","summary":"Returns the message recipient(s).","return":{"type":"string|array","description":"The message recipients"},"abstract":true},"send":{"signature":"abstract public function send(yii\\mail\\MailerInterface|null $mailer = null): bool","summary":"Sends this email message.","params":[{"name":"$mailer","type":"yii\\mail\\MailerInterface|null","default":"null","optional":true,"description":"The mailer that should be used to send this message. If null, the \"mailer\" application component will be used instead."}],"return":{"type":"bool","description":"Whether this message is sent successfully."},"abstract":true},"setBcc":{"signature":"abstract public function setBcc(string|array $bcc): $this","summary":"Sets the Bcc (hidden copy receiver) addresses of this message.","params":[{"name":"$bcc","type":"string|array","description":"Hidden copy receiver email address. You may pass an array of addresses if multiple recipients should receive this message. You may also specify receiver name in addition to email address using format: `[email => name]`."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setCc":{"signature":"abstract public function setCc(string|array $cc): $this","summary":"Sets the Cc (additional copy receiver) addresses of this message.","params":[{"name":"$cc","type":"string|array","description":"Copy receiver email address. You may pass an array of addresses if multiple recipients should receive this message. You may also specify receiver name in addition to email address using format: `[email => name]`."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setCharset":{"signature":"abstract public function setCharset(string $charset): $this","summary":"Sets the character set of this message.","params":[{"name":"$charset","type":"string","description":"Character set name."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setFrom":{"signature":"abstract public function setFrom(string|array $from): $this","summary":"Sets the message sender.","params":[{"name":"$from","type":"string|array","description":"Sender email address. You may pass an array of addresses if this message is from multiple people. You may also specify sender name in addition to email address using format: `[email => name]`."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setHtmlBody":{"signature":"abstract public function setHtmlBody(string $html): $this","summary":"Sets message HTML content.","params":[{"name":"$html","type":"string","description":"Message HTML content."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setReplyTo":{"signature":"abstract public function setReplyTo(string|array $replyTo): $this","summary":"Sets the reply-to address of this message.","params":[{"name":"$replyTo","type":"string|array","description":"The reply-to address. You may pass an array of addresses if this message should be replied to multiple people. You may also specify reply-to name in addition to email address using format: `[email => name]`."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setSubject":{"signature":"abstract public function setSubject(string $subject): $this","summary":"Sets the message subject.","params":[{"name":"$subject","type":"string","description":"Message subject"}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setTextBody":{"signature":"abstract public function setTextBody(string $text): $this","summary":"Sets message plain text content.","params":[{"name":"$text","type":"string","description":"Message plain text content."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"setTo":{"signature":"abstract public function setTo(string|array $to): $this","summary":"Sets the message recipient(s).","params":[{"name":"$to","type":"string|array","description":"Receiver email address. You may pass an array of addresses if multiple recipients should receive this message. You may also specify receiver name in addition to email address using format: `[email => name]`."}],"return":{"type":"$this","description":"Self reference."},"abstract":true},"toString":{"signature":"abstract public function toString(): string","summary":"Returns string representation of this message.","return":{"type":"string","description":"The string representation of this message."},"abstract":true}}},"yii\\mutex\\DbMutex":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/mutex/dbmutex/","summary":"DbMutex is the base class for classes, which relies on database while implementing mutex \"lock\" mechanism.","since":"2.0","extends":"yii\\mutex\\Mutex","implements":["yii\\base\\Configurable"],"properties":{"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes generic database table based mutex implementation.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is invalid."}]}},"inherited":{"properties":{"autoRelease":"yii\\mutex\\Mutex","behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","acquire":"yii\\mutex\\Mutex","acquireLock":"yii\\mutex\\Mutex","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isAcquired":"yii\\mutex\\Mutex","off":"yii\\base\\Component","on":"yii\\base\\Component","release":"yii\\mutex\\Mutex","releaseLock":"yii\\mutex\\Mutex","trigger":"yii\\base\\Component"}}},"yii\\mutex\\FileMutex":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/mutex/filemutex/","summary":"FileMutex implements mutex \"lock\" mechanism via local file system files.","since":"2.0","extends":"yii\\mutex\\Mutex","implements":["yii\\base\\Configurable"],"traits":["yii\\mutex\\RetryAcquireTrait"],"properties":{"dirMode":{"type":"int","default":"0775","description":"The permission to be set for newly created directories."},"fileMode":{"type":"int|null","default":"null","description":"The permission to be set for newly created mutex files."},"isWindows":{"type":"bool|null","default":"null","description":"Whether file handling should assume a Windows file system.","since":"2.0.16"},"mutexPath":{"type":"string","default":"'@runtime/mutex'","description":"The directory to store mutex files."}},"methods":{"acquireLock":{"signature":"protected function acquireLock(string $name, int $timeout = 0): bool","summary":"Acquires lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be acquired."},{"name":"$timeout","type":"int","default":"0","optional":true,"description":"Time (in seconds) to wait for lock to become released."}],"return":{"type":"bool","description":"Acquiring result."},"visibility":"protected"},"getLockFilePath":{"signature":"protected function getLockFilePath(string $name): string","summary":"Generate path for lock file.","params":[{"name":"$name","type":"string"}],"return":{"type":"string"},"visibility":"protected","since":"2.0.10"},"init":{"signature":"public function init(): mixed","summary":"Initializes mutex component implementation dedicated for UNIX, GNU/Linux, Mac OS X, and other UNIX-like operating systems.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException"}]},"releaseLock":{"signature":"protected function releaseLock(string $name): bool","summary":"Releases lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be released."}],"return":{"type":"bool","description":"Release result."},"visibility":"protected"}},"inherited":{"properties":{"autoRelease":"yii\\mutex\\Mutex","behaviors":"yii\\base\\Component","retryDelay":"yii\\mutex\\RetryAcquireTrait"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","acquire":"yii\\mutex\\Mutex","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isAcquired":"yii\\mutex\\Mutex","off":"yii\\base\\Component","on":"yii\\base\\Component","release":"yii\\mutex\\Mutex","trigger":"yii\\base\\Component"}}},"yii\\mutex\\Mutex":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/mutex/mutex/","summary":"The Mutex component allows mutual execution of concurrent processes in order to prevent \"race conditions\".","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"autoRelease":{"type":"bool","default":"true","description":"Whether all locks acquired in this process (i.e. local locks) must be released automatically before finishing script execution."}},"methods":{"acquire":{"signature":"public function acquire(string $name, int $timeout = 0): bool","summary":"Acquires a lock by name.","params":[{"name":"$name","type":"string","description":"Of the lock to be acquired. Must be unique."},{"name":"$timeout","type":"int","default":"0","optional":true,"description":"Time (in seconds) to wait for lock to be released. Defaults to zero meaning that method will return false immediately in case lock was already acquired."}],"return":{"type":"bool","description":"Lock acquiring result."}},"acquireLock":{"signature":"abstract protected function acquireLock(string $name, int $timeout = 0): bool","summary":"This method should be extended by a concrete Mutex implementations. Acquires lock by name.","params":[{"name":"$name","type":"string","description":"Of the lock to be acquired."},{"name":"$timeout","type":"int","default":"0","optional":true,"description":"Time (in seconds) to wait for the lock to be released."}],"return":{"type":"bool","description":"Acquiring result."},"visibility":"protected","abstract":true},"init":{"signature":"public function init(): mixed","summary":"Initializes the Mutex component.","return":{"type":"mixed"}},"isAcquired":{"signature":"public function isAcquired(string $name): bool","summary":"Checks if a lock is acquired by the current process.","params":[{"name":"$name","type":"string","description":"Of the lock to check."}],"return":{"type":"bool","description":"Returns true if currently acquired."},"since":"2.0.36"},"release":{"signature":"public function release(string $name): bool","summary":"Releases acquired lock. This method will return false in case the lock was not found.","params":[{"name":"$name","type":"string","description":"Of the lock to be released. This lock must already exist."}],"return":{"type":"bool","description":"Lock release result: false in case named lock was not found.."}},"releaseLock":{"signature":"abstract protected function releaseLock(string $name): bool","summary":"This method should be extended by a concrete Mutex implementations. Releases lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be released."}],"return":{"type":"bool","description":"Release result."},"visibility":"protected","abstract":true}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\mutex\\MysqlMutex":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/mutex/mysqlmutex/","summary":"MysqlMutex implements mutex \"lock\" mechanism via MySQL locks.","since":"2.0","extends":"yii\\mutex\\DbMutex","implements":["yii\\base\\Configurable"],"properties":{"keyPrefix":{"type":"yii\\db\\Expression|string|null","default":"null","description":"Prefix value.","since":"2.0.47"}},"methods":{"acquireLock":{"signature":"protected function acquireLock(string $name, int $timeout = 0): bool","summary":"Acquires lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be acquired."},{"name":"$timeout","type":"int","default":"0","optional":true,"description":"Time (in seconds) to wait for lock to become released."}],"return":{"type":"bool","description":"Acquiring result."},"visibility":"protected"},"hashLockName":{"signature":"protected function hashLockName(string $name): string","summary":"Generate hash for lock name to avoid exceeding lock name length limit.","params":[{"name":"$name","type":"string"}],"return":{"type":"string"},"visibility":"protected","since":"2.0.16"},"init":{"signature":"public function init(): mixed","summary":"Initializes MySQL specific mutex component implementation.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is not MySQL connection."}]},"prepareName":{"signature":"protected function prepareName(): array","summary":"Prepare lock name","return":{"type":"array","description":"Expression and params"},"visibility":"protected","since":"2.0.48"},"releaseLock":{"signature":"protected function releaseLock(string $name): bool","summary":"Releases lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be released."}],"return":{"type":"bool","description":"Release result."},"visibility":"protected"}},"inherited":{"properties":{"autoRelease":"yii\\mutex\\Mutex","behaviors":"yii\\base\\Component","db":"yii\\mutex\\DbMutex"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","acquire":"yii\\mutex\\Mutex","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isAcquired":"yii\\mutex\\Mutex","off":"yii\\base\\Component","on":"yii\\base\\Component","release":"yii\\mutex\\Mutex","trigger":"yii\\base\\Component"}}},"yii\\mutex\\OracleMutex":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/mutex/oraclemutex/","summary":"OracleMutex implements mutex \"lock\" mechanism via Oracle locks.","since":"2.0.10","extends":"yii\\mutex\\DbMutex","implements":["yii\\base\\Configurable"],"properties":{"lockMode":{"type":"string","default":"self::MODE_X","description":"Lock mode to be used."},"releaseOnCommit":{"type":"bool","default":"false","description":"Whether to release lock on commit."}},"methods":{"acquireLock":{"signature":"protected function acquireLock(string $name, int $timeout = 0): bool","summary":"Acquires lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be acquired."},{"name":"$timeout","type":"int","default":"0","optional":true,"description":"Time (in seconds) to wait for lock to become released."}],"return":{"type":"bool","description":"Acquiring result."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes Oracle specific mutex component implementation.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is not Oracle connection."}]},"releaseLock":{"signature":"protected function releaseLock(string $name): bool","summary":"Releases lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be released."}],"return":{"type":"bool","description":"Release result."},"visibility":"protected"}},"constants":{"MODE_X":{"value":"'X_MODE'","description":"Available lock modes"},"MODE_NL":{"value":"'NL_MODE'"},"MODE_S":{"value":"'S_MODE'"},"MODE_SX":{"value":"'SX_MODE'"},"MODE_SS":{"value":"'SS_MODE'"},"MODE_SSX":{"value":"'SSX_MODE'"}},"inherited":{"properties":{"autoRelease":"yii\\mutex\\Mutex","behaviors":"yii\\base\\Component","db":"yii\\mutex\\DbMutex"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","acquire":"yii\\mutex\\Mutex","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isAcquired":"yii\\mutex\\Mutex","off":"yii\\base\\Component","on":"yii\\base\\Component","release":"yii\\mutex\\Mutex","trigger":"yii\\base\\Component"}}},"yii\\mutex\\PgsqlMutex":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/mutex/pgsqlmutex/","summary":"PgsqlMutex implements mutex \"lock\" mechanism via PgSQL locks.","since":"2.0.8","extends":"yii\\mutex\\DbMutex","implements":["yii\\base\\Configurable"],"traits":["yii\\mutex\\RetryAcquireTrait"],"methods":{"acquireLock":{"signature":"protected function acquireLock(string $name, int $timeout = 0): bool","summary":"Acquires lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be acquired."},{"name":"$timeout","type":"int","default":"0","optional":true,"description":"Time (in seconds) to wait for lock to become released."}],"return":{"type":"bool","description":"Acquiring result."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes PgSQL specific mutex component implementation.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is not PgSQL connection."}]},"releaseLock":{"signature":"protected function releaseLock(string $name): bool","summary":"Releases lock by given name.","params":[{"name":"$name","type":"string","description":"Of the lock to be released."}],"return":{"type":"bool","description":"Release result."},"visibility":"protected"}},"inherited":{"properties":{"autoRelease":"yii\\mutex\\Mutex","behaviors":"yii\\base\\Component","db":"yii\\mutex\\DbMutex","retryDelay":"yii\\mutex\\RetryAcquireTrait"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","acquire":"yii\\mutex\\Mutex","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isAcquired":"yii\\mutex\\Mutex","off":"yii\\base\\Component","on":"yii\\base\\Component","release":"yii\\mutex\\Mutex","trigger":"yii\\base\\Component"}}},"yii\\mutex\\RetryAcquireTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/mutex/retryacquiretrait/","summary":"Trait RetryAcquireTrait.","since":"2.0.16","properties":{"retryDelay":{"type":"int","default":"50","description":"Number of milliseconds between each try in `acquire()` until specified timeout times out.","since":"2.0.16"}}},"yii\\rbac\\Assignment":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rbac/assignment/","summary":"Assignment represents an assignment of a role to a user.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"createdAt":{"type":"int","default":"null","description":"UNIX timestamp representing the assignment creation time"},"roleName":{"type":"string","default":"null","description":"The role name"},"userId":{"type":"string|int","default":"null","description":"User ID (see `yii\\web\\User::$id`)"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\rbac\\BaseManager":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/rbac/basemanager/","summary":"BaseManager is a base class implementing `yii\\rbac\\ManagerInterface` for RBAC management.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\rbac\\ManagerInterface","yii\\base\\Configurable"],"properties":{"defaultRoleInstances":{"type":"yii\\rbac\\Role[]","description":"Default roles.","access":"read-only","virtual":true},"defaultRoles":{"type":"array","default":"[]","description":"A list of role names that are assigned to every user automatically without calling `assign()`.","visibility":"protected"},"permissions":{"type":"yii\\rbac\\Permission[]","description":"All permissions in the system.","access":"read-only","virtual":true},"roles":{"type":"yii\\rbac\\Role[]","description":"All roles in the system.","access":"read-only","virtual":true}},"methods":{"add":{"signature":"public function add(mixed $object): bool","summary":"Adds a role, permission or rule to the RBAC system.","params":[{"name":"$object","type":"mixed"}],"return":{"type":"bool","description":"Whether the role, permission or rule is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}]},"addItem":{"signature":"abstract protected function addItem(yii\\rbac\\Item $item): bool","summary":"Adds an auth item to the RBAC system.","params":[{"name":"$item","type":"yii\\rbac\\Item","description":"The item to add"}],"return":{"type":"bool","description":"Whether the auth item is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected","abstract":true},"addRule":{"signature":"abstract protected function addRule(yii\\rbac\\Rule $rule): bool","summary":"Adds a rule to the RBAC system.","params":[{"name":"$rule","type":"yii\\rbac\\Rule","description":"The rule to add"}],"return":{"type":"bool","description":"Whether the rule is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected","abstract":true},"createPermission":{"signature":"public function createPermission(mixed $name): yii\\rbac\\Permission","summary":"Creates a new Permission object.","params":[{"name":"$name","type":"mixed","description":"The permission name"}],"return":{"type":"yii\\rbac\\Permission","description":"The new Permission object"}},"createRole":{"signature":"public function createRole(mixed $name): yii\\rbac\\Role","summary":"Creates a new Role object.","params":[{"name":"$name","type":"mixed","description":"The role name"}],"return":{"type":"yii\\rbac\\Role","description":"The new Role object"}},"executeRule":{"signature":"protected function executeRule(string|int $user, yii\\rbac\\Item $item, array $params): bool","summary":"Executes the rule associated with the specified auth item.","params":[{"name":"$user","type":"string|int","description":"The user ID. This should be either an integer or a string representing the unique identifier of a user. See `yii\\web\\User::$id`."},{"name":"$item","type":"yii\\rbac\\Item","description":"The auth item that needs to execute its rule"},{"name":"$params","type":"array","description":"Parameters passed to `yii\\rbac\\CheckAccessInterface::checkAccess()` and will be passed to the rule"}],"return":{"type":"bool","description":"The return value of `yii\\rbac\\Rule::execute()`. If the auth item does not specify a rule, true will be returned."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the auth item has an invalid rule."}],"visibility":"protected"},"getDefaultRoleInstances":{"signature":"public function getDefaultRoleInstances(): yii\\rbac\\Role[]","summary":"Returns defaultRoles as array of Role objects.","return":{"type":"yii\\rbac\\Role[]","description":"Default roles. The array is indexed by the role names"},"since":"2.0.12"},"getDefaultRoles":{"signature":"public function getDefaultRoles(): string[]","summary":"Get default roles","return":{"type":"string[]","description":"Default roles"},"since":"2.0.14"},"getItem":{"signature":"abstract protected function getItem(string $name): yii\\rbac\\Item|null","summary":"Returns the named auth item.","params":[{"name":"$name","type":"string","description":"The auth item name."}],"return":{"type":"yii\\rbac\\Item|null","description":"The auth item corresponding to the specified name. Null is returned if no such item."},"visibility":"protected","abstract":true},"getItems":{"signature":"abstract protected function getItems(yii\\rbac\\Item::TYPE_ROLE|yii\\rbac\\Item::TYPE_PERMISSION $type): ($type is yii\\rbac\\Item::TYPE_ROLE ? yii\\rbac\\Role[] : yii\\rbac\\Permission[])","summary":"Returns the items of the specified type.","params":[{"name":"$type","type":"yii\\rbac\\Item::TYPE_ROLE|yii\\rbac\\Item::TYPE_PERMISSION","description":"The auth item type (either `yii\\rbac\\Item::TYPE_ROLE` or `yii\\rbac\\Item::TYPE_PERMISSION`"}],"return":{"type":"($type is yii\\rbac\\Item::TYPE_ROLE ? yii\\rbac\\Role[] : yii\\rbac\\Permission[])","description":"The auth items of the specified type."},"visibility":"protected","abstract":true},"getPermission":{"signature":"public function getPermission(mixed $name): yii\\rbac\\Permission|null","summary":"Returns the named permission.","params":[{"name":"$name","type":"mixed","description":"The permission name."}],"return":{"type":"yii\\rbac\\Permission|null","description":"The permission corresponding to the specified name. Null is returned if no such permission."}},"getPermissions":{"signature":"public function getPermissions(): yii\\rbac\\Permission[]","summary":"Returns all permissions in the system.","return":{"type":"yii\\rbac\\Permission[]","description":"All permissions in the system. The array is indexed by the permission names."}},"getRole":{"signature":"public function getRole(mixed $name): yii\\rbac\\Role|null","summary":"Returns the named role.","params":[{"name":"$name","type":"mixed","description":"The role name."}],"return":{"type":"yii\\rbac\\Role|null","description":"The role corresponding to the specified name. Null is returned if no such role."}},"getRoles":{"signature":"public function getRoles(): yii\\rbac\\Role[]","summary":"Returns all roles in the system.","return":{"type":"yii\\rbac\\Role[]","description":"All roles in the system. The array is indexed by the role names."}},"hasNoAssignments":{"signature":"protected function hasNoAssignments(yii\\rbac\\Assignment[] $assignments): bool","summary":"Checks whether array of $assignments is empty and `$defaultRoles` property is empty as well.","params":[{"name":"$assignments","type":"yii\\rbac\\Assignment[]","description":"Array of user's assignments"}],"return":{"type":"bool","description":"Whether array of $assignments is empty and `$defaultRoles` property is empty as well"},"visibility":"protected","since":"2.0.11"},"remove":{"signature":"public function remove(mixed $object): bool","summary":"Removes a role, permission or rule from the RBAC system.","params":[{"name":"$object","type":"mixed"}],"return":{"type":"bool","description":"Whether the role, permission or rule is successfully removed"}},"removeItem":{"signature":"abstract protected function removeItem(yii\\rbac\\Item $item): bool","summary":"Removes an auth item from the RBAC system.","params":[{"name":"$item","type":"yii\\rbac\\Item","description":"The item to remove"}],"return":{"type":"bool","description":"Whether the role or permission is successfully removed"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected","abstract":true},"removeRule":{"signature":"abstract protected function removeRule(yii\\rbac\\Rule $rule): bool","summary":"Removes a rule from the RBAC system.","params":[{"name":"$rule","type":"yii\\rbac\\Rule","description":"The rule to remove"}],"return":{"type":"bool","description":"Whether the rule is successfully removed"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected","abstract":true},"setDefaultRoles":{"signature":"public function setDefaultRoles(string[]|Closure $roles): mixed","summary":"Set default roles","params":[{"name":"$roles","type":"string[]|Closure","description":"Either array of roles or a callable returning it"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"when $roles is neither array nor Closure"},{"type":"yii\\base\\InvalidValueException","description":"when Closure return is not an array"}],"since":"2.0.14"},"update":{"signature":"public function update(mixed $name, mixed $object): bool","summary":"Updates the specified role, permission or rule in the system.","params":[{"name":"$name","type":"mixed","description":"The old name of the role, permission or rule"},{"name":"$object","type":"mixed"}],"return":{"type":"bool","description":"Whether the update is successful"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}]},"updateItem":{"signature":"abstract protected function updateItem(string $name, yii\\rbac\\Item $item): bool","summary":"Updates an auth item in the RBAC system.","params":[{"name":"$name","type":"string","description":"The name of the item being updated"},{"name":"$item","type":"yii\\rbac\\Item","description":"The updated item"}],"return":{"type":"bool","description":"Whether the auth item is successfully updated"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected","abstract":true},"updateRule":{"signature":"abstract protected function updateRule(string $name, yii\\rbac\\Rule $rule): bool","summary":"Updates a rule to the RBAC system.","params":[{"name":"$name","type":"string","description":"The name of the rule being updated"},{"name":"$rule","type":"yii\\rbac\\Rule","description":"The updated rule"}],"return":{"type":"bool","description":"Whether the rule is successfully updated"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected","abstract":true}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","rules":"yii\\rbac\\ManagerInterface"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addChild":"yii\\rbac\\ManagerInterface","assign":"yii\\rbac\\ManagerInterface","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canAddChild":"yii\\rbac\\ManagerInterface","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getAssignment":"yii\\rbac\\ManagerInterface","getAssignments":"yii\\rbac\\ManagerInterface","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getChildren":"yii\\rbac\\ManagerInterface","getChildRoles":"yii\\rbac\\ManagerInterface","getPermissionsByRole":"yii\\rbac\\ManagerInterface","getPermissionsByUser":"yii\\rbac\\ManagerInterface","getRolesByUser":"yii\\rbac\\ManagerInterface","getRule":"yii\\rbac\\ManagerInterface","getRules":"yii\\rbac\\ManagerInterface","getUserIdsByRole":"yii\\rbac\\ManagerInterface","hasChild":"yii\\rbac\\ManagerInterface","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","removeAll":"yii\\rbac\\ManagerInterface","removeAllAssignments":"yii\\rbac\\ManagerInterface","removeAllPermissions":"yii\\rbac\\ManagerInterface","removeAllRoles":"yii\\rbac\\ManagerInterface","removeAllRules":"yii\\rbac\\ManagerInterface","removeChild":"yii\\rbac\\ManagerInterface","removeChildren":"yii\\rbac\\ManagerInterface","revoke":"yii\\rbac\\ManagerInterface","revokeAll":"yii\\rbac\\ManagerInterface","trigger":"yii\\base\\Component"}}},"yii\\rbac\\CheckAccessInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/rbac/checkaccessinterface/","summary":"For more details and usage information on CheckAccessInterface, see the [guide article on security authorization](https://yii2-framework.github.io/docs/guide/security-authorization/).","since":"2.0.9","methods":{"checkAccess":{"signature":"abstract public function checkAccess(string|int $userId, string $permissionName, array $params = []): bool","summary":"Checks if the user has the specified permission.","params":[{"name":"$userId","type":"string|int","description":"The user ID. This should be either an integer or a string representing the unique identifier of a user. See `yii\\web\\User::$id`."},{"name":"$permissionName","type":"string","description":"The name of the permission to be checked against"},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be passed to the rules associated with the roles and permissions assigned to the user."}],"return":{"type":"bool","description":"Whether the user has the specified permission."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if $permissionName does not refer to an existing permission"}],"abstract":true}}},"yii\\rbac\\DbManager":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rbac/dbmanager/","summary":"DbManager represents an authorization manager that stores authorization information in database.","since":"2.0","extends":"yii\\rbac\\BaseManager","implements":["yii\\rbac\\ManagerInterface","yii\\base\\Configurable"],"properties":{"assignmentTable":{"type":"string","default":"'{{%auth_assignment}}'","description":"The name of the table storing authorization item assignments."},"cache":{"type":"yii\\caching\\CacheInterface|array|string|null","default":"null","description":"The cache used to improve RBAC performance.","since":"2.0.3"},"cacheKey":{"type":"string","default":"'rbac'","description":"The key used to store RBAC data in cache","since":"2.0.3"},"checkAccessAssignments":{"type":"array","default":"[]","description":"User assignments (user id => Assignment[])","visibility":"protected"},"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."},"itemChildTable":{"type":"string","default":"'{{%auth_item_child}}'","description":"The name of the table storing authorization item hierarchy."},"items":{"type":"yii\\rbac\\Item[]|null","default":"null","description":"All auth items (name => Item)","visibility":"protected"},"itemTable":{"type":"string","default":"'{{%auth_item}}'","description":"The name of the table storing authorization items."},"parents":{"type":"array|null","default":"null","description":"Auth item parent-child relationships (childName => list of parents)","visibility":"protected"},"rolesCacheSuffix":{"type":"string","default":"'roles'","description":"The key used to store user RBAC roles in cache","since":"2.0.48"},"rules":{"type":"yii\\rbac\\Rule[]|null","default":"null","description":"All auth rules (name => Rule)","visibility":"protected"},"ruleTable":{"type":"string","default":"'{{%auth_rule}}'","description":"The name of the table storing rules."}},"methods":{"addChild":{"signature":"public function addChild(mixed $parent, mixed $child): bool","summary":"Adds an item as a child of another item.","params":[{"name":"$parent","type":"mixed"},{"name":"$child","type":"mixed"}],"return":{"type":"bool","description":"Whether the child successfully added"},"throws":[{"type":"yii\\base\\Exception","description":"if the parent-child relationship already exists or if a loop has been detected."}]},"addItem":{"signature":"protected function addItem(mixed $item): bool","summary":"Adds an auth item to the RBAC system.","params":[{"name":"$item","type":"mixed","description":"The item to add"}],"return":{"type":"bool","description":"Whether the auth item is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected"},"addRule":{"signature":"protected function addRule(mixed $rule): bool","summary":"Adds a rule to the RBAC system.","params":[{"name":"$rule","type":"mixed","description":"The rule to add"}],"return":{"type":"bool","description":"Whether the rule is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected"},"assign":{"signature":"public function assign(mixed $role, mixed $userId): yii\\rbac\\Assignment","summary":"Assigns a role to a user.","params":[{"name":"$role","type":"mixed"},{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment","description":"The role assignment information."},"throws":[{"type":"Exception","description":"if the role has already been assigned to the user"}]},"canAddChild":{"signature":"public function canAddChild(mixed $parent, mixed $child): bool","summary":"Checks the possibility of adding a child to parent.","params":[{"name":"$parent","type":"mixed","description":"The parent item"},{"name":"$child","type":"mixed","description":"The child item to be added to the hierarchy"}],"return":{"type":"bool","description":"Possibility of adding"},"since":"2.0.8"},"checkAccess":{"signature":"public function checkAccess(mixed $userId, mixed $permissionName, mixed $params = [])","params":[{"name":"$userId","type":"mixed"},{"name":"$permissionName","type":"mixed"},{"name":"$params","type":"mixed","default":"[]","optional":true}]},"checkAccessFromCache":{"signature":"protected function checkAccessFromCache(string|int $user, string $itemName, array $params, yii\\rbac\\Assignment[] $assignments): bool","summary":"Performs access check for the specified user based on the data loaded from cache.","params":[{"name":"$user","type":"string|int","description":"The user ID. This should can be either an integer or a string representing the unique identifier of a user. See `yii\\web\\User::$id`."},{"name":"$itemName","type":"string","description":"The name of the operation that need access check"},{"name":"$params","type":"array","description":"Name-value pairs that would be passed to rules associated with the tasks and roles assigned to the user. A param with name 'user' is added to this array, which holds the value of `$userId`."},{"name":"$assignments","type":"yii\\rbac\\Assignment[]","description":"The assignments to the specified user"}],"return":{"type":"bool","description":"Whether the operations can be performed by the user."},"visibility":"protected","since":"2.0.3"},"checkAccessRecursive":{"signature":"protected function checkAccessRecursive(string|int $user, string $itemName, array $params, yii\\rbac\\Assignment[] $assignments): bool","summary":"Performs access check for the specified user.","params":[{"name":"$user","type":"string|int","description":"The user ID. This should can be either an integer or a string representing the unique identifier of a user. See `yii\\web\\User::$id`."},{"name":"$itemName","type":"string","description":"The name of the operation that need access check"},{"name":"$params","type":"array","description":"Name-value pairs that would be passed to rules associated with the tasks and roles assigned to the user. A param with name 'user' is added to this array, which holds the value of `$userId`."},{"name":"$assignments","type":"yii\\rbac\\Assignment[]","description":"The assignments to the specified user"}],"return":{"type":"bool","description":"Whether the operations can be performed by the user."},"visibility":"protected"},"detectLoop":{"signature":"protected function detectLoop(yii\\rbac\\Item $parent, yii\\rbac\\Item $child): bool","summary":"Checks whether there is a loop in the authorization item hierarchy.","params":[{"name":"$parent","type":"yii\\rbac\\Item","description":"The parent item"},{"name":"$child","type":"yii\\rbac\\Item","description":"The child item to be added to the hierarchy"}],"return":{"type":"bool","description":"Whether a loop exists"},"visibility":"protected"},"getAssignment":{"signature":"public function getAssignment(mixed $roleName, mixed $userId): yii\\rbac\\Assignment|null","summary":"Returns the assignment information regarding a role and a user.","params":[{"name":"$roleName","type":"mixed","description":"The role name"},{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment|null","description":"The assignment information. Null is returned if the role is not assigned to the user."}},"getAssignments":{"signature":"public function getAssignments(mixed $userId): yii\\rbac\\Assignment[]","summary":"Returns all role assignment information for the specified user.","params":[{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment[]","description":"The assignments indexed by role names. An empty array will be returned if there is no role assigned to the user."}},"getChildren":{"signature":"public function getChildren(mixed $name): yii\\rbac\\Item[]","summary":"Returns the child permissions and/or roles.","params":[{"name":"$name","type":"mixed","description":"The parent name"}],"return":{"type":"yii\\rbac\\Item[]","description":"The child permissions and/or roles"}},"getChildrenList":{"signature":"protected function getChildrenList(): array","summary":"Returns the children for every parent.","return":{"type":"array","description":"The children list. Each array key is a parent item name, and the corresponding array value is a list of child item names."},"visibility":"protected"},"getChildrenRecursive":{"signature":"protected function getChildrenRecursive(string $name, array $childrenList, array &$result): mixed","summary":"Recursively finds all children and grand children of the specified item.","params":[{"name":"$name","type":"string","description":"The name of the item whose children are to be looked for."},{"name":"$childrenList","type":"array","description":"The child list built via `getChildrenList()`"},{"name":"$result","type":"array","byReference":true,"description":"The children and grand children (in array keys)"}],"return":{"type":"mixed"},"visibility":"protected"},"getChildRoles":{"signature":"public function getChildRoles(mixed $roleName): yii\\rbac\\Role[]","summary":"Returns child roles of the role specified. Depth isn't limited.","params":[{"name":"$roleName","type":"mixed","description":"Name of the role to file child roles for"}],"return":{"type":"yii\\rbac\\Role[]","description":"Child roles. The array is indexed by the role names. First element is an instance of the parent Role itself."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if Role was not found that are getting by $roleName"}],"since":"2.0.10"},"getDirectPermissionsByUser":{"signature":"protected function getDirectPermissionsByUser(string|int $userId): yii\\rbac\\Permission[]","summary":"Returns all permissions that are directly assigned to user.","params":[{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All direct permissions that the user has. The array is indexed by the permission names."},"visibility":"protected","since":"2.0.7"},"getInheritedPermissionsByUser":{"signature":"protected function getInheritedPermissionsByUser(string|int $userId): yii\\rbac\\Permission[]","summary":"Returns all permissions that the user inherits from the roles assigned to him.","params":[{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All inherited permissions that the user has. The array is indexed by the permission names."},"visibility":"protected","since":"2.0.7"},"getItem":{"signature":"protected function getItem(mixed $name): yii\\rbac\\Item|null","summary":"Returns the named auth item.","params":[{"name":"$name","type":"mixed","description":"The auth item name."}],"return":{"type":"yii\\rbac\\Item|null","description":"The auth item corresponding to the specified name. Null is returned if no such item."},"visibility":"protected"},"getItems":{"signature":"protected function getItems(mixed $type): ($type is yii\\rbac\\Item::TYPE_ROLE ? yii\\rbac\\Role[] : yii\\rbac\\Permission[])","summary":"Returns the items of the specified type.","params":[{"name":"$type","type":"mixed","description":"The auth item type (either `yii\\rbac\\Item::TYPE_ROLE` or `yii\\rbac\\Item::TYPE_PERMISSION`"}],"return":{"type":"($type is yii\\rbac\\Item::TYPE_ROLE ? yii\\rbac\\Role[] : yii\\rbac\\Permission[])","description":"The auth items of the specified type."},"visibility":"protected"},"getPermissionsByRole":{"signature":"public function getPermissionsByRole(mixed $roleName): yii\\rbac\\Permission[]","summary":"Returns all permissions that the specified role represents.","params":[{"name":"$roleName","type":"mixed","description":"The role name"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All permissions that the role represents. The array is indexed by the permission names."}},"getPermissionsByUser":{"signature":"public function getPermissionsByUser(mixed $userId): yii\\rbac\\Permission[]","summary":"Returns all permissions that the user has.","params":[{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All permissions that the user has. The array is indexed by the permission names."}},"getRolesByUser":{"signature":"public function getRolesByUser(mixed $userId): mixed","summary":"The roles returned by this method include the roles assigned via `$defaultRoles`.","params":[{"name":"$userId","type":"mixed"}],"return":{"type":"mixed"}},"getRule":{"signature":"public function getRule(mixed $name): yii\\rbac\\Rule|null","summary":"Returns the rule of the specified name.","params":[{"name":"$name","type":"mixed","description":"The rule name"}],"return":{"type":"yii\\rbac\\Rule|null","description":"The rule object, or null if the specified name does not correspond to a rule."}},"getRules":{"signature":"public function getRules(): yii\\rbac\\Rule[]","summary":"Returns all rules available in the system.","return":{"type":"yii\\rbac\\Rule[]","description":"The rules indexed by the rule names"}},"getUserIdsByRole":{"signature":"public function getUserIdsByRole(string $roleName): string[]","summary":"Returns all role assignment information for the specified role.","params":[{"name":"$roleName","type":"string"}],"return":{"type":"string[]","description":"The ids. An empty array will be returned if role is not assigned to any user."},"since":"2.0.7"},"hasChild":{"signature":"public function hasChild(mixed $parent, mixed $child): bool","summary":"Returns a value indicating whether the child already exists for the parent.","params":[{"name":"$parent","type":"mixed"},{"name":"$child","type":"mixed"}],"return":{"type":"bool","description":"Whether `$child` is already a child of `$parent`"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the application component.","return":{"type":"mixed"}},"invalidateCache":{"signature":"public function invalidateCache(): mixed","return":{"type":"mixed"}},"isEmptyUserId":{"signature":"protected function isEmptyUserId(mixed $userId): bool","summary":"Check whether $userId is empty.","params":[{"name":"$userId","type":"mixed"}],"return":{"type":"bool"},"visibility":"protected","since":"2.0.26"},"loadFromCache":{"signature":"public function loadFromCache(): mixed","return":{"type":"mixed"}},"populateItem":{"signature":"protected function populateItem(array $row): yii\\rbac\\Item","summary":"Populates an auth item with the data fetched from database.","params":[{"name":"$row","type":"array","description":"The data from the auth item table"}],"return":{"type":"yii\\rbac\\Item","description":"The populated auth item instance (either Role or Permission)"},"visibility":"protected"},"removeAll":{"signature":"public function removeAll(): mixed","summary":"Removes all authorization data, including roles, permissions, rules, and assignments.","return":{"type":"mixed"}},"removeAllAssignments":{"signature":"public function removeAllAssignments(): mixed","summary":"Removes all role assignments.","return":{"type":"mixed"}},"removeAllItems":{"signature":"protected function removeAllItems(int $type): mixed","summary":"Removes all auth items of the specified type.","params":[{"name":"$type","type":"int","description":"The auth item type (either Item::TYPE_PERMISSION or Item::TYPE_ROLE)."}],"return":{"type":"mixed"},"visibility":"protected"},"removeAllItemsManualCascade":{"signature":"protected function removeAllItemsManualCascade(int $type): void","summary":"Removes all auth items of the given type without relying on FK enforcement.","params":[{"name":"$type","type":"int","description":"The auth item type (either `yii\\rbac\\Item::TYPE_PERMISSION` or `yii\\rbac\\Item::TYPE_ROLE`)."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"},"removeAllItemsSoftCascade":{"signature":"protected function removeAllItemsSoftCascade(int $type): void","summary":"Removes all auth items of the given type when FKs cascade for every direction except `auth_item_child.child`.","params":[{"name":"$type","type":"int","description":"The auth item type (either `yii\\rbac\\Item::TYPE_PERMISSION` or `yii\\rbac\\Item::TYPE_ROLE`)."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"},"removeAllPermissions":{"signature":"public function removeAllPermissions(): mixed","summary":"Removes all permissions.","return":{"type":"mixed"}},"removeAllRoles":{"signature":"public function removeAllRoles(): mixed","summary":"Removes all roles.","return":{"type":"mixed"}},"removeAllRules":{"signature":"public function removeAllRules(): mixed","summary":"Removes all rules.","return":{"type":"mixed"}},"removeAllRulesManualCascade":{"signature":"protected function removeAllRulesManualCascade(): void","summary":"Removes every auth rule without relying on FK enforcement.","return":{"type":"void"},"visibility":"protected","since":"22.0"},"removeChild":{"signature":"public function removeChild(mixed $parent, mixed $child): bool","summary":"Removes a child from its parent.","params":[{"name":"$parent","type":"mixed"},{"name":"$child","type":"mixed"}],"return":{"type":"bool","description":"Whether the removal is successful"}},"removeChildren":{"signature":"public function removeChildren(mixed $parent): bool","summary":"Removed all children form their parent.","params":[{"name":"$parent","type":"mixed"}],"return":{"type":"bool","description":"Whether the removal is successful"}},"removeItem":{"signature":"protected function removeItem(mixed $item): bool","summary":"Removes an auth item from the RBAC system.","params":[{"name":"$item","type":"mixed","description":"The item to remove"}],"return":{"type":"bool","description":"Whether the role or permission is successfully removed"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected"},"removeItemManualCascade":{"signature":"protected function removeItemManualCascade(yii\\rbac\\Item $item): void","summary":"Removes an item without relying on FK enforcement.","params":[{"name":"$item","type":"yii\\rbac\\Item","description":"The item to remove."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"},"removeItemSoftCascade":{"signature":"protected function removeItemSoftCascade(yii\\rbac\\Item $item): void","summary":"Removes an item when FKs cascade for every direction except `auth_item_child.child`.","params":[{"name":"$item","type":"yii\\rbac\\Item","description":"The item to remove."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"},"removeRule":{"signature":"protected function removeRule(mixed $rule): bool","summary":"Removes a rule from the RBAC system.","params":[{"name":"$rule","type":"mixed","description":"The rule to remove"}],"return":{"type":"bool","description":"Whether the rule is successfully removed"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected"},"removeRuleManualCascade":{"signature":"protected function removeRuleManualCascade(yii\\rbac\\Rule $rule): void","summary":"Removes a rule without relying on FK enforcement.","params":[{"name":"$rule","type":"yii\\rbac\\Rule","description":"The rule to remove."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"},"requiresSoftCascade":{"signature":"protected function requiresSoftCascade(): bool","summary":"Returns whether the driver requires a partial PHP-level cleanup of `auth_item_child` rows whose `child` column references the affected item.","return":{"type":"bool","description":"Whether the `auth_item_child.child` direction must be handled in PHP."},"visibility":"protected","since":"22.0"},"revoke":{"signature":"public function revoke(mixed $role, mixed $userId): bool","summary":"Revokes a role from a user.","params":[{"name":"$role","type":"mixed"},{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"bool","description":"Whether the revoking is successful"}},"revokeAll":{"signature":"public function revokeAll(mixed $userId): bool","summary":"Revokes all roles from a user.","params":[{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"bool","description":"Whether the revoking is successful"}},"supportsCascadeUpdate":{"signature":"protected function supportsCascadeUpdate(): bool","summary":"Returns whether the database performs cascade updates and deletes automatically (for example, via FK `ON UPDATE CASCADE` / `ON DELETE CASCADE`).","return":{"type":"bool","description":"Whether the database supports cascading update and delete."},"visibility":"protected"},"updateItem":{"signature":"protected function updateItem(mixed $name, mixed $item): bool","summary":"Updates an auth item in the RBAC system.","params":[{"name":"$name","type":"mixed","description":"The name of the item being updated"},{"name":"$item","type":"mixed","description":"The updated item"}],"return":{"type":"bool","description":"Whether the auth item is successfully updated"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected"},"updateItemManualCascade":{"signature":"protected function updateItemManualCascade(string $oldName, yii\\rbac\\Item $item): void","summary":"Renames an item without relying on FK enforcement.","params":[{"name":"$oldName","type":"string","description":"The current name of the item."},{"name":"$item","type":"yii\\rbac\\Item","description":"The item carrying the new field values."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"},"updateItemSoftCascade":{"signature":"protected function updateItemSoftCascade(string $oldName, yii\\rbac\\Item $item): void","summary":"Renames an item when FKs cascade for every direction except `auth_item_child.child` (MSSQL multi-path).","params":[{"name":"$oldName","type":"string","description":"The current name of the item."},{"name":"$item","type":"yii\\rbac\\Item","description":"The item carrying the new field values."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"},"updateRule":{"signature":"protected function updateRule(mixed $name, mixed $rule): bool","summary":"Updates a rule to the RBAC system.","params":[{"name":"$name","type":"mixed","description":"The name of the rule being updated"},{"name":"$rule","type":"mixed","description":"The updated rule"}],"return":{"type":"bool","description":"Whether the rule is successfully updated"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected"},"updateRuleManualCascade":{"signature":"protected function updateRuleManualCascade(string $oldName, yii\\rbac\\Rule $rule): void","summary":"Renames a rule without relying on FK enforcement.","params":[{"name":"$oldName","type":"string","description":"The current name of the rule."},{"name":"$rule","type":"yii\\rbac\\Rule","description":"The rule carrying the new field values."}],"return":{"type":"void"},"visibility":"protected","since":"22.0"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultRoleInstances":"yii\\rbac\\BaseManager","defaultRoles":"yii\\rbac\\BaseManager","permissions":"yii\\rbac\\BaseManager","roles":"yii\\rbac\\BaseManager"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\rbac\\BaseManager","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createPermission":"yii\\rbac\\BaseManager","createRole":"yii\\rbac\\BaseManager","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","executeRule":"yii\\rbac\\BaseManager","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getDefaultRoleInstances":"yii\\rbac\\BaseManager","getDefaultRoles":"yii\\rbac\\BaseManager","getPermission":"yii\\rbac\\BaseManager","getPermissions":"yii\\rbac\\BaseManager","getRole":"yii\\rbac\\BaseManager","getRoles":"yii\\rbac\\BaseManager","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasNoAssignments":"yii\\rbac\\BaseManager","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","remove":"yii\\rbac\\BaseManager","setDefaultRoles":"yii\\rbac\\BaseManager","trigger":"yii\\base\\Component","update":"yii\\rbac\\BaseManager"}}},"yii\\rbac\\Item":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rbac/item/","summary":"For more details and usage information on Item, see the [guide article on security authorization](https://yii2-framework.github.io/docs/guide/security-authorization/).","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"createdAt":{"type":"int","default":"null","description":"UNIX timestamp representing the item creation time"},"data":{"type":"mixed","default":"null","description":"The additional data associated with this item"},"description":{"type":"string","default":"null","description":"The item description"},"name":{"type":"string","default":"null","description":"The name of the item."},"ruleName":{"type":"string|null","default":"null","description":"Name of the rule associated with this item"},"type":{"type":"int","default":"null","description":"The type of the item."},"updatedAt":{"type":"int","default":"null","description":"UNIX timestamp representing the item updating time"}},"constants":{"TYPE_ROLE":{"value":"1"},"TYPE_PERMISSION":{"value":"2"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\rbac\\ManagerInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/rbac/managerinterface/","summary":"For more details and usage information on ManagerInterface, see the [guide article on security authorization](https://yii2-framework.github.io/docs/guide/security-authorization/).","since":"2.0","implements":["yii\\rbac\\CheckAccessInterface"],"methods":{"add":{"signature":"abstract public function add(yii\\rbac\\Role|yii\\rbac\\Permission|yii\\rbac\\Rule $object): bool","summary":"Adds a role, permission or rule to the RBAC system.","params":[{"name":"$object","type":"yii\\rbac\\Role|yii\\rbac\\Permission|yii\\rbac\\Rule"}],"return":{"type":"bool","description":"Whether the role, permission or rule is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"abstract":true},"addChild":{"signature":"abstract public function addChild(yii\\rbac\\Item $parent, yii\\rbac\\Item $child): bool","summary":"Adds an item as a child of another item.","params":[{"name":"$parent","type":"yii\\rbac\\Item"},{"name":"$child","type":"yii\\rbac\\Item"}],"return":{"type":"bool","description":"Whether the child successfully added"},"throws":[{"type":"yii\\base\\Exception","description":"if the parent-child relationship already exists or if a loop has been detected."}],"abstract":true},"assign":{"signature":"abstract public function assign(yii\\rbac\\Role|yii\\rbac\\Permission $role, string|int $userId): yii\\rbac\\Assignment","summary":"Assigns a role to a user.","params":[{"name":"$role","type":"yii\\rbac\\Role|yii\\rbac\\Permission"},{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment","description":"The role assignment information."},"throws":[{"type":"Exception","description":"if the role has already been assigned to the user"}],"abstract":true},"canAddChild":{"signature":"abstract public function canAddChild(yii\\rbac\\Item $parent, yii\\rbac\\Item $child): bool","summary":"Checks the possibility of adding a child to parent.","params":[{"name":"$parent","type":"yii\\rbac\\Item","description":"The parent item"},{"name":"$child","type":"yii\\rbac\\Item","description":"The child item to be added to the hierarchy"}],"return":{"type":"bool","description":"Possibility of adding"},"abstract":true,"since":"2.0.8"},"createPermission":{"signature":"abstract public function createPermission(string $name): yii\\rbac\\Permission","summary":"Creates a new Permission object.","params":[{"name":"$name","type":"string","description":"The permission name"}],"return":{"type":"yii\\rbac\\Permission","description":"The new Permission object"},"abstract":true},"createRole":{"signature":"abstract public function createRole(string $name): yii\\rbac\\Role","summary":"Creates a new Role object.","params":[{"name":"$name","type":"string","description":"The role name"}],"return":{"type":"yii\\rbac\\Role","description":"The new Role object"},"abstract":true},"getAssignment":{"signature":"abstract public function getAssignment(string $roleName, string|int $userId): yii\\rbac\\Assignment|null","summary":"Returns the assignment information regarding a role and a user.","params":[{"name":"$roleName","type":"string","description":"The role name"},{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment|null","description":"The assignment information. Null is returned if the role is not assigned to the user."},"abstract":true},"getAssignments":{"signature":"abstract public function getAssignments(string|int $userId): yii\\rbac\\Assignment[]","summary":"Returns all role assignment information for the specified user.","params":[{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment[]","description":"The assignments indexed by role names. An empty array will be returned if there is no role assigned to the user."},"abstract":true},"getChildren":{"signature":"abstract public function getChildren(string $name): yii\\rbac\\Item[]","summary":"Returns the child permissions and/or roles.","params":[{"name":"$name","type":"string","description":"The parent name"}],"return":{"type":"yii\\rbac\\Item[]","description":"The child permissions and/or roles"},"abstract":true},"getChildRoles":{"signature":"abstract public function getChildRoles(string $roleName): yii\\rbac\\Role[]","summary":"Returns child roles of the role specified. Depth isn't limited.","params":[{"name":"$roleName","type":"string","description":"Name of the role to file child roles for"}],"return":{"type":"yii\\rbac\\Role[]","description":"Child roles. The array is indexed by the role names. First element is an instance of the parent Role itself."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if Role was not found that are getting by $roleName"}],"abstract":true,"since":"2.0.10"},"getPermission":{"signature":"abstract public function getPermission(string $name): yii\\rbac\\Permission|null","summary":"Returns the named permission.","params":[{"name":"$name","type":"string","description":"The permission name."}],"return":{"type":"yii\\rbac\\Permission|null","description":"The permission corresponding to the specified name. Null is returned if no such permission."},"abstract":true},"getPermissions":{"signature":"abstract public function getPermissions(): yii\\rbac\\Permission[]","summary":"Returns all permissions in the system.","return":{"type":"yii\\rbac\\Permission[]","description":"All permissions in the system. The array is indexed by the permission names."},"abstract":true},"getPermissionsByRole":{"signature":"abstract public function getPermissionsByRole(string $roleName): yii\\rbac\\Permission[]","summary":"Returns all permissions that the specified role represents.","params":[{"name":"$roleName","type":"string","description":"The role name"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All permissions that the role represents. The array is indexed by the permission names."},"abstract":true},"getPermissionsByUser":{"signature":"abstract public function getPermissionsByUser(string|int $userId): yii\\rbac\\Permission[]","summary":"Returns all permissions that the user has.","params":[{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All permissions that the user has. The array is indexed by the permission names."},"abstract":true},"getRole":{"signature":"abstract public function getRole(string $name): yii\\rbac\\Role|null","summary":"Returns the named role.","params":[{"name":"$name","type":"string","description":"The role name."}],"return":{"type":"yii\\rbac\\Role|null","description":"The role corresponding to the specified name. Null is returned if no such role."},"abstract":true},"getRoles":{"signature":"abstract public function getRoles(): yii\\rbac\\Role[]","summary":"Returns all roles in the system.","return":{"type":"yii\\rbac\\Role[]","description":"All roles in the system. The array is indexed by the role names."},"abstract":true},"getRolesByUser":{"signature":"abstract public function getRolesByUser(string|int $userId): yii\\rbac\\Role[]","summary":"Returns the roles that are assigned to the user via `assign()`.","params":[{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Role[]","description":"All roles directly assigned to the user. The array is indexed by the role names."},"abstract":true},"getRule":{"signature":"abstract public function getRule(string $name): yii\\rbac\\Rule|null","summary":"Returns the rule of the specified name.","params":[{"name":"$name","type":"string","description":"The rule name"}],"return":{"type":"yii\\rbac\\Rule|null","description":"The rule object, or null if the specified name does not correspond to a rule."},"abstract":true},"getRules":{"signature":"abstract public function getRules(): yii\\rbac\\Rule[]","summary":"Returns all rules available in the system.","return":{"type":"yii\\rbac\\Rule[]","description":"The rules indexed by the rule names"},"abstract":true},"getUserIdsByRole":{"signature":"abstract public function getUserIdsByRole(string $roleName): array","summary":"Returns all user IDs assigned to the role specified.","params":[{"name":"$roleName","type":"string"}],"return":{"type":"array","description":"Array of user ID strings"},"abstract":true,"since":"2.0.7"},"hasChild":{"signature":"abstract public function hasChild(yii\\rbac\\Item $parent, yii\\rbac\\Item $child): bool","summary":"Returns a value indicating whether the child already exists for the parent.","params":[{"name":"$parent","type":"yii\\rbac\\Item"},{"name":"$child","type":"yii\\rbac\\Item"}],"return":{"type":"bool","description":"Whether `$child` is already a child of `$parent`"},"abstract":true},"remove":{"signature":"abstract public function remove(yii\\rbac\\Role|yii\\rbac\\Permission|yii\\rbac\\Rule $object): bool","summary":"Removes a role, permission or rule from the RBAC system.","params":[{"name":"$object","type":"yii\\rbac\\Role|yii\\rbac\\Permission|yii\\rbac\\Rule"}],"return":{"type":"bool","description":"Whether the role, permission or rule is successfully removed"},"abstract":true},"removeAll":{"signature":"abstract public function removeAll(): mixed","summary":"Removes all authorization data, including roles, permissions, rules, and assignments.","return":{"type":"mixed"},"abstract":true},"removeAllAssignments":{"signature":"abstract public function removeAllAssignments(): mixed","summary":"Removes all role assignments.","return":{"type":"mixed"},"abstract":true},"removeAllPermissions":{"signature":"abstract public function removeAllPermissions(): mixed","summary":"Removes all permissions.","return":{"type":"mixed"},"abstract":true},"removeAllRoles":{"signature":"abstract public function removeAllRoles(): mixed","summary":"Removes all roles.","return":{"type":"mixed"},"abstract":true},"removeAllRules":{"signature":"abstract public function removeAllRules(): mixed","summary":"Removes all rules.","return":{"type":"mixed"},"abstract":true},"removeChild":{"signature":"abstract public function removeChild(yii\\rbac\\Item $parent, yii\\rbac\\Item $child): bool","summary":"Removes a child from its parent.","params":[{"name":"$parent","type":"yii\\rbac\\Item"},{"name":"$child","type":"yii\\rbac\\Item"}],"return":{"type":"bool","description":"Whether the removal is successful"},"abstract":true},"removeChildren":{"signature":"abstract public function removeChildren(yii\\rbac\\Item $parent): bool","summary":"Removed all children form their parent.","params":[{"name":"$parent","type":"yii\\rbac\\Item"}],"return":{"type":"bool","description":"Whether the removal is successful"},"abstract":true},"revoke":{"signature":"abstract public function revoke(yii\\rbac\\Role|yii\\rbac\\Permission $role, string|int $userId): bool","summary":"Revokes a role from a user.","params":[{"name":"$role","type":"yii\\rbac\\Role|yii\\rbac\\Permission"},{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"bool","description":"Whether the revoking is successful"},"abstract":true},"revokeAll":{"signature":"abstract public function revokeAll(mixed $userId): bool","summary":"Revokes all roles from a user.","params":[{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"bool","description":"Whether the revoking is successful"},"abstract":true},"update":{"signature":"abstract public function update(string $name, yii\\rbac\\Role|yii\\rbac\\Permission|yii\\rbac\\Rule $object): bool","summary":"Updates the specified role, permission or rule in the system.","params":[{"name":"$name","type":"string","description":"The old name of the role, permission or rule"},{"name":"$object","type":"yii\\rbac\\Role|yii\\rbac\\Permission|yii\\rbac\\Rule"}],"return":{"type":"bool","description":"Whether the update is successful"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"abstract":true}},"inherited":{"methods":{"checkAccess":"yii\\rbac\\CheckAccessInterface"}}},"yii\\rbac\\Permission":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rbac/permission/","summary":"For more details and usage information on Permission, see the [guide article on security authorization](https://yii2-framework.github.io/docs/guide/security-authorization/).","since":"2.0","extends":"yii\\rbac\\Item","implements":["yii\\base\\Configurable"],"properties":{"type":{"type":"int","default":"self::TYPE_PERMISSION"}},"inherited":{"properties":{"createdAt":"yii\\rbac\\Item","data":"yii\\rbac\\Item","description":"yii\\rbac\\Item","name":"yii\\rbac\\Item","ruleName":"yii\\rbac\\Item","updatedAt":"yii\\rbac\\Item"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"},"constants":{"TYPE_ROLE":"yii\\rbac\\Item","TYPE_PERMISSION":"yii\\rbac\\Item"}}},"yii\\rbac\\PhpManager":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rbac/phpmanager/","summary":"PhpManager represents an authorization manager that stores authorization information in terms of a PHP script file.","since":"2.0","extends":"yii\\rbac\\BaseManager","implements":["yii\\rbac\\ManagerInterface","yii\\base\\Configurable"],"properties":{"assignmentFile":{"type":"string","default":"'@app/rbac/assignments.php'","description":"The path of the PHP script that contains the authorization assignments."},"assignments":{"type":"array","default":"[]","visibility":"protected"},"children":{"type":"array","default":"[]","visibility":"protected"},"itemFile":{"type":"string","default":"'@app/rbac/items.php'","description":"The path of the PHP script that contains the authorization items."},"items":{"type":"yii\\rbac\\Item[]","default":"[]","visibility":"protected"},"ruleFile":{"type":"string","default":"'@app/rbac/rules.php'","description":"The path of the PHP script that contains the authorization rules."},"rules":{"type":"yii\\rbac\\Rule[]","default":"[]","visibility":"protected"}},"methods":{"addChild":{"signature":"public function addChild(mixed $parent, mixed $child): bool","summary":"Adds an item as a child of another item.","params":[{"name":"$parent","type":"mixed"},{"name":"$child","type":"mixed"}],"return":{"type":"bool","description":"Whether the child successfully added"},"throws":[{"type":"yii\\base\\Exception","description":"if the parent-child relationship already exists or if a loop has been detected."}]},"addItem":{"signature":"protected function addItem(mixed $item): bool","summary":"Adds an auth item to the RBAC system.","params":[{"name":"$item","type":"mixed","description":"The item to add"}],"return":{"type":"bool","description":"Whether the auth item is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected"},"addRule":{"signature":"protected function addRule(mixed $rule): bool","summary":"Adds a rule to the RBAC system.","params":[{"name":"$rule","type":"mixed","description":"The rule to add"}],"return":{"type":"bool","description":"Whether the rule is successfully added to the system"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected"},"assign":{"signature":"public function assign(mixed $role, mixed $userId): yii\\rbac\\Assignment","summary":"Assigns a role to a user.","params":[{"name":"$role","type":"mixed"},{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment","description":"The role assignment information."},"throws":[{"type":"Exception","description":"if the role has already been assigned to the user"}]},"canAddChild":{"signature":"public function canAddChild(mixed $parent, mixed $child): bool","summary":"Checks the possibility of adding a child to parent.","params":[{"name":"$parent","type":"mixed","description":"The parent item"},{"name":"$child","type":"mixed","description":"The child item to be added to the hierarchy"}],"return":{"type":"bool","description":"Possibility of adding"},"since":"2.0.8"},"checkAccess":{"signature":"public function checkAccess(mixed $userId, mixed $permissionName, mixed $params = [])","params":[{"name":"$userId","type":"mixed"},{"name":"$permissionName","type":"mixed"},{"name":"$params","type":"mixed","default":"[]","optional":true}]},"checkAccessRecursive":{"signature":"protected function checkAccessRecursive(string|int $user, string $itemName, array $params, yii\\rbac\\Assignment[] $assignments): bool","summary":"Performs access check for the specified user.","params":[{"name":"$user","type":"string|int","description":"The user ID. This should can be either an integer or a string representing the unique identifier of a user. See `yii\\web\\User::$id`."},{"name":"$itemName","type":"string","description":"The name of the operation that need access check"},{"name":"$params","type":"array","description":"Name-value pairs that would be passed to rules associated with the tasks and roles assigned to the user. A param with name 'user' is added to this array, which holds the value of `$userId`."},{"name":"$assignments","type":"yii\\rbac\\Assignment[]","description":"The assignments to the specified user"}],"return":{"type":"bool","description":"Whether the operations can be performed by the user."},"visibility":"protected"},"detectLoop":{"signature":"protected function detectLoop(yii\\rbac\\Item $parent, yii\\rbac\\Item $child): bool","summary":"Checks whether there is a loop in the authorization item hierarchy.","params":[{"name":"$parent","type":"yii\\rbac\\Item","description":"Parent item"},{"name":"$child","type":"yii\\rbac\\Item","description":"The child item that is to be added to the hierarchy"}],"return":{"type":"bool","description":"Whether a loop exists"},"visibility":"protected"},"getAssignment":{"signature":"public function getAssignment(mixed $roleName, mixed $userId): yii\\rbac\\Assignment|null","summary":"Returns the assignment information regarding a role and a user.","params":[{"name":"$roleName","type":"mixed","description":"The role name"},{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment|null","description":"The assignment information. Null is returned if the role is not assigned to the user."}},"getAssignments":{"signature":"public function getAssignments(mixed $userId): yii\\rbac\\Assignment[]","summary":"Returns all role assignment information for the specified user.","params":[{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Assignment[]","description":"The assignments indexed by role names. An empty array will be returned if there is no role assigned to the user."}},"getChildren":{"signature":"public function getChildren(mixed $name): yii\\rbac\\Item[]","summary":"Returns the child permissions and/or roles.","params":[{"name":"$name","type":"mixed","description":"The parent name"}],"return":{"type":"yii\\rbac\\Item[]","description":"The child permissions and/or roles"}},"getChildrenRecursive":{"signature":"protected function getChildrenRecursive(string $name, array &$result): mixed","summary":"Recursively finds all children and grand children of the specified item.","params":[{"name":"$name","type":"string","description":"The name of the item whose children are to be looked for."},{"name":"$result","type":"array","byReference":true,"description":"The children and grand children (in array keys)"}],"return":{"type":"mixed"},"visibility":"protected"},"getChildRoles":{"signature":"public function getChildRoles(mixed $roleName): yii\\rbac\\Role[]","summary":"Returns child roles of the role specified. Depth isn't limited.","params":[{"name":"$roleName","type":"mixed","description":"Name of the role to file child roles for"}],"return":{"type":"yii\\rbac\\Role[]","description":"Child roles. The array is indexed by the role names. First element is an instance of the parent Role itself."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if Role was not found that are getting by $roleName"}],"since":"2.0.10"},"getDirectPermissionsByUser":{"signature":"protected function getDirectPermissionsByUser(string|int $userId): yii\\rbac\\Permission[]","summary":"Returns all permissions that are directly assigned to user.","params":[{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All direct permissions that the user has. The array is indexed by the permission names."},"visibility":"protected","since":"2.0.7"},"getInheritedPermissionsByUser":{"signature":"protected function getInheritedPermissionsByUser(string|int $userId): yii\\rbac\\Permission[]","summary":"Returns all permissions that the user inherits from the roles assigned to him.","params":[{"name":"$userId","type":"string|int","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All inherited permissions that the user has. The array is indexed by the permission names."},"visibility":"protected","since":"2.0.7"},"getItem":{"signature":"public function getItem(mixed $name): yii\\rbac\\Item|null","summary":"Returns the named auth item.","params":[{"name":"$name","type":"mixed","description":"The auth item name."}],"return":{"type":"yii\\rbac\\Item|null","description":"The auth item corresponding to the specified name. Null is returned if no such item."}},"getItems":{"signature":"public function getItems(mixed $type): ($type is yii\\rbac\\Item::TYPE_ROLE ? yii\\rbac\\Role[] : yii\\rbac\\Permission[])","summary":"Returns the items of the specified type.","params":[{"name":"$type","type":"mixed","description":"The auth item type (either `yii\\rbac\\Item::TYPE_ROLE` or `yii\\rbac\\Item::TYPE_PERMISSION`"}],"return":{"type":"($type is yii\\rbac\\Item::TYPE_ROLE ? yii\\rbac\\Role[] : yii\\rbac\\Permission[])","description":"The auth items of the specified type."}},"getPermissionsByRole":{"signature":"public function getPermissionsByRole(mixed $roleName): yii\\rbac\\Permission[]","summary":"Returns all permissions that the specified role represents.","params":[{"name":"$roleName","type":"mixed","description":"The role name"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All permissions that the role represents. The array is indexed by the permission names."}},"getPermissionsByUser":{"signature":"public function getPermissionsByUser(mixed $userId): yii\\rbac\\Permission[]","summary":"Returns all permissions that the user has.","params":[{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"yii\\rbac\\Permission[]","description":"All permissions that the user has. The array is indexed by the permission names."}},"getRolesByUser":{"signature":"public function getRolesByUser(mixed $userId): mixed","summary":"The roles returned by this method include the roles assigned via `$defaultRoles`.","params":[{"name":"$userId","type":"mixed"}],"return":{"type":"mixed"}},"getRule":{"signature":"public function getRule(mixed $name): yii\\rbac\\Rule|null","summary":"Returns the rule of the specified name.","params":[{"name":"$name","type":"mixed","description":"The rule name"}],"return":{"type":"yii\\rbac\\Rule|null","description":"The rule object, or null if the specified name does not correspond to a rule."}},"getRules":{"signature":"public function getRules(): yii\\rbac\\Rule[]","summary":"Returns all rules available in the system.","return":{"type":"yii\\rbac\\Rule[]","description":"The rules indexed by the rule names"}},"getUserIdsByRole":{"signature":"public function getUserIdsByRole(mixed $roleName): array","summary":"Returns all user IDs assigned to the role specified.","params":[{"name":"$roleName","type":"mixed"}],"return":{"type":"array","description":"Array of user ID strings"},"since":"2.0.7"},"hasChild":{"signature":"public function hasChild(mixed $parent, mixed $child): bool","summary":"Returns a value indicating whether the child already exists for the parent.","params":[{"name":"$parent","type":"mixed"},{"name":"$child","type":"mixed"}],"return":{"type":"bool","description":"Whether `$child` is already a child of `$parent`"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the application component.","return":{"type":"mixed"}},"invalidateScriptCache":{"signature":"protected function invalidateScriptCache(string $file): mixed","summary":"Invalidates precompiled script cache (OPcache) for the given file.","params":[{"name":"$file","type":"string","description":"The file path."}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.9"},"load":{"signature":"protected function load(): mixed","summary":"Loads authorization data from persistent storage.","return":{"type":"mixed"},"visibility":"protected"},"loadFromFile":{"signature":"protected function loadFromFile(string $file): array","summary":"Loads the authorization data from a PHP script file.","params":[{"name":"$file","type":"string","description":"The file path."}],"return":{"type":"array","description":"The authorization data"},"visibility":"protected"},"removeAll":{"signature":"public function removeAll(): mixed","summary":"Removes all authorization data, including roles, permissions, rules, and assignments.","return":{"type":"mixed"}},"removeAllAssignments":{"signature":"public function removeAllAssignments(): mixed","summary":"Removes all role assignments.","return":{"type":"mixed"}},"removeAllItems":{"signature":"protected function removeAllItems(int $type): mixed","summary":"Removes all auth items of the specified type.","params":[{"name":"$type","type":"int","description":"The auth item type (either Item::TYPE_PERMISSION or Item::TYPE_ROLE)"}],"return":{"type":"mixed"},"visibility":"protected"},"removeAllPermissions":{"signature":"public function removeAllPermissions(): mixed","summary":"Removes all permissions.","return":{"type":"mixed"}},"removeAllRoles":{"signature":"public function removeAllRoles(): mixed","summary":"Removes all roles.","return":{"type":"mixed"}},"removeAllRules":{"signature":"public function removeAllRules(): mixed","summary":"Removes all rules.","return":{"type":"mixed"}},"removeChild":{"signature":"public function removeChild(mixed $parent, mixed $child): bool","summary":"Removes a child from its parent.","params":[{"name":"$parent","type":"mixed"},{"name":"$child","type":"mixed"}],"return":{"type":"bool","description":"Whether the removal is successful"}},"removeChildren":{"signature":"public function removeChildren(mixed $parent): bool","summary":"Removed all children form their parent.","params":[{"name":"$parent","type":"mixed"}],"return":{"type":"bool","description":"Whether the removal is successful"}},"removeItem":{"signature":"public function removeItem(mixed $item): bool","summary":"Removes an auth item from the RBAC system.","params":[{"name":"$item","type":"mixed","description":"The item to remove"}],"return":{"type":"bool","description":"Whether the role or permission is successfully removed"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}]},"removeRule":{"signature":"protected function removeRule(mixed $rule): bool","summary":"Removes a rule from the RBAC system.","params":[{"name":"$rule","type":"mixed","description":"The rule to remove"}],"return":{"type":"bool","description":"Whether the rule is successfully removed"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}],"visibility":"protected"},"revoke":{"signature":"public function revoke(mixed $role, mixed $userId): bool","summary":"Revokes a role from a user.","params":[{"name":"$role","type":"mixed"},{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"bool","description":"Whether the revoking is successful"}},"revokeAll":{"signature":"public function revokeAll(mixed $userId): bool","summary":"Revokes all roles from a user.","params":[{"name":"$userId","type":"mixed","description":"The user ID (see `yii\\web\\User::$id`)"}],"return":{"type":"bool","description":"Whether the revoking is successful"}},"save":{"signature":"protected function save(): mixed","summary":"Saves authorization data into persistent storage.","return":{"type":"mixed"},"visibility":"protected"},"saveAssignments":{"signature":"protected function saveAssignments(): mixed","summary":"Saves assignments data into persistent storage.","return":{"type":"mixed"},"visibility":"protected"},"saveItems":{"signature":"protected function saveItems(): mixed","summary":"Saves items data into persistent storage.","return":{"type":"mixed"},"visibility":"protected"},"saveRules":{"signature":"protected function saveRules(): mixed","summary":"Saves rules data into persistent storage.","return":{"type":"mixed"},"visibility":"protected"},"saveToFile":{"signature":"protected function saveToFile(array $data, string $file): mixed","summary":"Saves the authorization data to a PHP script file.","params":[{"name":"$data","type":"array","description":"The authorization data"},{"name":"$file","type":"string","description":"The file path."}],"return":{"type":"mixed"},"visibility":"protected"},"updateItem":{"signature":"protected function updateItem(mixed $name, mixed $item): bool","summary":"Updates an auth item in the RBAC system.","params":[{"name":"$name","type":"mixed","description":"The name of the item being updated"},{"name":"$item","type":"mixed","description":"The updated item"}],"return":{"type":"bool","description":"Whether the auth item is successfully updated"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the role or permission is not unique)"}],"visibility":"protected"},"updateRule":{"signature":"public function updateRule(mixed $name, mixed $rule): bool","summary":"Updates a rule to the RBAC system.","params":[{"name":"$name","type":"mixed","description":"The name of the rule being updated"},{"name":"$rule","type":"mixed","description":"The updated rule"}],"return":{"type":"bool","description":"Whether the rule is successfully updated"},"throws":[{"type":"Exception","description":"if data validation or saving fails (such as the name of the rule is not unique)"}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","defaultRoleInstances":"yii\\rbac\\BaseManager","defaultRoles":"yii\\rbac\\BaseManager","permissions":"yii\\rbac\\BaseManager","roles":"yii\\rbac\\BaseManager"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","add":"yii\\rbac\\BaseManager","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createPermission":"yii\\rbac\\BaseManager","createRole":"yii\\rbac\\BaseManager","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","executeRule":"yii\\rbac\\BaseManager","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getDefaultRoleInstances":"yii\\rbac\\BaseManager","getDefaultRoles":"yii\\rbac\\BaseManager","getPermission":"yii\\rbac\\BaseManager","getPermissions":"yii\\rbac\\BaseManager","getRole":"yii\\rbac\\BaseManager","getRoles":"yii\\rbac\\BaseManager","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasNoAssignments":"yii\\rbac\\BaseManager","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","remove":"yii\\rbac\\BaseManager","setDefaultRoles":"yii\\rbac\\BaseManager","trigger":"yii\\base\\Component","update":"yii\\rbac\\BaseManager"}}},"yii\\rbac\\Role":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rbac/role/","summary":"For more details and usage information on Role, see the [guide article on security authorization](https://yii2-framework.github.io/docs/guide/security-authorization/).","since":"2.0","extends":"yii\\rbac\\Item","implements":["yii\\base\\Configurable"],"properties":{"type":{"type":"int","default":"self::TYPE_ROLE"}},"inherited":{"properties":{"createdAt":"yii\\rbac\\Item","data":"yii\\rbac\\Item","description":"yii\\rbac\\Item","name":"yii\\rbac\\Item","ruleName":"yii\\rbac\\Item","updatedAt":"yii\\rbac\\Item"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"},"constants":{"TYPE_ROLE":"yii\\rbac\\Item","TYPE_PERMISSION":"yii\\rbac\\Item"}}},"yii\\rbac\\Rule":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/rbac/rule/","summary":"Rule represents a business constraint that may be associated with a role, permission or assignment.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"createdAt":{"type":"int","default":"null","description":"UNIX timestamp representing the rule creation time"},"name":{"type":"string","default":"null","description":"Name of the rule"},"updatedAt":{"type":"int","default":"null","description":"UNIX timestamp representing the rule updating time"}},"methods":{"execute":{"signature":"abstract public function execute(string|int $user, yii\\rbac\\Item $item, array $params): bool","summary":"Executes the rule.","params":[{"name":"$user","type":"string|int","description":"The user ID. This should be either an integer or a string representing the unique identifier of a user. See `yii\\web\\User::$id`."},{"name":"$item","type":"yii\\rbac\\Item","description":"The role or permission that this rule is associated with"},{"name":"$params","type":"array","description":"Parameters passed to `yii\\rbac\\CheckAccessInterface::checkAccess()`."}],"return":{"type":"bool","description":"A value indicating whether the rule permits the auth item it is associated with."},"abstract":true}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\rest\\Action":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/action/","summary":"Action is the base class for action classes that implement RESTful API.","since":"2.0","extends":"yii\\base\\Action","implements":["yii\\base\\Configurable"],"properties":{"checkAccess":{"type":"callable|null","default":"null","description":"A PHP callable that will be called when running an action to determine if the current user has the permission to execute the action."},"findModel":{"type":"callable|null","default":"null","description":"A PHP callable that will be called to return the model corresponding to the specified primary key value."},"modelClass":{"type":"string","default":"null","description":"Class name of the model which will be handled by this action."}},"methods":{"findModel":{"signature":"public function findModel(string $id): yii\\db\\ActiveRecordInterface","summary":"Returns the data model based on the primary key given.","params":[{"name":"$id","type":"string","description":"The ID of the model to be loaded. If the model has a composite primary key, the ID must be a string of the primary key values separated by commas. The order of the primary key values should follow that returned by the `primaryKey()` method of the model."}],"return":{"type":"yii\\db\\ActiveRecordInterface","description":"The model found"},"throws":[{"type":"yii\\web\\NotFoundHttpException","description":"if the model cannot be found"}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","controller":"yii\\base\\Action","id":"yii\\base\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\rest\\ActiveController":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/activecontroller/","summary":"ActiveController implements a common set of actions for supporting RESTful access to ActiveRecord.","since":"2.0","extends":"yii\\rest\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"createScenario":{"type":"string","default":"\\yii\\base\\Model::SCENARIO_DEFAULT","description":"The scenario used for creating a model."},"modelClass":{"type":"string","default":"null","description":"The model class name."},"updateScenario":{"type":"string","default":"\\yii\\base\\Model::SCENARIO_DEFAULT","description":"The scenario used for updating a model."}},"methods":{"actions":{"signature":"public function actions(): array<array-key, class-string|array{class: class-string}>","summary":"Declares external actions for the controller.","return":{"type":"array<array-key, class-string|array{class: class-string}>"}},"checkAccess":{"signature":"public function checkAccess(string $action, object|null $model = null, array $params = []): mixed","summary":"Checks the privilege of the current user.","params":[{"name":"$action","type":"string","description":"The ID of the action to be executed"},{"name":"$model","type":"object|null","default":"null","optional":true,"description":"The model to be accessed. If null, it means no specific model is being accessed."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Additional parameters"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\ForbiddenHttpException","description":"if the user does not have access"}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"},"since":"2.0.36"},"verbs":{"signature":"protected function verbs(): array","summary":"Declares the allowed HTTP verbs.","return":{"type":"array","description":"The allowed HTTP verbs."},"visibility":"protected"}},"inherited":{"properties":{"action":"yii\\base\\Controller","actionParams":"yii\\web\\Controller","behaviors":"yii\\base\\Component","defaultAction":"yii\\base\\Controller","enableCsrfValidation":"yii\\rest\\Controller","id":"yii\\base\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","request":"yii\\web\\Controller","response":"yii\\web\\Controller","route":"yii\\base\\Controller","serializer":"yii\\rest\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\web\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterAction":"yii\\rest\\Controller","asJson":"yii\\web\\Controller","asXml":"yii\\web\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\web\\Controller","behaviors":"yii\\rest\\Controller","bindActionParams":"yii\\web\\Controller","bindActionParamsToCallable":"yii\\web\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModules":"yii\\base\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","goBack":"yii\\web\\Controller","goHome":"yii\\web\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","redirect":"yii\\web\\Controller","refresh":"yii\\web\\Controller","render":"yii\\base\\Controller","renderAjax":"yii\\web\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\base\\Controller","serializeData":"yii\\rest\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\rest\\Controller":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/controller/","summary":"Controller is the base class for RESTful API controller classes.","since":"2.0","extends":"yii\\web\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"enableCsrfValidation":{"type":"bool","default":"false"},"serializer":{"type":"string|array","default":"'yii\\rest\\Serializer'","description":"The configuration for creating the serializer that formats the response data."}},"methods":{"afterAction":{"signature":"public function afterAction(mixed $action, mixed $result): mixed","summary":"This method is invoked right after an action is executed.","params":[{"name":"$action","type":"mixed","description":"The action just executed."},{"name":"$result","type":"mixed","description":"The action return result."}],"return":{"type":"mixed","description":"The processed action result."}},"behaviors":{"signature":"public function behaviors(): array<array-key, class-string|array{class: class-string}|yii\\base\\Behavior>","summary":"Returns a list of behaviors that this component should behave as.","return":{"type":"array<array-key, class-string|array{class: class-string}|yii\\base\\Behavior>","description":"The behavior configurations."}},"serializeData":{"signature":"protected function serializeData(mixed $data): mixed","summary":"Serializes the specified data.","params":[{"name":"$data","type":"mixed","description":"The data to be serialized"}],"return":{"type":"mixed","description":"The serialized data."},"visibility":"protected"},"verbs":{"signature":"protected function verbs(): array","summary":"Declares the allowed HTTP verbs.","return":{"type":"array","description":"The allowed HTTP verbs."},"visibility":"protected"}},"inherited":{"properties":{"action":"yii\\base\\Controller","actionParams":"yii\\web\\Controller","behaviors":"yii\\base\\Component","defaultAction":"yii\\base\\Controller","id":"yii\\base\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","request":"yii\\web\\Controller","response":"yii\\web\\Controller","route":"yii\\base\\Controller","uniqueId":"yii\\base\\Controller","view":"yii\\web\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","asJson":"yii\\web\\Controller","asXml":"yii\\web\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\web\\Controller","bindActionParams":"yii\\web\\Controller","bindActionParamsToCallable":"yii\\web\\Controller","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModules":"yii\\base\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","goBack":"yii\\web\\Controller","goHome":"yii\\web\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","redirect":"yii\\web\\Controller","refresh":"yii\\web\\Controller","render":"yii\\base\\Controller","renderAjax":"yii\\web\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\base\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\rest\\CreateAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/createaction/","summary":"CreateAction implements the API endpoint for creating a new model from the given data.","since":"2.0","extends":"yii\\rest\\Action","implements":["yii\\base\\Configurable"],"properties":{"scenario":{"type":"string","default":"\\yii\\base\\Model::SCENARIO_DEFAULT","description":"The scenario to be assigned to the new model before it is validated and saved."},"viewAction":{"type":"string","default":"'view'","description":"The name of the view action."}},"methods":{"run":{"signature":"public function run(): yii\\db\\ActiveRecordInterface","summary":"Creates a new model.","return":{"type":"yii\\db\\ActiveRecordInterface","description":"The model newly created"},"throws":[{"type":"yii\\web\\ServerErrorHttpException","description":"if there is any error when creating the model"}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","checkAccess":"yii\\rest\\Action","controller":"yii\\base\\Action","findModel":"yii\\rest\\Action","id":"yii\\base\\Action","modelClass":"yii\\rest\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findModel":"yii\\rest\\Action","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\rest\\Action","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\rest\\DeleteAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/deleteaction/","summary":"DeleteAction implements the API endpoint for deleting a model.","since":"2.0","extends":"yii\\rest\\Action","implements":["yii\\base\\Configurable"],"methods":{"run":{"signature":"public function run(mixed $id): mixed","summary":"Deletes a model.","params":[{"name":"$id","type":"mixed","description":"Id of the model to be deleted."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\web\\ServerErrorHttpException","description":"on failure."}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","checkAccess":"yii\\rest\\Action","controller":"yii\\base\\Action","findModel":"yii\\rest\\Action","id":"yii\\base\\Action","modelClass":"yii\\rest\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findModel":"yii\\rest\\Action","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\rest\\Action","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\rest\\IndexAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/indexaction/","summary":"IndexAction implements the API endpoint for listing multiple models.","since":"2.0","extends":"yii\\rest\\Action","implements":["yii\\base\\Configurable"],"properties":{"dataFilter":{"type":"yii\\data\\DataFilter|null","default":"null","description":"Data filter to be used for the search filter composition.","since":"2.0.13"},"pagination":{"type":"array|yii\\data\\Pagination|false","default":"[]","description":"The pagination to be used by `prepareDataProvider()`.","since":"2.0.45"},"prepareDataProvider":{"type":"callable|null","default":"null","description":"A PHP callable that will be called to prepare a data provider that should return a collection of the models."},"prepareSearchQuery":{"type":"callable","default":"null","description":"A PHP callable that will be called to prepare query in prepareDataProvider.","since":"2.0.42"},"sort":{"type":"array|yii\\data\\Sort|false","default":"[]","description":"The sorting to be used by `prepareDataProvider()`.","since":"2.0.45"}},"methods":{"prepareDataProvider":{"signature":"protected function prepareDataProvider(): yii\\data\\ActiveDataProvider","summary":"Prepares the data provider that should return the requested collection of the models.","return":{"type":"yii\\data\\ActiveDataProvider"},"visibility":"protected"},"run":{"signature":"public function run(): yii\\data\\ActiveDataProvider","return":{"type":"yii\\data\\ActiveDataProvider"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","checkAccess":"yii\\rest\\Action","controller":"yii\\base\\Action","findModel":"yii\\rest\\Action","id":"yii\\base\\Action","modelClass":"yii\\rest\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findModel":"yii\\rest\\Action","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\rest\\Action","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\rest\\OptionsAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/optionsaction/","summary":"OptionsAction responds to the OPTIONS request by sending back an `Allow` header.","since":"2.0","extends":"yii\\base\\Action","implements":["yii\\base\\Configurable"],"properties":{"collectionOptions":{"type":"array","default":"['GET', 'POST', 'HEAD', 'OPTIONS']","description":"The HTTP verbs that are supported by the collection URL"},"resourceOptions":{"type":"array","default":"['GET', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS']","description":"The HTTP verbs that are supported by the resource URL"}},"methods":{"run":{"signature":"public function run(string|null $id = null): mixed","summary":"Responds to the OPTIONS request.","params":[{"name":"$id","type":"string|null","default":"null","optional":true}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","controller":"yii\\base\\Action","id":"yii\\base\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\rest\\Serializer":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/serializer/","summary":"Serializer converts resource objects and collections into array representation.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"collectionEnvelope":{"type":"string|null","default":"null","description":"The name of the envelope (e.g. `items`) for returning the resource objects in a collection."},"currentPageHeader":{"type":"string","default":"'X-Pagination-Current-Page'","description":"The name of the HTTP header containing the information about the current page number (1-based)."},"expandParam":{"type":"string","default":"'expand'","description":"The name of the query parameter containing the information about which fields should be returned in addition to those listed in `$fieldsParam` for a resource object."},"fieldsParam":{"type":"string","default":"'fields'","description":"The name of the query parameter containing the information about which fields should be returned for a `yii\\base\\Model` object."},"linksEnvelope":{"type":"string","default":"'_links'","description":"The name of the envelope (e.g. `_links`) for returning the links objects.","since":"2.0.4"},"metaEnvelope":{"type":"string","default":"'_meta'","description":"The name of the envelope (e.g. `_meta`) for returning the pagination object.","since":"2.0.4"},"pageCountHeader":{"type":"string","default":"'X-Pagination-Page-Count'","description":"The name of the HTTP header containing the information about total number of pages of data."},"perPageHeader":{"type":"string","default":"'X-Pagination-Per-Page'","description":"The name of the HTTP header containing the information about the number of data items in each page."},"preserveKeys":{"type":"bool","default":"false","description":"Whether to preserve array keys when serializing collection data.","since":"2.0.10"},"request":{"type":"yii\\web\\Request|null","default":"null","description":"The current request."},"response":{"type":"yii\\web\\Response|null","default":"null","description":"The response to be sent."},"totalCountHeader":{"type":"string","default":"'X-Pagination-Total-Count'","description":"The name of the HTTP header containing the information about total number of data items."}},"methods":{"addPaginationHeaders":{"signature":"protected function addPaginationHeaders(yii\\data\\Pagination $pagination): mixed","summary":"Adds HTTP headers about the pagination to the response.","params":[{"name":"$pagination","type":"yii\\data\\Pagination"}],"return":{"type":"mixed"},"visibility":"protected"},"getRequestedFields":{"signature":"protected function getRequestedFields(): array","return":{"type":"array","description":"The names of the requested fields. The first element is an array representing the list of default fields requested, while the second element is an array of the extra fields requested in addition to the default fields."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"serialize":{"signature":"public function serialize(mixed $data): mixed","summary":"Serializes the given data into a format that can be easily turned into other formats.","params":[{"name":"$data","type":"mixed","description":"The data to be serialized."}],"return":{"type":"mixed","description":"The converted data."}},"serializeDataProvider":{"signature":"protected function serializeDataProvider(yii\\data\\DataProviderInterface $dataProvider): array|null","summary":"Serializes a data provider.","params":[{"name":"$dataProvider","type":"yii\\data\\DataProviderInterface"}],"return":{"type":"array|null","description":"The array representation of the data provider."},"visibility":"protected"},"serializeModel":{"signature":"protected function serializeModel(yii\\base\\Arrayable $model): array|null","summary":"Serializes a model object.","params":[{"name":"$model","type":"yii\\base\\Arrayable"}],"return":{"type":"array|null","description":"The array representation of the model"},"visibility":"protected"},"serializeModelErrors":{"signature":"protected function serializeModelErrors(yii\\base\\Model $model): array","summary":"Serializes the validation errors in a model.","params":[{"name":"$model","type":"yii\\base\\Model"}],"return":{"type":"array","description":"The array representation of the errors"},"visibility":"protected"},"serializeModels":{"signature":"protected function serializeModels(array $models): array","summary":"Serializes a set of models.","params":[{"name":"$models","type":"array"}],"return":{"type":"array","description":"The array representation of the models"},"visibility":"protected"},"serializePagination":{"signature":"protected function serializePagination(yii\\data\\Pagination $pagination): array","summary":"Serializes a pagination into an array.","params":[{"name":"$pagination","type":"yii\\data\\Pagination"}],"return":{"type":"array","description":"The array representation of the pagination"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\rest\\UpdateAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/updateaction/","summary":"UpdateAction implements the API endpoint for updating a model.","since":"2.0","extends":"yii\\rest\\Action","implements":["yii\\base\\Configurable"],"properties":{"scenario":{"type":"string","default":"\\yii\\base\\Model::SCENARIO_DEFAULT","description":"The scenario to be assigned to the model before it is validated and updated."}},"methods":{"run":{"signature":"public function run(string $id): yii\\db\\ActiveRecordInterface","summary":"Updates an existing model.","params":[{"name":"$id","type":"string","description":"The primary key of the model."}],"return":{"type":"yii\\db\\ActiveRecordInterface","description":"The model being updated"},"throws":[{"type":"yii\\web\\ServerErrorHttpException","description":"if there is any error when updating the model"}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","checkAccess":"yii\\rest\\Action","controller":"yii\\base\\Action","findModel":"yii\\rest\\Action","id":"yii\\base\\Action","modelClass":"yii\\rest\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findModel":"yii\\rest\\Action","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\rest\\Action","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\rest\\UrlRule":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/urlrule/","summary":"UrlRule is provided to simplify the creation of URL rules for RESTful API support.","since":"2.0","extends":"yii\\web\\CompositeUrlRule","implements":["yii\\base\\Configurable","yii\\web\\UrlRuleInterface"],"properties":{"controller":{"type":"string|array","default":"null","description":"The controller ID (e.g. `user`, `post-comment`) that the rules in this composite rule are dealing with."},"except":{"type":"array","default":"[]","description":"List of actions that should be excluded."},"extraPatterns":{"type":"array","default":"[]","description":"Patterns for supporting extra actions in addition to those listed in `$patterns`."},"only":{"type":"array","default":"[]","description":"List of acceptable actions."},"patterns":{"type":"array","default":"['PUT,PATCH {id}' => 'update', 'DELETE {id}' => 'delete', 'GET,HEAD {id}' => 'view', 'POST' => 'create', 'GET,HEAD' => 'index', '{id}' => 'options', '' => 'options']","description":"List of possible patterns and the corresponding actions for creating the URL rules."},"pluralize":{"type":"bool","default":"true","description":"Whether to automatically pluralize the URL names for controllers."},"prefix":{"type":"string|null","default":"null","description":"The common prefix string shared by all patterns."},"ruleConfig":{"type":"array","default":"['class' => 'yii\\web\\UrlRule']","description":"The default configuration for creating each URL rule contained by this rule."},"suffix":{"type":"string","default":"null","description":"The suffix that will be assigned to `yii\\web\\UrlRule::$suffix` for every generated rule."},"tokens":{"type":"array","default":"['{id}' => '<id:\\d[\\d]*>']","description":"List of tokens that should be replaced for each pattern."}},"methods":{"createRule":{"signature":"protected function createRule(string $pattern, string $prefix, string $action): yii\\web\\UrlRuleInterface","summary":"Creates a URL rule using the given pattern and action.","params":[{"name":"$pattern","type":"string"},{"name":"$prefix","type":"string"},{"name":"$action","type":"string"}],"return":{"type":"yii\\web\\UrlRuleInterface"},"visibility":"protected"},"createRules":{"signature":"protected function createRules(): yii\\web\\UrlRuleInterface[]|yii\\web\\UrlRuleInterface[][]","summary":"Creates the URL rules that should be contained within this composite rule.","return":{"type":"yii\\web\\UrlRuleInterface[]|yii\\web\\UrlRuleInterface[][]","description":"The URL rules"},"visibility":"protected"},"createUrl":{"signature":"public function createUrl(mixed $manager, mixed $route, mixed $params): string|bool","summary":"Creates a URL according to the given route and parameters.","params":[{"name":"$manager","type":"mixed","description":"The URL manager"},{"name":"$route","type":"mixed","description":"The route. It should not have slashes at the beginning or the end."},{"name":"$params","type":"mixed","description":"The parameters"}],"return":{"type":"string|bool","description":"The created URL, or false if this rule cannot be used for creating this URL."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"parseRequest":{"signature":"public function parseRequest(mixed $manager, mixed $request): array|bool","summary":"Parses the given request and returns the corresponding route and parameters.","params":[{"name":"$manager","type":"mixed","description":"The URL manager"},{"name":"$request","type":"mixed","description":"The request component"}],"return":{"type":"array|bool","description":"The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info."}}},"inherited":{"properties":{"createStatus":"yii\\web\\CompositeUrlRule","createUrlStatus":"yii\\web\\CompositeUrlRule","rules":"yii\\web\\CompositeUrlRule"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","getCreateUrlStatus":"yii\\web\\CompositeUrlRule","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","iterateRules":"yii\\web\\CompositeUrlRule"}}},"yii\\rest\\ViewAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/rest/viewaction/","summary":"ViewAction implements the API endpoint for returning the detailed information about a model.","since":"2.0","extends":"yii\\rest\\Action","implements":["yii\\base\\Configurable"],"methods":{"run":{"signature":"public function run(string $id): yii\\db\\ActiveRecordInterface","summary":"Displays a model.","params":[{"name":"$id","type":"string","description":"The primary key of the model."}],"return":{"type":"yii\\db\\ActiveRecordInterface","description":"The model being displayed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","checkAccess":"yii\\rest\\Action","controller":"yii\\base\\Action","findModel":"yii\\rest\\Action","id":"yii\\base\\Action","modelClass":"yii\\rest\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findModel":"yii\\rest\\Action","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\rest\\Action","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\test\\ActiveFixture":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/test/activefixture/","summary":"ActiveFixture represents a fixture backed up by a ActiveRecord class (`$modelClass`) or a database table (`$tableName`).","since":"2.0","extends":"yii\\test\\BaseActiveFixture","implements":["yii\\base\\Configurable","IteratorAggregate","ArrayAccess","Countable"],"traits":["yii\\base\\ArrayAccessTrait","yii\\test\\FileFixtureTrait"],"properties":{"dataFile":{"type":"string|bool|null","default":"null","description":"The file path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) of the data file that contains the fixture data to be returned by `getData()`."},"tableName":{"type":"string|null","default":"null","description":"The name of the database table that this fixture is about."},"tableSchema":{"type":"yii\\db\\TableSchema","description":"The schema information of the database table associated with this fixture.","access":"read-only","virtual":true}},"methods":{"getData":{"signature":"protected function getData(): array","summary":"Returns the fixture data.","return":{"type":"array","description":"The data rows to be inserted into the database table."},"visibility":"protected"},"getTableSchema":{"signature":"public function getTableSchema(): yii\\db\\TableSchema","return":{"type":"yii\\db\\TableSchema","description":"The schema information of the database table associated with this fixture."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the table does not exist"}]},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"load":{"signature":"public function load(): mixed","summary":"Loads the fixture.","return":{"type":"mixed"}},"resetTable":{"signature":"protected function resetTable(): mixed","summary":"Removes all existing data from the specified table and resets sequence number to 1 (if any).","return":{"type":"mixed"},"visibility":"protected"},"unload":{"signature":"public function unload(): mixed","summary":"Unloads the fixture.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","data":"yii\\test\\BaseActiveFixture","dataDirectory":"yii\\test\\FileFixtureTrait","db":"yii\\test\\DbFixture","depends":"yii\\test\\Fixture","iterator":"yii\\base\\ArrayAccessTrait","modelClass":"yii\\test\\BaseActiveFixture"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterLoad":"yii\\test\\Fixture","afterUnload":"yii\\test\\Fixture","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeLoad":"yii\\test\\Fixture","beforeUnload":"yii\\test\\Fixture","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","count":"yii\\base\\ArrayAccessTrait","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getIterator":"yii\\base\\ArrayAccessTrait","getModel":"yii\\test\\BaseActiveFixture","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","loadData":"yii\\test\\FileFixtureTrait","off":"yii\\base\\Component","offsetExists":"yii\\base\\ArrayAccessTrait","offsetGet":"yii\\base\\ArrayAccessTrait","offsetSet":"yii\\base\\ArrayAccessTrait","offsetUnset":"yii\\base\\ArrayAccessTrait","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\test\\ArrayFixture":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/test/arrayfixture/","summary":"ArrayFixture represents arbitrary fixture that can be loaded from PHP files.","since":"2.0","extends":"yii\\test\\Fixture","implements":["IteratorAggregate","ArrayAccess","Countable","yii\\base\\Configurable"],"traits":["yii\\base\\ArrayAccessTrait","yii\\test\\FileFixtureTrait"],"properties":{"data":{"type":"array<string, array<string, mixed>>","default":"[]","description":"The data rows."}},"methods":{"getData":{"signature":"protected function getData(): array<string, array<string, mixed>>","summary":"Returns the fixture data.","return":{"type":"array<string, array<string, mixed>>","description":"The data to be put into the database"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the specified data file does not exist."}],"visibility":"protected"},"load":{"signature":"public function load(): mixed","summary":"Loads the fixture.","return":{"type":"mixed"}},"unload":{"signature":"public function unload(): mixed","summary":"Unloads the fixture.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","dataDirectory":"yii\\test\\FileFixtureTrait","dataFile":"yii\\test\\FileFixtureTrait","depends":"yii\\test\\Fixture","iterator":"yii\\base\\ArrayAccessTrait"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterLoad":"yii\\test\\Fixture","afterUnload":"yii\\test\\Fixture","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeLoad":"yii\\test\\Fixture","beforeUnload":"yii\\test\\Fixture","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","count":"yii\\base\\ArrayAccessTrait","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getIterator":"yii\\base\\ArrayAccessTrait","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","loadData":"yii\\test\\FileFixtureTrait","off":"yii\\base\\Component","offsetExists":"yii\\base\\ArrayAccessTrait","offsetGet":"yii\\base\\ArrayAccessTrait","offsetSet":"yii\\base\\ArrayAccessTrait","offsetUnset":"yii\\base\\ArrayAccessTrait","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\test\\BaseActiveFixture":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/test/baseactivefixture/","summary":"BaseActiveFixture is the base class for fixture classes that support accessing fixture data as ActiveRecord objects.","since":"2.0","extends":"yii\\test\\DbFixture","implements":["IteratorAggregate","ArrayAccess","Countable","yii\\base\\Configurable"],"traits":["yii\\base\\ArrayAccessTrait","yii\\test\\FileFixtureTrait"],"properties":{"data":{"type":"array<string, array<string, mixed>>","default":"[]","description":"The data rows."},"modelClass":{"type":"string","default":"null","description":"The AR model class associated with this fixture."}},"methods":{"getData":{"signature":"protected function getData(): array<string, array<string, mixed>>","summary":"Returns the fixture data.","return":{"type":"array<string, array<string, mixed>>","description":"The data to be put into the database"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the specified data file does not exist."}],"visibility":"protected"},"getModel":{"signature":"public function getModel(string $name): yii\\db\\ActiveRecord|null","summary":"Returns the AR model by the specified model name.","params":[{"name":"$name","type":"string","description":"The model name."}],"return":{"type":"yii\\db\\ActiveRecord|null","description":"The AR model, or null if the model cannot be found in the database"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$modelClass` is not set."}]},"load":{"signature":"public function load(): mixed","summary":"Loads the fixture.","return":{"type":"mixed"}},"unload":{"signature":"public function unload(): mixed","summary":"Unloads the fixture.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","dataDirectory":"yii\\test\\FileFixtureTrait","dataFile":"yii\\test\\FileFixtureTrait","db":"yii\\test\\DbFixture","depends":"yii\\test\\Fixture","iterator":"yii\\base\\ArrayAccessTrait"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterLoad":"yii\\test\\Fixture","afterUnload":"yii\\test\\Fixture","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeLoad":"yii\\test\\Fixture","beforeUnload":"yii\\test\\Fixture","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","count":"yii\\base\\ArrayAccessTrait","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getIterator":"yii\\base\\ArrayAccessTrait","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\test\\DbFixture","loadData":"yii\\test\\FileFixtureTrait","off":"yii\\base\\Component","offsetExists":"yii\\base\\ArrayAccessTrait","offsetGet":"yii\\base\\ArrayAccessTrait","offsetSet":"yii\\base\\ArrayAccessTrait","offsetUnset":"yii\\base\\ArrayAccessTrait","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\test\\DbFixture":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/test/dbfixture/","summary":"DbFixture is the base class for DB-related fixtures.","since":"2.0","extends":"yii\\test\\Fixture","implements":["yii\\base\\Configurable"],"properties":{"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","depends":"yii\\test\\Fixture"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterLoad":"yii\\test\\Fixture","afterUnload":"yii\\test\\Fixture","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeLoad":"yii\\test\\Fixture","beforeUnload":"yii\\test\\Fixture","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","load":"yii\\test\\Fixture","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","unload":"yii\\test\\Fixture"}}},"yii\\test\\FileFixtureTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/test/filefixturetrait/","summary":"FileFixtureTrait provides functionalities for loading data fixture from file.","since":"2.0.14","properties":{"dataDirectory":{"type":"string","default":"null","description":"The directory path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) that contains the fixture data"},"dataFile":{"type":"string|bool|null","default":"null","description":"The file path or [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/) of the data file that contains the fixture data to be returned by `getData()`."}},"methods":{"loadData":{"signature":"protected function loadData(string $file, bool $throwException = true): array","summary":"Returns the fixture data.","params":[{"name":"$file","type":"string","description":"The data file path"},{"name":"$throwException","type":"bool","default":"true","optional":true,"description":"Whether to throw exception if fixture data file does not exist."}],"return":{"type":"array","description":"The data to be put into the database"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the specified data file does not exist."}],"visibility":"protected"}}},"yii\\test\\Fixture":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/test/fixture/","summary":"Fixture represents a fixed state of a test environment.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"depends":{"type":"array","default":"[]","description":"The fixtures that this fixture depends on."}},"methods":{"afterLoad":{"signature":"public function afterLoad(): mixed","summary":"This method is called AFTER all fixture data have been loaded for the current test.","return":{"type":"mixed"}},"afterUnload":{"signature":"public function afterUnload(): mixed","summary":"This method is called AFTER all fixture data have been unloaded for the current test.","return":{"type":"mixed"}},"beforeLoad":{"signature":"public function beforeLoad(): mixed","summary":"This method is called BEFORE any fixture data is loaded for the current test.","return":{"type":"mixed"}},"beforeUnload":{"signature":"public function beforeUnload(): mixed","summary":"This method is called BEFORE any fixture data is unloaded for the current test.","return":{"type":"mixed"}},"load":{"signature":"public function load(): mixed","summary":"Loads the fixture.","return":{"type":"mixed"}},"unload":{"signature":"public function unload(): mixed","summary":"Unloads the fixture.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\test\\FixtureTrait":{"kind":"trait","url":"https://yii2-framework.github.io/docs/api/yii/test/fixturetrait/","summary":"FixtureTrait provides functionalities for loading, unloading and accessing fixtures for a test case.","since":"2.0","methods":{"createFixtures":{"signature":"protected function createFixtures(array $fixtures): yii\\test\\Fixture[]","summary":"Creates the specified fixture instances.","params":[{"name":"$fixtures","type":"array","description":"The fixtures to be created. You may provide fixture names or fixture configurations. If this parameter is not provided, the fixtures specified in `globalFixtures()` and `fixtures()` will be created."}],"return":{"type":"yii\\test\\Fixture[]","description":"The created fixture instances"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if fixtures are not properly configured"}],"visibility":"protected"},"fixtures":{"signature":"public function fixtures(): array","summary":"Declares the fixtures that are needed by the current test case.","return":{"type":"array","description":"The fixtures needed by the current test case"}},"getFixture":{"signature":"public function getFixture(string $name): yii\\test\\Fixture|null","summary":"Returns the named fixture.","params":[{"name":"$name","type":"string","description":"The fixture name. This can be either the fixture alias name, or the class name if the alias is not used."}],"return":{"type":"yii\\test\\Fixture|null","description":"The fixture object, or null if the named fixture does not exist."}},"getFixtures":{"signature":"public function getFixtures(): yii\\test\\Fixture[]","summary":"Returns the fixture objects as specified in `globalFixtures()` and `fixtures()`.","return":{"type":"yii\\test\\Fixture[]","description":"The loaded fixtures for the current test case"}},"globalFixtures":{"signature":"public function globalFixtures(): array","summary":"Declares the fixtures shared required by different test cases.","return":{"type":"array","description":"The fixtures shared and required by different test cases."}},"initFixtures":{"signature":"public function initFixtures(): mixed","summary":"Initialize the fixtures.","return":{"type":"mixed"},"since":"2.0.12"},"loadFixtures":{"signature":"public function loadFixtures(yii\\test\\Fixture[]|null $fixtures = null): mixed","summary":"Loads the specified fixtures.","params":[{"name":"$fixtures","type":"yii\\test\\Fixture[]|null","default":"null","optional":true,"description":"The fixtures to be loaded. If this parameter is not specified, the return value of `getFixtures()` will be used."}],"return":{"type":"mixed"}},"unloadFixtures":{"signature":"public function unloadFixtures(yii\\test\\Fixture[]|null $fixtures = null): mixed","summary":"Unloads the specified fixtures.","params":[{"name":"$fixtures","type":"yii\\test\\Fixture[]|null","default":"null","optional":true,"description":"The fixtures to be loaded. If this parameter is not specified, the return value of `getFixtures()` will be used."}],"return":{"type":"mixed"}}}},"yii\\test\\InitDbFixture":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/test/initdbfixture/","summary":"InitDbFixture represents the initial state needed for DB-related tests.","since":"2.0","extends":"yii\\test\\DbFixture","implements":["yii\\base\\Configurable"],"properties":{"initScript":{"type":"string","default":"'@app/tests/fixtures/initdb.php'","description":"The init script file that should be executed when loading this fixture."},"schemas":{"type":"array","default":"['']","description":"List of database schemas that the test tables may reside in."}},"methods":{"afterLoad":{"signature":"public function afterLoad(): mixed","summary":"This method is called AFTER all fixture data have been loaded for the current test.","return":{"type":"mixed"}},"afterUnload":{"signature":"public function afterUnload(): mixed","summary":"This method is called AFTER all fixture data have been unloaded for the current test.","return":{"type":"mixed"}},"beforeLoad":{"signature":"public function beforeLoad(): mixed","summary":"This method is called BEFORE any fixture data is loaded for the current test.","return":{"type":"mixed"}},"beforeUnload":{"signature":"public function beforeUnload(): mixed","summary":"This method is called BEFORE any fixture data is unloaded for the current test.","return":{"type":"mixed"}},"checkIntegrity":{"signature":"public function checkIntegrity(bool $check): mixed","summary":"Toggles the DB integrity check.","params":[{"name":"$check","type":"bool","description":"Whether to turn on or off the integrity check."}],"return":{"type":"mixed"}},"load":{"signature":"public function load(): mixed","summary":"Loads the fixture.","return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","db":"yii\\test\\DbFixture","depends":"yii\\test\\Fixture"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\test\\DbFixture","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","unload":"yii\\test\\Fixture"}}},"yii\\validators\\BooleanValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/booleanvalidator/","summary":"BooleanValidator checks if the attribute value is a boolean value.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"falseValue":{"type":"mixed","default":"'0'","description":"The value representing false status."},"strict":{"type":"bool","default":"false","description":"Whether the comparison to `$trueValue` and `$falseValue` is strict."},"trueValue":{"type":"mixed","default":"'1'","description":"The value representing true status."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttribute":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\CompareValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/comparevalidator/","summary":"CompareValidator compares the specified attribute value with another value.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"compareAttribute":{"type":"string","default":"null","description":"The name of the attribute to be compared with."},"compareValue":{"type":"mixed","default":"null","description":"The constant value to be compared with or an anonymous function that returns the constant value."},"message":{"type":"string|null","default":"null","description":"The user-defined error message."},"operator":{"type":"string","default":"'=='","description":"The operator for comparison."},"type":{"type":"string","default":"self::TYPE_STRING","description":"The type of the values being compared."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"compareValues":{"signature":"protected function compareValues(string $operator, string $type, mixed $value, mixed $compareValue): bool","summary":"Compares two values with the specified operator.","params":[{"name":"$operator","type":"string","description":"The comparison operator"},{"name":"$type","type":"string","description":"The type of the values being compared"},{"name":"$value","type":"mixed","description":"The value being compared"},{"name":"$compareValue","type":"mixed","description":"Another value being compared"}],"return":{"type":"bool","description":"Whether the comparison using the specified operator is true."},"visibility":"protected"},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"constants":{"TYPE_STRING":{"value":"'string'","description":"Constant for specifying the comparison `$type` by numeric values.","since":"2.0.11"},"TYPE_NUMBER":{"value":"'number'","description":"Constant for specifying the comparison `$type` by numeric values.","since":"2.0.11"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\DateValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/datevalidator/","summary":"DateValidator verifies if the attribute represents a date, time or datetime in a proper `$format`.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"defaultTimeZone":{"type":"string","default":"'UTC'","description":"The default timezone used for parsing when no time parts are provided in the format.","since":"2.0.39"},"format":{"type":"string|null","default":"null","description":"The date format that the value being validated should follow."},"locale":{"type":"string|null","default":"null","description":"The locale ID that is used to localize the date parsing."},"max":{"type":"int|string|null","default":"null","description":"Upper limit of the date.","since":"2.0.4"},"maxString":{"type":"string|null","default":"null","description":"User friendly value of upper limit to display in the error message.","since":"2.0.4"},"min":{"type":"int|string|null","default":"null","description":"Lower limit of the date.","since":"2.0.4"},"minString":{"type":"string|null","default":"null","description":"User friendly value of lower limit to display in the error message.","since":"2.0.4"},"strictDateFormat":{"type":"bool","default":"false","description":"Set this parameter to true if you need strict date format validation (e.g. only such dates pass validation for the following format 'yyyy-MM-dd': '0011-03-25', '2019-04-30' etc. and not '18-05-15', '2017-Mar-14' etc. which pass validation if this parameter is set to false)","since":"2.0.22"},"timestampAttribute":{"type":"string|null","default":"null","description":"The name of the attribute to receive the parsing result."},"timestampAttributeFormat":{"type":"string|null","default":"null","description":"The format to use when populating the `$timestampAttribute`.","since":"2.0.4"},"timestampAttributeTimeZone":{"type":"string","default":"'UTC'","description":"The timezone to use when populating the `$timestampAttribute` with `$timestampAttributeFormat`.","since":"2.0.4"},"timeZone":{"type":"string|null","default":"null","description":"The timezone to use for parsing date and time values."},"tooBig":{"type":"string","default":"null","description":"User-defined error message used when the value is bigger than `$max`.","since":"2.0.4"},"tooSmall":{"type":"string","default":"null","description":"User-defined error message used when the value is smaller than `$min`.","since":"2.0.4"},"type":{"type":"string","default":"self::TYPE_DATE","description":"The type of the validator.","since":"2.0.8"}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"parseDateValue":{"signature":"protected function parseDateValue(mixed $value): int|false","summary":"Parses date string into UNIX timestamp.","params":[{"name":"$value","type":"mixed","description":"String representing date"}],"return":{"type":"int|false","description":"A UNIX timestamp or `false` on failure."},"visibility":"protected"},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"constants":{"TYPE_DATE":{"value":"'date'","description":"Constant for specifying the validation `$type` as a date value, used for validation with intl short format.","since":"2.0.8"},"TYPE_DATETIME":{"value":"'datetime'","description":"Constant for specifying the validation `$type` as a datetime value, used for validation with intl short format.","since":"2.0.8"},"TYPE_TIME":{"value":"'time'","description":"Constant for specifying the validation `$type` as a time value, used for validation with intl short format.","since":"2.0.8"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clientValidateAttribute":"yii\\validators\\Validator","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\Validator","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\DefaultValueValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/defaultvaluevalidator/","summary":"DefaultValueValidator sets the attribute to be the specified default value.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"skipOnEmpty":{"type":"bool","default":"false","description":"This property is overwritten to be false so that this validator will be applied when the value being validated is empty."},"value":{"type":"mixed","default":"null","description":"The default value or an anonymous function that returns the default value which will be assigned to the attributes being validated if they are empty."}},"methods":{"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clientValidateAttribute":"yii\\validators\\Validator","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\Validator","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\validators\\Validator","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator","validateValue":"yii\\validators\\Validator"}}},"yii\\validators\\EachValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/eachvalidator/","summary":"EachValidator validates an array by checking each of its elements against an embedded validation rule.","since":"2.0.4","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"allowMessageFromRule":{"type":"bool","default":"true","description":"Whether to use error message composed by validator declared via `$rule` if its validation fails."},"rule":{"type":"array|yii\\validators\\Validator","default":"null","description":"Definition of the validation rule, which should be used on array values."},"stopOnFirstError":{"type":"bool","default":"true","description":"Whether to stop validation once first error among attribute value elements is detected.","since":"2.0.11"}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clientValidateAttribute":"yii\\validators\\Validator","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\Validator","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\EmailValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/emailvalidator/","summary":"EmailValidator validates that the attribute value is a valid email address.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"allowName":{"type":"bool","default":"false","description":"Whether to allow name in the email address (e.g. \"John Smith <john.smith@example.com>\")."},"checkDNS":{"type":"bool","default":"false","description":"Whether to check whether the email's domain exists and has either an A or MX record."},"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"enableIDN":{"type":"bool","default":"false","description":"Whether validation process should take into account IDN (internationalized domain names)."},"enableLocalIDN":{"type":"bool","default":"true","description":"Whether `$enableIDN` should apply to the local part of the email (left side of the `@`).","since":"2.0.43"},"fullPattern":{"type":"string","default":"'/^[^@]*<[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'","description":"The regular expression used to validate email addresses with the name part."},"fullPatternASCII":{"type":"string","default":"'/^[^@]*<[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+)*$/'","description":"The regular expression used to validate email addresses with the name part before the @ symbol, used if ASCII conversion fails to validate the address.","since":"2.0.42"},"pattern":{"type":"string","default":"'/^[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'","description":"The regular expression used to validate the attribute value."},"patternASCII":{"type":"string","default":"'/^[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\\'*+\\/=?^_`{|}~-]+)*$/'","description":"The regular expression used to validate the part before the @ symbol, used if ASCII conversion fails to validate the address.","since":"2.0.42"}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"isDNSValid":{"signature":"protected function isDNSValid(string $domain): bool","params":[{"name":"$domain","type":"string"}],"return":{"type":"bool","description":"If DNS records for domain are valid"},"visibility":"protected"},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttribute":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\ExistValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/existvalidator/","summary":"ExistValidator validates that the attribute value exists in a table.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"allowArray":{"type":"bool","default":"false","description":"Whether to allow array type attribute."},"filter":{"type":"string|array|Closure","default":"null","description":"Additional filter to be applied to the DB query used to check the existence of the attribute value."},"forceMasterDb":{"type":"bool","default":"true","description":"Whether this validator is forced to always use master DB","since":"2.0.14"},"targetAttribute":{"type":"string|array|null","default":"null","description":"The name of the ActiveRecord attribute that should be used to validate the existence of the current attribute value."},"targetAttributeJunction":{"type":"string","default":"'and'","description":"And|or define how target attributes are related","since":"2.0.11"},"targetClass":{"type":"string|null","default":"null","description":"The name of the ActiveRecord class that should be used to validate the existence of the current attribute value."},"targetRelation":{"type":"string","default":"null","description":"The name of the relation that should be used to validate the existence of the current attribute value This param overwrites $targetClass and $targetAttribute","since":"2.0.14"}},"methods":{"createQuery":{"signature":"protected function createQuery(string $targetClass, mixed $condition): yii\\db\\ActiveQueryInterface","summary":"Creates a query instance with the given condition.","params":[{"name":"$targetClass","type":"string","description":"The target AR class"},{"name":"$condition","type":"mixed","description":"Query condition"}],"return":{"type":"yii\\db\\ActiveQueryInterface","description":"The query instance"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clientValidateAttribute":"yii\\validators\\Validator","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\Validator","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\FileValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/filevalidator/","summary":"FileValidator verifies if an attribute is receiving a valid uploaded file.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"checkExtensionByMimeType":{"type":"bool","default":"true","description":"Whether to check file type (extension) with mime-type."},"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"extensions":{"type":"array|string|null","default":"null","description":"A list of file name extensions that are allowed to be uploaded."},"maxFiles":{"type":"int","default":"1","description":"The maximum file count the given attribute can hold."},"maxSize":{"type":"int|null","default":"null","description":"The maximum number of bytes required for the uploaded file."},"message":{"type":"string","default":"null","description":"The error message used when a file is not uploaded correctly."},"mimeTypes":{"type":"array|string|null","default":"null","description":"A list of file MIME types that are allowed to be uploaded."},"minFiles":{"type":"int","default":"0","description":"The minimum file count the given attribute can hold.","since":"2.0.14"},"minSize":{"type":"int|null","default":"null","description":"The minimum number of bytes required for the uploaded file."},"sizeLimit":{"type":"int","description":"The size limit for uploaded files.","access":"read-only","virtual":true},"tooBig":{"type":"string","default":"null","description":"The error message used when the uploaded file is too large."},"tooFew":{"type":"string","default":"null","description":"The error message used if the count of multiple uploads less that minFiles.","since":"2.0.14"},"tooMany":{"type":"string","default":"null","description":"The error message used if the count of multiple uploads exceeds limit."},"tooSmall":{"type":"string","default":"null","description":"The error message used when the uploaded file is too small."},"uploadRequired":{"type":"string","default":"null","description":"The error message used when no file is uploaded."},"wrongExtension":{"type":"string","default":"null","description":"The error message used when the uploaded file has an extension name that is not listed in `$extensions`."},"wrongMimeType":{"type":"string","default":"null","description":"The error message used when the file has an mime type that is not allowed by `$mimeTypes` property."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"getMimeTypeByFile":{"signature":"protected function getMimeTypeByFile(string $filePath): string|null","summary":"Get MIME type by file path","params":[{"name":"$filePath","type":"string"}],"return":{"type":"string|null"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"visibility":"protected","since":"2.0.26"},"getSizeLimit":{"signature":"public function getSizeLimit(): int","summary":"Returns the maximum size allowed for uploaded files.","return":{"type":"int","description":"The size limit for uploaded files."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"isEmpty":{"signature":"public function isEmpty(mixed $value, bool $trim = false): bool","summary":"Checks if the given value is empty.","params":[{"name":"$value","type":"mixed","description":"The value to be checked"},{"name":"$trim","type":"bool","default":"false","optional":true}],"return":{"type":"bool","description":"Whether the value is empty"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateExtension":{"signature":"protected function validateExtension(yii\\web\\UploadedFile $file): bool","summary":"Checks if given uploaded file have correct type (extension) according current validator settings.","params":[{"name":"$file","type":"yii\\web\\UploadedFile"}],"return":{"type":"bool"},"visibility":"protected"},"validateMimeType":{"signature":"protected function validateMimeType(yii\\web\\UploadedFile $file): bool","summary":"Checks the mimeType of the $file against the list in the `$mimeTypes` property.","params":[{"name":"$file","type":"yii\\web\\UploadedFile"}],"return":{"type":"bool","description":"Whether the $file mimeType is allowed"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"visibility":"protected","since":"2.0.8"},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\FilterValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/filtervalidator/","summary":"FilterValidator converts the attribute value according to a filter.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script strategy used to register client-side filtering behaviour."},"filter":{"type":"callable","default":"null","description":"The filter."},"skipOnArray":{"type":"bool","default":"false","description":"Whether the filter should be skipped if an array input is given."},"skipOnEmpty":{"type":"bool","default":"false","description":"This property is overwritten to be false so that this validator will be applied when the value being validated is empty."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator","validateValue":"yii\\validators\\Validator"}}},"yii\\validators\\ImageValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/imagevalidator/","summary":"ImageValidator verifies if an attribute is receiving a valid image.","since":"2.0","extends":"yii\\validators\\FileValidator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"maxHeight":{"type":"int|null","default":"null","description":"The maximum width in pixels."},"maxWidth":{"type":"int|null","default":"null","description":"The maximum width in pixels."},"minHeight":{"type":"int|null","default":"null","description":"The minimum height in pixels."},"minWidth":{"type":"int|null","default":"null","description":"The minimum width in pixels."},"notImage":{"type":"string","default":"null","description":"The error message used when the uploaded file is not an image."},"overHeight":{"type":"string","default":"null","description":"The error message used when the image is over `$maxHeight`."},"overWidth":{"type":"string","default":"null","description":"The error message used when the image is over `$maxWidth`."},"underHeight":{"type":"string","default":"null","description":"The error message used when the image is under `$minHeight`."},"underWidth":{"type":"string","default":"null","description":"The error message used when the image is under `$minWidth`."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateImage":{"signature":"protected function validateImage(yii\\web\\UploadedFile $image): array|null","summary":"Validates an image file.","params":[{"name":"$image","type":"yii\\web\\UploadedFile","description":"Uploaded file passed to check against a set of rules"}],"return":{"type":"array|null","description":"The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid."},"visibility":"protected"},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","checkExtensionByMimeType":"yii\\validators\\FileValidator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","extensions":"yii\\validators\\FileValidator","isEmpty":"yii\\validators\\Validator","maxFiles":"yii\\validators\\FileValidator","maxSize":"yii\\validators\\FileValidator","message":"yii\\validators\\FileValidator","mimeTypes":"yii\\validators\\FileValidator","minFiles":"yii\\validators\\FileValidator","minSize":"yii\\validators\\FileValidator","on":"yii\\validators\\Validator","sizeLimit":"yii\\validators\\FileValidator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","tooBig":"yii\\validators\\FileValidator","tooFew":"yii\\validators\\FileValidator","tooMany":"yii\\validators\\FileValidator","tooSmall":"yii\\validators\\FileValidator","uploadRequired":"yii\\validators\\FileValidator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator","wrongExtension":"yii\\validators\\FileValidator","wrongMimeType":"yii\\validators\\FileValidator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clientValidateAttribute":"yii\\validators\\FileValidator","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\FileValidator","getFormattedClientMessage":"yii\\validators\\Validator","getMimeTypeByFile":"yii\\validators\\FileValidator","getSizeLimit":"yii\\validators\\FileValidator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\FileValidator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttribute":"yii\\validators\\FileValidator","validateAttributes":"yii\\validators\\Validator","validateExtension":"yii\\validators\\FileValidator","validateMimeType":"yii\\validators\\FileValidator"}}},"yii\\validators\\InlineValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/inlinevalidator/","summary":"InlineValidator represents a validator which is defined as a method in the object being validated.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientValidate":{"type":"string|Closure","default":"null","description":"An anonymous function or the name of a model class method that returns the client validation code."},"current":{"type":"mixed","default":"null","description":"The value of attribute being currently validated.","since":"2.0.36"},"method":{"type":"string|callable","default":"null","description":"An anonymous function or the name of a model class method that will be called to perform the actual validation."},"params":{"type":"mixed","default":"null","description":"Additional parameters that are passed to the validation method"}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\Validator","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\validators\\Validator","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator","validateValue":"yii\\validators\\Validator"}}},"yii\\validators\\IpValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/ipvalidator/","summary":"The validator checks if the attribute value is a valid IPv4/IPv6 address or subnet.","since":"2.0.7","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"expandIPv6":{"type":"bool","default":"false","description":"Whether to expand an IPv6 address to the full notation format."},"hasSubnet":{"type":"string","default":"null","description":"User-defined error message is used when validation fails due to `$subnet` is false, but CIDR prefix is present."},"ipv4":{"type":"bool","default":"true","description":"Whether the validating value can be an IPv4 address."},"ipv4NotAllowed":{"type":"string","default":"null","description":"User-defined error message is used when validation fails due to the disabled IPv4 validation."},"ipv4Pattern":{"type":"string","default":"'/^(?:(?:2(?:[0-4]\\d|5[0-5])|[0-1]?\\d?\\d)\\.){3}(?:(?:2([0-4]\\d|5[0-5])|[0-1]?\\d?\\d))$/'","description":"Regexp-pattern to validate IPv4 address"},"ipv6":{"type":"bool","default":"true","description":"Whether the validating value can be an IPv6 address."},"ipv6NotAllowed":{"type":"string","default":"null","description":"User-defined error message is used when validation fails due to the disabled IPv6 validation."},"ipv6Pattern":{"type":"string","default":"'/^(([\\da-fA-F]{1,4}:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}:){1,7}:|([\\da-fA-F]{1,4}:){1,6}:[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}:){1,5}(:[\\da-fA-F]{1,4}){1,2}|([\\da-fA-F]{1,4}:){1,4}(:[\\da-fA-F]{1,4}){1,3}|([\\da-fA-F]{1,4}:){1,3}(:[\\da-fA-F]{1,4}){1,4}|([\\da-fA-F]{1,4}:){1,2}(:[\\da-fA-F]{1,4}){1,5}|[\\da-fA-F]{1,4}:((:[\\da-fA-F]{1,4}){1,6})|:((:[\\da-fA-F]{1,4}){1,7}|:)|fe80:(:[\\da-fA-F]{0,4}){0,4}%[\\da-zA-Z]+|::(ffff(:0{1,4})?:)?((25[0-5]|(2[0-4]|1?\\d)?\\d)\\.){3}(25[0-5]|(2[0-4]|1?\\d)?\\d)|([\\da-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1?[\\d])?\\d)\\.){3}(25[0-5]|(2[0-4]|1?\\d)?\\d))$/'","description":"Regexp-pattern to validate IPv6 address"},"message":{"type":"string","default":"null","description":"User-defined error message is used when validation fails due to the wrong IP address format."},"negation":{"type":"bool","default":"false","description":"Whether address may have a `NEGATION_CHAR` character at the beginning."},"networks":{"type":"array","default":"['*' => ['any'], 'any' => ['0.0.0.0/0', '::/0'], 'private' => ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', 'fd00::/8'], 'multicast' => ['224.0.0.0/4', 'ff00::/8'], 'linklocal' => ['169.254.0.0/16', 'fe80::/10'], 'localhost' => ['127.0.0.0/8', '::1'], 'documentation' => ['192.0.2.0/24', '198.51.100.0/24', '203.0.113.0/24', '2001:db8::/32'], 'system' => ['multicast', 'linklocal', 'localhost', 'documentation']]","description":"The network aliases, that can be used in `$ranges`. - key - alias name - value - array of strings."},"normalize":{"type":"bool","default":"false","description":"Whether to add the CIDR prefix with the smallest length (32 for IPv4 and 128 for IPv6) to an address without it."},"noSubnet":{"type":"string|null","default":"null","description":"User-defined error message is used when validation fails due to subnet `$subnet` set to 'only', but the CIDR prefix is not set."},"notInRange":{"type":"string","default":"null","description":"User-defined error message is used when validation fails due to IP address is not not allowed by `$ranges` check."},"ranges":{"type":"array|string|null","description":"The IPv4 or IPv6 ranges that are allowed or forbidden.","virtual":true},"subnet":{"type":"bool|null","default":"false","description":"Whether the address can be an IP with CIDR subnet, like `192.168.10.0/24`."},"wrongCidr":{"type":"string","default":"null","description":"User-defined error message is used when validation fails due to the wrong CIDR."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"getRanges":{"signature":"public function getRanges(): array","return":{"type":"array","description":"The IPv4 or IPv6 ranges that are allowed or forbidden."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"setRanges":{"signature":"public function setRanges(array|string|null $ranges): mixed","summary":"Set the IPv4 or IPv6 ranges that are allowed or forbidden.","params":[{"name":"$ranges","type":"array|string|null","description":"The IPv4 or IPv6 ranges that are allowed or forbidden. When the array is empty, or the option not set, all IP addresses are allowed. Otherwise, the rules are checked sequentially until the first match is found. An IP address is forbidden, when it has not matched any of the rules. Example: ``` [ 'ranges' => [ '192.168.10.128' '!192.168.10.0/24', 'any' // allows any other IP addresses ] ] ``` In this example, access is allowed for all the IPv4 and IPv6 addresses excluding the `192.168.10.0/24` subnet. IPv4 address `192.168.10.128` is also allowed, because it is listed before the restriction."}],"return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateIPv4":{"signature":"protected function validateIPv4(string $value): bool","summary":"Validates IPv4 address.","params":[{"name":"$value","type":"string"}],"return":{"type":"bool"},"visibility":"protected"},"validateIPv6":{"signature":"protected function validateIPv6(string $value): bool","summary":"Validates IPv6 address.","params":[{"name":"$value","type":"string"}],"return":{"type":"bool"},"visibility":"protected"},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"constants":{"NEGATION_CHAR":{"value":"'!'","description":"Negation char."}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\NumberValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/numbervalidator/","summary":"NumberValidator validates that the attribute value is a number.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"allowArray":{"type":"bool","default":"false","description":"Whether to allow array type attribute.","since":"2.0.42"},"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"integerOnly":{"type":"bool","default":"false","description":"Whether the attribute value can only be an integer."},"integerPattern":{"type":"string","default":"'/^[+-]?\\d+$/'","description":"The regular expression for matching integers."},"max":{"type":"int|float|null","default":"null","description":"Upper limit of the number."},"min":{"type":"int|float|null","default":"null","description":"Lower limit of the number."},"numberPattern":{"type":"string","default":"'/^[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?$/'","description":"The regular expression for matching numbers."},"tooBig":{"type":"string","default":"null","description":"User-defined error message used when the value is bigger than `$max`."},"tooSmall":{"type":"string","default":"null","description":"User-defined error message used when the value is smaller than `$min`."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\PunycodeAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/punycodeasset/","summary":"This asset bundle provides the javascript files needed for the `yii\\validators\\EmailValidator`s client validation.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"js":{"default":"['punycode.js']"},"sourcePath":{"default":"'@npm/punycode'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\validators\\RangeValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/rangevalidator/","summary":"RangeValidator validates that the attribute value is among a list of values.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"allowArray":{"type":"bool","default":"false","description":"Whether to allow array type attribute."},"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"not":{"type":"bool","default":"false","description":"Whether to invert the validation logic."},"range":{"type":"array|Traversable|Closure","default":"null","description":"A list of valid values that the attribute value should be among or an anonymous function that returns such a list."},"strict":{"type":"bool","default":"false","description":"Whether the comparison is strict (both type and value must be the same)"}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\RegularExpressionValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/regularexpressionvalidator/","summary":"RegularExpressionValidator validates that the attribute value matches the specified `$pattern`.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"not":{"type":"bool","default":"false","description":"Whether to invert the validation logic."},"pattern":{"type":"string","default":"null","description":"The regular expression to be matched with"}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttribute":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\RequiredValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/requiredvalidator/","summary":"RequiredValidator validates that the specified attribute does not have null or empty value.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"message":{"type":"string","default":"null","description":"The user-defined error message."},"requiredValue":{"type":"mixed","default":"null","description":"The desired value that the attribute must have."},"skipOnEmpty":{"type":"bool","default":"false","description":"Whether to skip this validator if the value being validated is empty."},"strict":{"type":"bool","default":"false","description":"Whether the comparison between the attribute value and `$requiredValue` is strict."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttribute":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\SafeValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/safevalidator/","summary":"SafeValidator serves as a dummy validator whose main purpose is to mark the attributes to be safe for massive assignment.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"methods":{"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateAttributes":{"signature":"public function validateAttributes(mixed $model, mixed $attributes = null): mixed","summary":"Validates the specified object.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attributes","type":"mixed","default":"null","optional":true,"description":"The list of attributes to be validated. Note that if an attribute is not associated with the validator - it will be ignored. If this parameter is null, every attribute listed in `$attributes` will be validated."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clientValidateAttribute":"yii\\validators\\Validator","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\Validator","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\validators\\Validator","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateValue":"yii\\validators\\Validator"}}},"yii\\validators\\StringValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/stringvalidator/","summary":"StringValidator validates that the attribute value is of certain length.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"encoding":{"type":"string|null","default":"null","description":"The encoding of the string value to be validated (e.g. 'UTF-8')."},"length":{"type":"int|array|null","default":"null","description":"Specifies the length limit of the value to be validated."},"max":{"type":"int|null","default":"null","description":"Maximum length."},"message":{"type":"string","default":"null","description":"User-defined error message used when the value is not a string."},"min":{"type":"int|null","default":"null","description":"Minimum length."},"notEqual":{"type":"string","default":"null","description":"User-defined error message used when the length of the value is not equal to `$length`."},"strict":{"type":"bool","default":"true","description":"Whether to require the value to be a string data type.","since":"2.0.33"},"tooLong":{"type":"string","default":"null","description":"User-defined error message used when the length of the value is greater than `$max`."},"tooShort":{"type":"string","default":"null","description":"User-defined error message used when the length of the value is smaller than `$min`."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\TrimValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/trimvalidator/","summary":"This class converts the attribute value(s) to string(s) and strip characters.","since":"2.0.46","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"chars":{"type":"string","default":"null","description":"The list of characters to strip, with `..` can specify a range of characters."},"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"skipOnArray":{"type":"bool","default":"false","description":"Whether the filter should be skipped if an array input is given."},"skipOnEmpty":{"type":"bool","default":"false","description":"Whether this validation rule should be skipped if the attribute value is null or an empty string."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): mixed","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"mixed","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): mixed","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"mixed","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"trimValue":{"signature":"protected function trimValue(mixed $value): string","summary":"Converts given value to string and strips declared characters.","params":[{"name":"$value","type":"mixed","description":"The value to strip"}],"return":{"type":"string"},"visibility":"protected"},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator","validateValue":"yii\\validators\\Validator"}}},"yii\\validators\\UniqueValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/uniquevalidator/","summary":"UniqueValidator validates that the attribute value is unique in the specified database table.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"filter":{"type":"string|array|Closure","default":"null","description":"Additional filter to be applied to the DB query used to check the uniqueness of the attribute value."},"forceMasterDb":{"type":"bool","default":"true","description":"Whether this validator is forced to always use master DB","since":"2.0.14"},"message":{"type":"string","default":"null","description":"The user-defined error message."},"targetAttribute":{"type":"string|array|null","default":"null","description":"The name of the ActiveRecord (`yii\\db\\ActiveRecord`) attribute that should be used to validate the uniqueness of the current attribute value."},"targetAttributeJunction":{"type":"string","default":"'and'","description":"And|or define how target attributes are related","since":"2.0.11"},"targetClass":{"type":"string|null","default":"null","description":"The name of the ActiveRecord class that should be used to validate the uniqueness of the current attribute value."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clientValidateAttribute":"yii\\validators\\Validator","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getClientOptions":"yii\\validators\\Validator","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator","validateValue":"yii\\validators\\Validator"}}},"yii\\validators\\UrlValidator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/urlvalidator/","summary":"UrlValidator validates that the attribute value is a valid http or https URL.","since":"2.0","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"clientScript":{"type":"array|yii\\validators\\client\\ClientValidatorScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"defaultScheme":{"type":"string|null","default":"null","description":"The default URI scheme."},"enableIDN":{"type":"bool","default":"false","description":"Whether validation process should take into account IDN (internationalized domain names)."},"pattern":{"type":"string","default":"'/^{schemes}:\\/\\/(([A-Z0-9][A-Z0-9_-]*)(\\.[A-Z0-9][A-Z0-9_-]*)+)(?::\\d{1,5})?(?:$|[?\\/#])/i'","description":"The regular expression used to validate the attribute value."},"validSchemes":{"type":"array","default":"['http', 'https']","description":"List of URI schemes which should be considered valid."}},"methods":{"clientValidateAttribute":{"signature":"public function clientValidateAttribute(mixed $model, mixed $attribute, mixed $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"mixed","description":"The data model being validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."},{"name":"$view","type":"mixed","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"getClientOptions":{"signature":"public function getClientOptions(mixed $model, mixed $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"mixed","description":"The model being validated"},{"name":"$attribute","type":"mixed","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"validateAttribute":{"signature":"public function validateAttribute(mixed $model, mixed $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"mixed","description":"The data model to be validated"},{"name":"$attribute","type":"mixed","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"attributeNames":"yii\\validators\\Validator","attributes":"yii\\validators\\Validator","behaviors":"yii\\base\\Component","builtInValidators":"yii\\validators\\Validator","enableClientValidation":"yii\\validators\\Validator","except":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","message":"yii\\validators\\Validator","on":"yii\\validators\\Validator","skipOnEmpty":"yii\\validators\\Validator","skipOnError":"yii\\validators\\Validator","validationAttributes":"yii\\validators\\Validator","when":"yii\\validators\\Validator","whenClient":"yii\\validators\\Validator"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addError":"yii\\validators\\Validator","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createValidator":"yii\\validators\\Validator","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","formatMessage":"yii\\validators\\Validator","getAttributeNames":"yii\\validators\\Validator","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getFormattedClientMessage":"yii\\validators\\Validator","getValidationAttributes":"yii\\validators\\Validator","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","isActive":"yii\\validators\\Validator","isEmpty":"yii\\validators\\Validator","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}},"yii\\validators\\ValidationAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/validationasset/","summary":"This asset bundle provides the javascript files for client validation.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"['yii\\web\\YiiAsset']"},"js":{"default":"['yii.validation.js']"},"sourcePath":{"default":"'@yii/assets'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\validators\\Validator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/validators/validator/","summary":"Validator is the base class for all validators.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"attributeNames":{"type":"array","description":"Attribute names.","access":"read-only","virtual":true},"attributes":{"type":"array|string","default":"[]","description":"Attributes to be validated by this validator."},"builtInValidators":{"type":"array","default":"['boolean' => 'yii\\validators\\BooleanValidator', 'captcha' => 'yii\\captcha\\CaptchaValidator', 'compare' => 'yii\\validators\\CompareValidator', 'date' => 'yii\\validators\\DateValidator', 'datetime' => ['class' => 'yii\\validators\\DateValidator', 'type' => \\yii\\validators\\DateValidator::TYPE_DATETIME], 'time' => ['class' => 'yii\\validators\\DateValidator', 'type' => \\yii\\validators\\DateValidator::TYPE_TIME], 'default' => 'yii\\validators\\DefaultValueValidator', 'double' => 'yii\\validators\\NumberValidator', 'each' => 'yii\\validators\\EachValidator', 'email' => 'yii\\validators\\EmailValidator', 'exist' => 'yii\\validators\\ExistValidator', 'file' => 'yii\\validators\\FileValidator', 'filter' => 'yii\\validators\\FilterValidator', 'image' => 'yii\\validators\\ImageValidator', 'in' => 'yii\\validators\\RangeValidator', 'integer' => ['class' => 'yii\\validators\\NumberValidator', 'integerOnly' => true], 'match' => 'yii\\validators\\RegularExpressionValidator', 'number' => 'yii\\validators\\NumberValidator', 'required' => 'yii\\validators\\RequiredValidator', 'safe' => 'yii\\validators\\SafeValidator', 'string' => 'yii\\validators\\StringValidator', 'trim' => ['class' => 'yii\\validators\\TrimValidator', 'skipOnArray' => true], 'unique' => 'yii\\validators\\UniqueValidator', 'url' => 'yii\\validators\\UrlValidator', 'ip' => 'yii\\validators\\IpValidator']","description":"List of built-in validators (name => class or configuration)","static":true},"enableClientValidation":{"type":"bool","default":"true","description":"Whether to enable client-side validation for this validator."},"except":{"type":"array|string","default":"[]","description":"Scenarios that the validator should not be applied to."},"isEmpty":{"type":"callable|null","default":"null","description":"A PHP callable that replaces the default implementation of `isEmpty()`."},"message":{"type":"string|null","default":"null","description":"The user-defined error message."},"on":{"type":"array|string","default":"[]","description":"Scenarios that the validator can be applied to."},"skipOnEmpty":{"type":"bool","default":"true","description":"Whether this validation rule should be skipped if the attribute value is null or an empty string."},"skipOnError":{"type":"bool","default":"true","description":"Whether this validation rule should be skipped if the attribute being validated already has some validation error according to some previous rules."},"validationAttributes":{"type":"array|null","description":"List of attribute names.","access":"read-only","virtual":true},"when":{"type":"callable|null","default":"null","description":"A PHP callable whose return value determines whether this validator should be applied."},"whenClient":{"type":"string|null","default":"null","description":"A JavaScript function name whose return value determines whether this validator should be applied on the client-side."}},"methods":{"addError":{"signature":"public function addError(yii\\base\\Model $model, string $attribute, string $message, array $params = []): mixed","summary":"Adds an error about the specified attribute to the model object.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model being validated"},{"name":"$attribute","type":"string","description":"The attribute being validated"},{"name":"$message","type":"string","description":"The error message"},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Values for the placeholders in the error message"}],"return":{"type":"mixed"}},"clientValidateAttribute":{"signature":"public function clientValidateAttribute(yii\\base\\Model $model, string $attribute, yii\\web\\View $view): string|null","summary":"Returns the JavaScript needed for performing client-side validation.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model being validated"},{"name":"$attribute","type":"string","description":"The name of the attribute to be validated."},{"name":"$view","type":"yii\\web\\View","description":"The view object that is going to be used to render views or view files containing a model form with this validator applied."}],"return":{"type":"string|null","description":"The client-side validation script. Null if the validator does not support client-side validation."}},"createValidator":{"signature":"public static function createValidator(string|Closure $type, yii\\base\\Model $model, array|string $attributes, array $params = []): yii\\validators\\Validator","summary":"Creates a validator object.","params":[{"name":"$type","type":"string|Closure","description":"The validator type. This can be either: * a built-in validator name listed in `$builtInValidators`; * a method name of the model class; * an anonymous function; * a validator class name."},{"name":"$model","type":"yii\\base\\Model","description":"The data model to be validated."},{"name":"$attributes","type":"array|string","description":"List of attributes to be validated. This can be either an array of the attribute names or a string of comma-separated attribute names."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Initial values to be applied to the validator properties."}],"return":{"type":"yii\\validators\\Validator","description":"The validator"},"static":true},"formatMessage":{"signature":"protected function formatMessage(string $message, array $params): string","summary":"Formats a mesage using the I18N, or simple strtr if `\\Yii::$app` is not available.","params":[{"name":"$message","type":"string"},{"name":"$params","type":"array"}],"return":{"type":"string"},"visibility":"protected","since":"2.0.12"},"getAttributeNames":{"signature":"public function getAttributeNames(): array","summary":"Returns cleaned attribute names without the `!` character at the beginning.","return":{"type":"array","description":"Attribute names."},"since":"2.0.12"},"getClientOptions":{"signature":"public function getClientOptions(yii\\base\\Model $model, string $attribute): array","summary":"Returns the client-side validation options.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model being validated"},{"name":"$attribute","type":"string","description":"The attribute name being validated"}],"return":{"type":"array","description":"The client-side validation options"},"since":"2.0.11"},"getFormattedClientMessage":{"signature":"public function getFormattedClientMessage(string $message, array<string, mixed> $params): string","summary":"Returns the formatted validation message for client-side validation.","params":[{"name":"$message","type":"string","description":"The message template to be formatted"},{"name":"$params","type":"array<string, mixed>","description":"The parameters to be inserted into the message"}],"return":{"type":"string","description":"The formatted validation message"},"since":"22.0"},"getValidationAttributes":{"signature":"public function getValidationAttributes(array|string|null $attributes = null): array|null","summary":"Returns a list of attributes this validator applies to.","params":[{"name":"$attributes","type":"array|string|null","default":"null","optional":true,"description":"The list of attributes to be validated. - If this is `null`, the result will be equal to `getAttributeNames()`. - If this is a string or an array, the intersection of `getAttributeNames()` and the specified attributes will be returned."}],"return":{"type":"array|null","description":"List of attribute names."},"since":"2.0.16"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"isActive":{"signature":"public function isActive(string $scenario): bool","summary":"Returns a value indicating whether the validator is active for the given scenario and attribute.","params":[{"name":"$scenario","type":"string","description":"Scenario name"}],"return":{"type":"bool","description":"Whether the validator applies to the specified scenario."}},"isEmpty":{"signature":"public function isEmpty(mixed $value): bool","summary":"Checks if the given value is empty.","params":[{"name":"$value","type":"mixed","description":"The value to be checked"}],"return":{"type":"bool","description":"Whether the value is empty"}},"validate":{"signature":"public function validate(mixed $value, string|null &$error = null): bool","summary":"Validates a given value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."},{"name":"$error","type":"string|null","default":"null","optional":true,"byReference":true,"description":"The error message to be returned, if the validation fails."}],"return":{"type":"bool","description":"Whether the data is valid."}},"validateAttribute":{"signature":"public function validateAttribute(yii\\base\\Model $model, string $attribute): mixed","summary":"Validates a single attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model to be validated"},{"name":"$attribute","type":"string","description":"The name of the attribute to be validated."}],"return":{"type":"mixed"}},"validateAttributes":{"signature":"public function validateAttributes(yii\\base\\Model $model, array|string|null $attributes = null): mixed","summary":"Validates the specified object.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model being validated"},{"name":"$attributes","type":"array|string|null","default":"null","optional":true,"description":"The list of attributes to be validated. Note that if an attribute is not associated with the validator - it will be ignored. If this parameter is null, every attribute listed in `$attributes` will be validated."}],"return":{"type":"mixed"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array|null","summary":"Validates a value.","params":[{"name":"$value","type":"mixed","description":"The data value to be validated."}],"return":{"type":"array|null","description":"The error message and the array of parameters to be inserted into the error message. ``` if (!$valid) { return [$this->message, [ 'param1' => $this->param1, 'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()), 'mimeTypes' => implode(', ', $this->mimeTypes), 'param4' => 'etc...', ]]; } return null; ``` for this example `message` template can contain `{param1}`, `{formattedLimit}`, `{mimeTypes}`, `{param4}` Null should be returned if the data is valid."},"throws":[{"type":"yii\\base\\NotSupportedException","description":"if the validator does not supporting data validation without a model"}],"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\validators\\client\\ClientValidatorScriptInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/validators/client/clientvalidatorscriptinterface/","summary":"Defines the contract for client-side validator script generation.","since":"22.0","methods":{"getClientOptions":{"signature":"abstract public function getClientOptions(yii\\validators\\client\\T $validator, yii\\base\\Model $model, string $attribute): array<string, mixed>","summary":"Returns client-side validation options for the specified validator, model, and attribute.","params":[{"name":"$validator","type":"yii\\validators\\client\\T","description":"The validator instance."},{"name":"$model","type":"yii\\base\\Model","description":"The data model being validated."},{"name":"$attribute","type":"string","description":"The attribute name being validated."}],"return":{"type":"array<string, mixed>","description":"Client-side validation options."},"abstract":true},"register":{"signature":"abstract public function register(yii\\validators\\client\\T $validator, yii\\base\\Model $model, string $attribute, yii\\web\\View $view): string|null","summary":"Registers the client-side validation script for the specified validator, model, and attribute in the view.","params":[{"name":"$validator","type":"yii\\validators\\client\\T","description":"The validator instance."},{"name":"$model","type":"yii\\base\\Model","description":"The data model being validated."},{"name":"$attribute","type":"string","description":"The attribute name being validated."},{"name":"$view","type":"yii\\web\\View","description":"The view instance where the script will be registered."}],"return":{"type":"string|null","description":"The client-side validation script, or `null` if not supported."},"abstract":true}}},"yii\\web\\Action":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/action/","summary":"Base class for HTTP standalone actions dispatched without a hosting controller.","since":"22.0","extends":"yii\\base\\Action","implements":["yii\\base\\Configurable"],"methods":{"resolveStandaloneParams":{"signature":"protected function resolveStandaloneParams(array $params): array","summary":"Resolves the parameters of `run()` using the same HTTP-aware binder as `yii\\web\\Controller::bindActionParams()`.","params":[{"name":"$params","type":"array","description":"Route parameters to be bound to `\\yii\\web\\run()`."}],"return":{"type":"array","description":"The positional argument list for the action's `\\yii\\web\\run()` method."},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","controller":"yii\\base\\Action","id":"yii\\base\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\web\\Application":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/application/","summary":"Application is the base class for all web application classes.","since":"2.0","extends":"yii\\base\\Application","implements":["yii\\base\\Configurable"],"properties":{"catchAll":{"type":"array|null","default":"null","description":"The configuration specifying a controller action which should handle all user requests."},"controller":{"type":"yii\\web\\Controller|null","default":"null","description":"The currently active controller instance"},"defaultRoute":{"type":"string","default":"'site'","description":"The default route of this application."},"errorHandler":{"type":"yii\\web\\ErrorHandler","description":"The error handler application component.","access":"read-only","virtual":true},"homeUrl":{"type":"string","description":"The homepage URL.","virtual":true},"request":{"type":"yii\\web\\Request","description":"The request component.","access":"read-only","virtual":true},"response":{"type":"yii\\web\\Response","description":"The response component.","access":"read-only","virtual":true},"session":{"type":"yii\\web\\Session","description":"The session component.","access":"read-only","virtual":true},"user":{"type":"yii\\web\\User<yii\\web\\TUserIdentity>","description":"The user component.","access":"read-only","virtual":true}},"methods":{"bootstrap":{"signature":"protected function bootstrap(): mixed","summary":"Initializes extensions and executes bootstrap components.","return":{"type":"mixed"},"visibility":"protected"},"coreComponents":{"signature":"public function coreComponents(): array","summary":"Returns the configuration of core application components.","return":{"type":"array"}},"getErrorHandler":{"signature":"public function getErrorHandler(): yii\\web\\ErrorHandler","summary":"Returns the error handler component.","return":{"type":"yii\\web\\ErrorHandler","description":"The error handler application component."}},"getHomeUrl":{"signature":"public function getHomeUrl(): string","return":{"type":"string","description":"The homepage URL"}},"getRequest":{"signature":"public function getRequest(): yii\\web\\Request","summary":"Returns the request component.","return":{"type":"yii\\web\\Request","description":"The request component."}},"getResponse":{"signature":"public function getResponse(): yii\\web\\Response","summary":"Returns the response component.","return":{"type":"yii\\web\\Response","description":"The response component."}},"getSession":{"signature":"public function getSession(): yii\\web\\Session","summary":"Returns the session component.","return":{"type":"yii\\web\\Session","description":"The session component."}},"getUser":{"signature":"public function getUser(): yii\\web\\User<yii\\web\\TUserIdentity>","summary":"Returns the user component.","return":{"type":"yii\\web\\User<yii\\web\\TUserIdentity>","description":"The user component."}},"handleRequest":{"signature":"public function handleRequest(yii\\web\\Request $request): yii\\web\\Response","summary":"Handles the specified request.","params":[{"name":"$request","type":"yii\\web\\Request","description":"The request to be handled"}],"return":{"type":"yii\\web\\Response","description":"The resulting response"},"throws":[{"type":"yii\\web\\NotFoundHttpException","description":"if the requested route is invalid"}]},"setHomeUrl":{"signature":"public function setHomeUrl(string $value): mixed","params":[{"name":"$value","type":"string","description":"The homepage URL"}],"return":{"type":"mixed"}}},"inherited":{"properties":{"actionMap":"yii\\base\\Module","actionNamespace":"yii\\base\\Module","aliases":"yii\\base\\Module","assetManager":"yii\\base\\Application","authManager":"yii\\base\\Application","basePath":"yii\\base\\Application","behaviors":"yii\\base\\Component","bootstrap":"yii\\base\\Application","cache":"yii\\base\\Application","charset":"yii\\base\\Application","components":"yii\\di\\ServiceLocator","container":"yii\\base\\Application","controllerMap":"yii\\base\\Module","controllerNamespace":"yii\\base\\Application","controllerPath":"yii\\base\\Module","db":"yii\\base\\Application","extensions":"yii\\base\\Application","formatter":"yii\\base\\Application","i18n":"yii\\base\\Application","id":"yii\\base\\Module","language":"yii\\base\\Application","layout":"yii\\base\\Application","layoutPath":"yii\\base\\Module","loadedModules":"yii\\base\\Application","log":"yii\\base\\Application","mailer":"yii\\base\\Application","module":"yii\\base\\Module","modules":"yii\\base\\Module","name":"yii\\base\\Application","params":"yii\\base\\Module","requestedAction":"yii\\base\\Application","requestedParams":"yii\\base\\Application","requestedRoute":"yii\\base\\Application","runtimePath":"yii\\base\\Application","security":"yii\\base\\Application","sourceLanguage":"yii\\base\\Application","state":"yii\\base\\Application","timeZone":"yii\\base\\Application","uniqueId":"yii\\base\\Application","urlManager":"yii\\base\\Application","vendorPath":"yii\\base\\Application","version":"yii\\base\\Module","view":"yii\\base\\Application","viewPath":"yii\\base\\Module"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Application","__get":"yii\\di\\ServiceLocator","__isset":"yii\\di\\ServiceLocator","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterAction":"yii\\base\\Module","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeAction":"yii\\base\\Module","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clear":"yii\\di\\ServiceLocator","createController":"yii\\base\\Module","createControllerByID":"yii\\base\\Module","createStandaloneAction":"yii\\base\\Module","defaultVersion":"yii\\base\\Module","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Application","ensureBehaviors":"yii\\base\\Component","get":"yii\\base\\Module","getAssetManager":"yii\\base\\Application","getAuthManager":"yii\\base\\Application","getBasePath":"yii\\base\\Module","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCache":"yii\\base\\Application","getComponents":"yii\\di\\ServiceLocator","getControllerPath":"yii\\base\\Module","getDb":"yii\\base\\Application","getFormatter":"yii\\base\\Application","getI18n":"yii\\base\\Application","getInstance":"yii\\base\\Module","getLayoutPath":"yii\\base\\Module","getLog":"yii\\base\\Application","getMailer":"yii\\base\\Application","getModule":"yii\\base\\Module","getModules":"yii\\base\\Module","getRuntimePath":"yii\\base\\Application","getSecurity":"yii\\base\\Application","getTimeZone":"yii\\base\\Application","getUniqueId":"yii\\base\\Application","getUrlManager":"yii\\base\\Application","getVendorPath":"yii\\base\\Application","getVersion":"yii\\base\\Module","getView":"yii\\base\\Application","getViewPath":"yii\\base\\Module","has":"yii\\base\\Module","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasModule":"yii\\base\\Module","hasProperty":"yii\\base\\Component","init":"yii\\base\\Application","off":"yii\\base\\Component","on":"yii\\base\\Component","preInit":"yii\\base\\Application","registerErrorHandler":"yii\\base\\Application","run":"yii\\base\\Application","runAction":"yii\\base\\Module","runMappedAction":"yii\\base\\Module","runStandaloneAction":"yii\\base\\Module","set":"yii\\di\\ServiceLocator","setAliases":"yii\\base\\Module","setBasePath":"yii\\base\\Application","setComponents":"yii\\di\\ServiceLocator","setContainer":"yii\\base\\Application","setControllerPath":"yii\\base\\Module","setInstance":"yii\\base\\Module","setLayoutPath":"yii\\base\\Module","setModule":"yii\\base\\Module","setModules":"yii\\base\\Module","setRuntimePath":"yii\\base\\Application","setTimeZone":"yii\\base\\Application","setVendorPath":"yii\\base\\Application","setVersion":"yii\\base\\Module","setViewPath":"yii\\base\\Module","trigger":"yii\\base\\Component"},"constants":{"STATE_BEGIN":"yii\\base\\Application","STATE_INIT":"yii\\base\\Application","STATE_BEFORE_REQUEST":"yii\\base\\Application","STATE_HANDLING_REQUEST":"yii\\base\\Application","STATE_AFTER_REQUEST":"yii\\base\\Application","STATE_SENDING_RESPONSE":"yii\\base\\Application","STATE_END":"yii\\base\\Application"},"events":{"EVENT_BEFORE_REQUEST":"yii\\base\\Application","EVENT_AFTER_REQUEST":"yii\\base\\Application","EVENT_BEFORE_ACTION":"yii\\base\\Module","EVENT_AFTER_ACTION":"yii\\base\\Module"}}},"yii\\web\\AssetBundle":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/assetbundle/","summary":"AssetBundle represents a collection of asset files, such as CSS, JS, images.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"basePath":{"type":"string|null","default":"null","description":"The Web-accessible directory that contains the asset files in this bundle."},"baseUrl":{"type":"string|null","default":"null","description":"The base URL for the relative asset files listed in `$js` and `$css`."},"css":{"type":"array<string|array<array-key, mixed>>","default":"[]","description":"List of CSS files that this bundle contains."},"cssOptions":{"type":"yii\\web\\RegisterCssFileOptions","default":"[]","description":"The options that will be passed to `yii\\web\\View::registerCssFile()` when registering the CSS files in this bundle."},"depends":{"type":"array<class-string>","default":"[]","description":"List of bundle class names that this bundle depends on."},"js":{"type":"array<string|array<array-key, mixed>>","default":"[]","description":"List of JavaScript files that this bundle contains."},"jsOptions":{"type":"yii\\web\\RegisterJsFileOptions","default":"[]","description":"The options that will be passed to `yii\\web\\View::registerJsFile()` when registering the JS files in this bundle."},"publishOptions":{"type":"yii\\web\\PublishOptions","default":"[]","description":"The options to be passed to `yii\\web\\AssetManager::publish()` when the asset bundle is being published."},"sourcePath":{"type":"string|null","default":"null","description":"The directory that contains the source asset files for this asset bundle."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the bundle.","return":{"type":"mixed"}},"publish":{"signature":"public function publish(yii\\web\\AssetManager $am): mixed","summary":"Publishes the asset bundle if its source code is not under Web-accessible directory.","params":[{"name":"$am","type":"yii\\web\\AssetManager","description":"The asset manager to perform the asset publishing"}],"return":{"type":"mixed"}},"register":{"signature":"public static function register(yii\\web\\View $view): static","summary":"Registers this asset bundle with a view.","params":[{"name":"$view","type":"yii\\web\\View","description":"The view to be registered with"}],"return":{"type":"static","description":"The registered asset bundle instance"},"static":true},"registerAssetFiles":{"signature":"public function registerAssetFiles(yii\\web\\View $view): mixed","summary":"Registers the CSS and JS files with the given view.","params":[{"name":"$view","type":"yii\\web\\View","description":"The view that the asset files are to be registered with."}],"return":{"type":"mixed"}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\web\\AssetConverter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/assetconverter/","summary":"AssetConverter supports conversion of several popular formats into JS or CSS files.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\web\\AssetConverterInterface","yii\\base\\Configurable"],"properties":{"commands":{"type":"array","default":"['less' => ['css', 'lessc {from} {to} --no-color --source-map'], 'scss' => ['css', 'sass --style=compressed {from} {to}'], 'sass' => ['css', 'sass --style=compressed {from} {to}'], 'styl' => ['css', 'stylus < {from} > {to}'], 'coffee' => ['js', 'coffee -p {from} > {to}'], 'ts' => ['js', 'tsc --out {to} {from}']]","description":"The commands that are used to perform the asset conversion."},"forceConvert":{"type":"bool","default":"false","description":"Whether the source asset file should be converted even if its result already exists."}},"methods":{"convert":{"signature":"public function convert(string $asset, string $basePath): string","summary":"Converts a given asset file into a CSS or JS file.","params":[{"name":"$asset","type":"string","description":"The asset file path, relative to $basePath"},{"name":"$basePath","type":"string","description":"The directory the $asset is relative to."}],"return":{"type":"string","description":"The converted asset file path, relative to $basePath."}},"runCommand":{"signature":"protected function runCommand(string $command, string $basePath, string $asset, string $result): bool","summary":"Runs a command to convert asset files.","params":[{"name":"$command","type":"string","description":"The command to run. If prefixed with an `@` it will be treated as a [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."},{"name":"$basePath","type":"string","description":"Asset base path and command working directory"},{"name":"$asset","type":"string","description":"The name of the asset file"},{"name":"$result","type":"string","description":"The name of the file to be generated by the converter command"}],"return":{"type":"bool","description":"True on success, false on failure. Failures will be logged."},"throws":[{"type":"yii\\base\\Exception","description":"when the command fails and YII_DEBUG is true. In production mode the error will be logged."}],"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\AssetConverterInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/web/assetconverterinterface/","summary":"The AssetConverterInterface must be implemented by asset converter classes.","since":"2.0","methods":{"convert":{"signature":"abstract public function convert(string $asset, string $basePath): string","summary":"Converts a given asset file into a CSS or JS file.","params":[{"name":"$asset","type":"string","description":"The asset file path, relative to $basePath"},{"name":"$basePath","type":"string","description":"The directory the $asset is relative to."}],"return":{"type":"string","description":"The converted asset file path, relative to $basePath."},"abstract":true}}},"yii\\web\\AssetManager":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/assetmanager/","summary":"AssetManager manages asset bundle configuration and loading.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"afterCopy":{"type":"callable|null","default":"null","description":"A PHP callback that is called after a sub-directory or file is successfully copied."},"appendTimestamp":{"type":"bool","default":"false","description":"Whether to append a timestamp to the URL of every published asset.","since":"2.0.3"},"assetMap":{"type":"string[]","default":"[]","description":"Mapping from source asset files (keys) to target asset files (values)."},"basePath":{"type":"string","default":"'@webroot/assets'","description":"The root directory storing the published asset files."},"baseUrl":{"type":"string","default":"'@web/assets'","description":"The base URL through which the published asset files can be accessed."},"beforeCopy":{"type":"callable|null","default":"null","description":"A PHP callback that is called before copying each sub-directory or file."},"bundles":{"type":"array|false","default":"[]","description":"List of asset bundle configurations."},"converter":{"type":"array|string|yii\\web\\AssetConverterInterface","description":"The asset converter.","virtual":true},"dirMode":{"type":"int","default":"0775","description":"The permission to be set for newly generated asset directories."},"fileMode":{"type":"int|null","default":"null","description":"The permission to be set for newly published asset files."},"forceCopy":{"type":"bool","default":"false","description":"Whether the directory being published should be copied even if it is found in the target directory."},"hashCallback":{"type":"callable|null","default":"null","description":"A callback that will be called to produce hash for asset directory generation.","since":"2.0.6"},"linkAssets":{"type":"bool","default":"false","description":"Whether to use symbolic link to publish asset files."}},"methods":{"checkBasePathPermission":{"signature":"public function checkBasePathPermission(): mixed","summary":"Check whether the basePath exists and is writeable.","return":{"type":"mixed"},"since":"2.0.40"},"getActualAssetUrl":{"signature":"public function getActualAssetUrl(yii\\web\\AssetBundle $bundle, string $asset): string","summary":"Returns the actual URL for the specified asset. Without parameters.","params":[{"name":"$bundle","type":"yii\\web\\AssetBundle","description":"The asset bundle which the asset file belongs to"},{"name":"$asset","type":"string","description":"The asset path. This should be one of the assets listed in `yii\\web\\AssetBundle::$js` or `yii\\web\\AssetBundle::$css`."}],"return":{"type":"string","description":"The actual URL for the specified asset."},"since":"2.0.39"},"getAssetPath":{"signature":"public function getAssetPath(yii\\web\\AssetBundle $bundle, string $asset): string|false","summary":"Returns the actual file path for the specified asset.","params":[{"name":"$bundle","type":"yii\\web\\AssetBundle","description":"The asset bundle which the asset file belongs to"},{"name":"$asset","type":"string","description":"The asset path. This should be one of the assets listed in `yii\\web\\AssetBundle::$js` or `yii\\web\\AssetBundle::$css`."}],"return":{"type":"string|false","description":"The actual file path, or `false` if the asset is specified as an absolute URL"}},"getAssetUrl":{"signature":"public function getAssetUrl(yii\\web\\AssetBundle $bundle, string $asset, bool|null $appendTimestamp = null): string","summary":"Returns the actual URL for the specified asset.","params":[{"name":"$bundle","type":"yii\\web\\AssetBundle","description":"The asset bundle which the asset file belongs to"},{"name":"$asset","type":"string","description":"The asset path. This should be one of the assets listed in `yii\\web\\AssetBundle::$js` or `yii\\web\\AssetBundle::$css`."},{"name":"$appendTimestamp","type":"bool|null","default":"null","optional":true,"description":"Whether to append timestamp to the URL."}],"return":{"type":"string","description":"The actual URL for the specified asset."}},"getBundle":{"signature":"public function getBundle(string $name, bool $publish = true): yii\\web\\AssetBundle","summary":"Returns the named asset bundle.","params":[{"name":"$name","type":"string","description":"The class name of the asset bundle (without the leading backslash)"},{"name":"$publish","type":"bool","default":"true","optional":true,"description":"Whether to publish the asset files in the asset bundle before it is returned. If you set this false, you must manually call `AssetBundle::publish()` to publish the asset files."}],"return":{"type":"yii\\web\\AssetBundle","description":"The asset bundle instance"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if $name does not refer to a valid asset bundle"}]},"getConverter":{"signature":"public function getConverter(): yii\\web\\AssetConverterInterface","summary":"Returns the asset converter.","return":{"type":"yii\\web\\AssetConverterInterface","description":"The asset converter."}},"getPublishedPath":{"signature":"public function getPublishedPath(string $path): string|false","summary":"Returns the published path of a file path.","params":[{"name":"$path","type":"string","description":"Directory or file path being published"}],"return":{"type":"string|false","description":"String the published file path. False if the file or directory does not exist"}},"getPublishedUrl":{"signature":"public function getPublishedUrl(string $path): string|false","summary":"Returns the URL of a published file path.","params":[{"name":"$path","type":"string","description":"Directory or file path being published"}],"return":{"type":"string|false","description":"String the published URL for the file or directory. False if the file or directory does not exist."}},"hash":{"signature":"protected function hash(string $path): string","summary":"Generate a CRC32 hash for the directory path. Collisions are higher than MD5 but generates a much smaller hash string.","params":[{"name":"$path","type":"string","description":"String to be hashed."}],"return":{"type":"string","description":"Hashed string."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the component.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$basePath` does not exist."}]},"loadBundle":{"signature":"protected function loadBundle(string $name, array $config = [], bool $publish = true): yii\\web\\AssetBundle","summary":"Loads asset bundle class by name.","params":[{"name":"$name","type":"string","description":"Bundle name"},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Bundle object configuration"},{"name":"$publish","type":"bool","default":"true","optional":true,"description":"If bundle should be published"}],"return":{"type":"yii\\web\\AssetBundle"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if configuration isn't valid"}],"visibility":"protected"},"loadDummyBundle":{"signature":"protected function loadDummyBundle(string $name): yii\\web\\AssetBundle","summary":"Loads dummy bundle by name.","params":[{"name":"$name","type":"string"}],"return":{"type":"yii\\web\\AssetBundle"},"visibility":"protected"},"publish":{"signature":"public function publish(string $path, yii\\web\\PublishOptions $options = []): array","summary":"Publishes a file or a directory.","params":[{"name":"$path","type":"string","description":"The asset (file or directory) to be published"},{"name":"$options","type":"yii\\web\\PublishOptions","default":"[]","optional":true,"description":"The options to be applied when publishing a directory. The following options are supported: - only: array, list of patterns that the file paths should match if they want to be copied. - except: array, list of patterns that the files or directories should match if they want to be excluded from being copied. - caseSensitive: boolean, whether patterns specified at \"only\" or \"except\" should be case sensitive. Defaults to true. - beforeCopy: callback, a PHP callback that is called before copying each sub-directory or file. This overrides `$beforeCopy` if set. - afterCopy: callback, a PHP callback that is called after a sub-directory or file is successfully copied. This overrides `$afterCopy` if set. - forceCopy: boolean, whether the directory being published should be copied even if it is found in the target directory. This option is used only when publishing a directory. This overrides `$forceCopy` if set."}],"return":{"type":"array","description":"The path (directory or file path) and the URL that the asset is published as."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the asset to be published does not exist."},{"type":"yii\\base\\InvalidConfigException","description":"if the target directory `$basePath` is not writeable."}]},"publishDirectory":{"signature":"protected function publishDirectory(string $src, array $options): string[]","summary":"Publishes a directory.","params":[{"name":"$src","type":"string","description":"The asset directory to be published"},{"name":"$options","type":"array","description":"The options to be applied when publishing a directory. The following options are supported: - only: array, list of patterns that the file paths should match if they want to be copied. - except: array, list of patterns that the files or directories should match if they want to be excluded from being copied. - caseSensitive: boolean, whether patterns specified at \"only\" or \"except\" should be case sensitive. Defaults to true. - beforeCopy: callback, a PHP callback that is called before copying each sub-directory or file. This overrides `$beforeCopy` if set. - afterCopy: callback, a PHP callback that is called after a sub-directory or file is successfully copied. This overrides `$afterCopy` if set. - forceCopy: boolean, whether the directory being published should be copied even if it is found in the target directory. This option is used only when publishing a directory. This overrides `$forceCopy` if set."}],"return":{"type":"string[]","description":"The path directory and the URL that the asset is published as."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the asset to be published does not exist."}],"visibility":"protected"},"publishFile":{"signature":"protected function publishFile(string $src): string[]","summary":"Publishes a file.","params":[{"name":"$src","type":"string","description":"The asset file to be published"}],"return":{"type":"string[]","description":"The path and the URL that the asset is published as."},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the asset to be published does not exist."}],"visibility":"protected"},"resolveAsset":{"signature":"protected function resolveAsset(yii\\web\\AssetBundle $bundle, string $asset): string|false","params":[{"name":"$bundle","type":"yii\\web\\AssetBundle"},{"name":"$asset","type":"string"}],"return":{"type":"string|false"},"visibility":"protected"},"setConverter":{"signature":"public function setConverter(array|string|yii\\web\\AssetConverterInterface $value): mixed","summary":"Sets the asset converter.","params":[{"name":"$value","type":"array|string|yii\\web\\AssetConverterInterface","description":"The asset converter. This can be either an object implementing the `yii\\web\\AssetConverterInterface`, or a configuration array that can be used to create the asset converter object, or a class name."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\BadRequestHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/badrequesthttpexception/","summary":"BadRequestHttpException represents a \"Bad Request\" HTTP exception with status code 400.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\CacheSession":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/cachesession/","summary":"CacheSession implements a session component using cache as storage medium.","since":"2.0","extends":"yii\\web\\Session","implements":["yii\\base\\Configurable","IteratorAggregate","ArrayAccess","Countable"],"properties":{"cache":{"type":"yii\\caching\\CacheInterface|array|string","default":"'cache'","description":"The cache object or the application component ID of the cache object."},"useCustomStorage":{"type":"bool","description":"Whether to use custom storage.","access":"read-only","virtual":true}},"methods":{"calculateKey":{"signature":"protected function calculateKey(string $id): mixed","summary":"Generates a unique key used for storing session data in cache.","params":[{"name":"$id","type":"string","description":"Session variable name"}],"return":{"type":"mixed","description":"A safe cache key associated with the session variable name"},"visibility":"protected"},"getUseCustomStorage":{"signature":"public function getUseCustomStorage(): bool","summary":"Returns a value indicating whether to use custom session storage.","return":{"type":"bool","description":"Whether to use custom storage."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the application component.","return":{"type":"mixed"}}},"inherited":{"properties":{"_forceRegenerateId":"yii\\web\\Session","_originalSessionModule":"yii\\web\\Session","allFlashes":"yii\\web\\Session","behaviors":"yii\\base\\Component","cacheLimiter":"yii\\web\\Session","cookieParams":"yii\\web\\Session","count":"yii\\web\\Session","flash":"yii\\web\\Session","flashParam":"yii\\web\\Session","gCProbability":"yii\\web\\Session","handler":"yii\\web\\Session","hasSessionId":"yii\\web\\Session","id":"yii\\web\\Session","isActive":"yii\\web\\Session","iterator":"yii\\web\\Session","name":"yii\\web\\Session","savePath":"yii\\web\\Session","timeout":"yii\\web\\Session","useCookies":"yii\\web\\Session","useStrictMode":"yii\\web\\Session","useTransparentSessionID":"yii\\web\\Session"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addFlash":"yii\\web\\Session","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","close":"yii\\web\\Session","count":"yii\\web\\Session","destroy":"yii\\web\\Session","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","freeze":"yii\\web\\Session","get":"yii\\web\\Session","getAllFlashes":"yii\\web\\Session","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCacheLimiter":"yii\\web\\Session","getCookieParams":"yii\\web\\Session","getCount":"yii\\web\\Session","getFlash":"yii\\web\\Session","getGCProbability":"yii\\web\\Session","getHasSessionId":"yii\\web\\Session","getId":"yii\\web\\Session","getIsActive":"yii\\web\\Session","getIterator":"yii\\web\\Session","getName":"yii\\web\\Session","getSavePath":"yii\\web\\Session","getTimeout":"yii\\web\\Session","getUseCookies":"yii\\web\\Session","getUseStrictMode":"yii\\web\\Session","getUseTransparentSessionID":"yii\\web\\Session","has":"yii\\web\\Session","hasEventHandlers":"yii\\base\\Component","hasFlash":"yii\\web\\Session","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","offsetExists":"yii\\web\\Session","offsetGet":"yii\\web\\Session","offsetSet":"yii\\web\\Session","offsetUnset":"yii\\web\\Session","on":"yii\\base\\Component","open":"yii\\web\\Session","regenerateID":"yii\\web\\Session","registerSessionHandler":"yii\\web\\Session","remove":"yii\\web\\Session","removeAll":"yii\\web\\Session","removeAllFlashes":"yii\\web\\Session","removeFlash":"yii\\web\\Session","set":"yii\\web\\Session","setCacheLimiter":"yii\\web\\Session","setCookieParams":"yii\\web\\Session","setFlash":"yii\\web\\Session","setGCProbability":"yii\\web\\Session","setHasSessionId":"yii\\web\\Session","setId":"yii\\web\\Session","setName":"yii\\web\\Session","setSavePath":"yii\\web\\Session","setTimeout":"yii\\web\\Session","setUseCookies":"yii\\web\\Session","setUseStrictMode":"yii\\web\\Session","setUseTransparentSessionID":"yii\\web\\Session","trigger":"yii\\base\\Component","unfreeze":"yii\\web\\Session","updateFlashCounters":"yii\\web\\Session"}}},"yii\\web\\CompositeUrlRule":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/web/compositeurlrule/","summary":"CompositeUrlRule is the base class for URL rule classes that consist of multiple simpler rules.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\web\\UrlRuleInterface","yii\\base\\Configurable"],"properties":{"createStatus":{"type":"int|null","default":"null","description":"Status of the URL creation after the last `createUrl()` call.","visibility":"protected","since":"2.0.12"},"createUrlStatus":{"type":"int|null","description":"Status of the URL creation after the last `createUrl()` call. `null` if rule does not provide info about create status.","access":"read-only","virtual":true},"rules":{"type":"yii\\web\\UrlRuleInterface[]|yii\\web\\UrlRuleInterface[][]|array[]|string[]","default":"[]","description":"The URL rules contained in this composite rule.","visibility":"protected"}},"methods":{"createRules":{"signature":"abstract protected function createRules(): yii\\web\\UrlRuleInterface[]|yii\\web\\UrlRuleInterface[][]","summary":"Creates the URL rules that should be contained within this composite rule.","return":{"type":"yii\\web\\UrlRuleInterface[]|yii\\web\\UrlRuleInterface[][]","description":"The URL rules"},"visibility":"protected","abstract":true},"createUrl":{"signature":"public function createUrl(mixed $manager, mixed $route, mixed $params): string|bool","summary":"Creates a URL according to the given route and parameters.","params":[{"name":"$manager","type":"mixed","description":"The URL manager"},{"name":"$route","type":"mixed","description":"The route. It should not have slashes at the beginning or the end."},{"name":"$params","type":"mixed","description":"The parameters"}],"return":{"type":"string|bool","description":"The created URL, or false if this rule cannot be used for creating this URL."}},"getCreateUrlStatus":{"signature":"public function getCreateUrlStatus(): int|null","summary":"Returns status of the URL creation after the last `createUrl()` call.","return":{"type":"int|null","description":"Status of the URL creation after the last `createUrl()` call. `null` if rule does not provide info about create status."},"since":"2.0.12"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"iterateRules":{"signature":"protected function iterateRules(yii\\web\\UrlRuleInterface[] $rules, yii\\web\\UrlManager $manager, string $route, array $params): bool|string","summary":"Iterates through specified rules and calls `createUrl()` for each of them.","params":[{"name":"$rules","type":"yii\\web\\UrlRuleInterface[]","description":"Rules to iterate."},{"name":"$manager","type":"yii\\web\\UrlManager","description":"The URL manager"},{"name":"$route","type":"string","description":"The route. It should not have slashes at the beginning or the end."},{"name":"$params","type":"array","description":"The parameters"}],"return":{"type":"bool|string","description":"The created URL, or `false` if none of specified rules cannot be used for creating this URL."},"visibility":"protected","since":"2.0.12"},"parseRequest":{"signature":"public function parseRequest(mixed $manager, mixed $request): array|bool","summary":"Parses the given request and returns the corresponding route and parameters.","params":[{"name":"$manager","type":"mixed","description":"The URL manager"},{"name":"$request","type":"mixed","description":"The request component"}],"return":{"type":"array|bool","description":"The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info."}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\web\\ConflictHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/conflicthttpexception/","summary":"ConflictHttpException represents a \"Conflict\" HTTP exception with status code 409.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\Controller":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/controller/","summary":"Controller is the base class of web controllers.","since":"2.0","extends":"yii\\base\\Controller","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"actionParams":{"type":"array","default":"[]","description":"The parameters bound to the current action."},"enableCsrfValidation":{"type":"bool","default":"true","description":"Whether to enable CSRF validation for the actions in this controller."},"request":{"type":"yii\\web\\Request","description":"The request object.","virtual":true},"response":{"type":"yii\\web\\Response","description":"The response object.","virtual":true},"view":{"type":"yii\\web\\View","description":"The view object that can be used to render views or view files.","virtual":true}},"methods":{"asJson":{"signature":"public function asJson(mixed $data): yii\\web\\Response","summary":"Send data formatted as JSON.","params":[{"name":"$data","type":"mixed","description":"The data that should be formatted."}],"return":{"type":"yii\\web\\Response","description":"A response that is configured to send `$data` formatted as JSON."},"since":"2.0.11"},"asXml":{"signature":"public function asXml(mixed $data): yii\\web\\Response","summary":"Send data formatted as XML.","params":[{"name":"$data","type":"mixed","description":"The data that should be formatted."}],"return":{"type":"yii\\web\\Response","description":"A response that is configured to send `$data` formatted as XML."},"since":"2.0.11"},"beforeAction":{"signature":"public function beforeAction(mixed $action): bool","summary":"This method is invoked right before an action is executed.","params":[{"name":"$action","type":"mixed","description":"The action to be executed."}],"return":{"type":"bool","description":"Whether the action should continue to run."}},"bindActionParams":{"signature":"public function bindActionParams(yii\\base\\Action<static> $action, array<array-key, mixed> $params): mixed[]","summary":"Binds the parameters to the action.","params":[{"name":"$action","type":"yii\\base\\Action<static>","description":"The action to be bound with parameters."},{"name":"$params","type":"array<array-key, mixed>","description":"The parameters to be bound to the action."}],"return":{"type":"mixed[]","description":"The valid parameters that the action can run with."},"throws":[{"type":"yii\\web\\BadRequestHttpException","description":"if there are missing or invalid parameters."}]},"bindActionParamsToCallable":{"signature":"public static function bindActionParamsToCallable(ReflectionMethod $method, array $params, yii\\base\\Module|null $module = null): array","summary":"Resolves the parameters for an action's invokable callable using the same scalar coercion, type validation, and DI rules as `bindActionParams()`.","params":[{"name":"$method","type":"ReflectionMethod","description":"The reflected `run()` (or controller method) whose parameters are being bound."},{"name":"$params","type":"array","description":"Route parameters available for binding (typically `$_GET`/`$_POST`-derived)."},{"name":"$module","type":"yii\\base\\Module|null","default":"null","optional":true,"description":"The module that should be queried for components and DI definitions when resolving non-builtin typed parameters. May be `null` for standalone resolution outside a module context."}],"return":{"type":"array","description":"A tuple `[positional args, named action params, named requested params]` where the first item is passed to the callable, the second mirrors the controller's `actionParams`, and the third is a description map for `Yii::$app->requestedParams`."},"throws":[{"type":"yii\\web\\BadRequestHttpException","description":"if a scalar parameter fails type coercion or a required parameter is missing."},{"type":"yii\\web\\ServerErrorHttpException","description":"if a typed dependency cannot be resolved by the container."}],"static":true,"since":"22.0"},"goBack":{"signature":"public function goBack(string|array|null $defaultUrl = null): yii\\web\\Response","summary":"Redirects the browser to the last visited page.","params":[{"name":"$defaultUrl","type":"string|array|null","default":"null","optional":true,"description":"The default return URL in case it was not set previously. If this is null and the return URL was not set previously, `yii\\web\\Application::$homeUrl` will be redirected to. Please refer to `yii\\web\\User::setReturnUrl()` on accepted format of the URL."}],"return":{"type":"yii\\web\\Response","description":"The current response object"}},"goHome":{"signature":"public function goHome(): yii\\web\\Response","summary":"Redirects the browser to the home page.","return":{"type":"yii\\web\\Response","description":"The current response object"}},"redirect":{"signature":"public function redirect(string|array $url, int $statusCode = 302): yii\\web\\Response","summary":"Redirects the browser to the specified URL.","params":[{"name":"$url","type":"string|array","description":"The URL to be redirected to. This can be in one of the following formats: - a string representing a URL (e.g. \"https://example.com\") - a string representing a URL alias (e.g. \"@example.com\") - an array in the format of `[$route, ...name-value pairs...]` (e.g. `['site/index', 'ref' => 1]`) `yii\\helpers\\Url::to()` will be used to convert the array into a URL. Any relative URL that starts with a single forward slash \"/\" will be converted into an absolute one by prepending it with the host info of the current request."},{"name":"$statusCode","type":"int","default":"302","optional":true,"description":"The HTTP status code. Defaults to 302. See <https://tools.ietf.org/html/rfc2616#section-10> for details about HTTP status code"}],"return":{"type":"yii\\web\\Response","description":"The current response object"}},"refresh":{"signature":"public function refresh(string $anchor = ''): yii\\web\\Response","summary":"Refreshes the current page.","params":[{"name":"$anchor","type":"string","default":"''","optional":true,"description":"The anchor that should be appended to the redirection URL. Defaults to empty. Make sure the anchor starts with '#' if you want to specify it."}],"return":{"type":"yii\\web\\Response","description":"The response object itself"}},"renderAjax":{"signature":"public function renderAjax(string $view, array $params = []): string","summary":"Renders a view in response to an AJAX request.","params":[{"name":"$view","type":"string","description":"The view name. Please refer to `render()` on how to specify a view name."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that should be made available in the view."}],"return":{"type":"string","description":"The rendering result."}}},"inherited":{"properties":{"action":"yii\\base\\Controller","behaviors":"yii\\base\\Component","defaultAction":"yii\\base\\Controller","id":"yii\\base\\Controller","layout":"yii\\base\\Controller","module":"yii\\base\\Controller","modules":"yii\\base\\Controller","route":"yii\\base\\Controller","uniqueId":"yii\\base\\Controller","viewPath":"yii\\base\\Controller"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Controller","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","actions":"yii\\base\\Controller","afterAction":"yii\\base\\Controller","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","bindInjectedParams":"yii\\base\\Controller","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","createAction":"yii\\base\\Controller","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","findLayoutFile":"yii\\base\\Controller","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModules":"yii\\base\\Controller","getRoute":"yii\\base\\Controller","getUniqueId":"yii\\base\\Controller","getView":"yii\\base\\Controller","getViewPath":"yii\\base\\Controller","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Controller","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Controller","renderContent":"yii\\base\\Controller","renderFile":"yii\\base\\Controller","renderPartial":"yii\\base\\Controller","run":"yii\\base\\Controller","runAction":"yii\\base\\Controller","setView":"yii\\base\\Controller","setViewPath":"yii\\base\\Controller","trigger":"yii\\base\\Component"},"events":{"EVENT_BEFORE_ACTION":"yii\\base\\Controller","EVENT_AFTER_ACTION":"yii\\base\\Controller"}}},"yii\\web\\Cookie":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/cookie/","summary":"Cookie represents information related with a cookie, such as `$name`, `$value`, `$domain`, etc.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"domain":{"type":"string","default":"''","description":"Domain of the cookie"},"expire":{"type":"int|string|DateTimeInterface|null","default":"0","description":"The timestamp or date at which the cookie expires."},"httpOnly":{"type":"bool","default":"true","description":"Whether the cookie should be accessible only through the HTTP protocol."},"name":{"type":"string","default":"null","description":"Name of the cookie"},"path":{"type":"string","default":"'/'","description":"The path on the server in which the cookie will be available on."},"sameSite":{"type":"string","default":"self::SAME_SITE_LAX","description":"SameSite prevents the browser from sending this cookie along with cross-site requests.","since":"2.0.21"},"secure":{"type":"bool","default":"false","description":"Whether cookie should be sent via secure connection"},"value":{"type":"string","default":"''","description":"Value of the cookie"}},"methods":{"__toString":{"signature":"public function __toString(): string","summary":"Magic method to turn a cookie object into a string without having to explicitly access `$value`.","return":{"type":"string","description":"The value of the cookie. If the value property is null, an empty string will be returned."}}},"constants":{"SAME_SITE_LAX":{"value":"'Lax'","description":"SameSite policy Lax will prevent the cookie from being sent by the browser in all cross-site browsing context during CSRF-prone request methods (e.g. POST, PUT, PATCH etc)."},"SAME_SITE_STRICT":{"value":"'Strict'","description":"SameSite policy Strict will prevent the cookie from being sent by the browser in all cross-site browsing context regardless of the request method and even when following a regular link."},"SAME_SITE_NONE":{"value":"'None'","description":"SameSite policy None disables the SameSite policy so cookies will be sent in all contexts, i.e in responses to both first-party and cross-origin requests.","since":"2.0.43"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\CookieCollection":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/cookiecollection/","summary":"CookieCollection maintains the cookies available in the current request.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["IteratorAggregate","ArrayAccess","Countable","yii\\base\\Configurable"],"properties":{"count":{"type":"int","description":"The number of cookies in the collection.","access":"read-only","virtual":true},"iterator":{"type":"ArrayIterator<string, yii\\web\\Cookie>","description":"An iterator for traversing the cookies in the collection.","access":"read-only","virtual":true},"readOnly":{"type":"bool","default":"false","description":"Whether this collection is read only."}},"methods":{"__construct":{"signature":"public function __construct(array $cookies = [], array $config = [])","summary":"Constructor.","params":[{"name":"$cookies","type":"array","default":"[]","optional":true,"description":"The cookies that this collection initially contains. This should be an array of name-value pairs."},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"add":{"signature":"public function add(yii\\web\\Cookie $cookie): mixed","summary":"Adds a cookie to the collection.","params":[{"name":"$cookie","type":"yii\\web\\Cookie","description":"The cookie to be added"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the cookie collection is read only"}]},"count":{"signature":"public function count(): int","summary":"Returns the number of cookies in the collection.","return":{"type":"int","description":"The number of cookies in the collection."}},"fromArray":{"signature":"public function fromArray(array $array): mixed","summary":"Populates the cookie collection from an array.","params":[{"name":"$array","type":"array","description":"The cookies to populate from"}],"return":{"type":"mixed"},"since":"2.0.3"},"get":{"signature":"public function get(string $name): yii\\web\\Cookie|null","summary":"Returns the cookie with the specified name.","params":[{"name":"$name","type":"string","description":"The cookie name"}],"return":{"type":"yii\\web\\Cookie|null","description":"The cookie with the specified name. Null if the named cookie does not exist."}},"getCount":{"signature":"public function getCount(): int","summary":"Returns the number of cookies in the collection.","return":{"type":"int","description":"The number of cookies in the collection."}},"getIterator":{"signature":"public function getIterator(): ArrayIterator<string, yii\\web\\Cookie>","summary":"Returns an iterator for traversing the cookies in the collection.","return":{"type":"ArrayIterator<string, yii\\web\\Cookie>","description":"An iterator for traversing the cookies in the collection."}},"getValue":{"signature":"public function getValue(string $name, mixed $defaultValue = null): mixed","summary":"Returns the value of the named cookie.","params":[{"name":"$name","type":"string","description":"The cookie name"},{"name":"$defaultValue","type":"mixed","default":"null","optional":true,"description":"The value that should be returned when the named cookie does not exist."}],"return":{"type":"mixed","description":"The value of the named cookie."}},"has":{"signature":"public function has(string $name): bool","summary":"Returns whether there is a cookie with the specified name.","params":[{"name":"$name","type":"string","description":"The cookie name"}],"return":{"type":"bool","description":"Whether the named cookie exists"}},"offsetExists":{"signature":"public function offsetExists(string $name): bool","summary":"Returns whether there is a cookie with the specified name.","params":[{"name":"$name","type":"string","description":"The cookie name"}],"return":{"type":"bool","description":"Whether the named cookie exists"}},"offsetGet":{"signature":"public function offsetGet(string $name): yii\\web\\Cookie|null","summary":"Returns the cookie with the specified name.","params":[{"name":"$name","type":"string","description":"The cookie name"}],"return":{"type":"yii\\web\\Cookie|null","description":"The cookie with the specified name, null if the named cookie does not exist."}},"offsetSet":{"signature":"public function offsetSet(string $name, yii\\web\\Cookie $cookie): mixed","summary":"Adds the cookie to the collection.","params":[{"name":"$name","type":"string","description":"The cookie name"},{"name":"$cookie","type":"yii\\web\\Cookie","description":"The cookie to be added"}],"return":{"type":"mixed"}},"offsetUnset":{"signature":"public function offsetUnset(string $name): mixed","summary":"Removes the named cookie.","params":[{"name":"$name","type":"string","description":"The cookie name"}],"return":{"type":"mixed"}},"remove":{"signature":"public function remove(yii\\web\\Cookie|string $cookie, bool $removeFromBrowser = true): mixed","summary":"Removes a cookie.","params":[{"name":"$cookie","type":"yii\\web\\Cookie|string","description":"The cookie object or the name of the cookie to be removed."},{"name":"$removeFromBrowser","type":"bool","default":"true","optional":true,"description":"Whether to remove the cookie from browser"}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the cookie collection is read only"}]},"removeAll":{"signature":"public function removeAll(): mixed","summary":"Removes all cookies.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if the cookie collection is read only"}]},"toArray":{"signature":"public function toArray(): yii\\web\\Cookie[]","summary":"Returns the collection as a PHP array.","return":{"type":"yii\\web\\Cookie[]","description":"The array representation of the collection. The array keys are cookie names, and the array values are the corresponding cookie objects."}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\DbSession":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/dbsession/","summary":"DbSession extends `yii\\web\\Session` by using database as session data storage.","since":"2.0","extends":"yii\\web\\MultiFieldSession","implements":["yii\\base\\Configurable","IteratorAggregate","ArrayAccess","Countable"],"properties":{"db":{"type":"yii\\db\\Connection|array|string","default":"'db'","description":"The DB connection object or the application component ID of the DB connection."},"fields":{"type":"array","default":"[]","description":"Session fields to be written into session table columns","visibility":"protected","since":"2.0.17"},"sessionTable":{"type":"string","default":"'{{%session}}'","description":"The name of the DB table that stores the session data."}},"methods":{"close":{"signature":"public function close(): mixed","summary":"Ends the current session and store session data.","return":{"type":"mixed"},"since":"2.0.17"},"getReadQuery":{"signature":"protected function getReadQuery(string $id): yii\\db\\Query","summary":"Generates a query to get the session from db","params":[{"name":"$id","type":"string","description":"The id of the session"}],"return":{"type":"yii\\db\\Query"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the DbSession component.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$db` is invalid."}]},"regenerateID":{"signature":"public function regenerateID(mixed $deleteOldSession = false): mixed","summary":"Updates the current session ID with a newly generated one.","params":[{"name":"$deleteOldSession","type":"mixed","default":"false","optional":true,"description":"Whether to delete the old associated session file or not."}],"return":{"type":"mixed"}},"typecastFields":{"signature":"protected function typecastFields(array $fields): array","summary":"Typecasts `$fields` before passing them to PDO.","params":[{"name":"$fields","type":"array","description":"Fields passed to PDO, keyed by column name."}],"return":{"type":"array","description":"Fields with the `data` value cast for the active driver."},"visibility":"protected","since":"2.0.13"}},"inherited":{"properties":{"_forceRegenerateId":"yii\\web\\Session","_originalSessionModule":"yii\\web\\Session","allFlashes":"yii\\web\\Session","behaviors":"yii\\base\\Component","cacheLimiter":"yii\\web\\Session","cookieParams":"yii\\web\\Session","count":"yii\\web\\Session","flash":"yii\\web\\Session","flashParam":"yii\\web\\Session","gCProbability":"yii\\web\\Session","handler":"yii\\web\\Session","hasSessionId":"yii\\web\\Session","id":"yii\\web\\Session","isActive":"yii\\web\\Session","iterator":"yii\\web\\Session","name":"yii\\web\\Session","readCallback":"yii\\web\\MultiFieldSession","savePath":"yii\\web\\Session","timeout":"yii\\web\\Session","useCookies":"yii\\web\\Session","useCustomStorage":"yii\\web\\MultiFieldSession","useStrictMode":"yii\\web\\Session","useTransparentSessionID":"yii\\web\\Session","writeCallback":"yii\\web\\MultiFieldSession"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addFlash":"yii\\web\\Session","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","composeFields":"yii\\web\\MultiFieldSession","count":"yii\\web\\Session","destroy":"yii\\web\\Session","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","extractData":"yii\\web\\MultiFieldSession","freeze":"yii\\web\\Session","get":"yii\\web\\Session","getAllFlashes":"yii\\web\\Session","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCacheLimiter":"yii\\web\\Session","getCookieParams":"yii\\web\\Session","getCount":"yii\\web\\Session","getFlash":"yii\\web\\Session","getGCProbability":"yii\\web\\Session","getHasSessionId":"yii\\web\\Session","getId":"yii\\web\\Session","getIsActive":"yii\\web\\Session","getIterator":"yii\\web\\Session","getName":"yii\\web\\Session","getSavePath":"yii\\web\\Session","getTimeout":"yii\\web\\Session","getUseCookies":"yii\\web\\Session","getUseCustomStorage":"yii\\web\\MultiFieldSession","getUseStrictMode":"yii\\web\\Session","getUseTransparentSessionID":"yii\\web\\Session","has":"yii\\web\\Session","hasEventHandlers":"yii\\base\\Component","hasFlash":"yii\\web\\Session","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","offsetExists":"yii\\web\\Session","offsetGet":"yii\\web\\Session","offsetSet":"yii\\web\\Session","offsetUnset":"yii\\web\\Session","on":"yii\\base\\Component","open":"yii\\web\\Session","registerSessionHandler":"yii\\web\\Session","remove":"yii\\web\\Session","removeAll":"yii\\web\\Session","removeAllFlashes":"yii\\web\\Session","removeFlash":"yii\\web\\Session","set":"yii\\web\\Session","setCacheLimiter":"yii\\web\\Session","setCookieParams":"yii\\web\\Session","setFlash":"yii\\web\\Session","setGCProbability":"yii\\web\\Session","setHasSessionId":"yii\\web\\Session","setId":"yii\\web\\Session","setName":"yii\\web\\Session","setSavePath":"yii\\web\\Session","setTimeout":"yii\\web\\Session","setUseCookies":"yii\\web\\Session","setUseStrictMode":"yii\\web\\Session","setUseTransparentSessionID":"yii\\web\\Session","trigger":"yii\\base\\Component","unfreeze":"yii\\web\\Session","updateFlashCounters":"yii\\web\\Session"}}},"yii\\web\\ErrorAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/erroraction/","summary":"ErrorAction displays application errors using a specified view.","since":"2.0","extends":"yii\\base\\Action","implements":["yii\\base\\Configurable"],"properties":{"defaultMessage":{"type":"string","default":"null","description":"The message to be displayed when the exception message contains sensitive information."},"defaultName":{"type":"string","default":"null","description":"The name of the error when the exception name cannot be determined."},"exception":{"type":"Throwable","default":"null","description":"The exception object, normally is filled on `init()` method call.","visibility":"protected","since":"2.0.11"},"layout":{"type":"string|null|false","default":"null","description":"The name of the layout to be applied to this error action view.","since":"2.0.14"},"view":{"type":"string|null","default":"null","description":"The view file to be rendered."}},"methods":{"findException":{"signature":"protected function findException(): Throwable","summary":"Gets exception from the ErrorHandler (`yii\\web\\ErrorHandler`) component.","return":{"type":"Throwable"},"visibility":"protected","since":"2.0.11"},"getExceptionCode":{"signature":"protected function getExceptionCode(): mixed","summary":"Gets the code from the `$exception`.","return":{"type":"mixed"},"visibility":"protected","since":"2.0.11"},"getExceptionMessage":{"signature":"protected function getExceptionMessage(): string","summary":"Returns the `$exception` message for `yii\\base\\UserException` only.","return":{"type":"string"},"visibility":"protected","since":"2.0.11"},"getExceptionName":{"signature":"protected function getExceptionName(): string","summary":"Returns the exception name, followed by the code (if present).","return":{"type":"string"},"visibility":"protected","since":"2.0.11"},"getViewRenderParams":{"signature":"protected function getViewRenderParams(): array","summary":"Builds array of parameters that will be passed to the view.","return":{"type":"array"},"visibility":"protected","since":"2.0.11"},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"renderAjaxResponse":{"signature":"protected function renderAjaxResponse(): string","summary":"Builds string that represents the exception.","return":{"type":"string"},"visibility":"protected","since":"2.0.11"},"renderHtmlResponse":{"signature":"protected function renderHtmlResponse(): string","summary":"Renders a view that represents the exception.","return":{"type":"string"},"visibility":"protected","since":"2.0.11"},"run":{"signature":"public function run(): string","summary":"Runs the action.","return":{"type":"string","description":"Result content"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","controller":"yii\\base\\Action","id":"yii\\base\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\web\\ErrorHandler":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/errorhandler/","summary":"ErrorHandler handles uncaught PHP errors and exceptions.","since":"2.0","extends":"yii\\base\\ErrorHandler","implements":["yii\\base\\Configurable"],"properties":{"callStackItemView":{"type":"string","default":"'@yii/views/errorHandler/callStackItem.php'","description":"The path of the view file for rendering exceptions and errors call stack element."},"displayVars":{"type":"array","default":"['_GET', '_POST', '_FILES', '_COOKIE', '_SESSION']","description":"List of the PHP predefined variables that should be displayed on the error page.","since":"2.0.7"},"errorAction":{"type":"string|null","default":"null","description":"The route (e.g. `site/error`) to the controller action that will be used to display external errors."},"errorView":{"type":"string","default":"'@yii/views/errorHandler/error.php'","description":"The path of the view file for rendering exceptions without call stack information."},"exceptionView":{"type":"string","default":"'@yii/views/errorHandler/exception.php'","description":"The path of the view file for rendering exceptions."},"maxSourceLines":{"type":"int","default":"19","description":"Maximum number of source code lines to be displayed."},"maxTraceSourceLines":{"type":"int","default":"13","description":"Maximum number of trace source code lines to be displayed."},"previousExceptionView":{"type":"string","default":"'@yii/views/errorHandler/previousException.php'","description":"The path of the view file for rendering previous exceptions."},"traceLine":{"type":"string","default":"'{html}'","description":"Trace line with placeholders to be be substituted.","since":"2.0.14"}},"methods":{"addTypeLinks":{"signature":"public function addTypeLinks(string $code): string","summary":"Adds informational links to the given PHP type/class.","params":[{"name":"$code","type":"string","description":"Type/class name to be linkified."}],"return":{"type":"string","description":"Linkified with HTML type/class name."}},"argumentsToString":{"signature":"public function argumentsToString(array $args): string","summary":"Converts arguments array to its string representation.","params":[{"name":"$args","type":"array","description":"Arguments array to be converted"}],"return":{"type":"string","description":"String representation of the arguments array"}},"convertExceptionToArray":{"signature":"protected function convertExceptionToArray(Throwable $exception): array","summary":"Converts an exception into an array.","params":[{"name":"$exception","type":"Throwable","description":"The exception being converted"}],"return":{"type":"array","description":"The array representation of the exception."},"visibility":"protected"},"createFrameworkVersionLink":{"signature":"public function createFrameworkVersionLink(): string","summary":"Creates string containing HTML link which refers to the page with the current version of the framework and version number text.","return":{"type":"string","description":"Framework version information hyperlink."}},"createHttpStatusLink":{"signature":"public function createHttpStatusLink(int $statusCode, string $statusDescription): string","summary":"Creates HTML containing link to the page with the information on given HTTP status code.","params":[{"name":"$statusCode","type":"int","description":"To be used to generate information link."},{"name":"$statusDescription","type":"string","description":"Description to display after the the status code."}],"return":{"type":"string","description":"Generated HTML with HTTP status code information."}},"createServerInformationLink":{"signature":"public function createServerInformationLink(): string","summary":"Creates string containing HTML link which refers to the home page of determined web-server software and its full name.","return":{"type":"string","description":"Server software information hyperlink."}},"getExceptionName":{"signature":"public function getExceptionName(Throwable $exception): string|null","summary":"Returns human-readable exception name.","params":[{"name":"$exception","type":"Throwable"}],"return":{"type":"string|null","description":"Human-readable exception name or null if it cannot be determined"}},"getTypeUrl":{"signature":"protected function getTypeUrl(string $class, string|null $method): string|null","summary":"Returns the informational link URL for a given PHP type/class.","params":[{"name":"$class","type":"string","description":"The type or class name."},{"name":"$method","type":"string|null","description":"The method name."}],"return":{"type":"string|null","description":"The informational link URL."},"visibility":"protected"},"htmlEncode":{"signature":"public function htmlEncode(string $text): string","summary":"Converts special characters to HTML entities.","params":[{"name":"$text","type":"string","description":"To encode."}],"return":{"type":"string","description":"Encoded original text."}},"isCoreFile":{"signature":"public function isCoreFile(string $file): bool","summary":"Determines whether given name of the file belongs to the framework.","params":[{"name":"$file","type":"string","description":"Name to be checked."}],"return":{"type":"bool","description":"Whether given name of the file belongs to the framework."}},"renderCallStack":{"signature":"public function renderCallStack(Throwable $exception): string","summary":"Renders call stack.","params":[{"name":"$exception","type":"Throwable","description":"Exception to get call stack from"}],"return":{"type":"string","description":"HTML content of the rendered call stack."},"since":"2.0.12"},"renderCallStackItem":{"signature":"public function renderCallStackItem(string|null $file, int|null $line, string|null $class, string|null $method, array $args, int $index): string","summary":"Renders a single call stack element.","params":[{"name":"$file","type":"string|null","description":"Name where call has happened."},{"name":"$line","type":"int|null","description":"Number on which call has happened."},{"name":"$class","type":"string|null","description":"Called class name."},{"name":"$method","type":"string|null","description":"Called function/method name."},{"name":"$args","type":"array","description":"Array of method arguments."},{"name":"$index","type":"int","description":"Number of the call stack element."}],"return":{"type":"string","description":"HTML content of the rendered call stack element."}},"renderException":{"signature":"protected function renderException(Throwable $exception): mixed","summary":"Renders the exception.","params":[{"name":"$exception","type":"Throwable","description":"The exception to be rendered."}],"return":{"type":"mixed"},"visibility":"protected"},"renderFile":{"signature":"public function renderFile(string $_file_, array $_params_): string","summary":"Renders a view file as a PHP script.","params":[{"name":"$_file_","type":"string","description":"The view file."},{"name":"$_params_","type":"array","description":"The parameters (name-value pairs) that will be extracted and made available in the view file."}],"return":{"type":"string","description":"The rendering result"}},"renderPreviousExceptions":{"signature":"public function renderPreviousExceptions(Throwable $exception): string","summary":"Renders the previous exception stack for a given Exception.","params":[{"name":"$exception","type":"Throwable","description":"The exception whose precursors should be rendered."}],"return":{"type":"string","description":"HTML content of the rendered previous exceptions. Empty string if there are none."}},"renderRequest":{"signature":"public function renderRequest(): string","summary":"Renders the global variables of the request.","return":{"type":"string","description":"The rendering result"}},"shouldRenderSimpleHtml":{"signature":"protected function shouldRenderSimpleHtml(): bool","return":{"type":"bool","description":"If simple HTML should be rendered"},"visibility":"protected","since":"2.0.12"},"triggerAfterRender":{"signature":"protected function triggerAfterRender(Throwable $exception, string $output): string","summary":"Triggers `EVENT_AFTER_RENDER` and returns final HTML content.","params":[{"name":"$exception","type":"Throwable","description":"The exception being rendered."},{"name":"$output","type":"string","description":"The rendered HTML output."}],"return":{"type":"string","description":"The final HTML output."},"visibility":"protected","since":"22.0"}},"constants":{"EVENT_AFTER_RENDER":{"value":"'afterRender'","description":"`yii\\web\\ErrorHandlerRenderEvent` an event that is triggered after HTML error content is rendered.","since":"22.0"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","discardExistingOutput":"yii\\base\\ErrorHandler","exception":"yii\\base\\ErrorHandler","memoryReserveSize":"yii\\base\\ErrorHandler","silentExitOnException":"yii\\base\\ErrorHandler"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clearOutput":"yii\\base\\ErrorHandler","convertExceptionToString":"yii\\base\\ErrorHandler","convertExceptionToVerboseString":"yii\\base\\ErrorHandler","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","handleError":"yii\\base\\ErrorHandler","handleException":"yii\\base\\ErrorHandler","handleFallbackExceptionMessage":"yii\\base\\ErrorHandler","handleFatalError":"yii\\base\\ErrorHandler","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\ErrorHandler","logException":"yii\\base\\ErrorHandler","off":"yii\\base\\Component","on":"yii\\base\\Component","register":"yii\\base\\ErrorHandler","trigger":"yii\\base\\Component","unregister":"yii\\base\\ErrorHandler"},"events":{"EVENT_SHUTDOWN":"yii\\base\\ErrorHandler"}}},"yii\\web\\ErrorHandlerRenderEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/errorhandlerrenderevent/","summary":"Represents events triggered by `yii\\web\\ErrorHandler`.","since":"22.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"exception":{"type":"Throwable|null","default":"null","description":"Exception being rendered."},"output":{"type":"string","default":"''","description":"Rendered HTML output."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\web\\ForbiddenHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/forbiddenhttpexception/","summary":"ForbiddenHttpException represents a \"Forbidden\" HTTP exception with status code 403.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\GoneHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/gonehttpexception/","summary":"GoneHttpException represents a \"Gone\" HTTP exception with status code 410.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\GroupUrlRule":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/groupurlrule/","summary":"GroupUrlRule represents a collection of URL rules sharing the same prefix in their patterns and routes.","since":"2.0","extends":"yii\\web\\CompositeUrlRule","implements":["yii\\web\\UrlRuleInterface","yii\\base\\Configurable"],"properties":{"prefix":{"type":"string","default":"null","description":"The prefix for the pattern part of every rule declared in `$rules`."},"routePrefix":{"type":"string|null","default":"null","description":"The prefix for the route part of every rule declared in `$rules`."},"ruleConfig":{"type":"array","default":"['class' => 'yii\\web\\UrlRule']","description":"The default configuration of URL rules."},"rules":{"type":"yii\\web\\UrlRuleInterface[]|array[]|string[]","default":"[]","description":"The rules contained within this composite rule."}},"methods":{"createRules":{"signature":"protected function createRules(): yii\\web\\UrlRuleInterface[]|yii\\web\\UrlRuleInterface[][]","summary":"Creates the URL rules that should be contained within this composite rule.","return":{"type":"yii\\web\\UrlRuleInterface[]|yii\\web\\UrlRuleInterface[][]","description":"The URL rules"},"visibility":"protected"},"createUrl":{"signature":"public function createUrl(mixed $manager, mixed $route, mixed $params): string|bool","summary":"Creates a URL according to the given route and parameters.","params":[{"name":"$manager","type":"mixed","description":"The URL manager"},{"name":"$route","type":"mixed","description":"The route. It should not have slashes at the beginning or the end."},{"name":"$params","type":"mixed","description":"The parameters"}],"return":{"type":"string|bool","description":"The created URL, or false if this rule cannot be used for creating this URL."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"parseRequest":{"signature":"public function parseRequest(mixed $manager, mixed $request): array|bool","summary":"Parses the given request and returns the corresponding route and parameters.","params":[{"name":"$manager","type":"mixed","description":"The URL manager"},{"name":"$request","type":"mixed","description":"The request component"}],"return":{"type":"array|bool","description":"The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info."}}},"inherited":{"properties":{"createStatus":"yii\\web\\CompositeUrlRule","createUrlStatus":"yii\\web\\CompositeUrlRule"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","getCreateUrlStatus":"yii\\web\\CompositeUrlRule","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","iterateRules":"yii\\web\\CompositeUrlRule"}}},"yii\\web\\HeaderCollection":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/headercollection/","summary":"HeaderCollection is used by `yii\\web\\Response` to maintain the currently registered HTTP headers.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["IteratorAggregate","ArrayAccess","Countable","yii\\base\\Configurable"],"properties":{"count":{"type":"int","description":"The number of headers in the collection.","access":"read-only","virtual":true},"iterator":{"type":"ArrayIterator<string, string[]>","description":"An iterator for traversing the headers in the collection.","access":"read-only","virtual":true}},"methods":{"add":{"signature":"public function add(string $name, string $value): $this","summary":"Adds a new header.","params":[{"name":"$name","type":"string","description":"The name of the header"},{"name":"$value","type":"string","description":"The value of the header"}],"return":{"type":"$this","description":"The collection object itself"}},"count":{"signature":"public function count(): int","summary":"Returns the number of headers in the collection.","return":{"type":"int","description":"The number of headers in the collection."}},"fromArray":{"signature":"public function fromArray(array $array): mixed","summary":"Populates the header collection from an array.","params":[{"name":"$array","type":"array","description":"The headers to populate from"}],"return":{"type":"mixed"},"since":"2.0.3"},"get":{"signature":"public function get(string $name, ($first is true ? string|null : string[]|null) $default = null, bool $first = true): ($first is true ? string|null : string[]|null)","summary":"Returns the named header(s).","params":[{"name":"$name","type":"string","description":"The name of the header to return"},{"name":"$default","type":"($first is true ? string|null : string[]|null)","default":"null","optional":true,"description":"The value to return in case the named header does not exist"},{"name":"$first","type":"bool","default":"true","optional":true,"description":"Whether to only return the first header of the specified name. If false, all headers of the specified name will be returned."}],"return":{"type":"($first is true ? string|null : string[]|null)","description":"The named header(s). If `$first` is true, a string will be returned; If `$first` is false, an array will be returned."}},"getCount":{"signature":"public function getCount(): int","summary":"Returns the number of headers in the collection.","return":{"type":"int","description":"The number of headers in the collection."}},"getIterator":{"signature":"public function getIterator(): ArrayIterator<string, string[]>","summary":"Returns an iterator for traversing the headers in the collection.","return":{"type":"ArrayIterator<string, string[]>","description":"An iterator for traversing the headers in the collection."}},"has":{"signature":"public function has(string $name): bool","summary":"Returns a value indicating whether the named header exists.","params":[{"name":"$name","type":"string","description":"The name of the header"}],"return":{"type":"bool","description":"Whether the named header exists"}},"offsetExists":{"signature":"public function offsetExists(string $name): bool","summary":"Returns whether there is a header with the specified name.","params":[{"name":"$name","type":"string","description":"The header name"}],"return":{"type":"bool","description":"Whether the named header exists"}},"offsetGet":{"signature":"public function offsetGet(string $name): string|null","summary":"Returns the header with the specified name.","params":[{"name":"$name","type":"string","description":"The header name"}],"return":{"type":"string|null","description":"The header value with the specified name, null if the named header does not exist."}},"offsetSet":{"signature":"public function offsetSet(string $name, string $value): mixed","summary":"Adds the header to the collection.","params":[{"name":"$name","type":"string","description":"The header name"},{"name":"$value","type":"string","description":"The header value to be added"}],"return":{"type":"mixed"}},"offsetUnset":{"signature":"public function offsetUnset(string $name): mixed","summary":"Removes the named header.","params":[{"name":"$name","type":"string","description":"The header name"}],"return":{"type":"mixed"}},"remove":{"signature":"public function remove(string $name): array|null","summary":"Removes a header.","params":[{"name":"$name","type":"string","description":"The name of the header to be removed."}],"return":{"type":"array|null","description":"The value of the removed header. Null is returned if the header does not exist."}},"removeAll":{"signature":"public function removeAll(): mixed","summary":"Removes all headers.","return":{"type":"mixed"}},"set":{"signature":"public function set(string $name, string $value = ''): $this","summary":"Adds a new header.","params":[{"name":"$name","type":"string","description":"The name of the header"},{"name":"$value","type":"string","default":"''","optional":true,"description":"The value of the header"}],"return":{"type":"$this","description":"The collection object itself"}},"setDefault":{"signature":"public function setDefault(string $name, string $value): $this","summary":"Sets a new header only if it does not exist yet.","params":[{"name":"$name","type":"string","description":"The name of the header"},{"name":"$value","type":"string","description":"The value of the header"}],"return":{"type":"$this","description":"The collection object itself"}},"toArray":{"signature":"public function toArray(): array","summary":"Returns the collection as a PHP array.","return":{"type":"array","description":"The array representation of the collection. The array keys are header names, and the array values are the corresponding header values."}},"toOriginalArray":{"signature":"public function toOriginalArray(): array","summary":"Returns the collection as a PHP array but instead of using normalized header names as keys (like `toArray()`) it uses original header names (case-sensitive).","return":{"type":"array","description":"The array representation of the collection."},"since":"2.0.45"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\HeadersAlreadySentException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/headersalreadysentexception/","summary":"HeadersAlreadySentException represents an exception caused by any headers that were already sent before web response was sent.","since":"2.0.14","extends":"yii\\base\\Exception","methods":{"__construct":{"signature":"public function __construct(mixed $file, mixed $line)","params":[{"name":"$file","type":"mixed"},{"name":"$line","type":"mixed"}]}},"inherited":{"methods":{"getName":"yii\\base\\Exception"}}},"yii\\web\\HtmlResponseFormatter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/htmlresponseformatter/","summary":"HtmlResponseFormatter formats the given data into an HTML response content.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\web\\ResponseFormatterInterface","yii\\base\\Configurable"],"properties":{"contentType":{"type":"string","default":"'text/html'","description":"The Content-Type header for the response"}},"methods":{"format":{"signature":"public function format(yii\\web\\Response $response): mixed","summary":"Formats the specified response.","params":[{"name":"$response","type":"yii\\web\\Response","description":"The response to be formatted."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\HttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/httpexception/","summary":"HttpException represents an exception caused by an improper request of the end-user.","since":"2.0","extends":"yii\\base\\UserException","properties":{"statusCode":{"type":"int","default":"null","description":"HTTP status code, such as 403, 404, 500, etc."}},"methods":{"__construct":{"signature":"public function __construct(int $status, string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$status","type":"int","description":"HTTP status code, such as 404, 500, etc."},{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]},"getName":{"signature":"public function getName(): string","return":{"type":"string","description":"The user-friendly name of this exception"}}}},"yii\\web\\IdentityInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/web/identityinterface/","summary":"IdentityInterface is the interface that should be implemented by a class providing identity information.","since":"2.0","methods":{"findIdentity":{"signature":"abstract public static function findIdentity(string|int $id): yii\\web\\IdentityInterface|null","summary":"Finds an identity by the given ID.","params":[{"name":"$id","type":"string|int","description":"The ID to be looked for"}],"return":{"type":"yii\\web\\IdentityInterface|null","description":"The identity object that matches the given ID. Null should be returned if such an identity cannot be found or the identity is not in an active state (disabled, deleted, etc.)"},"static":true,"abstract":true},"findIdentityByAccessToken":{"signature":"abstract public static function findIdentityByAccessToken(mixed $token, mixed $type = null): yii\\web\\IdentityInterface|null","summary":"Finds an identity by the given token.","params":[{"name":"$token","type":"mixed","description":"The token to be looked for"},{"name":"$type","type":"mixed","default":"null","optional":true,"description":"The type of the token. The value of this parameter depends on the implementation. For example, `yii\\filters\\auth\\HttpBearerAuth` will set this parameter to be `yii\\filters\\auth\\HttpBearerAuth`."}],"return":{"type":"yii\\web\\IdentityInterface|null","description":"The identity object that matches the given token. Null should be returned if such an identity cannot be found or the identity is not in an active state (disabled, deleted, etc.)"},"static":true,"abstract":true},"getAuthKey":{"signature":"abstract public function getAuthKey(): string|null","summary":"Returns a key that can be used to check the validity of a given identity ID.","return":{"type":"string|null","description":"A key that is used to check the validity of a given identity ID."},"abstract":true},"getId":{"signature":"abstract public function getId(): string|int","summary":"Returns an ID that can uniquely identify a user identity.","return":{"type":"string|int","description":"An ID that uniquely identifies a user identity."},"abstract":true},"validateAuthKey":{"signature":"abstract public function validateAuthKey(string $authKey): bool|null","summary":"Validates the given auth key.","params":[{"name":"$authKey","type":"string","description":"The given auth key"}],"return":{"type":"bool|null","description":"Whether the given auth key is valid."},"abstract":true}}},"yii\\web\\JqueryAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/jqueryasset/","summary":"This asset bundle provides the [jQuery](https://jquery.com/) JavaScript library.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"js":{"default":"['jquery.js']"},"sourcePath":{"default":"'@npm/jquery/dist'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\web\\JsExpression":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/jsexpression/","summary":"`JsExpression` marks a string as a JavaScript expression.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"expression":{"type":"string","default":"null","description":"The JavaScript expression represented by this object"}},"methods":{"__construct":{"signature":"public function __construct(string $expression, array $config = [])","summary":"Constructor.","params":[{"name":"$expression","type":"string","description":"The JavaScript expression represented by this object"},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Additional configurations for this object"}]},"__toString":{"signature":"public function __toString(): string","summary":"The PHP magic function converting an object into a string.","return":{"type":"string","description":"The JavaScript expression."}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\JsonParser":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/jsonparser/","summary":"Parses a raw HTTP request using `yii\\helpers\\Json::decode()`.","since":"2.0","implements":["yii\\web\\RequestParserInterface"],"properties":{"asArray":{"type":"bool","default":"true","description":"Whether to return objects in terms of associative arrays."},"throwException":{"type":"bool","default":"true","description":"Whether to throw a `yii\\web\\BadRequestHttpException` if the body is invalid JSON"}},"methods":{"parse":{"signature":"public function parse(string $rawBody, string $contentType): mixed","summary":"Parses a HTTP request body.","params":[{"name":"$rawBody","type":"string","description":"The raw HTTP request body."},{"name":"$contentType","type":"string","description":"The content type specified for the request body."}],"return":{"type":"mixed","description":"Parameters parsed from the request body"},"throws":[{"type":"yii\\web\\BadRequestHttpException","description":"if the body contains invalid json and `$throwException` is `true`."}]}}},"yii\\web\\JsonResponseFormatter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/jsonresponseformatter/","summary":"JsonResponseFormatter formats the given data into a JSON or JSONP response content.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\web\\ResponseFormatterInterface","yii\\base\\Configurable"],"properties":{"contentType":{"type":"string|null","default":"null","description":"Custom value of the `Content-Type` header of the response.","since":"2.0.14"},"encodeOptions":{"type":"int","default":"320","description":"The encoding options passed to `yii\\helpers\\Json::encode()`.","since":"2.0.7"},"keepObjectType":{"type":"bool","default":"null","description":"Avoids objects with zero-indexed keys to be encoded as array Json::encode((object)['test']) will be encoded as an object not array.","since":"2.0.44"},"prettyPrint":{"type":"bool","default":"false","description":"Whether to format the output in a readable \"pretty\" format.","since":"2.0.7"},"useJsonp":{"type":"bool","default":"false","description":"Whether to use JSONP response format."}},"methods":{"format":{"signature":"public function format(yii\\web\\Response $response): mixed","summary":"Formats the specified response.","params":[{"name":"$response","type":"yii\\web\\Response","description":"The response to be formatted."}],"return":{"type":"mixed"}},"formatJson":{"signature":"protected function formatJson(yii\\web\\Response $response): mixed","summary":"Formats response data in JSON format.","params":[{"name":"$response","type":"yii\\web\\Response"}],"return":{"type":"mixed"},"visibility":"protected"},"formatJsonp":{"signature":"protected function formatJsonp(yii\\web\\Response $response): mixed","summary":"Formats response data in JSONP format.","params":[{"name":"$response","type":"yii\\web\\Response"}],"return":{"type":"mixed"},"visibility":"protected"}},"constants":{"CONTENT_TYPE_JSONP":{"value":"'application/javascript; charset=UTF-8'","description":"JSON Content Type","since":"2.0.14"},"CONTENT_TYPE_JSON":{"value":"'application/json; charset=UTF-8'","description":"JSONP Content Type","since":"2.0.14"},"CONTENT_TYPE_HAL_JSON":{"value":"'application/hal+json; charset=UTF-8'","description":"HAL JSON Content Type","since":"2.0.14"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\Link":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/link/","summary":"Link represents a link object as defined in [JSON Hypermedia API Language](https://tools.ietf.org/html/draft-kelly-json-hal-03).","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"href":{"type":"string","default":"null","description":"A URI [RFC3986](https://tools.ietf.org/html/rfc3986) or URI template [RFC6570](https://tools.ietf.org/html/rfc6570)."},"hreflang":{"type":"string","default":"null","description":"The language of the target resource"},"name":{"type":"string","default":"null","description":"A secondary key for selecting Link Objects which share the same relation type"},"profile":{"type":"string","default":"null","description":"A URI that hints about the profile of the target resource."},"templated":{"type":"bool","default":"false","description":"A value indicating whether `$href` refers to a URI or URI template."},"title":{"type":"string","default":"null","description":"A label describing the link"},"type":{"type":"string","default":"null","description":"A hint to indicate the media type expected when dereferencing the target resource"}},"methods":{"serialize":{"signature":"public static function serialize(array $links): array","summary":"Serializes a list of links into proper array format.","params":[{"name":"$links","type":"array","description":"The links to be serialized"}],"return":{"type":"array","description":"The proper array representation of the links."},"static":true}},"constants":{"REL_SELF":{"value":"'self'","description":"The self link."}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\Linkable":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/web/linkable/","summary":"Linkable is the interface that should be implemented by classes that typically represent locatable resources.","since":"2.0","methods":{"getLinks":{"signature":"abstract public function getLinks(): array","summary":"Returns a list of links.","return":{"type":"array","description":"The links"},"abstract":true}}},"yii\\web\\MethodNotAllowedHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/methodnotallowedhttpexception/","summary":"MethodNotAllowedHttpException represents a \"Method Not Allowed\" HTTP exception with status code 405.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\MultiFieldSession":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/web/multifieldsession/","summary":"MultiFieldSession is the base class for session storage implementations with multi-field data storage support.","since":"2.0.6","extends":"yii\\web\\Session","implements":["yii\\base\\Configurable","IteratorAggregate","ArrayAccess","Countable"],"properties":{"readCallback":{"type":"callable","default":"null","description":"A callback that will be called during session data reading."},"useCustomStorage":{"type":"bool","description":"Whether to use custom storage.","access":"read-only","virtual":true},"writeCallback":{"type":"callable|null","default":"null","description":"A callback that will be called during session data writing."}},"methods":{"composeFields":{"signature":"protected function composeFields(string|null $id = null, string|null $data = null): array","summary":"Composes storage field set for session writing.","params":[{"name":"$id","type":"string|null","default":"null","optional":true,"description":"Optional session id"},{"name":"$data","type":"string|null","default":"null","optional":true,"description":"Optional session data"}],"return":{"type":"array","description":"Storage fields"},"visibility":"protected"},"extractData":{"signature":"protected function extractData(array $fields): string","summary":"Extracts session data from storage field set.","params":[{"name":"$fields","type":"array","description":"Storage fields."}],"return":{"type":"string","description":"Session data."},"visibility":"protected"},"getUseCustomStorage":{"signature":"public function getUseCustomStorage(): bool","summary":"Returns a value indicating whether to use custom session storage.","return":{"type":"bool","description":"Whether to use custom storage."}}},"inherited":{"properties":{"_forceRegenerateId":"yii\\web\\Session","_originalSessionModule":"yii\\web\\Session","allFlashes":"yii\\web\\Session","behaviors":"yii\\base\\Component","cacheLimiter":"yii\\web\\Session","cookieParams":"yii\\web\\Session","count":"yii\\web\\Session","flash":"yii\\web\\Session","flashParam":"yii\\web\\Session","gCProbability":"yii\\web\\Session","handler":"yii\\web\\Session","hasSessionId":"yii\\web\\Session","id":"yii\\web\\Session","isActive":"yii\\web\\Session","iterator":"yii\\web\\Session","name":"yii\\web\\Session","savePath":"yii\\web\\Session","timeout":"yii\\web\\Session","useCookies":"yii\\web\\Session","useStrictMode":"yii\\web\\Session","useTransparentSessionID":"yii\\web\\Session"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addFlash":"yii\\web\\Session","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","close":"yii\\web\\Session","count":"yii\\web\\Session","destroy":"yii\\web\\Session","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","freeze":"yii\\web\\Session","get":"yii\\web\\Session","getAllFlashes":"yii\\web\\Session","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getCacheLimiter":"yii\\web\\Session","getCookieParams":"yii\\web\\Session","getCount":"yii\\web\\Session","getFlash":"yii\\web\\Session","getGCProbability":"yii\\web\\Session","getHasSessionId":"yii\\web\\Session","getId":"yii\\web\\Session","getIsActive":"yii\\web\\Session","getIterator":"yii\\web\\Session","getName":"yii\\web\\Session","getSavePath":"yii\\web\\Session","getTimeout":"yii\\web\\Session","getUseCookies":"yii\\web\\Session","getUseStrictMode":"yii\\web\\Session","getUseTransparentSessionID":"yii\\web\\Session","has":"yii\\web\\Session","hasEventHandlers":"yii\\base\\Component","hasFlash":"yii\\web\\Session","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\web\\Session","off":"yii\\base\\Component","offsetExists":"yii\\web\\Session","offsetGet":"yii\\web\\Session","offsetSet":"yii\\web\\Session","offsetUnset":"yii\\web\\Session","on":"yii\\base\\Component","open":"yii\\web\\Session","regenerateID":"yii\\web\\Session","registerSessionHandler":"yii\\web\\Session","remove":"yii\\web\\Session","removeAll":"yii\\web\\Session","removeAllFlashes":"yii\\web\\Session","removeFlash":"yii\\web\\Session","set":"yii\\web\\Session","setCacheLimiter":"yii\\web\\Session","setCookieParams":"yii\\web\\Session","setFlash":"yii\\web\\Session","setGCProbability":"yii\\web\\Session","setHasSessionId":"yii\\web\\Session","setId":"yii\\web\\Session","setName":"yii\\web\\Session","setSavePath":"yii\\web\\Session","setTimeout":"yii\\web\\Session","setUseCookies":"yii\\web\\Session","setUseStrictMode":"yii\\web\\Session","setUseTransparentSessionID":"yii\\web\\Session","trigger":"yii\\base\\Component","unfreeze":"yii\\web\\Session","updateFlashCounters":"yii\\web\\Session"}}},"yii\\web\\MultipartFormDataParser":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/multipartformdataparser/","summary":"MultipartFormDataParser parses content encoded as 'multipart/form-data'.","since":"2.0.10","extends":"yii\\base\\BaseObject","implements":["yii\\web\\RequestParserInterface","yii\\base\\Configurable"],"properties":{"force":{"type":"bool","default":"false","description":"Whether to parse raw body even for 'POST' request and `$_FILES` already populated.","since":"2.0.13"},"uploadFileMaxCount":{"type":"int","description":"Maximum upload files count.","virtual":true},"uploadFileMaxSize":{"type":"int","description":"Upload file max size in bytes.","virtual":true}},"methods":{"getUploadFileMaxCount":{"signature":"public function getUploadFileMaxCount(): int","return":{"type":"int","description":"Maximum upload files count."}},"getUploadFileMaxSize":{"signature":"public function getUploadFileMaxSize(): int","return":{"type":"int","description":"Upload file max size in bytes."}},"parse":{"signature":"public function parse(mixed $rawBody, mixed $contentType): mixed","summary":"Parses a HTTP request body.","params":[{"name":"$rawBody","type":"mixed","description":"The raw HTTP request body."},{"name":"$contentType","type":"mixed","description":"The content type specified for the request body."}],"return":{"type":"mixed","description":"Parameters parsed from the request body"}},"setUploadFileMaxCount":{"signature":"public function setUploadFileMaxCount(int $uploadFileMaxCount): mixed","params":[{"name":"$uploadFileMaxCount","type":"int","description":"Maximum upload files count."}],"return":{"type":"mixed"}},"setUploadFileMaxSize":{"signature":"public function setUploadFileMaxSize(int $uploadFileMaxSize): mixed","params":[{"name":"$uploadFileMaxSize","type":"int","description":"Upload file max size in bytes."}],"return":{"type":"mixed"}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\NotAcceptableHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/notacceptablehttpexception/","summary":"NotAcceptableHttpException represents a \"Not Acceptable\" HTTP exception with status code 406.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\NotFoundHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/notfoundhttpexception/","summary":"NotFoundHttpException represents a \"Not Found\" HTTP exception with status code 404.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\RangeNotSatisfiableHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/rangenotsatisfiablehttpexception/","summary":"RangeNotSatisfiableHttpException represents an exception caused by an improper request of the end-user.","since":"2.0.11","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\Request":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/request/","summary":"The web Request class represents an HTTP request.","since":"2.0","extends":"yii\\base\\Request","implements":["yii\\base\\Configurable"],"properties":{"absoluteUrl":{"type":"string","description":"The currently requested absolute URL.","access":"read-only","virtual":true},"acceptableContentTypes":{"type":"array","description":"The content types ordered by the quality score.","virtual":true},"acceptableLanguages":{"type":"array","description":"The languages ordered by the preference level.","virtual":true},"authCredentials":{"type":"array","description":"That contains exactly two elements: - 0: the username sent via HTTP authentication, `null` if the username is not given - 1: the password sent via HTTP authentication, `null` if the password is not given.","access":"read-only","virtual":true},"authPassword":{"type":"string|null","description":"The password sent via HTTP authentication, `null` if the password is not given.","access":"read-only","virtual":true},"authUser":{"type":"string|null","description":"The username sent via HTTP authentication, `null` if the username is not given.","access":"read-only","virtual":true},"baseUrl":{"type":"string","description":"The relative URL for the application.","virtual":true},"bodyParams":{"type":"mixed","description":"The request parameters given in the request body.","virtual":true},"contentType":{"type":"string","description":"Request content-type.","access":"read-only","virtual":true},"cookies":{"type":"yii\\web\\CookieCollection","description":"The cookie collection.","access":"read-only","virtual":true},"cookieValidationKey":{"type":"string","default":"null","description":"A secret key used for cookie validation."},"csrfCookie":{"type":"array","default":"['httpOnly' => true]","description":"The configuration for creating the CSRF cookie (`yii\\web\\Cookie`)."},"csrfHeader":{"type":"string","default":"self::CSRF_HEADER","description":"The name of the HTTP header for sending CSRF token."},"csrfHeaderUnsafeMethods":{"type":"array","default":"['GET', 'HEAD', 'POST']","description":"\"unsafe\" methods not triggered a CORS-preflight request This property is used only when both `$enableCsrfValidation` and `$validateCsrfHeaderOnly` are true."},"csrfParam":{"type":"string","default":"'_csrf'","description":"The name of the token used to prevent CSRF."},"csrfToken":{"type":"null|string","description":"The token used to perform CSRF validation.","access":"read-only","virtual":true},"csrfTokenFromHeader":{"type":"string|null","description":"The CSRF token sent via `$csrfHeader` by browser.","access":"read-only","virtual":true},"csrfTokenSafeMethods":{"type":"array","default":"['GET', 'HEAD', 'OPTIONS']","description":"The name of the HTTP header for sending CSRF token. by default validate CSRF token on non-\"safe\" methods only This property is used only when `$enableCsrfValidation` is true."},"enableCookieValidation":{"type":"bool","default":"true","description":"Whether cookies should be validated to ensure they are not tampered."},"enableCsrfCookie":{"type":"bool","default":"true","description":"Whether to use cookie to persist CSRF token."},"enableCsrfValidation":{"type":"bool","default":"true","description":"Whether to enable CSRF (Cross-Site Request Forgery) validation."},"eTags":{"type":"array","description":"The entity tags.","access":"read-only","virtual":true},"headers":{"type":"yii\\web\\HeaderCollection","description":"The header collection.","access":"read-only","virtual":true},"hostInfo":{"type":"string|null","description":"Schema and hostname part (with port number if needed) of the request URL (e.g. `https://www.yiiframework.com`), null if can't be obtained from `$_SERVER` and wasn't set.","virtual":true},"hostName":{"type":"string|null","description":"Hostname part of the request URL (e.g. `www.yiiframework.com`).","access":"read-only","virtual":true},"ipHeaders":{"type":"string[]","default":"['X-Forwarded-For']","description":"List of headers where proxies store the real client IP.","since":"2.0.13"},"isAjax":{"type":"bool","description":"Whether this is an AJAX (XMLHttpRequest) request.","access":"read-only","virtual":true},"isDelete":{"type":"bool","description":"Whether this is a DELETE request.","access":"read-only","virtual":true},"isFlash":{"type":"bool","description":"Whether this is an Adobe Flash or Adobe Flex request.","access":"read-only","virtual":true},"isGet":{"type":"bool","description":"Whether this is a GET request.","access":"read-only","virtual":true},"isHead":{"type":"bool","description":"Whether this is a HEAD request.","access":"read-only","virtual":true},"isOptions":{"type":"bool","description":"Whether this is a OPTIONS request.","access":"read-only","virtual":true},"isPatch":{"type":"bool","description":"Whether this is a PATCH request.","access":"read-only","virtual":true},"isPjax":{"type":"bool","description":"Whether this is a PJAX request.","access":"read-only","virtual":true},"isPost":{"type":"bool","description":"Whether this is a POST request.","access":"read-only","virtual":true},"isPut":{"type":"bool","description":"Whether this is a PUT request.","access":"read-only","virtual":true},"isSecureConnection":{"type":"bool","description":"If the request is sent via secure channel (https).","access":"read-only","virtual":true},"method":{"type":"string","description":"Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE.","access":"read-only","virtual":true},"methodParam":{"type":"string","default":"'_method'","description":"The name of the POST parameter that is used to indicate if a request is a PUT, PATCH or DELETE request tunneled through POST."},"origin":{"type":"string|null","description":"URL origin of a CORS request, `null` if not available.","access":"read-only","virtual":true},"parsers":{"type":"array","default":"[]","description":"The parsers for converting the raw HTTP request body into `$bodyParams`."},"pathInfo":{"type":"string","description":"Part of the request URL that is after the entry script and before the question mark.","virtual":true},"port":{"type":"int","description":"Port number for insecure requests.","virtual":true},"portHeaders":{"type":"string[]","default":"['X-Forwarded-Port']","description":"List of headers where proxies store the real request port.","since":"2.0.46"},"preferredLanguage":{"type":"string","description":"The language that the application should use.","access":"read-only","virtual":true},"queryParams":{"type":"array","description":"The request GET parameter values.","virtual":true},"queryString":{"type":"string","description":"Part of the request URL that is after the question mark.","access":"read-only","virtual":true},"rawBody":{"type":"string","description":"The request body.","virtual":true},"referrer":{"type":"string|null","description":"URL referrer, null if not available.","access":"read-only","virtual":true},"remoteHost":{"type":"string|null","description":"Remote host name, `null` if not available.","access":"read-only","virtual":true},"remoteIP":{"type":"string|null","description":"Remote IP address, `null` if not available.","access":"read-only","virtual":true},"scriptFile":{"type":"string","description":"The entry script file path.","virtual":true},"scriptUrl":{"type":"string","description":"The relative URL of the entry script.","virtual":true},"secureHeaders":{"type":"array","default":"['X-Forwarded-For', 'X-Forwarded-Host', 'X-Forwarded-Proto', 'X-Forwarded-Port', 'Front-End-Https', 'X-Rewrite-Url', 'X-Original-Host']","description":"Lists of headers that are, by default, subject to the trusted host configuration.","since":"2.0.13"},"securePort":{"type":"int","description":"Port number for secure requests.","virtual":true},"secureProtocolHeaders":{"type":"array","default":"['X-Forwarded-Proto' => ['https'], 'Front-End-Https' => ['on']]","description":"List of headers to check for determining whether the connection is made via HTTPS.","since":"2.0.13"},"serverName":{"type":"string|null","description":"Server name, null if not available.","access":"read-only","virtual":true},"serverPort":{"type":"int|null","description":"Server port number, null if not available.","access":"read-only","virtual":true},"trustedHosts":{"type":"array","default":"[]","description":"The configuration for trusted security related headers.","since":"2.0.13"},"url":{"type":"string","description":"The currently requested relative URL.","virtual":true},"userAgent":{"type":"string|null","description":"User agent, null if not available.","access":"read-only","virtual":true},"userHost":{"type":"string|null","description":"User host name, null if not available.","access":"read-only","virtual":true},"userIP":{"type":"string|null","description":"User IP address, null if not available.","access":"read-only","virtual":true},"validateCsrfHeaderOnly":{"type":"bool","default":"false","description":"Whether to use custom header only to CSRF validation of SPA."}},"methods":{"createCsrfCookie":{"signature":"protected function createCsrfCookie(string $token): yii\\web\\Cookie","summary":"Creates a cookie with a randomly generated CSRF token.","params":[{"name":"$token","type":"string","description":"The CSRF token"}],"return":{"type":"yii\\web\\Cookie","description":"The generated cookie"},"visibility":"protected"},"filterHeaders":{"signature":"protected function filterHeaders(yii\\web\\HeaderCollection $headerCollection): mixed","summary":"Filters headers according to the `$trustedHosts`.","params":[{"name":"$headerCollection","type":"yii\\web\\HeaderCollection"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.13"},"generateCsrfToken":{"signature":"protected function generateCsrfToken(): string","summary":"Generates an unmasked random token used to perform CSRF validation.","return":{"type":"string","description":"The random token for CSRF validation."},"visibility":"protected"},"get":{"signature":"public function get(string|null $name = null, mixed $defaultValue = null): ($name is null ? array : mixed)","summary":"Returns GET parameter with a given name. If name isn't specified, returns an array of all GET parameters.","params":[{"name":"$name","type":"string|null","default":"null","optional":true,"description":"The parameter name"},{"name":"$defaultValue","type":"mixed","default":"null","optional":true,"description":"The default parameter value if the parameter does not exist."}],"return":{"type":"($name is null ? array : mixed)"}},"getAbsoluteUrl":{"signature":"public function getAbsoluteUrl(): string","summary":"Returns the currently requested absolute URL.","return":{"type":"string","description":"The currently requested absolute URL."}},"getAcceptableContentTypes":{"signature":"public function getAcceptableContentTypes(): array","summary":"Returns the content types acceptable by the end user.","return":{"type":"array","description":"The content types ordered by the quality score. Types with the highest scores will be returned first. The array keys are the content types, while the array values are the corresponding quality score and other parameters as given in the header."}},"getAcceptableLanguages":{"signature":"public function getAcceptableLanguages(): array","summary":"Returns the languages acceptable by the end user.","return":{"type":"array","description":"The languages ordered by the preference level. The first element represents the most preferred language."}},"getAuthCredentials":{"signature":"public function getAuthCredentials(): array","return":{"type":"array","description":"That contains exactly two elements: - 0: the username sent via HTTP authentication, `null` if the username is not given - 1: the password sent via HTTP authentication, `null` if the password is not given"},"since":"2.0.13"},"getAuthPassword":{"signature":"public function getAuthPassword(): string|null","return":{"type":"string|null","description":"The password sent via HTTP authentication, `null` if the password is not given"}},"getAuthUser":{"signature":"public function getAuthUser(): string|null","return":{"type":"string|null","description":"The username sent via HTTP authentication, `null` if the username is not given"}},"getBaseUrl":{"signature":"public function getBaseUrl(): string","summary":"Returns the relative URL for the application.","return":{"type":"string","description":"The relative URL for the application"}},"getBodyParam":{"signature":"public function getBodyParam(string $name, mixed $defaultValue = null): mixed","summary":"Returns the named request body parameter value.","params":[{"name":"$name","type":"string","description":"The parameter name"},{"name":"$defaultValue","type":"mixed","default":"null","optional":true,"description":"The default parameter value if the parameter does not exist."}],"return":{"type":"mixed","description":"The parameter value"}},"getBodyParams":{"signature":"public function getBodyParams(): mixed","summary":"Returns the request parameters given in the request body.","return":{"type":"mixed","description":"The request parameters given in the request body."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a registered parser does not implement the `yii\\web\\RequestParserInterface`."}]},"getContentType":{"signature":"public function getContentType(): string","summary":"Returns request content-type The Content-Type header field indicates the MIME type of the data contained in `getRawBody()` or, in the case of the HEAD method, the media type that would have been sent had the request been a GET.","return":{"type":"string","description":"Request content-type. Empty string is returned if this information is not available."}},"getCookies":{"signature":"public function getCookies(): yii\\web\\CookieCollection","summary":"Returns the cookie collection.","return":{"type":"yii\\web\\CookieCollection","description":"The cookie collection."}},"getCsrfToken":{"signature":"public function getCsrfToken(bool $regenerate = false): null|string","summary":"Returns the token used to perform CSRF validation.","params":[{"name":"$regenerate","type":"bool","default":"false","optional":true,"description":"Whether to regenerate CSRF token. When this parameter is true, each time this method is called, a new CSRF token will be generated and persisted (in session or cookie)."}],"return":{"type":"null|string","description":"The token used to perform CSRF validation. Null is returned if the `$validateCsrfHeaderOnly` is true."}},"getCsrfTokenFromHeader":{"signature":"public function getCsrfTokenFromHeader(): string|null","return":{"type":"string|null","description":"The CSRF token sent via `$csrfHeader` by browser. Null is returned if no such header is sent."}},"getETags":{"signature":"public function getETags(): array","summary":"Gets the Etags.","return":{"type":"array","description":"The entity tags"}},"getHeaders":{"signature":"public function getHeaders(): yii\\web\\HeaderCollection","summary":"Returns the header collection.","return":{"type":"yii\\web\\HeaderCollection","description":"The header collection"}},"getHostInfo":{"signature":"public function getHostInfo(): string|null","summary":"Returns the schema and host part of the current request URL.","return":{"type":"string|null","description":"Schema and hostname part (with port number if needed) of the request URL (e.g. `https://www.yiiframework.com`), null if can't be obtained from `$_SERVER` and wasn't set."}},"getHostName":{"signature":"public function getHostName(): string|null","summary":"Returns the host part of the current request URL.","return":{"type":"string|null","description":"Hostname part of the request URL (e.g. `www.yiiframework.com`)"},"since":"2.0.10"},"getIpValidator":{"signature":"protected function getIpValidator(): yii\\validators\\IpValidator","summary":"Creates instance of `yii\\validators\\IpValidator`.","return":{"type":"yii\\validators\\IpValidator"},"visibility":"protected","since":"2.0.13"},"getIsAjax":{"signature":"public function getIsAjax(): bool","summary":"Returns whether this is an AJAX (XMLHttpRequest) request.","return":{"type":"bool","description":"Whether this is an AJAX (XMLHttpRequest) request."}},"getIsDelete":{"signature":"public function getIsDelete(): bool","summary":"Returns whether this is a DELETE request.","return":{"type":"bool","description":"Whether this is a DELETE request."}},"getIsFlash":{"signature":"public function getIsFlash(): bool","summary":"Returns whether this is an Adobe Flash or Flex request.","return":{"type":"bool","description":"Whether this is an Adobe Flash or Adobe Flex request."}},"getIsGet":{"signature":"public function getIsGet(): bool","summary":"Returns whether this is a GET request.","return":{"type":"bool","description":"Whether this is a GET request."}},"getIsHead":{"signature":"public function getIsHead(): bool","summary":"Returns whether this is a HEAD request.","return":{"type":"bool","description":"Whether this is a HEAD request."}},"getIsOptions":{"signature":"public function getIsOptions(): bool","summary":"Returns whether this is an OPTIONS request.","return":{"type":"bool","description":"Whether this is a OPTIONS request."}},"getIsPatch":{"signature":"public function getIsPatch(): bool","summary":"Returns whether this is a PATCH request.","return":{"type":"bool","description":"Whether this is a PATCH request."}},"getIsPjax":{"signature":"public function getIsPjax(): bool","summary":"Returns whether this is a PJAX request.","return":{"type":"bool","description":"Whether this is a PJAX request"}},"getIsPost":{"signature":"public function getIsPost(): bool","summary":"Returns whether this is a POST request.","return":{"type":"bool","description":"Whether this is a POST request."}},"getIsPut":{"signature":"public function getIsPut(): bool","summary":"Returns whether this is a PUT request.","return":{"type":"bool","description":"Whether this is a PUT request."}},"getIsSecureConnection":{"signature":"public function getIsSecureConnection(): bool","summary":"Return if the request is sent via secure channel (https).","return":{"type":"bool","description":"If the request is sent via secure channel (https)"}},"getMethod":{"signature":"public function getMethod(): string","summary":"Returns the method of the current request (e.g. GET, POST, HEAD, PUT, PATCH, DELETE).","return":{"type":"string","description":"Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE. The value returned is turned into upper case."}},"getOrigin":{"signature":"public function getOrigin(): string|null","summary":"Returns the URL origin of a CORS request.","return":{"type":"string|null","description":"URL origin of a CORS request, `null` if not available."},"since":"2.0.13"},"getPathInfo":{"signature":"public function getPathInfo(): string","summary":"Returns the path info of the currently requested URL.","return":{"type":"string","description":"Part of the request URL that is after the entry script and before the question mark. Note, the returned path info is already URL-decoded."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the path info cannot be determined due to unexpected server configuration"}]},"getPort":{"signature":"public function getPort(): int","summary":"Returns the port to use for insecure requests.","return":{"type":"int","description":"Port number for insecure requests."}},"getPreferredLanguage":{"signature":"public function getPreferredLanguage(array $languages = []): string","summary":"Returns the user-preferred language that should be used by this application.","params":[{"name":"$languages","type":"array","default":"[]","optional":true,"description":"A list of the languages supported by the application. If this is empty, the current application language will be returned without further processing."}],"return":{"type":"string","description":"The language that the application should use."}},"getQueryParam":{"signature":"public function getQueryParam(string $name, mixed $defaultValue = null): mixed","summary":"Returns the named GET parameter value.","params":[{"name":"$name","type":"string","description":"The GET parameter name."},{"name":"$defaultValue","type":"mixed","default":"null","optional":true,"description":"The default parameter value if the GET parameter does not exist."}],"return":{"type":"mixed","description":"The GET parameter value"}},"getQueryParams":{"signature":"public function getQueryParams(): array","summary":"Returns the request parameters given in the `$queryString`.","return":{"type":"array","description":"The request GET parameter values."}},"getQueryString":{"signature":"public function getQueryString(): string","summary":"Returns part of the request URL that is after the question mark.","return":{"type":"string","description":"Part of the request URL that is after the question mark"}},"getRawBody":{"signature":"public function getRawBody(): string","summary":"Returns the raw HTTP request body.","return":{"type":"string","description":"The request body"}},"getReferrer":{"signature":"public function getReferrer(): string|null","summary":"Returns the URL referrer.","return":{"type":"string|null","description":"URL referrer, null if not available"}},"getRemoteHost":{"signature":"public function getRemoteHost(): string|null","summary":"Returns the host name of the other end of this connection.","return":{"type":"string|null","description":"Remote host name, `null` if not available"},"since":"2.0.13"},"getRemoteIP":{"signature":"public function getRemoteIP(): string|null","summary":"Returns the IP on the other end of this connection.","return":{"type":"string|null","description":"Remote IP address, `null` if not available."},"since":"2.0.13"},"getScriptFile":{"signature":"public function getScriptFile(): string","summary":"Returns the entry script file path.","return":{"type":"string","description":"The entry script file path"},"throws":[{"type":"yii\\base\\InvalidConfigException"}]},"getScriptUrl":{"signature":"public function getScriptUrl(): string","summary":"Returns the relative URL of the entry script.","return":{"type":"string","description":"The relative URL of the entry script."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if unable to determine the entry script URL"}]},"getSecureForwardedHeaderParts":{"signature":"protected function getSecureForwardedHeaderParts(): array","summary":"Returns decoded forwarded header","return":{"type":"array"},"visibility":"protected","since":"2.0.31"},"getSecureForwardedHeaderTrustedPart":{"signature":"protected function getSecureForwardedHeaderTrustedPart(string $token): string|null","summary":"Gets first `Forwarded` header value for token","params":[{"name":"$token","type":"string","description":"Header token"}],"return":{"type":"string|null"},"visibility":"protected","since":"2.0.31"},"getSecureForwardedHeaderTrustedParts":{"signature":"protected function getSecureForwardedHeaderTrustedParts(): array","summary":"Gets only trusted `Forwarded` header parts","return":{"type":"array"},"visibility":"protected","since":"2.0.31"},"getSecurePort":{"signature":"public function getSecurePort(): int","summary":"Returns the port to use for secure requests.","return":{"type":"int","description":"Port number for secure requests."}},"getServerName":{"signature":"public function getServerName(): string|null","summary":"Returns the server name.","return":{"type":"string|null","description":"Server name, null if not available"}},"getServerPort":{"signature":"public function getServerPort(): int|null","summary":"Returns the server port number. If a port is specified via a forwarding header (e.g. 'X-Forwarded-Port') and the remote host is a \"trusted host\" the that port will be used (see `$portHeaders`), otherwise the default server port will be returned.","return":{"type":"int|null","description":"Server port number, null if not available"}},"getTrustedHeaders":{"signature":"protected function getTrustedHeaders(): array","summary":"Trusted headers according to the `$trustedHosts`.","return":{"type":"array"},"visibility":"protected","since":"2.0.28"},"getUrl":{"signature":"public function getUrl(): string","summary":"Returns the currently requested relative URL.","return":{"type":"string","description":"The currently requested relative URL. Note that the URI returned may be URL-encoded depending on the client."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the URL cannot be determined due to unusual server configuration"}]},"getUserAgent":{"signature":"public function getUserAgent(): string|null","summary":"Returns the user agent.","return":{"type":"string|null","description":"User agent, null if not available"}},"getUserHost":{"signature":"public function getUserHost(): string|null","summary":"Returns the user host name.","return":{"type":"string|null","description":"User host name, null if not available"}},"getUserIP":{"signature":"public function getUserIP(): string|null","summary":"Returns the user IP address.","return":{"type":"string|null","description":"User IP address, null if not available"}},"getUserIpFromIpHeader":{"signature":"protected function getUserIpFromIpHeader(string $ips): string|null","summary":"Return user IP's from IP header.","params":[{"name":"$ips","type":"string","description":"Comma separated IP list"}],"return":{"type":"string|null","description":"IP as string. Null is returned if IP can not be determined from header."},"visibility":"protected","since":"2.0.28"},"getUserIpFromIpHeaders":{"signature":"protected function getUserIpFromIpHeaders(): string|null","summary":"Returns the user IP address from `$ipHeaders`.","return":{"type":"string|null","description":"User IP address, null if not available"},"visibility":"protected","since":"2.0.28"},"loadCookies":{"signature":"protected function loadCookies(): array","summary":"Converts `$_COOKIE` into an array of `yii\\web\\Cookie`.","return":{"type":"array","description":"The cookies obtained from request"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$cookieValidationKey` is not set when `$enableCookieValidation` is true"}],"visibility":"protected"},"loadCsrfToken":{"signature":"protected function loadCsrfToken(): string|null","summary":"Loads the CSRF token from cookie or session.","return":{"type":"string|null","description":"The CSRF token loaded from cookie or session. Null is returned if the cookie or session does not have CSRF token."},"visibility":"protected"},"parseAcceptHeader":{"signature":"public function parseAcceptHeader(string $header): array","summary":"Parses the given `Accept` (or `Accept-Language`) header.","params":[{"name":"$header","type":"string","description":"The header to be parsed"}],"return":{"type":"array","description":"The acceptable values ordered by their quality score. The values with the highest scores will be returned first."}},"post":{"signature":"public function post(string|null $name = null, mixed $defaultValue = null): mixed","summary":"Returns POST parameter with a given name. If name isn't specified, returns an array of all POST parameters.","params":[{"name":"$name","type":"string|null","default":"null","optional":true,"description":"The parameter name"},{"name":"$defaultValue","type":"mixed","default":"null","optional":true,"description":"The default parameter value if the parameter does not exist."}],"return":{"type":"mixed"}},"resolve":{"signature":"public function resolve(): array","summary":"Resolves the current request into a route and the associated parameters.","return":{"type":"array","description":"The first element is the route, and the second is the associated parameters."},"throws":[{"type":"yii\\web\\NotFoundHttpException","description":"if the request cannot be resolved."}]},"resolvePathInfo":{"signature":"protected function resolvePathInfo(): string","summary":"Resolves the path info part of the currently requested URL.","return":{"type":"string","description":"Part of the request URL that is after the entry script and before the question mark. Note, the returned path info is decoded."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the path info cannot be determined due to unexpected server configuration"}],"visibility":"protected"},"resolveRequestUri":{"signature":"protected function resolveRequestUri(): string|bool","summary":"Resolves the request URI portion for the currently requested URL.","return":{"type":"string|bool","description":"The request URI portion for the currently requested URL. Note that the URI returned may be URL-encoded depending on the client."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the request URI cannot be determined due to unusual server configuration"}],"visibility":"protected"},"setAcceptableContentTypes":{"signature":"public function setAcceptableContentTypes(array $value): mixed","summary":"Sets the acceptable content types.","params":[{"name":"$value","type":"array","description":"The content types that are acceptable by the end user. They should be ordered by the preference level."}],"return":{"type":"mixed"}},"setAcceptableLanguages":{"signature":"public function setAcceptableLanguages(array $value): mixed","params":[{"name":"$value","type":"array","description":"The languages that are acceptable by the end user. They should be ordered by the preference level."}],"return":{"type":"mixed"}},"setBaseUrl":{"signature":"public function setBaseUrl(string $value): mixed","summary":"Sets the relative URL for the application.","params":[{"name":"$value","type":"string","description":"The relative URL for the application"}],"return":{"type":"mixed"}},"setBodyParams":{"signature":"public function setBodyParams(mixed $values): mixed","summary":"Sets the request body parameters.","params":[{"name":"$values","type":"mixed","description":"The request body parameters (name-value pairs)"}],"return":{"type":"mixed"}},"setHostInfo":{"signature":"public function setHostInfo(string|null $value): mixed","summary":"Sets the schema and host part of the application URL.","params":[{"name":"$value","type":"string|null","description":"The schema and host part of the application URL. The trailing slashes will be removed."}],"return":{"type":"mixed"}},"setPathInfo":{"signature":"public function setPathInfo(string $value): mixed","summary":"Sets the path info of the current request.","params":[{"name":"$value","type":"string","description":"The path info of the current request"}],"return":{"type":"mixed"}},"setPort":{"signature":"public function setPort(int $value): mixed","summary":"Sets the port to use for insecure requests.","params":[{"name":"$value","type":"int","description":"Port number."}],"return":{"type":"mixed"}},"setQueryParams":{"signature":"public function setQueryParams(array $values): mixed","summary":"Sets the request `$queryString` parameters.","params":[{"name":"$values","type":"array","description":"The request query parameters (name-value pairs)"}],"return":{"type":"mixed"}},"setRawBody":{"signature":"public function setRawBody(string $rawBody): mixed","summary":"Sets the raw HTTP request body, this method is mainly used by test scripts to simulate raw HTTP requests.","params":[{"name":"$rawBody","type":"string","description":"The request body"}],"return":{"type":"mixed"}},"setScriptFile":{"signature":"public function setScriptFile(string $value): mixed","summary":"Sets the entry script file path.","params":[{"name":"$value","type":"string","description":"The entry script file path."}],"return":{"type":"mixed"}},"setScriptUrl":{"signature":"public function setScriptUrl(string $value): mixed","summary":"Sets the relative URL for the application entry script.","params":[{"name":"$value","type":"string","description":"The relative URL for the application entry script."}],"return":{"type":"mixed"}},"setSecurePort":{"signature":"public function setSecurePort(int $value): mixed","summary":"Sets the port to use for secure requests.","params":[{"name":"$value","type":"int","description":"Port number."}],"return":{"type":"mixed"}},"setUrl":{"signature":"public function setUrl(string $value): mixed","summary":"Sets the currently requested relative URL.","params":[{"name":"$value","type":"string","description":"The request URI to be set"}],"return":{"type":"mixed"}},"validateCsrfToken":{"signature":"public function validateCsrfToken(string|null $clientSuppliedToken = null): bool","summary":"Performs the CSRF validation.","params":[{"name":"$clientSuppliedToken","type":"string|null","default":"null","optional":true,"description":"The user-provided CSRF token to be validated. If null, the token will be retrieved from the `$csrfParam` POST field or HTTP header. This parameter is available since version 2.0.4."}],"return":{"type":"bool","description":"Whether CSRF token is valid. If `$enableCsrfValidation` is false, this method will return true."}}},"constants":{"CSRF_HEADER":{"value":"'X-CSRF-Token'","description":"Default name of the HTTP header for sending CSRF token."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","isConsoleRequest":"yii\\base\\Request"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getIsConsoleRequest":"yii\\base\\Request","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","setIsConsoleRequest":"yii\\base\\Request","trigger":"yii\\base\\Component"}}},"yii\\web\\RequestParserInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/web/requestparserinterface/","summary":"Interface for classes that parse the raw request body into a parameters array.","since":"2.0","methods":{"parse":{"signature":"abstract public function parse(string $rawBody, string $contentType): mixed","summary":"Parses a HTTP request body.","params":[{"name":"$rawBody","type":"string","description":"The raw HTTP request body."},{"name":"$contentType","type":"string","description":"The content type specified for the request body."}],"return":{"type":"mixed","description":"Parameters parsed from the request body"},"abstract":true}}},"yii\\web\\Response":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/response/","summary":"The web Response class represents an HTTP response.","since":"2.0","extends":"yii\\base\\Response","implements":["yii\\base\\Configurable"],"properties":{"acceptMimeType":{"type":"string|null","default":"null","description":"The MIME type (e.g. `application/json`) from the request ACCEPT header chosen for this response."},"acceptParams":{"type":"array","default":"[]","description":"The parameters (e.g. `['q' => 1, 'version' => '1.0']`) associated with the chosen MIME type (`$acceptMimeType`)."},"charset":{"type":"string|null","default":"null","description":"The charset of the text response."},"content":{"type":"string|null","default":"null","description":"The response content."},"cookies":{"type":"yii\\web\\CookieCollection","description":"The cookie collection.","access":"read-only","virtual":true},"data":{"type":"mixed","default":"null","description":"The original response data."},"downloadHeaders":{"type":"string","description":"The attachment file name.","access":"write-only","virtual":true},"format":{"type":"string","default":"self::FORMAT_HTML","description":"The response format."},"formatters":{"type":"array","default":"[]","description":"The formatters for converting data into the response content of the specified `$format`."},"headers":{"type":"yii\\web\\HeaderCollection","description":"The header collection.","access":"read-only","virtual":true},"httpStatuses":{"type":"array","default":"[100 => 'Continue', 101 => 'Switching Protocols', 102 => 'Processing', 118 => 'Connection timed out', 200 => 'OK', 201 => 'Created', 202 => 'Accepted', 203 => 'Non-Authoritative', 204 => 'No Content', 205 => 'Reset Content', 206 => 'Partial Content', 207 => 'Multi-Status', 208 => 'Already Reported', 210 => 'Content Different', 226 => 'IM Used', 300 => 'Multiple Choices', 301 => 'Moved Permanently', 302 => 'Found', 303 => 'See Other', 304 => 'Not Modified', 305 => 'Use Proxy', 306 => 'Reserved', 307 => 'Temporary Redirect', 308 => 'Permanent Redirect', 310 => 'Too many Redirect', 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required', 403 => 'Forbidden', 404 => 'Not Found', 405 => 'Method Not Allowed', 406 => 'Not Acceptable', 407 => 'Proxy Authentication Required', 408 => 'Request Time-out', 409 => 'Conflict', 410 => 'Gone', 411 => 'Length Required', 412 => 'Precondition Failed', 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Long', 415 => 'Unsupported Media Type', 416 => 'Requested range unsatisfiable', 417 => 'Expectation failed', 418 => 'I\\'m a teapot', 421 => 'Misdirected Request', 422 => 'Unprocessable entity', 423 => 'Locked', 424 => 'Method failure', 425 => 'Unordered Collection', 426 => 'Upgrade Required', 428 => 'Precondition Required', 429 => 'Too Many Requests', 431 => 'Request Header Fields Too Large', 449 => 'Retry With', 450 => 'Blocked by Windows Parental Controls', 451 => 'Unavailable For Legal Reasons', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway or Proxy Error', 503 => 'Service Unavailable', 504 => 'Gateway Time-out', 505 => 'HTTP Version not supported', 507 => 'Insufficient storage', 508 => 'Loop Detected', 509 => 'Bandwidth Limit Exceeded', 510 => 'Not Extended', 511 => 'Network Authentication Required']","description":"List of HTTP status codes and the corresponding texts","static":true},"isClientError":{"type":"bool","description":"Whether this response indicates a client error.","access":"read-only","virtual":true},"isEmpty":{"type":"bool","description":"Whether this response is empty.","access":"read-only","virtual":true},"isForbidden":{"type":"bool","description":"Whether this response indicates the current request is forbidden.","access":"read-only","virtual":true},"isInformational":{"type":"bool","description":"Whether this response is informational.","access":"read-only","virtual":true},"isInvalid":{"type":"bool","description":"Whether this response has a valid `$statusCode`.","access":"read-only","virtual":true},"isNotFound":{"type":"bool","description":"Whether this response indicates the currently requested resource is not found.","access":"read-only","virtual":true},"isOk":{"type":"bool","description":"Whether this response is OK.","access":"read-only","virtual":true},"isRedirection":{"type":"bool","description":"Whether this response is a redirection.","access":"read-only","virtual":true},"isSent":{"type":"bool","default":"false","description":"Whether the response has been sent."},"isServerError":{"type":"bool","description":"Whether this response indicates a server error.","access":"read-only","virtual":true},"isSuccessful":{"type":"bool","description":"Whether this response is successful.","access":"read-only","virtual":true},"statusCode":{"type":"int","description":"The HTTP status code to send with the response.","virtual":true},"statusCodeByException":{"type":"Throwable","description":"The exception object.","access":"write-only","virtual":true},"statusText":{"type":"string","default":"'OK'","description":"The HTTP status description that comes together with the status code."},"stream":{"type":"resource|array|callable|null","default":"null","description":"The stream to be sent."},"version":{"type":"string|null","default":"null","description":"The version of the HTTP protocol to use."}},"methods":{"clear":{"signature":"public function clear(): mixed","summary":"Clears the headers, cookies, content, status code of the response.","return":{"type":"mixed"}},"defaultFormatters":{"signature":"protected function defaultFormatters(): array","return":{"type":"array","description":"The formatters that are supported by default"},"visibility":"protected"},"getCookies":{"signature":"public function getCookies(): yii\\web\\CookieCollection","summary":"Returns the cookie collection.","return":{"type":"yii\\web\\CookieCollection","description":"The cookie collection."}},"getDispositionHeaderValue":{"signature":"protected function getDispositionHeaderValue(string $disposition, string $attachmentName): string","summary":"Returns Content-Disposition header value that is safe to use with both old and new browsers.","params":[{"name":"$disposition","type":"string"},{"name":"$attachmentName","type":"string"}],"return":{"type":"string"},"visibility":"protected","since":"2.0.10"},"getHeaders":{"signature":"public function getHeaders(): yii\\web\\HeaderCollection","summary":"Returns the header collection.","return":{"type":"yii\\web\\HeaderCollection","description":"The header collection"}},"getHttpRange":{"signature":"protected function getHttpRange(int $fileSize): array|bool","summary":"Determines the HTTP range given in the request.","params":[{"name":"$fileSize","type":"int","description":"The size of the file that will be used to validate the requested HTTP range."}],"return":{"type":"array|bool","description":"The range (begin, end), or false if the range request is invalid."},"visibility":"protected"},"getIsClientError":{"signature":"public function getIsClientError(): bool","return":{"type":"bool","description":"Whether this response indicates a client error"}},"getIsEmpty":{"signature":"public function getIsEmpty(): bool","return":{"type":"bool","description":"Whether this response is empty"}},"getIsForbidden":{"signature":"public function getIsForbidden(): bool","return":{"type":"bool","description":"Whether this response indicates the current request is forbidden"}},"getIsInformational":{"signature":"public function getIsInformational(): bool","return":{"type":"bool","description":"Whether this response is informational"}},"getIsInvalid":{"signature":"public function getIsInvalid(): bool","return":{"type":"bool","description":"Whether this response has a valid `$statusCode`."}},"getIsNotFound":{"signature":"public function getIsNotFound(): bool","return":{"type":"bool","description":"Whether this response indicates the currently requested resource is not found"}},"getIsOk":{"signature":"public function getIsOk(): bool","return":{"type":"bool","description":"Whether this response is OK"}},"getIsRedirection":{"signature":"public function getIsRedirection(): bool","return":{"type":"bool","description":"Whether this response is a redirection"}},"getIsServerError":{"signature":"public function getIsServerError(): bool","return":{"type":"bool","description":"Whether this response indicates a server error"}},"getIsSuccessful":{"signature":"public function getIsSuccessful(): bool","return":{"type":"bool","description":"Whether this response is successful"}},"getStatusCode":{"signature":"public function getStatusCode(): int","return":{"type":"int","description":"The HTTP status code to send with the response."}},"init":{"signature":"public function init(): mixed","summary":"Initializes this component.","return":{"type":"mixed"}},"prepare":{"signature":"protected function prepare(): mixed","summary":"Prepares for sending the response.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the formatter for the specified format is invalid or `$format` is not supported"}],"visibility":"protected"},"redirect":{"signature":"public function redirect(string|array $url, int $statusCode = 302, bool $checkAjax = true): $this","summary":"Redirects the browser to the specified URL.","params":[{"name":"$url","type":"string|array","description":"The URL to be redirected to. This can be in one of the following formats: - a string representing a URL (e.g. \"https://example.com\") - a string representing a URL alias (e.g. \"@example.com\") - an array in the format of `[$route, ...name-value pairs...]` (e.g. `['site/index', 'ref' => 1]`). Note that the route is with respect to the whole application, instead of relative to a controller or module. `yii\\helpers\\Url::to()` will be used to convert the array into a URL. Any relative URL that starts with a single forward slash \"/\" will be converted into an absolute one by prepending it with the host info of the current request."},{"name":"$statusCode","type":"int","default":"302","optional":true,"description":"The HTTP status code. Defaults to 302. See <https://tools.ietf.org/html/rfc2616#section-10> for details about HTTP status code"},{"name":"$checkAjax","type":"bool","default":"true","optional":true,"description":"Whether to specially handle AJAX (and PJAX) requests. Defaults to true, meaning if the current request is an AJAX or PJAX request, then calling this method will cause the browser to redirect to the given URL. If this is false, a `Location` header will be sent, which when received as an AJAX/PJAX response, may NOT cause browser redirection. Takes effect only when request header `X-Ie-Redirect-Compatibility` is absent."}],"return":{"type":"$this","description":"The response object itself"}},"refresh":{"signature":"public function refresh(string $anchor = ''): yii\\web\\Response","summary":"Refreshes the current page.","params":[{"name":"$anchor","type":"string","default":"''","optional":true,"description":"The anchor that should be appended to the redirection URL. Defaults to empty. Make sure the anchor starts with '#' if you want to specify it."}],"return":{"type":"yii\\web\\Response","description":"The response object itself"}},"send":{"signature":"public function send(): mixed","summary":"Sends the response to the client.","return":{"type":"mixed"}},"sendContent":{"signature":"protected function sendContent(): mixed","summary":"Sends the response content to the client.","return":{"type":"mixed"},"visibility":"protected"},"sendContentAsFile":{"signature":"public function sendContentAsFile(string $content, string $attachmentName, array $options = []): $this","summary":"Sends the specified content as a file to the browser.","params":[{"name":"$content","type":"string","description":"The content to be sent. The existing `$content` will be discarded."},{"name":"$attachmentName","type":"string","description":"The file name shown to the user."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Additional options for sending the file. The following options are supported: - `mimeType`: the MIME type of the content. Defaults to 'application/octet-stream'. - `inline`: boolean, whether the browser should open the file within the browser window. Defaults to false, meaning a download dialog will pop up."}],"return":{"type":"$this","description":"The response object itself"},"throws":[{"type":"yii\\web\\RangeNotSatisfiableHttpException","description":"if the requested range is not satisfiable"}]},"sendCookies":{"signature":"protected function sendCookies(): mixed","summary":"Sends the cookies to the client.","return":{"type":"mixed"},"visibility":"protected"},"sendFile":{"signature":"public function sendFile(string $filePath, string|null $attachmentName = null, array $options = []): $this","summary":"Sends a file to the browser.","params":[{"name":"$filePath","type":"string","description":"The path of the file to be sent."},{"name":"$attachmentName","type":"string|null","default":"null","optional":true,"description":"The file name shown to the user. If null, it will be determined from `$filePath`."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Additional options for sending the file. The following options are supported: - `mimeType`: the MIME type of the content. If not set, it will be guessed based on `$filePath` - `inline`: boolean, whether the browser should open the file within the browser window. Defaults to false, meaning a download dialog will pop up."}],"return":{"type":"$this","description":"The response object itself"}},"sendHeaders":{"signature":"protected function sendHeaders(): mixed","summary":"Sends the response headers to the client.","return":{"type":"mixed"},"visibility":"protected"},"sendStreamAsFile":{"signature":"public function sendStreamAsFile(resource $handle, string $attachmentName, array $options = []): $this","summary":"Sends the specified stream as a file to the browser.","params":[{"name":"$handle","type":"resource","description":"The handle of the stream to be sent."},{"name":"$attachmentName","type":"string","description":"The file name shown to the user."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Additional options for sending the file. The following options are supported: - `mimeType`: the MIME type of the content. Defaults to 'application/octet-stream'. - `inline`: boolean, whether the browser should open the file within the browser window. Defaults to false, meaning a download dialog will pop up. - `fileSize`: the size of the content to stream this is useful when size of the content is known and the content is not seekable. Defaults to content size using `ftell()`. This option is available since version 2.0.4."}],"return":{"type":"$this","description":"The response object itself"},"throws":[{"type":"yii\\web\\RangeNotSatisfiableHttpException","description":"if the requested range is not satisfiable"}]},"setDownloadHeaders":{"signature":"public function setDownloadHeaders(string $attachmentName, string|null $mimeType = null, bool $inline = false, int|null $contentLength = null): $this","summary":"Sets a default set of HTTP headers for file downloading purpose.","params":[{"name":"$attachmentName","type":"string","description":"The attachment file name"},{"name":"$mimeType","type":"string|null","default":"null","optional":true,"description":"The MIME type for the response. If null, `Content-Type` header will NOT be set."},{"name":"$inline","type":"bool","default":"false","optional":true,"description":"Whether the browser should open the file within the browser window. Defaults to false, meaning a download dialog will pop up."},{"name":"$contentLength","type":"int|null","default":"null","optional":true,"description":"The byte length of the file being downloaded. If null, `Content-Length` header will NOT be set."}],"return":{"type":"$this","description":"The response object itself"}},"setStatusCode":{"signature":"public function setStatusCode(int $value, string|null $text = null): $this","summary":"Sets the response status code.","params":[{"name":"$value","type":"int","description":"The status code"},{"name":"$text","type":"string|null","default":"null","optional":true,"description":"The status text. If not set, it will be set automatically based on the status code."}],"return":{"type":"$this","description":"The response object itself"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the status code is invalid."}]},"setStatusCodeByException":{"signature":"public function setStatusCodeByException(Throwable $e): $this","summary":"Sets the response status code based on the exception.","params":[{"name":"$e","type":"Throwable","description":"The exception object."}],"return":{"type":"$this","description":"The response object itself"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the status code is invalid."}],"since":"2.0.12"},"xSendFile":{"signature":"public function xSendFile(string $filePath, string|null $attachmentName = null, array $options = []): $this","summary":"Sends existing file to a browser as a download using x-sendfile.","params":[{"name":"$filePath","type":"string","description":"File name with full path"},{"name":"$attachmentName","type":"string|null","default":"null","optional":true,"description":"File name shown to the user. If null, it will be determined from `$filePath`."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Additional options for sending the file. The following options are supported: - `mimeType`: the MIME type of the content. If not set, it will be guessed based on `$filePath` - `inline`: boolean, whether the browser should open the file within the browser window. Defaults to false, meaning a download dialog will pop up. - xHeader: string, the name of the x-sendfile header. Defaults to \"X-Sendfile\"."}],"return":{"type":"$this","description":"The response object itself"}}},"constants":{"FORMAT_RAW":{"value":"'raw'"},"FORMAT_HTML":{"value":"'html'"},"FORMAT_JSON":{"value":"'json'"},"FORMAT_JSONP":{"value":"'jsonp'"},"FORMAT_XML":{"value":"'xml'"}},"events":{"EVENT_BEFORE_SEND":{"value":"'beforeSend'","type":"yii\\base\\Event","description":"An event that is triggered at the beginning of `send()`."},"EVENT_AFTER_SEND":{"value":"'afterSend'","type":"yii\\base\\Event","description":"An event that is triggered at the end of `send()`."},"EVENT_AFTER_PREPARE":{"value":"'afterPrepare'","type":"yii\\base\\Event","description":"An event that is triggered right after `prepare()` is called in `send()`."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","exitStatus":"yii\\base\\Response"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","clearOutputBuffers":"yii\\base\\Response","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\ResponseFormatterInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/web/responseformatterinterface/","summary":"ResponseFormatterInterface specifies the interface needed to format a response before it is sent out.","since":"2.0","methods":{"format":{"signature":"abstract public function format(yii\\web\\Response $response): mixed","summary":"Formats the specified response.","params":[{"name":"$response","type":"yii\\web\\Response","description":"The response to be formatted."}],"return":{"type":"mixed"},"abstract":true}}},"yii\\web\\ServerErrorHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/servererrorhttpexception/","summary":"ServerErrorHttpException represents an \"Internal Server Error\" HTTP exception with status code 500.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\Session":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/session/","summary":"Session provides session data management and the related configurations.","since":"2.0","extends":"yii\\base\\Component","implements":["IteratorAggregate","ArrayAccess","Countable","yii\\base\\Configurable"],"properties":{"_forceRegenerateId":{"type":"string|null","default":"null","description":"Holds the session id in case useStrictMode is enabled and the session id needs to be regenerated","visibility":"protected"},"_originalSessionModule":{"type":"string|null","default":"null","description":"Holds the original session module (before a custom handler is registered) so that it can be restored when a Session component without custom handler is used after one that has.","visibility":"protected","static":true},"allFlashes":{"type":"array","description":"Flash messages (key => message or key => [message1, message2]).","access":"read-only","virtual":true},"cacheLimiter":{"type":"string","description":"Current cache limiter.","virtual":true},"cookieParams":{"type":"array","description":"The session cookie parameters.","virtual":true},"count":{"type":"int","description":"The number of session variables.","access":"read-only","virtual":true},"flash":{"type":"string","description":"The key identifying the flash message.","access":"write-only","virtual":true},"flashParam":{"type":"string","default":"'__flash'","description":"The name of the session variable that stores the flash message data."},"gCProbability":{"type":"float","description":"The probability (percentage) that the GC (garbage collection) process is started on every session initialization.","virtual":true},"handler":{"type":"SessionHandlerInterface|array","default":"null","description":"An object implementing the SessionHandlerInterface or a configuration array."},"hasSessionId":{"type":"bool","description":"Whether the current request has sent the session ID.","virtual":true},"id":{"type":"string","description":"The current session ID.","virtual":true},"isActive":{"type":"bool","description":"Whether the session has started.","access":"read-only","virtual":true},"iterator":{"type":"yii\\web\\SessionIterator","description":"An iterator for traversing the session variables.","access":"read-only","virtual":true},"name":{"type":"string","description":"The current session name.","virtual":true},"savePath":{"type":"string","description":"The current session save path, defaults to '/tmp'.","virtual":true},"timeout":{"type":"int","description":"The number of seconds after which data will be seen as 'garbage' and cleaned up.","virtual":true},"useCookies":{"type":"bool|null","description":"The value indicating whether cookies should be used to store session IDs.","virtual":true},"useCustomStorage":{"type":"bool","description":"Whether to use custom storage.","access":"read-only","virtual":true},"useStrictMode":{"type":"bool","description":"Whether strict mode is enabled or not.","virtual":true},"useTransparentSessionID":{"type":"bool","description":"Whether transparent sid support is enabled or not, defaults to false.","virtual":true}},"methods":{"addFlash":{"signature":"public function addFlash(string $key, mixed $value = true, bool $removeAfterAccess = true): mixed","summary":"Adds a flash message.","params":[{"name":"$key","type":"string","description":"The key identifying the flash message."},{"name":"$value","type":"mixed","default":"true","optional":true,"description":"Flash message"},{"name":"$removeAfterAccess","type":"bool","default":"true","optional":true,"description":"Whether the flash message should be automatically removed only if it is accessed. If false, the flash message will be automatically removed after the next request, regardless if it is accessed or not. If true (default value), the flash message will remain until after it is accessed."}],"return":{"type":"mixed"}},"close":{"signature":"public function close(): mixed","summary":"Ends the current session and store session data.","return":{"type":"mixed"}},"count":{"signature":"public function count(): int","summary":"Returns the number of items in the session.","return":{"type":"int","description":"Number of items in the session."}},"destroy":{"signature":"public function destroy(): mixed","summary":"Frees all session variables and destroys all data registered to a session.","return":{"type":"mixed"}},"freeze":{"signature":"protected function freeze(): mixed","summary":"If session is started it's not possible to edit session ini settings. In PHP7.2+ it throws exception.","return":{"type":"mixed"},"visibility":"protected","since":"2.0.14"},"get":{"signature":"public function get(string $key, mixed $defaultValue = null): mixed","summary":"Returns the session variable value with the session variable name.","params":[{"name":"$key","type":"string","description":"The session variable name"},{"name":"$defaultValue","type":"mixed","default":"null","optional":true,"description":"The default value to be returned when the session variable does not exist."}],"return":{"type":"mixed","description":"The session variable value, or $defaultValue if the session variable does not exist."}},"getAllFlashes":{"signature":"public function getAllFlashes(bool $delete = false): array","summary":"Returns all flash messages.","params":[{"name":"$delete","type":"bool","default":"false","optional":true,"description":"Whether to delete the flash messages right after this method is called. If false, the flash messages will be automatically deleted in the next request."}],"return":{"type":"array","description":"Flash messages (key => message or key => [message1, message2])."}},"getCacheLimiter":{"signature":"public function getCacheLimiter(): string","summary":"Returns current cache limiter","return":{"type":"string","description":"Current cache limiter"},"since":"2.0.14"},"getCookieParams":{"signature":"public function getCookieParams(): array","return":{"type":"array","description":"The session cookie parameters."}},"getCount":{"signature":"public function getCount(): int","summary":"Returns the number of items in the session.","return":{"type":"int","description":"The number of session variables"}},"getFlash":{"signature":"public function getFlash(string $key, mixed $defaultValue = null, bool $delete = false): mixed","summary":"Returns a flash message.","params":[{"name":"$key","type":"string","description":"The key identifying the flash message"},{"name":"$defaultValue","type":"mixed","default":"null","optional":true,"description":"Value to be returned if the flash message does not exist."},{"name":"$delete","type":"bool","default":"false","optional":true,"description":"Whether to delete this flash message right after this method is called. If false, the flash message will be automatically deleted in the next request."}],"return":{"type":"mixed","description":"The flash message or an array of messages if addFlash was used"}},"getGCProbability":{"signature":"public function getGCProbability(): float","return":{"type":"float","description":"The probability (percentage) that the GC (garbage collection) process is started on every session initialization."}},"getHasSessionId":{"signature":"public function getHasSessionId(): bool","summary":"Returns a value indicating whether the current request has sent the session ID.","return":{"type":"bool","description":"Whether the current request has sent the session ID."}},"getId":{"signature":"public function getId(): string","summary":"Gets the session ID.","return":{"type":"string","description":"The current session ID"}},"getIsActive":{"signature":"public function getIsActive(): bool","return":{"type":"bool","description":"Whether the session has started"}},"getIterator":{"signature":"public function getIterator(): yii\\web\\SessionIterator","summary":"Returns an iterator for traversing the session variables.","return":{"type":"yii\\web\\SessionIterator","description":"An iterator for traversing the session variables."}},"getName":{"signature":"public function getName(): string","summary":"Gets the name of the current session.","return":{"type":"string","description":"The current session name"}},"getSavePath":{"signature":"public function getSavePath(): string","summary":"Gets the current session save path.","return":{"type":"string","description":"The current session save path, defaults to '/tmp'."}},"getTimeout":{"signature":"public function getTimeout(): int","return":{"type":"int","description":"The number of seconds after which data will be seen as 'garbage' and cleaned up. The default value is 1440 seconds (or the value of \"session.gc_maxlifetime\" set in php.ini)."}},"getUseCookies":{"signature":"public function getUseCookies(): bool|null","summary":"Returns the value indicating whether cookies should be used to store session IDs.","return":{"type":"bool|null","description":"The value indicating whether cookies should be used to store session IDs."}},"getUseCustomStorage":{"signature":"public function getUseCustomStorage(): bool","summary":"Returns a value indicating whether to use custom session storage.","return":{"type":"bool","description":"Whether to use custom storage."}},"getUseStrictMode":{"signature":"public function getUseStrictMode(): bool","return":{"type":"bool","description":"Whether strict mode is enabled or not."},"since":"2.0.38"},"getUseTransparentSessionID":{"signature":"public function getUseTransparentSessionID(): bool","return":{"type":"bool","description":"Whether transparent sid support is enabled or not, defaults to false."}},"has":{"signature":"public function has(mixed $key): bool","params":[{"name":"$key","type":"mixed","description":"Session variable name"}],"return":{"type":"bool","description":"Whether there is the named session variable"}},"hasFlash":{"signature":"public function hasFlash(string $key): bool","summary":"Returns a value indicating whether there are flash messages associated with the specified key.","params":[{"name":"$key","type":"string","description":"Key identifying the flash message type"}],"return":{"type":"bool","description":"Whether any flash messages exist under specified key"}},"init":{"signature":"public function init(): mixed","summary":"Initializes the application component.","return":{"type":"mixed"}},"offsetExists":{"signature":"public function offsetExists(int|string $offset): bool","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to check on"}],"return":{"type":"bool"}},"offsetGet":{"signature":"public function offsetGet(int|string $offset): mixed","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to retrieve element."}],"return":{"type":"mixed","description":"The element at the offset, null if no element is found at the offset"}},"offsetSet":{"signature":"public function offsetSet(int|string $offset, mixed $item): mixed","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to set element"},{"name":"$item","type":"mixed","description":"The element value"}],"return":{"type":"mixed"}},"offsetUnset":{"signature":"public function offsetUnset(int|string $offset): mixed","summary":"This method is required by the interface `ArrayAccess`.","params":[{"name":"$offset","type":"int|string","description":"The offset to unset element"}],"return":{"type":"mixed"}},"open":{"signature":"public function open(): mixed","summary":"Starts the session.","return":{"type":"mixed"}},"regenerateID":{"signature":"public function regenerateID(bool $deleteOldSession = false): mixed","summary":"Updates the current session ID with a newly generated one.","params":[{"name":"$deleteOldSession","type":"bool","default":"false","optional":true,"description":"Whether to delete the old associated session file or not."}],"return":{"type":"mixed"}},"registerSessionHandler":{"signature":"protected function registerSessionHandler(): mixed","summary":"Registers session handler.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"visibility":"protected"},"remove":{"signature":"public function remove(string $key): mixed","summary":"Removes a session variable.","params":[{"name":"$key","type":"string","description":"The name of the session variable to be removed"}],"return":{"type":"mixed","description":"The removed value, null if no such session variable."}},"removeAll":{"signature":"public function removeAll(): mixed","summary":"Removes all session variables.","return":{"type":"mixed"}},"removeAllFlashes":{"signature":"public function removeAllFlashes(): mixed","summary":"Removes all flash messages.","return":{"type":"mixed"}},"removeFlash":{"signature":"public function removeFlash(string $key): mixed","summary":"Removes a flash message.","params":[{"name":"$key","type":"string","description":"The key identifying the flash message. Note that flash messages and normal session variables share the same name space. If you have a normal session variable using the same name, it will be removed by this method."}],"return":{"type":"mixed","description":"The removed flash message. Null if the flash message does not exist."}},"set":{"signature":"public function set(string $key, mixed $value): mixed","summary":"Adds a session variable.","params":[{"name":"$key","type":"string","description":"Session variable name"},{"name":"$value","type":"mixed","description":"Session variable value"}],"return":{"type":"mixed"}},"setCacheLimiter":{"signature":"public function setCacheLimiter(string $cacheLimiter): mixed","summary":"Set cache limiter","params":[{"name":"$cacheLimiter","type":"string"}],"return":{"type":"mixed"},"since":"2.0.14"},"setCookieParams":{"signature":"public function setCookieParams(array $value): mixed","summary":"Sets the session cookie parameters.","params":[{"name":"$value","type":"array","description":"Cookie parameters, valid keys include: `lifetime`, `path`, `domain`, `secure`, `httponly` and `sameSite`. ``` [ 'sameSite' => yii\\web\\Cookie::SAME_SITE_LAX, ] ``` See https://owasp.org/www-community/SameSite for more information about `sameSite`."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the parameters are incomplete."}]},"setFlash":{"signature":"public function setFlash(string $key, mixed $value = true, bool $removeAfterAccess = true): mixed","summary":"Sets a flash message.","params":[{"name":"$key","type":"string","description":"The key identifying the flash message. Note that flash messages and normal session variables share the same name space. If you have a normal session variable using the same name, its value will be overwritten by this method."},{"name":"$value","type":"mixed","default":"true","optional":true,"description":"Flash message"},{"name":"$removeAfterAccess","type":"bool","default":"true","optional":true,"description":"Whether the flash message should be automatically removed only if it is accessed. If false, the flash message will be automatically removed after the next request, regardless if it is accessed or not. If true (default value), the flash message will remain until after it is accessed."}],"return":{"type":"mixed"}},"setGCProbability":{"signature":"public function setGCProbability(float $value): mixed","params":[{"name":"$value","type":"float","description":"The probability (percentage) that the GC (garbage collection) process is started on every session initialization."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the value is not between 0 and 100."}]},"setHasSessionId":{"signature":"public function setHasSessionId(bool $value): mixed","summary":"Sets the value indicating whether the current request has sent the session ID.","params":[{"name":"$value","type":"bool","description":"Whether the current request has sent the session ID."}],"return":{"type":"mixed"}},"setId":{"signature":"public function setId(string $value): mixed","summary":"Sets the session ID.","params":[{"name":"$value","type":"string","description":"The session ID for the current session"}],"return":{"type":"mixed"}},"setName":{"signature":"public function setName(string $value): mixed","summary":"Sets the name for the current session.","params":[{"name":"$value","type":"string","description":"The session name for the current session, must be an alphanumeric string. It defaults to \"PHPSESSID\"."}],"return":{"type":"mixed"}},"setSavePath":{"signature":"public function setSavePath(string $value): mixed","summary":"Sets the current session save path.","params":[{"name":"$value","type":"string","description":"The current session save path. This can be either a directory name or a [path alias](https://yii2-framework.github.io/docs/guide/concept-aliases/)."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidArgumentException","description":"if the path is not a valid directory"}]},"setTimeout":{"signature":"public function setTimeout(int $value): mixed","params":[{"name":"$value","type":"int","description":"The number of seconds after which data will be seen as 'garbage' and cleaned up"}],"return":{"type":"mixed"}},"setUseCookies":{"signature":"public function setUseCookies(bool|null $value): mixed","summary":"Sets the value indicating whether cookies should be used to store session IDs.","params":[{"name":"$value","type":"bool|null","description":"The value indicating whether cookies should be used to store session IDs."}],"return":{"type":"mixed"}},"setUseStrictMode":{"signature":"public function setUseStrictMode(bool $value): mixed","params":[{"name":"$value","type":"bool","description":"Whether strict mode is enabled or not. When `true` this setting prevents the session component to use an uninitialized session ID. Note: Enabling `useStrictMode` on PHP < 5.5.2 is only supported with custom storage classes. Warning! Although enabling strict mode is mandatory for secure sessions, the default value of 'session.use-strict-mode' is `0`."}],"return":{"type":"mixed"},"since":"2.0.38"},"setUseTransparentSessionID":{"signature":"public function setUseTransparentSessionID(bool $value): mixed","params":[{"name":"$value","type":"bool","description":"Whether transparent sid support is enabled or not."}],"return":{"type":"mixed"}},"unfreeze":{"signature":"protected function unfreeze(): mixed","summary":"Starts session and restores data from temporary variable","return":{"type":"mixed"},"visibility":"protected","since":"2.0.14"},"updateFlashCounters":{"signature":"protected function updateFlashCounters(): mixed","summary":"Updates the counters for flash messages and removes outdated flash messages.","return":{"type":"mixed"},"visibility":"protected"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\SessionHandler":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/sessionhandler/","summary":"SessionHandler implements an `SessionHandlerInterface` for handling `yii\\web\\Session` with custom session storage.","since":"2.0.52","implements":["SessionHandlerInterface"],"methods":{"__construct":{"signature":"public function __construct(yii\\web\\Session $session)","params":[{"name":"$session","type":"yii\\web\\Session"}]},"close":{"signature":"public function close(): bool","return":{"type":"bool"}},"destroy":{"signature":"public function destroy(mixed $id): bool","params":[{"name":"$id","type":"mixed"}],"return":{"type":"bool"}},"gc":{"signature":"public function gc(mixed $max_lifetime): mixed","params":[{"name":"$max_lifetime","type":"mixed"}],"return":{"type":"mixed"}},"open":{"signature":"public function open(mixed $path, mixed $name): bool","params":[{"name":"$path","type":"mixed"},{"name":"$name","type":"mixed"}],"return":{"type":"bool"}},"read":{"signature":"public function read(mixed $id): mixed","params":[{"name":"$id","type":"mixed"}],"return":{"type":"mixed"}},"write":{"signature":"public function write(mixed $id, mixed $data): bool","params":[{"name":"$id","type":"mixed"},{"name":"$data","type":"mixed"}],"return":{"type":"bool"}}}},"yii\\web\\SessionIterator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/sessioniterator/","summary":"SessionIterator implements an iterator (https://www.php.net/manual/en/class.iterator.php) for traversing session variables managed by `yii\\web\\Session`.","since":"2.0","implements":["Iterator"],"methods":{"__construct":{"signature":"public function __construct()","summary":"Constructor."},"current":{"signature":"public function current(): mixed","summary":"Returns the current array element.","return":{"type":"mixed","description":"The current array element"}},"key":{"signature":"public function key(): string|int|null","summary":"Returns the key of the current array element.","return":{"type":"string|int|null","description":"The key of the current array element"}},"next":{"signature":"public function next(): mixed","summary":"Moves the internal pointer to the next array element.","return":{"type":"mixed"}},"rewind":{"signature":"public function rewind(): mixed","summary":"Rewinds internal array pointer.","return":{"type":"mixed"}},"valid":{"signature":"public function valid(): bool","summary":"Returns whether there is an element at current position.","return":{"type":"bool"}}}},"yii\\web\\TooManyRequestsHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/toomanyrequestshttpexception/","summary":"TooManyRequestsHttpException represents a \"Too Many Requests\" HTTP exception with status code 429.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\UnauthorizedHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/unauthorizedhttpexception/","summary":"UnauthorizedHttpException represents an \"Unauthorized\" HTTP exception with status code 401.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\UnprocessableEntityHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/unprocessableentityhttpexception/","summary":"UnprocessableEntityHttpException represents an \"Unprocessable Entity\" HTTP exception with status code 422.","since":"2.0.7","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\UnsupportedMediaTypeHttpException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/unsupportedmediatypehttpexception/","summary":"UnsupportedMediaTypeHttpException represents an \"Unsupported Media Type\" HTTP exception with status code 415.","since":"2.0","extends":"yii\\web\\HttpException","methods":{"__construct":{"signature":"public function __construct(string|null $message = null, int $code = 0, Throwable|null $previous = null)","summary":"Constructor.","params":[{"name":"$message","type":"string|null","default":"null","optional":true,"description":"Error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"Error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining."}]}},"inherited":{"properties":{"statusCode":"yii\\web\\HttpException"},"methods":{"getName":"yii\\web\\HttpException"}}},"yii\\web\\UploadedFile":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/uploadedfile/","summary":"UploadedFile represents the information for an uploaded file.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"baseName":{"type":"string","description":"Original file base name.","access":"read-only","virtual":true},"error":{"type":"int","default":"null","description":"An error code describing the status of this file uploading."},"extension":{"type":"string","description":"File extension.","access":"read-only","virtual":true},"fullPath":{"type":"string|null","default":"null","description":"The full path as submitted by the browser.","since":"2.0.46"},"hasError":{"type":"bool","description":"Whether there is an error with the uploaded file.","access":"read-only","virtual":true},"name":{"type":"string","default":"null","description":"The original name of the file being uploaded"},"size":{"type":"int","default":"null","description":"The actual size of the uploaded file in bytes"},"tempName":{"type":"string","default":"null","description":"The path of the uploaded file on the server."},"type":{"type":"string","default":"null","description":"The MIME-type of the uploaded file (such as \"image/gif\")."}},"methods":{"__construct":{"signature":"public function __construct(array $config = [])","summary":"UploadedFile constructor.","params":[{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the object properties"}]},"__toString":{"signature":"public function __toString(): string","summary":"String output.","return":{"type":"string","description":"The string representation of the object"}},"copyTempFile":{"signature":"protected function copyTempFile(string $targetFile): int|false","summary":"Copy temporary file into file specified","params":[{"name":"$targetFile","type":"string","description":"Path of the file to copy to"}],"return":{"type":"int|false","description":"The total count of bytes copied, or false on failure"},"visibility":"protected","since":"2.0.32"},"getBaseName":{"signature":"public function getBaseName(): string","return":{"type":"string","description":"Original file base name"}},"getExtension":{"signature":"public function getExtension(): string","return":{"type":"string","description":"File extension"}},"getHasError":{"signature":"public function getHasError(): bool","return":{"type":"bool","description":"Whether there is an error with the uploaded file. Check `$error` for detailed error code information."}},"getInstance":{"signature":"public static function getInstance(yii\\base\\Model $model, string $attribute): yii\\web\\UploadedFile|null","summary":"Returns an uploaded file for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model"},{"name":"$attribute","type":"string","description":"The attribute name. The attribute name may contain array indexes. For example, '[1]file' for tabular file uploading; and 'file[1]' for an element in a file array."}],"return":{"type":"yii\\web\\UploadedFile|null","description":"The instance of the uploaded file. Null is returned if no file is uploaded for the specified model attribute."},"static":true},"getInstanceByName":{"signature":"public static function getInstanceByName(string $name): yii\\web\\UploadedFile|null","summary":"Returns an uploaded file according to the given file input name.","params":[{"name":"$name","type":"string","description":"The name of the file input field."}],"return":{"type":"yii\\web\\UploadedFile|null","description":"The instance of the uploaded file. Null is returned if no file is uploaded for the specified name."},"static":true},"getInstances":{"signature":"public static function getInstances(yii\\base\\Model $model, string $attribute): yii\\web\\UploadedFile[]","summary":"Returns all uploaded files for the given model attribute.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model"},{"name":"$attribute","type":"string","description":"The attribute name. The attribute name may contain array indexes for tabular file uploading, e.g. '[1]file'."}],"return":{"type":"yii\\web\\UploadedFile[]","description":"Array of UploadedFile objects. Empty array is returned if no available file was found for the given attribute."},"static":true},"getInstancesByName":{"signature":"public static function getInstancesByName(string $name): yii\\web\\UploadedFile[]","summary":"Returns an array of uploaded files corresponding to the specified file input name.","params":[{"name":"$name","type":"string","description":"The name of the array of files"}],"return":{"type":"yii\\web\\UploadedFile[]","description":"The array of UploadedFile objects. Empty array is returned if no adequate upload was found. Please note that this array will contain all files from all sub-arrays regardless how deeply nested they are."},"static":true},"reset":{"signature":"public static function reset(): mixed","summary":"Cleans up the loaded UploadedFile instances.","return":{"type":"mixed"},"static":true},"saveAs":{"signature":"public function saveAs(string $file, bool $deleteTempFile = true): bool","summary":"Saves the uploaded file.","params":[{"name":"$file","type":"string","description":"The file path or a path alias used to save the uploaded file."},{"name":"$deleteTempFile","type":"bool","default":"true","optional":true,"description":"Whether to delete the temporary file after saving. If true, you will not be able to save the uploaded file again in the current request."}],"return":{"type":"bool","description":"True whether the file is saved successfully"}}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\UrlManager":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/urlmanager/","summary":"UrlManager handles HTTP request parsing and creation of URLs based on a set of rules.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"baseUrl":{"type":"string","description":"The base URL that is used by `createUrl()` to prepend to created URLs.","virtual":true},"cache":{"type":"yii\\caching\\CacheInterface|array|string|bool|null","default":"'cache'","description":"The cache object or the application component ID of the cache object."},"cacheKey":{"type":"string","default":"__CLASS__","description":"The cache key for cached rules","visibility":"protected","since":"2.0.8"},"enablePrettyUrl":{"type":"bool","default":"false","description":"Whether to enable pretty URLs."},"enableStrictParsing":{"type":"bool","default":"false","description":"Whether to enable strict parsing."},"hostInfo":{"type":"string","description":"The host info (e.g. `https://www.example.com`) that is used by `createAbsoluteUrl()` to prepend to created URLs.","virtual":true},"normalizer":{"type":"yii\\web\\UrlNormalizer|array|string|false","default":"false","description":"The configuration for `yii\\web\\UrlNormalizer` used by this UrlManager.","since":"2.0.10"},"routeParam":{"type":"string","default":"'r'","description":"The GET parameter name for route."},"ruleConfig":{"type":"array","default":"['class' => 'yii\\web\\UrlRule']","description":"The default configuration of URL rules."},"rules":{"type":"array","default":"[]","description":"The rules for creating and parsing URLs when `$enablePrettyUrl` is `true`."},"scriptUrl":{"type":"string","description":"The entry script URL that is used by `createUrl()` to prepend to created URLs.","virtual":true},"showScriptName":{"type":"bool","default":"true","description":"Whether to show entry script name in the constructed URL."},"suffix":{"type":"string","default":"null","description":"The URL suffix used when `$enablePrettyUrl` is `true`."}},"methods":{"addRules":{"signature":"public function addRules(array $rules, bool $append = true): mixed","summary":"Adds additional URL rules.","params":[{"name":"$rules","type":"array","description":"The new rules to be added. Each array element represents a single rule declaration. Please refer to `$rules` for the acceptable rule format."},{"name":"$append","type":"bool","default":"true","optional":true,"description":"Whether to add the new rules by appending them to the end of the existing rules."}],"return":{"type":"mixed"}},"buildRules":{"signature":"protected function buildRules(array $ruleDeclarations): yii\\web\\UrlRuleInterface[]","summary":"Builds URL rule objects from the given rule declarations.","params":[{"name":"$ruleDeclarations","type":"array","description":"The rule declarations. Each array element represents a single rule declaration. Please refer to `$rules` for the acceptable rule formats."}],"return":{"type":"yii\\web\\UrlRuleInterface[]","description":"The rule objects built from the given rule declarations"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if a rule declaration is invalid"}],"visibility":"protected"},"canBeCached":{"signature":"protected function canBeCached(yii\\web\\UrlRuleInterface $rule): bool","summary":"Returns the value indicating whether result of `createUrl()` of rule should be cached in internal cache.","params":[{"name":"$rule","type":"yii\\web\\UrlRuleInterface"}],"return":{"type":"bool","description":"`true` if result should be cached, `false` if not."},"visibility":"protected","since":"2.0.12"},"createAbsoluteUrl":{"signature":"public function createAbsoluteUrl(string|array $params, string|null $scheme = null): string","summary":"Creates an absolute URL using the given route and query parameters.","params":[{"name":"$params","type":"string|array","description":"Use a string to represent a route (e.g. `site/index`), or an array to represent a route with query parameters (e.g. `['site/index', 'param1' => 'value1']`)."},{"name":"$scheme","type":"string|null","default":"null","optional":true,"description":"The scheme to use for the URL (either `http`, `https` or empty string for protocol-relative URL). If not specified the scheme of the current request will be used."}],"return":{"type":"string","description":"The created URL"}},"createUrl":{"signature":"public function createUrl(string|array $params): string","summary":"Creates a URL using the given route and query parameters.","params":[{"name":"$params","type":"string|array","description":"Use a string to represent a route (e.g. `site/index`), or an array to represent a route with query parameters (e.g. `['site/index', 'param1' => 'value1']`)."}],"return":{"type":"string","description":"The created URL"}},"getBaseUrl":{"signature":"public function getBaseUrl(): string","summary":"Returns the base URL that is used by `createUrl()` to prepend to created URLs.","return":{"type":"string","description":"The base URL that is used by `createUrl()` to prepend to created URLs."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if running in console application and `$baseUrl` is not configured."}]},"getBuiltRulesFromCache":{"signature":"protected function getBuiltRulesFromCache(array $ruleDeclarations): yii\\web\\UrlRuleInterface[]|false","summary":"Provides the built URL rules that are associated with the $ruleDeclarations from cache.","params":[{"name":"$ruleDeclarations","type":"array","description":"The rule declarations. Each array element represents a single rule declaration. Please refer to `$rules` for the acceptable rule formats."}],"return":{"type":"yii\\web\\UrlRuleInterface[]|false","description":"The rule objects built from the given rule declarations or boolean `false` when there are no cache items for this definition exists."},"visibility":"protected","since":"2.0.14"},"getHostInfo":{"signature":"public function getHostInfo(): string","summary":"Returns the host info that is used by `createAbsoluteUrl()` to prepend to created URLs.","return":{"type":"string","description":"The host info (e.g. `https://www.example.com`) that is used by `createAbsoluteUrl()` to prepend to created URLs."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if running in console application and `$hostInfo` is not configured."}]},"getScriptUrl":{"signature":"public function getScriptUrl(): string","summary":"Returns the entry script URL that is used by `createUrl()` to prepend to created URLs.","return":{"type":"string","description":"The entry script URL that is used by `createUrl()` to prepend to created URLs."},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if running in console application and `$scriptUrl` is not configured."}]},"getUrlFromCache":{"signature":"protected function getUrlFromCache(string $cacheKey, string $route, array $params): bool|string","summary":"Get URL from internal cache if exists.","params":[{"name":"$cacheKey","type":"string","description":"Generated cache key to store data."},{"name":"$route","type":"string","description":"The route (e.g. `site/index`)."},{"name":"$params","type":"array","description":"Rule params."}],"return":{"type":"bool|string","description":"The created URL"},"visibility":"protected","since":"2.0.8"},"init":{"signature":"public function init(): mixed","summary":"Initializes UrlManager.","return":{"type":"mixed"}},"parseRequest":{"signature":"public function parseRequest(yii\\web\\Request $request): array|bool","summary":"Parses the user request.","params":[{"name":"$request","type":"yii\\web\\Request","description":"The request component"}],"return":{"type":"array|bool","description":"The route and the associated parameters. The latter is always empty if `$enablePrettyUrl` is `false`. `false` is returned if the current request cannot be successfully parsed."}},"setBaseUrl":{"signature":"public function setBaseUrl(string $value): mixed","summary":"Sets the base URL that is used by `createUrl()` to prepend to created URLs.","params":[{"name":"$value","type":"string","description":"The base URL that is used by `createUrl()` to prepend to created URLs."}],"return":{"type":"mixed"}},"setBuiltRulesCache":{"signature":"protected function setBuiltRulesCache(array $ruleDeclarations, yii\\web\\UrlRuleInterface[] $builtRules): bool","summary":"Stores $builtRules to cache, using $rulesDeclaration as a part of cache key.","params":[{"name":"$ruleDeclarations","type":"array","description":"The rule declarations. Each array element represents a single rule declaration. Please refer to `$rules` for the acceptable rule formats."},{"name":"$builtRules","type":"yii\\web\\UrlRuleInterface[]","description":"The rule objects built from the given rule declarations."}],"return":{"type":"bool","description":"Whether the value is successfully stored into cache"},"visibility":"protected","since":"2.0.14"},"setHostInfo":{"signature":"public function setHostInfo(string $value): mixed","summary":"Sets the host info that is used by `createAbsoluteUrl()` to prepend to created URLs.","params":[{"name":"$value","type":"string","description":"The host info (e.g. \"https://www.example.com\") that is used by `createAbsoluteUrl()` to prepend to created URLs."}],"return":{"type":"mixed"}},"setRuleToCache":{"signature":"protected function setRuleToCache(mixed $cacheKey, yii\\web\\UrlRuleInterface $rule): mixed","summary":"Store rule (e.g. `yii\\web\\UrlRule`) to internal cache.","params":[{"name":"$cacheKey","type":"mixed"},{"name":"$rule","type":"yii\\web\\UrlRuleInterface"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.8"},"setScriptUrl":{"signature":"public function setScriptUrl(string $value): mixed","summary":"Sets the entry script URL that is used by `createUrl()` to prepend to created URLs.","params":[{"name":"$value","type":"string","description":"The entry script URL that is used by `createUrl()` to prepend to created URLs."}],"return":{"type":"mixed"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\UrlNormalizer":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/urlnormalizer/","summary":"UrlNormalizer normalizes URLs for `yii\\web\\UrlManager` and `yii\\web\\UrlRule`.","since":"2.0.10","extends":"yii\\base\\BaseObject","implements":["yii\\base\\Configurable"],"properties":{"action":{"type":"int|callable|null","default":"self::ACTION_REDIRECT_PERMANENT","description":"Action to perform during route normalization."},"collapseSlashes":{"type":"bool","default":"true","description":"Whether slashes should be collapsed, for example `site///index` will be converted into `site/index`"},"normalizeTrailingSlash":{"type":"bool","default":"true","description":"Whether trailing slash should be normalized according to the suffix settings of the rule"}},"methods":{"collapseSlashes":{"signature":"protected function collapseSlashes(string $pathInfo): string","summary":"Collapse consecutive slashes in $pathInfo, for example converts `site///index` into `site/index`.","params":[{"name":"$pathInfo","type":"string","description":"Raw path info."}],"return":{"type":"string","description":"Normalized path info."},"visibility":"protected"},"normalizePathInfo":{"signature":"public function normalizePathInfo(string $pathInfo, string $suffix, bool &$normalized = false): string","summary":"Normalizes specified pathInfo.","params":[{"name":"$pathInfo","type":"string","description":"PathInfo for normalization"},{"name":"$suffix","type":"string","description":"Current rule suffix"},{"name":"$normalized","type":"bool","default":"false","optional":true,"byReference":true,"description":"If specified, this variable will be set to `true` if $pathInfo was changed during normalization"}],"return":{"type":"string","description":"Normalized pathInfo"}},"normalizeRoute":{"signature":"public function normalizeRoute(array $route): array","summary":"Performs normalization action for the specified $route.","params":[{"name":"$route","type":"array","description":"Route for normalization"}],"return":{"type":"array","description":"Normalized route"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if invalid normalization action is used."},{"type":"yii\\web\\UrlNormalizerRedirectException","description":"if normalization requires redirection."},{"type":"yii\\web\\NotFoundHttpException","description":"if normalization suggests action matching route does not exist."}]},"normalizeTrailingSlash":{"signature":"protected function normalizeTrailingSlash(string $pathInfo, string $suffix): string","summary":"Adds or removes trailing slashes from $pathInfo depending on whether the $suffix has a trailing slash or not.","params":[{"name":"$pathInfo","type":"string","description":"Raw path info."},{"name":"$suffix","type":"string"}],"return":{"type":"string","description":"Normalized path info."},"visibility":"protected"}},"constants":{"ACTION_REDIRECT_PERMANENT":{"value":"301","description":"Represents permament redirection during route normalization."},"ACTION_REDIRECT_TEMPORARY":{"value":"302","description":"Represents temporary redirection during route normalization."},"ACTION_NOT_FOUND":{"value":"404","description":"Represents showing 404 error page during route normalization."}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject"}}},"yii\\web\\UrlNormalizerRedirectException":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/urlnormalizerredirectexception/","summary":"UrlNormalizerRedirectException represents an information for redirection which should be performed during the URL normalization.","since":"2.0.10","extends":"yii\\base\\Exception","properties":{"scheme":{"type":"bool|string","default":"null","description":"The URI scheme to use in the generated URL for redirection"},"statusCode":{"type":"int","default":"null","description":"The HTTP status code"},"url":{"type":"array|string","default":"null","description":"The parameter to be used to generate a valid URL for redirection"}},"methods":{"__construct":{"signature":"public function __construct(array|string $url, int $statusCode = 302, bool|string $scheme = false, string|null $message = null, int $code = 0, Throwable|null $previous = null)","params":[{"name":"$url","type":"array|string","description":"The parameter to be used to generate a valid URL for redirection. This will be used as first parameter for `yii\\helpers\\Url::to()`"},{"name":"$statusCode","type":"int","default":"302","optional":true,"description":"HTTP status code used for redirection"},{"name":"$scheme","type":"bool|string","default":"false","optional":true,"description":"The URI scheme to use in the generated URL for redirection. This will be used as second parameter for `yii\\helpers\\Url::to()`"},{"name":"$message","type":"string|null","default":"null","optional":true,"description":"The error message"},{"name":"$code","type":"int","default":"0","optional":true,"description":"The error code"},{"name":"$previous","type":"Throwable|null","default":"null","optional":true,"description":"The previous exception used for the exception chaining"}]}},"inherited":{"methods":{"getName":"yii\\base\\Exception"}}},"yii\\web\\UrlRule":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/urlrule/","summary":"UrlRule represents a rule used by `yii\\web\\UrlManager` for parsing and generating URLs.","since":"2.0","extends":"yii\\base\\BaseObject","implements":["yii\\web\\UrlRuleInterface","yii\\base\\Configurable"],"properties":{"createStatus":{"type":"int|null","default":"null","description":"Status of the URL creation after the last `createUrl()` call.","visibility":"protected","since":"2.0.12"},"createUrlStatus":{"type":"int|null","description":"Status of the URL creation after the last `createUrl()` call. `null` if rule does not provide info about create status.","access":"read-only","virtual":true},"defaults":{"type":"array","default":"[]","description":"The default GET parameters (name => value) that this rule provides."},"encodeParams":{"type":"bool","default":"true","description":"A value indicating if parameters should be url encoded."},"host":{"type":"string|null","default":"null","description":"The pattern used to parse and create the host info part of a URL (e.g. `https://example.com`)."},"mode":{"type":"int|null","default":"null","description":"A value indicating if this rule should be used for both request parsing and URL creation, parsing only, or creation only."},"name":{"type":"string|null","default":"null","description":"The name of this rule."},"normalizer":{"type":"yii\\web\\UrlNormalizer|array|false|null","default":"null","description":"The configuration for `yii\\web\\UrlNormalizer` used by this rule.","since":"2.0.10"},"pattern":{"type":"string","default":"null","description":"The pattern used to parse and create the path info part of a URL."},"placeholders":{"type":"array","default":"[]","description":"List of placeholders for matching parameters names.","visibility":"protected","since":"2.0.7"},"route":{"type":"string","default":"null","description":"The route to the controller action"},"suffix":{"type":"string|null","default":"null","description":"The URL suffix used for this rule."},"verb":{"type":"string|array|null","default":"null","description":"The HTTP verb (e.g."}},"methods":{"__toString":{"signature":"public function __toString(): string","return":{"type":"string"},"since":"2.0.11"},"createUrl":{"signature":"public function createUrl(yii\\web\\UrlManager $manager, string $route, array $params): string|bool","summary":"Creates a URL according to the given route and parameters.","params":[{"name":"$manager","type":"yii\\web\\UrlManager","description":"The URL manager"},{"name":"$route","type":"string","description":"The route. It should not have slashes at the beginning or the end."},{"name":"$params","type":"array","description":"The parameters"}],"return":{"type":"string|bool","description":"The created URL, or `false` if this rule cannot be used for creating this URL."}},"getCreateUrlStatus":{"signature":"public function getCreateUrlStatus(): int|null","summary":"Returns status of the URL creation after the last `createUrl()` call.","return":{"type":"int|null","description":"Status of the URL creation after the last `createUrl()` call. `null` if rule does not provide info about create status."},"since":"2.0.12"},"getNormalizer":{"signature":"protected function getNormalizer(yii\\web\\UrlManager $manager): yii\\web\\UrlNormalizer|null","params":[{"name":"$manager","type":"yii\\web\\UrlManager","description":"The URL manager"}],"return":{"type":"yii\\web\\UrlNormalizer|null"},"visibility":"protected","since":"2.0.10"},"getParamRules":{"signature":"protected function getParamRules(): array","summary":"Returns list of regex for matching parameter.","return":{"type":"array","description":"Parameter keys and regexp rules."},"visibility":"protected","since":"2.0.6"},"hasNormalizer":{"signature":"protected function hasNormalizer(yii\\web\\UrlManager $manager): bool","params":[{"name":"$manager","type":"yii\\web\\UrlManager","description":"The URL manager"}],"return":{"type":"bool"},"visibility":"protected","since":"2.0.10"},"init":{"signature":"public function init(): mixed","summary":"Initializes this rule.","return":{"type":"mixed"}},"parseRequest":{"signature":"public function parseRequest(yii\\web\\UrlManager $manager, yii\\web\\Request $request): array|bool","summary":"Parses the given request and returns the corresponding route and parameters.","params":[{"name":"$manager","type":"yii\\web\\UrlManager","description":"The URL manager"},{"name":"$request","type":"yii\\web\\Request","description":"The request component"}],"return":{"type":"array|bool","description":"The parsing result. The route and the parameters are returned as an array. If `false`, it means this rule cannot be used to parse this path info."}},"substitutePlaceholderNames":{"signature":"protected function substitutePlaceholderNames(array $matches): array","summary":"Iterates over `$placeholders` and checks whether each placeholder exists as a key in $matches array.","params":[{"name":"$matches","type":"array","description":"Result of `preg_match()` call"}],"return":{"type":"array","description":"Input array with replaced placeholder keys"},"visibility":"protected","since":"2.0.7"}},"constants":{"PARSING_ONLY":{"value":"1","description":"Set `$mode` with this value to mark that this rule is for URL parsing only."},"CREATION_ONLY":{"value":"2","description":"Set `$mode` with this value to mark that this rule is for URL creation only."},"CREATE_STATUS_SUCCESS":{"value":"0","description":"Represents the successful URL generation by last `createUrl()` call.","since":"2.0.12"},"CREATE_STATUS_PARSING_ONLY":{"value":"1","description":"Represents the unsuccessful URL generation by last `createUrl()` call, because rule does not support creating URLs.","since":"2.0.12"},"CREATE_STATUS_ROUTE_MISMATCH":{"value":"2","description":"Represents the unsuccessful URL generation by last `createUrl()` call, because of mismatched route.","since":"2.0.12"},"CREATE_STATUS_PARAMS_MISMATCH":{"value":"4","description":"Represents the unsuccessful URL generation by last `createUrl()` call, because of mismatched or missing parameters.","since":"2.0.12"}},"inherited":{"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject"}}},"yii\\web\\UrlRuleInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/web/urlruleinterface/","summary":"UrlRuleInterface is the interface that should be implemented by URL rule classes.","since":"2.0","methods":{"createUrl":{"signature":"abstract public function createUrl(yii\\web\\UrlManager $manager, string $route, array $params): string|bool","summary":"Creates a URL according to the given route and parameters.","params":[{"name":"$manager","type":"yii\\web\\UrlManager","description":"The URL manager"},{"name":"$route","type":"string","description":"The route. It should not have slashes at the beginning or the end."},{"name":"$params","type":"array","description":"The parameters"}],"return":{"type":"string|bool","description":"The created URL, or false if this rule cannot be used for creating this URL."},"abstract":true},"parseRequest":{"signature":"abstract public function parseRequest(yii\\web\\UrlManager $manager, yii\\web\\Request $request): array|bool","summary":"Parses the given request and returns the corresponding route and parameters.","params":[{"name":"$manager","type":"yii\\web\\UrlManager","description":"The URL manager"},{"name":"$request","type":"yii\\web\\Request","description":"The request component"}],"return":{"type":"array|bool","description":"The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info."},"abstract":true}}},"yii\\web\\User":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/user/","summary":"User is the class for the `user` application component that manages the user authentication status.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"absoluteAuthTimeout":{"type":"int|null","default":"null","description":"The number of seconds in which the user will be logged out automatically regardless of activity."},"absoluteAuthTimeoutParam":{"type":"string","default":"'__absoluteExpire'","description":"The session variable name used to store the value of absolute expiration timestamp of the authenticated state."},"acceptableRedirectTypes":{"type":"array","default":"['text/html', 'application/xhtml+xml']","description":"MIME types for which this component should redirect to the `$loginUrl`.","since":"2.0.8"},"accessChecker":{"type":"yii\\rbac\\CheckAccessInterface|string|array|null","default":"null","description":"The access checker object to use for checking access or the application component ID of the access checker.","since":"2.0.9"},"authKeyParam":{"type":"string","default":"'__authKey'","description":"The session variable name used to store authentication key.","since":"2.0.41"},"authTimeout":{"type":"int|null","default":"null","description":"The number of seconds in which the user will be logged out automatically if the user remains inactive."},"authTimeoutParam":{"type":"string","default":"'__expire'","description":"The session variable name used to store the value of expiration timestamp of the authenticated state."},"autoRenewCookie":{"type":"bool","default":"true","description":"Whether to automatically renew the identity cookie each time a page is requested."},"enableAutoLogin":{"type":"bool","default":"false","description":"Whether to enable cookie-based login."},"enableSession":{"type":"bool","default":"true","description":"Whether to use session to persist authentication status across multiple requests."},"id":{"type":"string|int|null","description":"The unique identifier for the user.","access":"read-only","virtual":true},"identity":{"type":"yii\\web\\T|null","description":"The identity object associated with the currently logged-in user. `null` is returned if the user is not logged in (not authenticated).","virtual":true},"identityClass":{"type":"class-string<yii\\web\\T>","default":"null","description":"The class name of the `$identity` object."},"identityCookie":{"type":"array","default":"['name' => '_identity', 'httpOnly' => true]","description":"The configuration of the identity cookie."},"idParam":{"type":"string","default":"'__id'","description":"The session variable name used to store the value of `$id`."},"isGuest":{"type":"bool","description":"Whether the current user is a guest.","access":"read-only","virtual":true},"loginUrl":{"type":"string|array|null","default":"['site/login']","description":"The URL for login when `loginRequired()` is called."},"returnUrl":{"type":"string|array","description":"The URL that the user should be redirected to after login.","virtual":true},"returnUrlParam":{"type":"string","default":"'__returnUrl'","description":"The session variable name used to store the value of `$returnUrl`."}},"methods":{"afterLogin":{"signature":"protected function afterLogin(yii\\web\\T $identity, bool $cookieBased, int $duration): mixed","summary":"This method is called after the user is successfully logged in.","params":[{"name":"$identity","type":"yii\\web\\T","description":"The user identity information"},{"name":"$cookieBased","type":"bool","description":"Whether the login is cookie-based"},{"name":"$duration","type":"int","description":"Number of seconds that the user can remain in logged-in status. If 0, it means login till the user closes the browser or the session is manually destroyed."}],"return":{"type":"mixed"},"visibility":"protected"},"afterLogout":{"signature":"protected function afterLogout(yii\\web\\T $identity): mixed","summary":"This method is invoked right after a user is logged out via `logout()`.","params":[{"name":"$identity","type":"yii\\web\\T","description":"The user identity information"}],"return":{"type":"mixed"},"visibility":"protected"},"beforeLogin":{"signature":"protected function beforeLogin(yii\\web\\T $identity, bool $cookieBased, int $duration): bool","summary":"This method is called before logging in a user.","params":[{"name":"$identity","type":"yii\\web\\T","description":"The user identity information"},{"name":"$cookieBased","type":"bool","description":"Whether the login is cookie-based"},{"name":"$duration","type":"int","description":"Number of seconds that the user can remain in logged-in status. If 0, it means login till the user closes the browser or the session is manually destroyed."}],"return":{"type":"bool","description":"Whether the user should continue to be logged in"},"visibility":"protected"},"beforeLogout":{"signature":"protected function beforeLogout(yii\\web\\T $identity): bool","summary":"This method is invoked when calling `logout()` to log out a user.","params":[{"name":"$identity","type":"yii\\web\\T","description":"The user identity information"}],"return":{"type":"bool","description":"Whether the user should continue to be logged out"},"visibility":"protected"},"can":{"signature":"public function can(string $permissionName, array $params = [], bool $allowCaching = true): bool","summary":"Checks if the user can perform the operation as specified by the given permission.","params":[{"name":"$permissionName","type":"string","description":"The name of the permission (e.g. \"edit post\") that needs access check."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"Name-value pairs that would be passed to the rules associated with the roles and permissions assigned to the user."},{"name":"$allowCaching","type":"bool","default":"true","optional":true,"description":"Whether to allow caching the result of access check. When this parameter is true (default), if the access check of an operation was performed before, its result will be directly returned when calling this method to check the same operation. If this parameter is false, this method will always call `yii\\rbac\\CheckAccessInterface::checkAccess()` to obtain the up-to-date access result. Note that this caching is effective only within the same request and only works when `$params = []`."}],"return":{"type":"bool","description":"Whether the user can perform the operation as specified by the given permission."}},"checkRedirectAcceptable":{"signature":"public function checkRedirectAcceptable(): bool","summary":"Checks if the `Accept` header contains a content type that allows redirection to the login page.","return":{"type":"bool","description":"Whether this request may be redirected to the login page."},"since":"2.0.8"},"getAccessChecker":{"signature":"protected function getAccessChecker(): yii\\rbac\\CheckAccessInterface|null","summary":"Returns the access checker used for checking access.","return":{"type":"yii\\rbac\\CheckAccessInterface|null"},"visibility":"protected","since":"2.0.9"},"getId":{"signature":"public function getId(): string|int|null","summary":"Returns a value that uniquely represents the user.","return":{"type":"string|int|null","description":"The unique identifier for the user. If `null`, it means the user is a guest."}},"getIdentity":{"signature":"public function getIdentity(bool $autoRenew = true): yii\\web\\T|null","summary":"Returns the identity object associated with the currently logged-in user.","params":[{"name":"$autoRenew","type":"bool","default":"true","optional":true,"description":"Whether to automatically renew authentication status if it has not been done so before. This is only useful when `$enableSession` is true."}],"return":{"type":"yii\\web\\T|null","description":"The identity object associated with the currently logged-in user. `null` is returned if the user is not logged in (not authenticated)."}},"getIdentityAndDurationFromCookie":{"signature":"protected function getIdentityAndDurationFromCookie(): array|null","summary":"Determines if an identity cookie has a valid format and contains a valid auth key.","return":{"type":"array|null","description":"Returns an array of 'identity' and 'duration' if valid, otherwise null."},"visibility":"protected","since":"2.0.9"},"getIsGuest":{"signature":"public function getIsGuest(): bool","summary":"Returns a value indicating whether the user is a guest (not authenticated).","return":{"type":"bool","description":"Whether the current user is a guest."}},"getReturnUrl":{"signature":"public function getReturnUrl(string|array|null $defaultUrl = null): string","summary":"Returns the URL that the browser should be redirected to after successful login.","params":[{"name":"$defaultUrl","type":"string|array|null","default":"null","optional":true,"description":"The default return URL in case it was not set previously. If this is null and the return URL was not set previously, `yii\\web\\Application::$homeUrl` will be redirected to. Please refer to `setReturnUrl()` on accepted format of the URL."}],"return":{"type":"string","description":"The URL that the user should be redirected to after login."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the application component.","return":{"type":"mixed"}},"login":{"signature":"public function login(yii\\web\\T $identity, int $duration = 0): bool","summary":"Logs in a user.","params":[{"name":"$identity","type":"yii\\web\\T","description":"The user identity (which should already be authenticated)"},{"name":"$duration","type":"int","default":"0","optional":true,"description":"Number of seconds that the user can remain in logged-in status, defaults to `0`"}],"return":{"type":"bool","description":"Whether the user is logged in"}},"loginByAccessToken":{"signature":"public function loginByAccessToken(string $token, mixed $type = null): yii\\web\\T|null","summary":"Logs in a user by the given access token.","params":[{"name":"$token","type":"string","description":"The access token"},{"name":"$type","type":"mixed","default":"null","optional":true,"description":"The type of the token. The value of this parameter depends on the implementation. For example, `yii\\filters\\auth\\HttpBearerAuth` will set this parameter to be `yii\\filters\\auth\\HttpBearerAuth`."}],"return":{"type":"yii\\web\\T|null","description":"The identity associated with the given access token. Null is returned if the access token is invalid or `login()` is unsuccessful."}},"loginByCookie":{"signature":"protected function loginByCookie(): mixed","summary":"Logs in a user by cookie.","return":{"type":"mixed"},"visibility":"protected"},"loginRequired":{"signature":"public function loginRequired(bool $checkAjax = true, bool $checkAcceptHeader = true): yii\\web\\Response","summary":"Redirects the user browser to the login page.","params":[{"name":"$checkAjax","type":"bool","default":"true","optional":true,"description":"Whether to check if the request is an AJAX request. When this is true and the request is an AJAX request, the current URL (for AJAX request) will NOT be set as the return URL."},{"name":"$checkAcceptHeader","type":"bool","default":"true","optional":true,"description":"Whether to check if the request accepts HTML responses. Defaults to `true`. When this is true and the request does not accept HTML responses the current URL will not be SET as the return URL. Also instead of redirecting the user an ForbiddenHttpException is thrown. This parameter is available since version 2.0.8."}],"return":{"type":"yii\\web\\Response","description":"The redirection response if `$loginUrl` is set"},"throws":[{"type":"yii\\web\\ForbiddenHttpException","description":"the \"Access Denied\" HTTP exception if `$loginUrl` is not set or a redirect is not applicable."}]},"logout":{"signature":"public function logout(bool $destroySession = true): bool","summary":"Logs out the current user.","params":[{"name":"$destroySession","type":"bool","default":"true","optional":true,"description":"Whether to destroy the whole session. Defaults to true. This parameter is ignored if `$enableSession` is false."}],"return":{"type":"bool","description":"Whether the user is logged out"}},"regenerateCsrfToken":{"signature":"protected function regenerateCsrfToken(): mixed","summary":"Regenerates CSRF token","return":{"type":"mixed"},"visibility":"protected","since":"2.0.14.2"},"removeIdentityCookie":{"signature":"protected function removeIdentityCookie(): mixed","summary":"Removes the identity cookie.","return":{"type":"mixed"},"visibility":"protected","since":"2.0.9"},"renewAuthStatus":{"signature":"protected function renewAuthStatus(): mixed","summary":"Updates the authentication status using the information from session and cookie.","return":{"type":"mixed"},"visibility":"protected"},"renewIdentityCookie":{"signature":"protected function renewIdentityCookie(): mixed","summary":"Renews the identity cookie.","return":{"type":"mixed"},"visibility":"protected"},"sendIdentityCookie":{"signature":"protected function sendIdentityCookie(yii\\web\\T $identity, int $duration): mixed","summary":"Sends an identity cookie.","params":[{"name":"$identity","type":"yii\\web\\T"},{"name":"$duration","type":"int","description":"Number of seconds that the user can remain in logged-in status."}],"return":{"type":"mixed"},"visibility":"protected"},"setIdentity":{"signature":"public function setIdentity(yii\\web\\T|null $identity): mixed","summary":"Sets the user identity object.","params":[{"name":"$identity","type":"yii\\web\\T|null","description":"The identity object associated with the currently logged user. If null, it means the current user will be a guest without any associated identity."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidValueException","description":"if `$identity` object does not implement `yii\\web\\IdentityInterface`."}]},"setReturnUrl":{"signature":"public function setReturnUrl(string|array $url): mixed","summary":"Remembers the URL in the session so that it can be retrieved back later by `getReturnUrl()`.","params":[{"name":"$url","type":"string|array","description":"The URL that the user should be redirected to after login. If an array is given, `yii\\web\\UrlManager::createUrl()` will be called to create the corresponding URL. The first element of the array should be the route, and the rest of the name-value pairs are GET parameters used to construct the URL. For example, ``` ['admin/index', 'ref' => 1] ```"}],"return":{"type":"mixed"}},"switchIdentity":{"signature":"public function switchIdentity(yii\\web\\T|null $identity, int $duration = 0): mixed","summary":"Switches to a new identity for the current user.","params":[{"name":"$identity","type":"yii\\web\\T|null","description":"The identity information to be associated with the current user. If null, it means switching the current user to be a guest."},{"name":"$duration","type":"int","default":"0","optional":true,"description":"Number of seconds that the user can remain in logged-in status. This parameter is used only when `$identity` is not null."}],"return":{"type":"mixed"}}},"constants":{"EVENT_BEFORE_LOGIN":{"value":"'beforeLogin'"},"EVENT_AFTER_LOGIN":{"value":"'afterLogin'"},"EVENT_BEFORE_LOGOUT":{"value":"'beforeLogout'"},"EVENT_AFTER_LOGOUT":{"value":"'afterLogout'"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\UserEvent":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/userevent/","summary":"This event class is used for Events triggered by the `yii\\web\\User` class.","since":"2.0","extends":"yii\\base\\Event","implements":["yii\\base\\Configurable"],"properties":{"cookieBased":{"type":"bool","default":"null","description":"Whether the login is cookie-based."},"duration":{"type":"int","default":"null","description":"Number of seconds that the user can remain in logged-in status."},"identity":{"type":"yii\\web\\IdentityInterface","default":"null","description":"The identity object associated with this event"},"isValid":{"type":"bool","default":"true","description":"Whether the login or logout should proceed."}},"inherited":{"properties":{"data":"yii\\base\\Event","handled":"yii\\base\\Event","name":"yii\\base\\Event","sender":"yii\\base\\Event"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasHandlers":"yii\\base\\Event","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\base\\BaseObject","off":"yii\\base\\Event","offAll":"yii\\base\\Event","on":"yii\\base\\Event","trigger":"yii\\base\\Event"}}},"yii\\web\\View":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/view/","summary":"View represents a view object in the MVC pattern.","since":"2.0","extends":"yii\\base\\View","implements":["yii\\base\\DynamicContentAwareInterface","yii\\base\\Configurable"],"properties":{"assetBundles":{"type":"array<string, yii\\web\\AssetBundle|bool>","default":"[]","description":"List of the registered asset bundles."},"assetManager":{"type":"yii\\web\\AssetManager","description":"The asset manager.","virtual":true},"css":{"type":"array","default":"[]","description":"The registered CSS code blocks."},"cssFiles":{"type":"array","default":"[]","description":"The registered CSS files."},"isPageEnded":{"type":"bool","default":"false","description":"Whether `endPage()` has been called and all files have been registered","visibility":"protected","since":"2.0.44"},"js":{"type":"array","default":"[]","description":"The registered JS code blocks"},"jsFiles":{"type":"array","default":"[]","description":"The registered JS files."},"linkTags":{"type":"array","default":"[]","description":"The registered link tags."},"metaTags":{"type":"array","default":"[]","description":"The registered meta tags."},"scriptOptions":{"type":"array","default":"[]","description":"The script tag options.","since":"2.0.50"},"styleOptions":{"type":"array","default":"[]","description":"The style tag options.","since":"2.0.53"},"title":{"type":"string","default":"null","description":"The page title"}},"methods":{"beginBody":{"signature":"public function beginBody(): mixed","summary":"Marks the beginning of an HTML body section.","return":{"type":"mixed"}},"clear":{"signature":"public function clear(): mixed","summary":"Clears up the registered meta tags, link tags, css/js scripts and files.","return":{"type":"mixed"}},"endBody":{"signature":"public function endBody(): mixed","summary":"Marks the ending of an HTML body section.","return":{"type":"mixed"}},"endPage":{"signature":"public function endPage(bool $ajaxMode = false): mixed","summary":"Marks the ending of an HTML page.","params":[{"name":"$ajaxMode","type":"bool","default":"false","optional":true,"description":"Whether the view is rendering in AJAX mode. If true, the JS scripts registered at `POS_READY` and `POS_LOAD` positions will be rendered at the end of the view like normal scripts."}],"return":{"type":"mixed"}},"getAssetManager":{"signature":"public function getAssetManager(): yii\\web\\AssetManager","summary":"Registers the asset manager being used by this view object.","return":{"type":"yii\\web\\AssetManager","description":"The asset manager. Defaults to the \"assetManager\" application component."}},"head":{"signature":"public function head(): mixed","summary":"Marks the position of an HTML head section.","return":{"type":"mixed"}},"registerAssetBundle":{"signature":"public function registerAssetBundle(string $name, int|null $position = null): yii\\web\\AssetBundle","summary":"Registers the named asset bundle.","params":[{"name":"$name","type":"string","description":"The class name of the asset bundle (without the leading backslash)"},{"name":"$position","type":"int|null","default":"null","optional":true,"description":"If set, this forces a minimum position for javascript files. This will adjust depending assets javascript file position or fail if requirement can not be met. If this is null, asset bundles position settings will not be changed. See `registerJsFile()` for more details on javascript position."}],"return":{"type":"yii\\web\\AssetBundle","description":"The registered asset bundle instance"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the asset bundle does not exist or a circular dependency is detected"}]},"registerAssetFiles":{"signature":"protected function registerAssetFiles(string $name): mixed","summary":"Registers all files provided by an asset bundle including depending bundles files.","params":[{"name":"$name","type":"string","description":"Name of the bundle to register"}],"return":{"type":"mixed"},"visibility":"protected"},"registerCsrfMetaTags":{"signature":"public function registerCsrfMetaTags(): mixed","summary":"Registers CSRF meta tags.","return":{"type":"mixed"},"since":"2.0.13"},"registerCss":{"signature":"public function registerCss(string $css, array $options = [], string|null $key = null): mixed","summary":"Registers a CSS code block.","params":[{"name":"$css","type":"string","description":"The content of the CSS code block to be registered"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The HTML attributes for the `<style>`-tag."},{"name":"$key","type":"string|null","default":"null","optional":true,"description":"The key that identifies the CSS code block. If null, it will use $css as the key. If two CSS code blocks are registered with the same key, the latter will overwrite the former."}],"return":{"type":"mixed"}},"registerCssFile":{"signature":"public function registerCssFile(string $url, yii\\web\\RegisterCssFileOptions $options = [], string|null $key = null): mixed","summary":"Registers a CSS file.","params":[{"name":"$url","type":"string","description":"The CSS file to be registered."},{"name":"$options","type":"yii\\web\\RegisterCssFileOptions","default":"[]","optional":true,"description":"The HTML attributes for the link tag. Please refer to `yii\\helpers\\Html::cssFile()` for the supported options. The following options are specially handled and are not treated as HTML attributes: - `depends`: array, specifies the names of the asset bundles that this CSS file depends on. - `appendTimestamp`: bool whether to append a timestamp to the URL."},{"name":"$key","type":"string|null","default":"null","optional":true,"description":"The key that identifies the CSS script file. If null, it will use $url as the key. If two CSS files are registered with the same key, the latter will overwrite the former."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException"}]},"registerJs":{"signature":"public function registerJs(string $js, int $position = \\self::POS_READY, string|null $key = null): mixed","summary":"Registers a JS code block.","params":[{"name":"$js","type":"string","description":"The JS code block to be registered"},{"name":"$position","type":"int","default":"\\self::POS_READY","optional":true,"description":"The position at which the JS script tag should be inserted in a page. The possible values are: - `POS_HEAD`: in the head section - `POS_BEGIN`: at the beginning of the body section - `POS_END`: at the end of the body section - `POS_LOAD`: enclosed within a `window` load event listener. - `POS_READY`: enclosed within a `DOMContentLoaded` event listener. This is the default value."},{"name":"$key","type":"string|null","default":"null","optional":true,"description":"The key that identifies the JS code block. If `null`, it will use $js as the key. If two JS code blocks are registered with the same key, the latter will overwrite the former."}],"return":{"type":"mixed"}},"registerJsFile":{"signature":"public function registerJsFile(string $url, yii\\web\\RegisterJsFileOptions $options = [], string|null $key = null): mixed","summary":"Registers a JS file.","params":[{"name":"$url","type":"string","description":"The JS file to be registered."},{"name":"$options","type":"yii\\web\\RegisterJsFileOptions","default":"[]","optional":true,"description":"The HTML attributes for the script tag. The following options are specially handled and are not treated as HTML attributes: - `depends`: array, specifies the names of the asset bundles that this JS file depends on. - `position`: specifies where the JS script tag should be inserted in a page. The possible values are: * `POS_HEAD`: in the head section * `POS_BEGIN`: at the beginning of the body section * `POS_END`: at the end of the body section. This is the default value. - `appendTimestamp`: bool whether to append a timestamp to the URL. Please refer to `yii\\helpers\\Html::jsFile()` for other supported options."},{"name":"$key","type":"string|null","default":"null","optional":true,"description":"The key that identifies the JS script file. If null, it will use $url as the key. If two JS files are registered with the same key at the same position, the latter will overwrite the former. Note that position option takes precedence, thus files registered with the same key, but different position option will not override each other."}],"return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException"}]},"registerJsVar":{"signature":"public function registerJsVar(string $name, array|string $value, int $position = \\self::POS_HEAD): mixed","summary":"Registers a JS code block defining a variable. The name of variable will be used as key, preventing duplicated variable names.","params":[{"name":"$name","type":"string","description":"Name of the variable"},{"name":"$value","type":"array|string","description":"Value of the variable"},{"name":"$position","type":"int","default":"\\self::POS_HEAD","optional":true,"description":"The position in a page at which the JavaScript variable should be inserted. The possible values are: - `POS_HEAD`: in the head section. This is the default value. - `POS_BEGIN`: at the beginning of the body section. - `POS_END`: at the end of the body section. - `POS_LOAD`: enclosed within a `window` load event listener. - `POS_READY`: enclosed within a `DOMContentLoaded` event listener."}],"return":{"type":"mixed"},"since":"2.0.14"},"registerLinkTag":{"signature":"public function registerLinkTag(array $options, string|null $key = null): mixed","summary":"Registers a link tag.","params":[{"name":"$options","type":"array","description":"The HTML attributes for the link tag."},{"name":"$key","type":"string|null","default":"null","optional":true,"description":"The key that identifies the link tag. If two link tags are registered with the same key, the latter will overwrite the former. If this is null, the new link tag will be appended to the existing ones."}],"return":{"type":"mixed"}},"registerMetaTag":{"signature":"public function registerMetaTag(array $options, string|null $key = null): mixed","summary":"Registers a meta tag.","params":[{"name":"$options","type":"array","description":"The HTML attributes for the meta tag."},{"name":"$key","type":"string|null","default":"null","optional":true,"description":"The key that identifies the meta tag. If two meta tags are registered with the same key, the latter will overwrite the former. If this is null, the new meta tag will be appended to the existing ones."}],"return":{"type":"mixed"}},"renderAjax":{"signature":"public function renderAjax(string $view, array $params = [], object|null $context = null): string","summary":"Renders a view in response to an AJAX request.","params":[{"name":"$view","type":"string","description":"The view name. Please refer to `render()` on how to specify this parameter."},{"name":"$params","type":"array","default":"[]","optional":true,"description":"The parameters (name-value pairs) that will be extracted and made available in the view file."},{"name":"$context","type":"object|null","default":"null","optional":true,"description":"The context that the view should use for rendering the view. If null, existing `$context` will be used."}],"return":{"type":"string","description":"The rendering result"}},"renderBodyBeginHtml":{"signature":"protected function renderBodyBeginHtml(): string","summary":"Renders the content to be inserted at the beginning of the body section.","return":{"type":"string","description":"The rendered content"},"visibility":"protected"},"renderBodyEndHtml":{"signature":"protected function renderBodyEndHtml(bool $ajaxMode): string","summary":"Renders the content to be inserted at the end of the body section.","params":[{"name":"$ajaxMode","type":"bool","description":"Whether the view is rendering in AJAX mode. If true, the JS scripts registered at `POS_READY` and `POS_LOAD` positions will be rendered at the end of the view like normal scripts."}],"return":{"type":"string","description":"The rendered content"},"visibility":"protected"},"renderHeadHtml":{"signature":"protected function renderHeadHtml(): string","summary":"Renders the content to be inserted in the head section.","return":{"type":"string","description":"The rendered content"},"visibility":"protected"},"setAssetManager":{"signature":"public function setAssetManager(yii\\web\\AssetManager $value): mixed","summary":"Sets the asset manager.","params":[{"name":"$value","type":"yii\\web\\AssetManager","description":"The asset manager"}],"return":{"type":"mixed"}},"wrapLoadScript":{"signature":"protected function wrapLoadScript(string $script): string","summary":"Wraps script content for POS_LOAD position.","params":[{"name":"$script","type":"string","description":"The script content to wrap"}],"return":{"type":"string","description":"The wrapped script"},"visibility":"protected","since":"22.0"},"wrapReadyScript":{"signature":"protected function wrapReadyScript(string $script): string","summary":"Wraps script content for POS_READY position.","params":[{"name":"$script","type":"string","description":"The script content to wrap"}],"return":{"type":"string","description":"The wrapped script"},"visibility":"protected","since":"22.0"}},"constants":{"POS_HEAD":{"value":"1","description":"The location of registered JavaScript code block or files."},"POS_BEGIN":{"value":"2","description":"The location of registered JavaScript code block or files."},"POS_END":{"value":"3","description":"The location of registered JavaScript code block or files."},"POS_READY":{"value":"4","description":"The location of registered JavaScript code block."},"POS_LOAD":{"value":"5","description":"The location of registered JavaScript code block."},"PH_HEAD":{"value":"'<![CDATA[YII-BLOCK-HEAD]]>'","description":"This is internally used as the placeholder for receiving the content registered for the head section."},"PH_BODY_BEGIN":{"value":"'<![CDATA[YII-BLOCK-BODY-BEGIN]]>'","description":"This is internally used as the placeholder for receiving the content registered for the beginning of the body section."},"PH_BODY_END":{"value":"'<![CDATA[YII-BLOCK-BODY-END]]>'","description":"This is internally used as the placeholder for receiving the content registered for the end of the body section."}},"events":{"EVENT_BEGIN_BODY":{"value":"'beginBody'","type":"yii\\web\\Event","description":"An event that is triggered by `beginBody()`."},"EVENT_END_BODY":{"value":"'endBody'","type":"yii\\web\\Event","description":"An event that is triggered by `endBody()`."}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","blocks":"yii\\base\\View","context":"yii\\base\\View","defaultExtension":"yii\\base\\View","dynamicContents":"yii\\base\\View","dynamicPlaceholders":"yii\\base\\View","params":"yii\\base\\View","renderers":"yii\\base\\View","theme":"yii\\base\\View","viewFile":"yii\\base\\View"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addDynamicPlaceholder":"yii\\base\\View","afterRender":"yii\\base\\View","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRender":"yii\\base\\View","beginBlock":"yii\\base\\View","beginCache":"yii\\base\\View","beginContent":"yii\\base\\View","beginPage":"yii\\base\\View","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","endBlock":"yii\\base\\View","endCache":"yii\\base\\View","endContent":"yii\\base\\View","ensureBehaviors":"yii\\base\\Component","evaluateDynamicContent":"yii\\base\\View","findViewFile":"yii\\base\\View","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getDynamicContents":"yii\\base\\View","getDynamicPlaceholders":"yii\\base\\View","getRequestedViewFile":"yii\\base\\View","getViewFile":"yii\\base\\View","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\View","off":"yii\\base\\Component","on":"yii\\base\\Component","popDynamicContent":"yii\\base\\View","pushDynamicContent":"yii\\base\\View","render":"yii\\base\\View","renderDynamic":"yii\\base\\View","renderFile":"yii\\base\\View","renderPhpFile":"yii\\base\\View","setDynamicPlaceholders":"yii\\base\\View","trigger":"yii\\base\\Component"},"events":{"EVENT_BEGIN_PAGE":"yii\\base\\View","EVENT_END_PAGE":"yii\\base\\View","EVENT_BEFORE_RENDER":"yii\\base\\View","EVENT_AFTER_RENDER":"yii\\base\\View"}}},"yii\\web\\ViewAction":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/viewaction/","summary":"ViewAction represents an action that displays a view according to a user-specified parameter.","since":"2.0","extends":"yii\\base\\Action","implements":["yii\\base\\Configurable"],"properties":{"defaultView":{"type":"string","default":"'index'","description":"The name of the default view when `yii\\web\\ViewAction::$viewParam` GET parameter is not provided by user."},"layout":{"type":"mixed","default":"null","description":"The name of the layout to be applied to the requested view."},"viewParam":{"type":"string","default":"'view'","description":"The name of the GET parameter that contains the requested view name."},"viewPrefix":{"type":"string","default":"'pages'","description":"A string to be prefixed to the user-specified view name to form a complete view name."}},"methods":{"render":{"signature":"protected function render(string $viewName): string","summary":"Renders a view.","params":[{"name":"$viewName","type":"string","description":"View name"}],"return":{"type":"string","description":"Result of the rendering"},"visibility":"protected"},"resolveViewName":{"signature":"protected function resolveViewName(): string","summary":"Resolves the view name currently being requested.","return":{"type":"string","description":"The resolved view name"},"throws":[{"type":"yii\\web\\NotFoundHttpException","description":"if the specified view name is invalid"}],"visibility":"protected"},"run":{"signature":"public function run(): mixed","summary":"Runs the action.","return":{"type":"mixed"},"throws":[{"type":"yii\\web\\NotFoundHttpException","description":"if the view file cannot be found"}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","controller":"yii\\base\\Action","id":"yii\\base\\Action","module":"yii\\base\\Action","uniqueId":"yii\\base\\Action"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\Action","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Action","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Action","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getModule":"yii\\base\\Action","getUniqueId":"yii\\base\\Action","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","resolveStandaloneParams":"yii\\base\\Action","runWithParams":"yii\\base\\Action","setModule":"yii\\base\\Action","trigger":"yii\\base\\Component"}}},"yii\\web\\XmlResponseFormatter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/xmlresponseformatter/","summary":"XmlResponseFormatter formats the given data into an XML response content.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\web\\ResponseFormatterInterface","yii\\base\\Configurable"],"properties":{"contentType":{"type":"string","default":"'application/xml'","description":"The Content-Type header for the response"},"dom":{"type":"DOMDocument","default":"null","description":"The XML document, serves as the root of the document tree","visibility":"protected","since":"2.0.43"},"encoding":{"type":"string|null","default":"null","description":"The XML encoding."},"itemTag":{"type":"string","default":"'item'","description":"The name of the elements that represent the array elements with numeric keys."},"objectTagToLowercase":{"type":"bool","default":"false","description":"If true, converts object tags to lowercase, `$useObjectTags` must be enabled","since":"2.0.43"},"rootTag":{"type":"string|string[]|null|false","default":"'response'","description":"The name of the root element."},"useObjectTags":{"type":"bool","default":"true","description":"If object class names should be used as tag names","since":"2.0.11"},"useTraversableAsArray":{"type":"bool","default":"true","description":"Whether to interpret objects implementing the `Traversable` interface as arrays.","since":"2.0.7"},"version":{"type":"string","default":"'1.0'","description":"The XML version"}},"methods":{"buildXml":{"signature":"protected function buildXml(DOMElement|DOMDocument $element, mixed $data): mixed","summary":"Recursively adds data to XML document.","params":[{"name":"$element","type":"DOMElement|DOMDocument","description":"Current element"},{"name":"$data","type":"mixed","description":"Content of the current element"}],"return":{"type":"mixed"},"visibility":"protected"},"format":{"signature":"public function format(yii\\web\\Response $response): mixed","summary":"Formats the specified response.","params":[{"name":"$response","type":"yii\\web\\Response","description":"The response to be formatted."}],"return":{"type":"mixed"}},"formatScalarValue":{"signature":"protected function formatScalarValue(int|string|bool|float $value): string","summary":"Formats scalar value to use in XML text node.","params":[{"name":"$value","type":"int|string|bool|float","description":"A scalar value."}],"return":{"type":"string","description":"String representation of the value."},"visibility":"protected","since":"2.0.11"},"getValidXmlElementName":{"signature":"protected function getValidXmlElementName(mixed $name): string","summary":"Returns element name ready to be used in DOMElement if name is not empty, is not int and is valid.","params":[{"name":"$name","type":"mixed","description":"The original name"}],"return":{"type":"string"},"visibility":"protected","since":"2.0.12"},"isValidXmlName":{"signature":"protected function isValidXmlName(mixed $name): bool","summary":"Checks if name is valid to be used in XML.","params":[{"name":"$name","type":"mixed","description":"The name to test"}],"return":{"type":"bool"},"visibility":"protected","since":"2.0.12"}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\web\\YiiAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/web/yiiasset/","summary":"This asset bundle provides the base JavaScript files for the Yii Framework.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"['yii\\web\\JqueryAsset']"},"js":{"default":"['yii.js']"},"sourcePath":{"default":"'@yii/assets'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\web\\client\\ClientScriptInterface":{"kind":"interface","url":"https://yii2-framework.github.io/docs/api/yii/web/client/clientscriptinterface/","summary":"Defines the contract for registering client-side scripts for widgets and components.","since":"22.0","methods":{"getClientOptions":{"signature":"abstract public function getClientOptions(yii\\web\\client\\T $object, array<string, mixed> $options = []): array<string, mixed>","summary":"Returns client-side options for the specified component.","params":[{"name":"$object","type":"yii\\web\\client\\T","description":"The object for which to get the client options."},{"name":"$options","type":"array<string, mixed>","default":"[]","optional":true,"description":"Additional options that may influence the client options returned."}],"return":{"type":"array<string, mixed>","description":"The client options for the widget or component."},"abstract":true},"register":{"signature":"abstract public function register(yii\\web\\client\\T $object, yii\\web\\View $view, array<string, mixed> $options = []): void","summary":"Registers the client script for the specified widget and view.","params":[{"name":"$object","type":"yii\\web\\client\\T","description":"The object whose client script is to be registered."},{"name":"$view","type":"yii\\web\\View","description":"The view in which the client script should be registered."},{"name":"$options","type":"array<string, mixed>","default":"[]","optional":true,"description":"Additional options that may influence the script registration process."}],"return":{"type":"void"},"abstract":true}}},"yii\\widgets\\ActiveField":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/activefield/","summary":"ActiveField represents a form input field within an `yii\\widgets\\ActiveForm`.","since":"2.0","extends":"yii\\base\\Component","implements":["yii\\base\\Configurable"],"properties":{"addAriaAttributes":{"type":"bool","default":"true","description":"Adds aria HTML attributes `aria-required` and `aria-invalid` for inputs","since":"2.0.11"},"attribute":{"type":"string","default":"null","description":"The model attribute that this field is associated with."},"enableAjaxValidation":{"type":"bool|null","default":"null","description":"Whether to enable AJAX-based data validation."},"enableClientValidation":{"type":"bool|null","default":"null","description":"Whether to enable client-side data validation."},"errorOptions":{"type":"array","default":"['class' => 'field-error']","description":"The default options for the error tags."},"form":{"type":"yii\\widgets\\ActiveForm","default":"null","description":"The form that this field is associated with."},"hintOptions":{"type":"array","default":"['class' => 'hint-block']","description":"The default options for the hint tags."},"inputOptions":{"type":"array","default":"[]","description":"The default options for the input tags."},"labelOptions":{"type":"array","default":"[]","description":"The default options for the label tags."},"model":{"type":"yii\\base\\Model","default":"null","description":"The data model that this field is associated with."},"options":{"type":"array","default":"[]","description":"The HTML attributes (name-value pairs) for the field container tag."},"parts":{"type":"array","default":"[]","description":"Different parts of the field (e.g. input, label)."},"selectors":{"type":"array","default":"[]","description":"The jQuery selectors for selecting the container, input and error tags."},"template":{"type":"string","default":"\"{label}\\n{input}\\n{hint}\\n{error}\"","description":"The template that is used to arrange the label, the input field, the error message and the hint text."},"validateOnBlur":{"type":"bool|null","default":"null","description":"Whether to perform validation when the input field loses focus."},"validateOnChange":{"type":"bool|null","default":"null","description":"Whether to perform validation when the value of the input field is changed."},"validateOnType":{"type":"bool|null","default":"null","description":"Whether to perform validation while the user is typing in the input field."},"validationDelay":{"type":"int|null","default":"null","description":"Number of milliseconds that the validation should be delayed when the user types in the field and `$validateOnType` is set `true`."}},"methods":{"__toString":{"signature":"public function __toString(): string","summary":"PHP magic method that returns the string representation of this object.","return":{"type":"string","description":"The string representation of this object."}},"addAriaAttributes":{"signature":"protected function addAriaAttributes(mixed &$options): mixed","summary":"Adds aria attributes to the input options.","params":[{"name":"$options","type":"mixed","byReference":true,"description":"Array input options"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.11"},"addErrorClassIfNeeded":{"signature":"protected function addErrorClassIfNeeded(mixed &$options): mixed","summary":"Adds validation class to the input options if needed.","params":[{"name":"$options","type":"mixed","byReference":true,"description":"Array input options"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.14"},"addRoleAttributes":{"signature":"protected function addRoleAttributes(mixed &$options, string $role): mixed","summary":"Add role attributes to the input options","params":[{"name":"$options","type":"mixed","byReference":true,"description":"Array input options"},{"name":"$role","type":"string"}],"return":{"type":"mixed"},"visibility":"protected","since":"2.0.16"},"adjustLabelFor":{"signature":"protected function adjustLabelFor(array $options): mixed","summary":"Adjusts the `for` attribute for the label based on the input options.","params":[{"name":"$options","type":"array","description":"The input options."}],"return":{"type":"mixed"},"visibility":"protected"},"begin":{"signature":"public function begin(): string","summary":"Renders the opening tag of the field container.","return":{"type":"string","description":"The rendering result."}},"checkbox":{"signature":"public function checkbox(array $options = [], bool $enclosedByLabel = true): $this","summary":"Renders a checkbox.","params":[{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - `uncheck`: string, the value associated with the uncheck state of the checkbox. If not set, it will take the default value `0`. This method will render a hidden input so that if the checkbox is not checked and is submitted, the value of this attribute will still be submitted to the server via the hidden input. If you do not want any hidden input, you should explicitly set this option as `null`. - `label`: `string|false|null`, a label displayed next to the checkbox. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is coming from end users, you should encode (`yii\\helpers\\Html::encode()`) it to prevent XSS attacks. When this option is specified, the checkbox will be enclosed by a label tag. If you do not want any label, you should explicitly set this option as `null`. - `labelOptions`: array, the HTML attributes for the label tag. This is only used when the `label` option is specified. Supports a `tag` sub-option (`'label'`/`false`/custom tag) for flexible label rendering. The rest of the options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If a value is `null`, the corresponding attribute will not be rendered. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."},{"name":"$enclosedByLabel","type":"bool","default":"true","optional":true,"description":"Whether to enclose the checkbox within the label. If `true`, the method will still use `$template` to layout the checkbox and the error message except that the checkbox is enclosed by the label tag."}],"return":{"type":"$this","description":"The field object itself."}},"checkboxList":{"signature":"public function checkboxList(array $items, array $options = []): $this","summary":"Renders a list of checkboxes.","params":[{"name":"$items","type":"array","description":"The data item used to generate the checkboxes. The array values are the labels, while the array keys are the corresponding checkbox values."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the checkbox list. For the list of available options please refer to the `$options` parameter of `yii\\helpers\\Html::activeCheckboxList()`."}],"return":{"type":"$this","description":"The field object itself."}},"dropDownList":{"signature":"public function dropDownList(array $items, array $options = []): $this","summary":"Renders a drop-down list.","params":[{"name":"$items","type":"array","description":"The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). For each sub-array, an option group will be generated whose label is the key associated with the sub-array. If you have a list of data models, you may convert them into the format described above using `yii\\helpers\\ArrayHelper::map()`. Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in the labels will also be HTML-encoded."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. For the list of available options please refer to the `$options` parameter of `yii\\helpers\\Html::activeDropDownList()`. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"end":{"signature":"public function end(): string","summary":"Renders the closing tag of the field container.","return":{"type":"string","description":"The rendering result."}},"error":{"signature":"public function error(array|false $options = []): $this","summary":"Generates a tag that contains the first validation error of `$attribute`.","params":[{"name":"$options","type":"array|false","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. It will be merged with `$errorOptions`. The options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If this parameter is `false`, no error tag will be rendered. The following options are specially handled: - `tag`: this specifies the tag name. If not set, `div` will be used. See also `yii\\helpers\\Html::tag()`. If you set a custom `id` for the error element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"fileInput":{"signature":"public function fileInput(array $options = []): $this","summary":"Renders a file input.","params":[{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"generateLabel":{"signature":"protected function generateLabel(array $options): array","summary":"Generates the label element based on `labelOptions` configuration when `enclosedByLabel` is `false`.","params":[{"name":"$options","type":"array","description":"The input options array"}],"return":{"type":"array","description":"The cleaned options array with `labelOptions` removed"},"visibility":"protected"},"getClientOptions":{"signature":"protected function getClientOptions(): array","summary":"Returns the JS options for the field.","return":{"type":"array","description":"The JS options."},"visibility":"protected"},"getInputId":{"signature":"protected function getInputId(): string","summary":"Returns the HTML `id` of the input element of this form field.","return":{"type":"string","description":"The input id."},"visibility":"protected","since":"2.0.7"},"hiddenInput":{"signature":"public function hiddenInput(array $options = []): $this","summary":"Renders a hidden input.","params":[{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"hint":{"signature":"public function hint(string|bool|null $content, array $options = []): $this","summary":"Renders the hint tag.","params":[{"name":"$content","type":"string|bool|null","description":"The hint content. If `null`, the hint will be generated via `yii\\base\\Model::getAttributeHint()`. If `false`, the generated field will not contain the hint part. Note that this will NOT be encoded (`yii\\helpers\\Html::encode()`)."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the hint tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. The following options are specially handled: - `tag`: this specifies the tag name. If not set, `div` will be used. See also `yii\\helpers\\Html::tag()`."}],"return":{"type":"$this","description":"The field object itself."}},"input":{"signature":"public function input(string $type, array $options = []): $this","summary":"Renders an input tag.","params":[{"name":"$type","type":"string","description":"The input type (e.g. `text`, `password`)"},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"isAjaxValidationEnabled":{"signature":"protected function isAjaxValidationEnabled(): bool","summary":"Checks if ajax validation enabled for the field.","return":{"type":"bool"},"visibility":"protected","since":"2.0.11"},"isClientValidationEnabled":{"signature":"protected function isClientValidationEnabled(): bool","summary":"Checks if client validation enabled for the field.","return":{"type":"bool"},"visibility":"protected","since":"2.0.11"},"label":{"signature":"public function label(string|null|false $label = null, array|null $options = []): $this","summary":"Generates a label tag for `$attribute`.","params":[{"name":"$label","type":"string|null|false","default":"null","optional":true,"description":"The label to use. If `null`, the label will be generated via `yii\\base\\Model::getAttributeLabel()`. If `false`, the generated field will not contain the label part. Note that this will NOT be encoded (`yii\\helpers\\Html::encode()`)."},{"name":"$options","type":"array|null","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. It will be merged with `$labelOptions`. The options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If a value is `null`, the corresponding attribute will not be rendered. The following special options are recognized: - `label`: `string|false|null`, the label text. Used as fallback when `$label` parameter is `null`. If set to `false`, the label will not be rendered. The `$label` parameter always takes precedence over this option. - `tag`: `string|false`, the tag name for the label element. Defaults to `'label'`. If set to `false`, the label content is rendered without any wrapping tag. If set to `'label'`, `yii\\helpers\\Html::activeLabel()` is used (default behavior). Any other string value (e.g. `'span'`, `'div'`, `'h3'`) will use `yii\\helpers\\Html::tag()` with that element."}],"return":{"type":"$this","description":"The field object itself."}},"listBox":{"signature":"public function listBox(array $items, array $options = []): $this","summary":"Renders a list box.","params":[{"name":"$items","type":"array","description":"The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). For each sub-array, an option group will be generated whose label is the key associated with the sub-array. If you have a list of data models, you may convert them into the format described above using `yii\\helpers\\ArrayHelper::map()`. Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in the labels will also be HTML-encoded."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. For the list of available options please refer to the `$options` parameter of `yii\\helpers\\Html::activeListBox()`. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"passwordInput":{"signature":"public function passwordInput(array $options = []): $this","summary":"Renders a password input.","params":[{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"radio":{"signature":"public function radio(array $options = [], bool $enclosedByLabel = true): $this","summary":"Renders a radio button.","params":[{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - `uncheck`: string, the value associated with the uncheck state of the radio button. If not set, it will take the default value `0`. This method will render a hidden input so that if the radio button is not checked and is submitted, the value of this attribute will still be submitted to the server via the hidden input. If you do not want any hidden input, you should explicitly set this option as `null`. - `label`: `string|false|null`, a label displayed next to the radio button. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is coming from end users, you should encode (`yii\\helpers\\Html::encode()`) it to prevent XSS attacks. When this option is specified, the radio button will be enclosed by a label tag. If you do not want any label, you should explicitly set this option as `null`. - `labelOptions`: array, the HTML attributes for the label tag. This is only used when the `label` option is specified. Supports a `tag` sub-option (`'label'`/`false`/custom tag) for flexible label rendering. The rest of the options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If a value is `null`, the corresponding attribute will not be rendered. If you set a custom `id` for the input element, you may need to adjust the `$selectors` accordingly."},{"name":"$enclosedByLabel","type":"bool","default":"true","optional":true,"description":"Whether to enclose the radio within the label. If `true`, the method will still use `$template` to layout the radio button and the error message except that the radio is enclosed by the label tag."}],"return":{"type":"$this","description":"The field object itself."}},"radioList":{"signature":"public function radioList(array $items, array $options = []): $this","summary":"Renders a list of radio buttons.","params":[{"name":"$items","type":"array","description":"The data item used to generate the radio buttons. The array values are the labels, while the array keys are the corresponding radio values."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"Options (name => config) for the radio button list. For the list of available options please refer to the `$options` parameter of `yii\\helpers\\Html::activeRadioList()`."}],"return":{"type":"$this","description":"The field object itself."}},"render":{"signature":"public function render(string|callable|null $content = null): string","summary":"Renders the whole field.","params":[{"name":"$content","type":"string|callable|null","default":"null","optional":true,"description":"The content within the field container. If `null` (not set), the default methods will be called to generate the label, error tag and input tag, and use them as the content. If a callable, it will be called to generate the content. The signature of the callable should be: ``` function ($field) { return $html; } ```"}],"return":{"type":"string","description":"The rendering result."}},"textarea":{"signature":"public function textarea(array $options = []): $this","summary":"Renders a text area.","params":[{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If you set a custom `id` for the textarea element, you may need to adjust the `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"textInput":{"signature":"public function textInput(array $options = []): $this","summary":"Renders a text input.","params":[{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. The following special options are recognized: - `maxlength`: int|bool, when `maxlength` is set `true` and the model attribute is validated by a string validator, the `maxlength` option will take the value of `yii\\validators\\StringValidator::$max`. This is available since version 2.0.3. Note that if you set a custom `id` for the input element, you may need to adjust the value of `$selectors` accordingly."}],"return":{"type":"$this","description":"The field object itself."}},"widget":{"signature":"public function widget(string $class, array $config = []): $this","summary":"Renders a widget as the input of the field.","params":[{"name":"$class","type":"string","description":"The widget class name."},{"name":"$config","type":"array","default":"[]","optional":true,"description":"Name-value pairs that will be used to initialize the widget."}],"return":{"type":"$this","description":"The field object itself."},"throws":[{"type":"Exception"}]}},"inherited":{"properties":{"behaviors":"yii\\base\\Component"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\BaseObject","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component"}}},"yii\\widgets\\ActiveForm":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/activeform/","summary":"ActiveForm is a widget that builds an interactive HTML form for one or multiple data models.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"action":{"type":"array|string","default":"''","description":"The form action URL."},"ajaxDataType":{"type":"string","default":"'json'","description":"The type of data that you're expecting back from the server."},"ajaxParam":{"type":"string","default":"'ajax'","description":"The name of the GET parameter indicating the validation request is an AJAX request."},"clientScript":{"type":"array|yii\\web\\client\\ClientScriptInterface|null","default":"null","description":"Client script class to use for client-side validation."},"enableAjaxValidation":{"type":"bool","default":"false","description":"Whether to enable AJAX-based data validation."},"enableClientScript":{"type":"bool","default":"true","description":"Whether to hook up `yii.activeForm` JavaScript plugin."},"enableClientValidation":{"type":"bool","default":"true","description":"Whether to enable client-side data validation."},"encodeErrorSummary":{"type":"bool","default":"true","description":"Whether to perform encoding on the error summary."},"errorCssClass":{"type":"string","default":"''","description":"The CSS class that is added to a field container when the associated attribute has validation error."},"errorSummaryCssClass":{"type":"string","default":"'error-summary'","description":"The default CSS class for the error summary container."},"fieldClass":{"type":"string","default":"'yii\\widgets\\ActiveField'","description":"The default field class name when calling `field()` to create a new field."},"fieldConfig":{"type":"array|Closure","default":"[]","description":"The default configuration used by `field()` when creating a new field object."},"method":{"type":"string","default":"'post'","description":"The form submission method."},"options":{"type":"array","default":"[]","description":"The HTML attributes (name-value pairs) for the form tag."},"requiredCssClass":{"type":"string","default":"'required'","description":"The CSS class that is added to a field container when the associated attribute is required."},"scrollToError":{"type":"bool","default":"true","description":"Whether to scroll to the first error after validation.","since":"2.0.6"},"scrollToErrorOffset":{"type":"int","default":"0","description":"Offset in pixels that should be added when scrolling to the first error.","since":"2.0.11"},"successCssClass":{"type":"string","default":"''","description":"The CSS class that is added to a field container when the associated attribute is successfully validated."},"validateOnBlur":{"type":"bool","default":"true","description":"Whether to perform validation when an input field loses focus."},"validateOnChange":{"type":"bool","default":"true","description":"Whether to perform validation when the value of an input field is changed."},"validateOnSubmit":{"type":"bool","default":"true","description":"Whether to perform validation when the form is submitted."},"validateOnType":{"type":"bool","default":"false","description":"Whether to perform validation while the user is typing in an input field."},"validatingCssClass":{"type":"string","default":"'validating'","description":"The CSS class that is added to a field container when the associated attribute is being validated."},"validationDelay":{"type":"int","default":"500","description":"Number of milliseconds that the validation should be delayed when the user types in the field and `$validateOnType` is set `true`."},"validationStateOn":{"type":"string","default":"self::VALIDATION_STATE_ON_CONTAINER","description":"Where to render validation state class Could be either \"container\" or \"input\".","since":"2.0.14"},"validationUrl":{"type":"array|string|null","default":"null","description":"The URL for performing AJAX-based validation."}},"methods":{"beginField":{"signature":"public function beginField(yii\\base\\Model $model, string $attribute, array $options = []): string","summary":"Begins a form field.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model."},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `yii\\helpers\\Html::getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The additional configurations for the field object."}],"return":{"type":"string","description":"The opening tag."}},"endField":{"signature":"public function endField(): string","summary":"Ends a form field.","return":{"type":"string","description":"The closing tag of the form field."},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if this method is called without a prior `beginField()` call."}]},"errorSummary":{"signature":"public function errorSummary(yii\\base\\Model|yii\\base\\Model[] $models, array $options = []): string","summary":"Generates a summary of the validation errors.","params":[{"name":"$models","type":"yii\\base\\Model|yii\\base\\Model[]","description":"The model(s) associated with this form."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The tag options in terms of name-value pairs. The following options are specially handled: - `header`: string, the header HTML for the error summary. If not set, a default prompt string will be used. - `footer`: string, the footer HTML for the error summary. The rest of the options will be rendered as the attributes of the container tag. The values will be HTML-encoded using `yii\\helpers\\Html::encode()`. If a value is `null`, the corresponding attribute will not be rendered."}],"return":{"type":"string","description":"The generated error summary."}},"field":{"signature":"public function field(yii\\base\\Model $model, string $attribute, array $options = []): yii\\widgets\\ActiveField","summary":"Generates a form field.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The data model."},{"name":"$attribute","type":"string","description":"The attribute name or expression. See `yii\\helpers\\Html::getAttributeName()` for the format about attribute expression."},{"name":"$options","type":"array","default":"[]","optional":true,"description":"The additional configurations for the field object. These are properties of `yii\\widgets\\ActiveField` or a subclass, depending on the value of `$fieldClass`."}],"return":{"type":"yii\\widgets\\ActiveField","description":"The created ActiveField object."}},"getClientOptions":{"signature":"protected function getClientOptions(): mixed","return":{"type":"mixed"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the widget.","return":{"type":"mixed"}},"registerClientScript":{"signature":"public function registerClientScript(): mixed","summary":"This registers the necessary JavaScript code.","return":{"type":"mixed"},"since":"2.0.12"},"run":{"signature":"public function run(): mixed","summary":"Runs the widget.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidCallException","description":"if `beginField()` and `endField()` calls are not matching."}]},"validate":{"signature":"public static function validate(yii\\base\\Model $model, mixed $attributes = null): array<string, string[]>","summary":"Validates one or several models and returns an error message array indexed by the attribute IDs.","params":[{"name":"$model","type":"yii\\base\\Model","description":"The model to be validated."},{"name":"$attributes","type":"mixed","default":"null","optional":true,"description":"List of attributes that should be validated. If this parameter is empty, it means any attribute listed in the applicable validation rules should be validated. When this method is used to validate multiple models, this parameter will be interpreted as a model."}],"return":{"type":"array<string, string[]>","description":"The error message array indexed by the attribute IDs."},"static":true},"validateMultiple":{"signature":"public static function validateMultiple(array $models, mixed $attributes = null): array","summary":"Validates an array of model instances and returns an error message array indexed by the attribute IDs.","params":[{"name":"$models","type":"array","description":"An array of models to be validated."},{"name":"$attributes","type":"mixed","default":"null","optional":true,"description":"List of attributes that should be validated. If this parameter is empty, it means any attribute listed in the applicable validation rules should be validated."}],"return":{"type":"array","description":"The error message array indexed by the attribute IDs."},"static":true}},"constants":{"VALIDATION_STATE_ON_CONTAINER":{"value":"'container'","description":"Add validation state class to container tag","since":"2.0.14"},"VALIDATION_STATE_ON_INPUT":{"value":"'input'","description":"Add validation state class to input tag","since":"2.0.14"}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\ActiveFormAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/activeformasset/","summary":"The asset bundle for the `yii\\widgets\\ActiveForm` widget.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"['yii\\web\\YiiAsset']"},"js":{"default":"['yii.activeForm.js']"},"sourcePath":{"default":"'@yii/assets'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\widgets\\BaseListView":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/api/yii/widgets/baselistview/","summary":"BaseListView is a base class for widgets displaying data from data provider such as ListView and GridView.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"dataProvider":{"type":"yii\\data\\DataProviderInterface","default":"null","description":"The data provider for the view."},"emptyText":{"type":"string|false|null","default":"null","description":"The HTML content to be displayed when `$dataProvider` does not have any data."},"emptyTextOptions":{"type":"array","default":"['class' => 'empty']","description":"The HTML attributes for the emptyText of the list view."},"layout":{"type":"string","default":"\"{summary}\\n{items}\\n{pager}\"","description":"The layout that determines how different sections of the list view should be organized."},"options":{"type":"array","default":"[]","description":"The HTML attributes for the container tag of the list view."},"pager":{"type":"array","default":"[]","description":"The configuration for the pager widget."},"showOnEmpty":{"type":"bool","default":"false","description":"Whether to show an empty list view if `$dataProvider` returns no data."},"sorter":{"type":"array","default":"[]","description":"The configuration for the sorter widget."},"summary":{"type":"string|null","default":"null","description":"The HTML content to be displayed as the summary of the list view."},"summaryOptions":{"type":"array","default":"['class' => 'summary']","description":"The HTML attributes for the summary of the list view."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the view.","return":{"type":"mixed"}},"renderEmpty":{"signature":"public function renderEmpty(): string","summary":"Renders the HTML content indicating that the list view has no data.","return":{"type":"string","description":"The rendering result"}},"renderItems":{"signature":"abstract public function renderItems(): string","summary":"Renders the data models.","return":{"type":"string","description":"The rendering result."},"abstract":true},"renderPager":{"signature":"public function renderPager(): string","summary":"Renders the pager.","return":{"type":"string","description":"The rendering result"}},"renderSection":{"signature":"public function renderSection(string $name): string|bool","summary":"Renders a section of the specified name.","params":[{"name":"$name","type":"string","description":"The section name, e.g., `{summary}`, `{items}`."}],"return":{"type":"string|bool","description":"The rendering result of the section, or false if the named section is not supported."}},"renderSorter":{"signature":"public function renderSorter(): string","summary":"Renders the sorter.","return":{"type":"string","description":"The rendering result"}},"renderSummary":{"signature":"public function renderSummary(): mixed","summary":"Renders the summary text.","return":{"type":"mixed"}},"run":{"signature":"public function run(): mixed","summary":"Runs the widget.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\Block":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/block/","summary":"Block records all output between `begin()` and `end()` calls and stores it in `yii\\base\\View::$blocks`.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"renderInPlace":{"type":"bool","default":"false","description":"Whether to render the block content in place."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Starts recording a block.","return":{"type":"mixed"}},"run":{"signature":"public function run(): mixed","summary":"Ends recording a block.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\Breadcrumbs":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/breadcrumbs/","summary":"Breadcrumbs displays a list of links indicating the position of the current page in the whole site hierarchy.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"activeItemTemplate":{"type":"string","default":"\"<li class=\\\"active\\\">{link}</li>\\n\"","description":"The template used to render each active item in the breadcrumbs."},"encodeLabels":{"type":"bool","default":"true","description":"Whether to HTML-encode the link labels."},"homeLink":{"type":"array|null","default":"null","description":"The first hyperlink in the breadcrumbs (called home link)."},"itemTemplate":{"type":"string","default":"\"<li>{link}</li>\\n\"","description":"The template used to render each inactive item in the breadcrumbs."},"links":{"type":"array","default":"[]","description":"List of links to appear in the breadcrumbs."},"options":{"type":"array","default":"[]","description":"The HTML attributes for the breadcrumb container tag."},"tag":{"type":"string","default":"'ul'","description":"The name of the breadcrumb container tag."}},"methods":{"renderItem":{"signature":"protected function renderItem(array $link, string $template): string","summary":"Renders a single breadcrumb item.","params":[{"name":"$link","type":"array","description":"The link to be rendered. It must contain the \"label\" element. The \"url\" element is optional."},{"name":"$template","type":"string","description":"The template to be used to rendered the link. The token \"{link}\" will be replaced by the link."}],"return":{"type":"string","description":"The rendering result"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$link` does not have \"label\" element."}],"visibility":"protected"},"run":{"signature":"public function run(): mixed","summary":"Renders the widget.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Widget","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\ContentDecorator":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/contentdecorator/","summary":"ContentDecorator records all output between `begin()` and `end()` calls, passes it to the given view file as `$content` and then echoes rendering result.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"params":{"type":"array","default":"[]","description":"The parameters (name => value) to be extracted and made available in the decorative view."},"viewFile":{"type":"string","default":"null","description":"The view file that will be used to decorate the content enclosed by this widget."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Starts recording a clip.","return":{"type":"mixed"}},"run":{"signature":"public function run(): mixed","summary":"Ends recording a clip.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\DetailView":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/detailview/","summary":"DetailView displays the detail of a single data `$model`.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"attributes":{"type":"array","default":"null","description":"A list of attributes to be displayed in the detail view."},"formatter":{"type":"array|yii\\i18n\\Formatter|null","default":"null","description":"The formatter used to format model attribute values into displayable texts."},"model":{"type":"array|object","default":"null","description":"The data model whose details are to be displayed."},"options":{"type":"array|null","default":"['class' => 'detail-view']","description":"The HTML attributes for the container tag of this widget."},"template":{"type":"string|callable","default":"'<tr><th{captionOptions}>{label}</th><td{contentOptions}>{value}</td></tr>'","description":"The template used to render a single attribute."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the detail view.","return":{"type":"mixed"}},"normalizeAttributes":{"signature":"protected function normalizeAttributes(): mixed","summary":"Normalizes the attribute specifications.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException"}],"visibility":"protected"},"renderAttribute":{"signature":"protected function renderAttribute(array $attribute, int $index): string","summary":"Renders a single attribute.","params":[{"name":"$attribute","type":"array","description":"The specification of the attribute to be rendered."},{"name":"$index","type":"int","description":"The zero-based index of the attribute in the `$attributes` array"}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"run":{"signature":"public function run(): mixed","summary":"Renders the detail view.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\FragmentCache":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/fragmentcache/","summary":"FragmentCache is used by `yii\\base\\View` to provide caching of page fragments.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\DynamicContentAwareInterface","yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"traits":["yii\\base\\DynamicContentAwareTrait"],"properties":{"cache":{"type":"yii\\caching\\CacheInterface|array|string","default":"'cache'","description":"The cache object or the application component ID of the cache object."},"cachedContent":{"type":"string|false","description":"The cached content.","access":"read-only","virtual":true},"dependency":{"type":"array|yii\\caching\\Dependency","default":"null","description":"The dependency that the cached content depends on."},"duration":{"type":"int","default":"60","description":"Number of seconds that the data can remain valid in cache."},"enabled":{"type":"bool","default":"true","description":"Whether to enable the fragment cache."},"variations":{"type":"string[]|string","default":"null","description":"List of factors that would cause the variation of the content being cached."}},"methods":{"calculateKey":{"signature":"protected function calculateKey(): mixed","summary":"Generates a unique key used for storing the content in cache.","return":{"type":"mixed","description":"A valid cache key"},"visibility":"protected"},"getCachedContent":{"signature":"public function getCachedContent(): string|false","summary":"Returns the cached content if available.","return":{"type":"string|false","description":"The cached content. False is returned if valid content is not found in the cache."}},"init":{"signature":"public function init(): mixed","summary":"Initializes the FragmentCache object.","return":{"type":"mixed"}},"run":{"signature":"public function run(): mixed","summary":"Marks the end of content to be cached.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","dynamicPlaceholders":"yii\\base\\DynamicContentAwareTrait","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","addDynamicPlaceholder":"yii\\base\\DynamicContentAwareTrait","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getDynamicPlaceholders":"yii\\base\\DynamicContentAwareTrait","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setDynamicPlaceholders":"yii\\base\\DynamicContentAwareTrait","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","updateDynamicContent":"yii\\base\\DynamicContentAwareTrait","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\InputWidget":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/inputwidget/","summary":"InputWidget is the base class for widgets that collect user inputs.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"attribute":{"type":"string|null","default":"null","description":"The model attribute that this widget is associated with."},"field":{"type":"yii\\widgets\\ActiveField","default":"null","description":"Active input field, which triggers this widget rendering.","since":"2.0.11"},"model":{"type":"yii\\base\\Model|null","default":"null","description":"The data model that this widget is associated with."},"name":{"type":"string|null","default":"null","description":"The input name."},"options":{"type":"array","default":"[]","description":"The HTML attributes for the input tag."},"value":{"type":"string","default":"null","description":"The input value."}},"methods":{"hasModel":{"signature":"protected function hasModel(): bool","return":{"type":"bool","description":"Whether this widget is associated with a data model."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the widget.","return":{"type":"mixed"}},"renderInputHtml":{"signature":"protected function renderInputHtml(string $type): string","summary":"Render a HTML input tag.","params":[{"name":"$type","type":"string","description":"The type of the input to create."}],"return":{"type":"string","description":"The HTML of the input field."},"visibility":"protected","since":"2.0.13"}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","run":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\LinkPager":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/linkpager/","summary":"LinkPager displays a list of hyperlinks that lead to different pages of target.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"activePageCssClass":{"type":"string","default":"'active'","description":"The CSS class for the active (currently selected) page button."},"disableCurrentPageButton":{"type":"bool","default":"false","description":"Whether to render current page button as disabled.","since":"2.0.12"},"disabledListItemSubTagOptions":{"type":"array","default":"[]","description":"The options for the disabled tag to be generated inside the disabled list element.","since":"2.0.11"},"disabledPageCssClass":{"type":"string","default":"'disabled'","description":"The CSS class for the disabled page buttons."},"firstPageCssClass":{"type":"string","default":"'first'","description":"The CSS class for the \"first\" page button."},"firstPageLabel":{"type":"string|bool","default":"false","description":"The text label for the \"first\" page button."},"hideOnSinglePage":{"type":"bool","default":"true","description":"Hide widget when only one page exist."},"lastPageCssClass":{"type":"string","default":"'last'","description":"The CSS class for the \"last\" page button."},"lastPageLabel":{"type":"string|bool","default":"false","description":"The text label for the \"last\" page button."},"linkContainerOptions":{"type":"array","default":"[]","description":"HTML attributes which will be applied to all link containers","since":"2.0.13"},"linkOptions":{"type":"array","default":"[]","description":"HTML attributes for the link in a pager container tag."},"maxButtonCount":{"type":"int","default":"10","description":"Maximum number of page buttons that can be displayed."},"nextPageCssClass":{"type":"string","default":"'next'","description":"The CSS class for the \"next\" page button."},"nextPageLabel":{"type":"string|bool","default":"'&raquo;'","description":"The label for the \"next\" page button."},"options":{"type":"array","default":"[]","description":"HTML attributes for the pager container tag."},"pageCssClass":{"type":"string","default":"null","description":"The CSS class for the each page button.","since":"2.0.7"},"pagination":{"type":"yii\\data\\Pagination","default":"null","description":"The pagination object that this pager is associated with."},"prevPageCssClass":{"type":"string","default":"'prev'","description":"The CSS class for the \"previous\" page button."},"prevPageLabel":{"type":"string|bool","default":"'&laquo;'","description":"The text label for the \"previous\" page button."},"registerLinkTags":{"type":"bool","default":"false","description":"Whether to register link tags in the HTML header for prev, next, first and last page."}},"methods":{"getPageRange":{"signature":"protected function getPageRange(): array","return":{"type":"array","description":"The begin and end pages that need to be displayed."},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the pager.","return":{"type":"mixed"}},"registerLinkTags":{"signature":"protected function registerLinkTags(): mixed","summary":"Registers relational link tags in the html header for prev, next, first and last page.","return":{"type":"mixed"},"visibility":"protected"},"renderPageButton":{"signature":"protected function renderPageButton(string $label, int $page, string $class, bool $disabled, bool $active): string","summary":"Renders a page button.","params":[{"name":"$label","type":"string","description":"The text label for the button"},{"name":"$page","type":"int","description":"The page number"},{"name":"$class","type":"string","description":"The CSS class for the page button."},{"name":"$disabled","type":"bool","description":"Whether this page button is disabled"},{"name":"$active","type":"bool","description":"Whether this page button is active"}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderPageButtons":{"signature":"protected function renderPageButtons(): string","summary":"Renders the page buttons.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"run":{"signature":"public function run(): mixed","summary":"Executes the widget.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\LinkSorter":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/linksorter/","summary":"LinkSorter renders a list of sort links for the given sort definition.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"attributes":{"type":"array|null","default":"null","description":"List of the attributes that support sorting."},"linkOptions":{"type":"array","default":"[]","description":"HTML attributes for the link in a sorter container tag which are passed to `yii\\data\\Sort::link()`.","since":"2.0.6"},"options":{"type":"array","default":"['class' => 'sorter']","description":"HTML attributes for the sorter container tag."},"sort":{"type":"yii\\data\\Sort|null","default":"null","description":"The sort definition"}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the sorter.","return":{"type":"mixed"}},"renderSortLinks":{"signature":"protected function renderSortLinks(): string","summary":"Renders the sort links.","return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"run":{"signature":"public function run(): mixed","summary":"Executes the widget.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\ListView":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/listview/","summary":"The ListView widget is used to display data from data provider. Each data model is rendered using the view specified.","since":"2.0","extends":"yii\\widgets\\BaseListView","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"afterItem":{"type":"Closure|null","default":"null","description":"An anonymous function that is called once AFTER rendering each data model.","since":"2.0.11"},"beforeItem":{"type":"Closure|null","default":"null","description":"An anonymous function that is called once BEFORE rendering each data model.","since":"2.0.11"},"itemOptions":{"type":"array|Closure","default":"[]","description":"The HTML attributes for the container of the rendering result of each data model."},"itemView":{"type":"string|callable","default":"null","description":"The name of the view for rendering each data item, or a callback (e.g. an anonymous function) for rendering each data item."},"options":{"type":"array","default":"['class' => 'list-view']","description":"The HTML attributes for the container tag of the list view."},"separator":{"type":"string","default":"\"\\n\"","description":"The HTML code to be displayed between any two consecutive items."},"viewParams":{"type":"array","default":"[]","description":"Additional parameters to be passed to `$itemView` when it is being rendered."}},"methods":{"renderAfterItem":{"signature":"protected function renderAfterItem(mixed $model, mixed $key, int $index): string|null","summary":"Calls `$afterItem` closure, returns execution result.","params":[{"name":"$model","type":"mixed","description":"The data model to be rendered"},{"name":"$key","type":"mixed","description":"The key value associated with the data model"},{"name":"$index","type":"int","description":"The zero-based index of the data model in the model array returned by `$dataProvider`."}],"return":{"type":"string|null","description":"`$afterItem` call result or `null` when `$afterItem` is not a closure"},"visibility":"protected","since":"2.0.11"},"renderBeforeItem":{"signature":"protected function renderBeforeItem(mixed $model, mixed $key, int $index): string|null","summary":"Calls `$beforeItem` closure, returns execution result.","params":[{"name":"$model","type":"mixed","description":"The data model to be rendered"},{"name":"$key","type":"mixed","description":"The key value associated with the data model"},{"name":"$index","type":"int","description":"The zero-based index of the data model in the model array returned by `$dataProvider`."}],"return":{"type":"string|null","description":"`$beforeItem` call result or `null` when `$beforeItem` is not a closure"},"visibility":"protected","since":"2.0.11"},"renderItem":{"signature":"public function renderItem(mixed $model, mixed $key, int $index): string","summary":"Renders a single data model.","params":[{"name":"$model","type":"mixed","description":"The data model to be rendered"},{"name":"$key","type":"mixed","description":"The key value associated with the data model"},{"name":"$index","type":"int","description":"The zero-based index of the data model in the model array returned by `$dataProvider`."}],"return":{"type":"string","description":"The rendering result"}},"renderItems":{"signature":"public function renderItems(): string","summary":"Renders all data models.","return":{"type":"string","description":"The rendering result"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","dataProvider":"yii\\widgets\\BaseListView","emptyText":"yii\\widgets\\BaseListView","emptyTextOptions":"yii\\widgets\\BaseListView","id":"yii\\base\\Widget","layout":"yii\\widgets\\BaseListView","pager":"yii\\widgets\\BaseListView","showOnEmpty":"yii\\widgets\\BaseListView","sorter":"yii\\widgets\\BaseListView","summary":"yii\\widgets\\BaseListView","summaryOptions":"yii\\widgets\\BaseListView","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\widgets\\BaseListView","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderEmpty":"yii\\widgets\\BaseListView","renderFile":"yii\\base\\Widget","renderPager":"yii\\widgets\\BaseListView","renderSection":"yii\\widgets\\BaseListView","renderSorter":"yii\\widgets\\BaseListView","renderSummary":"yii\\widgets\\BaseListView","run":"yii\\widgets\\BaseListView","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\MaskedInput":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/maskedinput/","summary":"MaskedInput generates a masked text input.","since":"2.0","extends":"yii\\widgets\\InputWidget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"_hashVar":{"type":"string|null","default":"null","description":"The hashed variable to store the pluginOptions","visibility":"protected"},"_jsCallbacks":{"type":"string[]","default":"['oncomplete', 'onincomplete', 'oncleared', 'onKeyDown', 'onBeforeMask', 'onBeforePaste', 'onBeforeWrite', 'onUnMask', 'onKeyValidation', 'isComplete', 'preValidation', 'postValidation', 'canClearPosition']","description":"The inputmask properties can be contained callbacks","visibility":"protected"},"aliases":{"type":"array|null","default":"null","description":"Custom aliases to use."},"clientOptions":{"type":"array","default":"[]","description":"The JQuery plugin options for the input mask plugin."},"definitions":{"type":"array|null","default":"null","description":"Custom mask definitions to use."},"mask":{"type":"string|array|yii\\web\\JsExpression","default":"null","description":"The input mask (e.g. '99/99/9999' for date input)."},"options":{"type":"array","default":"['class' => 'form-control']","description":"The HTML attributes for the input tag."},"type":{"type":"string","default":"'text'","description":"The type of the input tag.","since":"2.0.6"}},"methods":{"hashPluginOptions":{"signature":"protected function hashPluginOptions(yii\\web\\View $view): mixed","summary":"Generates a hashed variable to store the plugin `clientOptions`.","params":[{"name":"$view","type":"yii\\web\\View","description":"The view instance"}],"return":{"type":"mixed"},"visibility":"protected"},"init":{"signature":"public function init(): mixed","summary":"Initializes the widget.","return":{"type":"mixed"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the \"mask\" property is not set."}]},"initClientOptions":{"signature":"protected function initClientOptions(): mixed","summary":"Initializes client options.","return":{"type":"mixed"},"visibility":"protected"},"registerClientScript":{"signature":"public function registerClientScript(): mixed","summary":"Registers the needed client script and options.","return":{"type":"mixed"}},"run":{"signature":"public function run(): string|void","summary":"Executes the widget.","return":{"type":"string|void","description":"The rendering result may be directly \"echoed\" or returned as a string"}}},"constants":{"PLUGIN_NAME":{"value":"'inputmask'","description":"The name of the jQuery plugin to use for this widget."}},"inherited":{"properties":{"attribute":"yii\\widgets\\InputWidget","autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","field":"yii\\widgets\\InputWidget","id":"yii\\base\\Widget","model":"yii\\widgets\\InputWidget","name":"yii\\widgets\\InputWidget","value":"yii\\widgets\\InputWidget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasModel":"yii\\widgets\\InputWidget","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","renderInputHtml":"yii\\widgets\\InputWidget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\MaskedInputAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/maskedinputasset/","summary":"The asset bundle for the `yii\\widgets\\MaskedInput` widget.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"['yii\\web\\YiiAsset']"},"js":{"default":"['jquery.inputmask.js']"},"sourcePath":{"default":"'@npm/inputmask/dist'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\widgets\\Menu":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/menu/","summary":"Menu displays a multi-level menu using nested HTML lists.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"activateItems":{"type":"bool","default":"true","description":"Whether to automatically activate items according to whether their route setting matches the currently requested route."},"activateParents":{"type":"bool","default":"false","description":"Whether to activate parent menu items when one of the corresponding child menu items is active."},"activeCssClass":{"type":"string","default":"'active'","description":"The CSS class to be appended to the active menu item."},"encodeLabels":{"type":"bool","default":"true","description":"Whether the labels for menu items should be HTML-encoded."},"firstItemCssClass":{"type":"string|null","default":"null","description":"The CSS class that will be assigned to the first item in the main menu or each submenu."},"hideEmptyItems":{"type":"bool","default":"true","description":"Whether to hide empty menu items."},"itemOptions":{"type":"array","default":"[]","description":"List of HTML attributes shared by all menu `$items`."},"items":{"type":"array","default":"[]","description":"List of menu items."},"labelTemplate":{"type":"string","default":"'{label}'","description":"The template used to render the body of a menu which is NOT a link."},"lastItemCssClass":{"type":"string|null","default":"null","description":"The CSS class that will be assigned to the last item in the main menu or each submenu."},"linkTemplate":{"type":"string","default":"'<a href=\"{url}\">{label}</a>'","description":"The template used to render the body of a menu which is a link."},"options":{"type":"array","default":"[]","description":"The HTML attributes for the menu's container tag."},"params":{"type":"array|null","default":"null","description":"The parameters used to determine if a menu item is active or not."},"route":{"type":"string|null","default":"null","description":"The route used to determine if a menu item is active or not."},"submenuTemplate":{"type":"string","default":"\"\\n<ul>\\n{items}\\n</ul>\\n\"","description":"The template used to render a list of sub-menus."}},"methods":{"isItemActive":{"signature":"protected function isItemActive(array $item): bool","summary":"Checks whether a menu item is active.","params":[{"name":"$item","type":"array","description":"The menu item to be checked"}],"return":{"type":"bool","description":"Whether the menu item is active"},"visibility":"protected"},"normalizeItems":{"signature":"protected function normalizeItems(array $items, bool &$active): array","summary":"Normalizes the `$items` property to remove invisible items and activate certain items.","params":[{"name":"$items","type":"array","description":"The items to be normalized."},{"name":"$active","type":"bool","byReference":true,"description":"Whether there is an active child menu item."}],"return":{"type":"array","description":"The normalized menu items"},"visibility":"protected"},"renderItem":{"signature":"protected function renderItem(array $item): string","summary":"Renders the content of a menu item.","params":[{"name":"$item","type":"array","description":"The menu item to be rendered. Please refer to `$items` to see what data might be in the item."}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"renderItems":{"signature":"protected function renderItems(array $items): string","summary":"Recursively renders the menu items (without the container tag).","params":[{"name":"$items","type":"array","description":"The menu items to be rendered recursively"}],"return":{"type":"string","description":"The rendering result"},"visibility":"protected"},"run":{"signature":"public function run(): mixed","summary":"Renders the menu.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","init":"yii\\base\\Widget","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\Pjax":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/pjax/","summary":"Pjax is a widget integrating the [pjax](https://github.com/yiisoft/jquery-pjax) jQuery plugin.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"autoIdPrefix":{"type":"string","default":"'p'","static":true},"clientOptions":{"type":"array","default":"null","description":"Additional options to be passed to the pjax JS plugin."},"enablePushState":{"type":"bool","default":"true","description":"Whether to enable push state."},"enableReplaceState":{"type":"bool","default":"false","description":"Whether to enable replace state."},"formSelector":{"type":"string|null|false","default":"null","description":"The jQuery selector of the forms whose submissions should trigger pjax requests."},"linkSelector":{"type":"string|null|false","default":"null","description":"The jQuery selector of the links that should trigger pjax requests."},"options":{"type":"array","default":"[]","description":"The HTML attributes for the widget container tag."},"scrollTo":{"type":"bool|int","default":"false","description":"How to scroll the page when pjax response is received."},"submitEvent":{"type":"string","default":"'submit'","description":"The jQuery event that will trigger form handler.","since":"2.0.9"},"timeout":{"type":"int","default":"1000","description":"Pjax timeout setting (in milliseconds)."}},"methods":{"init":{"signature":"public function init(): mixed","summary":"Initializes the object.","return":{"type":"mixed"}},"registerClientScript":{"signature":"public function registerClientScript(): mixed","summary":"Registers the needed JavaScript.","return":{"type":"mixed"}},"requiresPjax":{"signature":"protected function requiresPjax(): bool","return":{"type":"bool","description":"Whether the current request requires pjax response from this widget"},"visibility":"protected"},"run":{"signature":"public function run(): string|void","summary":"Executes the widget.","return":{"type":"string|void","description":"The rendering result may be directly \"echoed\" or returned as a string"}}},"inherited":{"properties":{"behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}},"yii\\widgets\\PjaxAsset":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/pjaxasset/","summary":"This asset bundle provides the javascript files required by `yii\\widgets\\Pjax` widget.","since":"2.0","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"['yii\\web\\YiiAsset']"},"js":{"default":"['jquery.pjax.js']"},"sourcePath":{"default":"'@npm/yii2-pjax'"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle"},"methods":{"__call":"yii\\base\\BaseObject","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\BaseObject","__isset":"yii\\base\\BaseObject","__set":"yii\\base\\BaseObject","__unset":"yii\\base\\BaseObject","canGetProperty":"yii\\base\\BaseObject","canSetProperty":"yii\\base\\BaseObject","className":"yii\\base\\BaseObject","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii\\web\\AssetBundle","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii\\widgets\\Spaceless":{"kind":"class","url":"https://yii2-framework.github.io/docs/api/yii/widgets/spaceless/","summary":"Spaceless widget removes whitespace characters between HTML tags. Whitespaces within HTML tags or in a plain text are always left untouched.","since":"2.0","extends":"yii\\base\\Widget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"methods":{"init":{"signature":"public function init(): mixed","summary":"Starts capturing an output to be cleaned from whitespace characters between HTML tags.","return":{"type":"mixed"}},"run":{"signature":"public function run(): mixed","summary":"Marks the end of content to be cleaned from whitespace characters between HTML tags.","return":{"type":"mixed"}}},"inherited":{"properties":{"autoIdPrefix":"yii\\base\\Widget","behaviors":"yii\\base\\Component","id":"yii\\base\\Widget","view":"yii\\base\\Widget","viewPath":"yii\\base\\Widget"},"methods":{"__call":"yii\\base\\Component","__clone":"yii\\base\\Component","__construct":"yii\\base\\BaseObject","__get":"yii\\base\\Component","__isset":"yii\\base\\Component","__set":"yii\\base\\Component","__unset":"yii\\base\\Component","afterRun":"yii\\base\\Widget","attachBehavior":"yii\\base\\Component","attachBehaviors":"yii\\base\\Component","beforeRun":"yii\\base\\Widget","begin":"yii\\base\\Widget","behaviors":"yii\\base\\Component","canGetProperty":"yii\\base\\Component","canSetProperty":"yii\\base\\Component","className":"yii\\base\\BaseObject","detachBehavior":"yii\\base\\Component","detachBehaviors":"yii\\base\\Component","end":"yii\\base\\Widget","ensureBehaviors":"yii\\base\\Component","getBehavior":"yii\\base\\Component","getBehaviors":"yii\\base\\Component","getId":"yii\\base\\Widget","getView":"yii\\base\\Widget","getViewPath":"yii\\base\\Widget","hasEventHandlers":"yii\\base\\Component","hasMethod":"yii\\base\\Component","hasProperty":"yii\\base\\Component","off":"yii\\base\\Component","on":"yii\\base\\Component","render":"yii\\base\\Widget","renderFile":"yii\\base\\Widget","setId":"yii\\base\\Widget","setView":"yii\\base\\Widget","trigger":"yii\\base\\Component","widget":"yii\\base\\Widget"},"events":{"EVENT_INIT":"yii\\base\\Widget","EVENT_BEFORE_RUN":"yii\\base\\Widget","EVENT_AFTER_RUN":"yii\\base\\Widget"}}}}}
