{"$schema":"https://yii2-framework.github.io/docs/reference/reference.schema.json","schemaVersion":1,"package":"filepond","title":"FilePond","repository":"https://github.com/yii2-extensions/filepond","ref":"main","commit":"f34043a9f4722360cd8f6f12b720c1cda83553fe","generatedAt":"2026-10-18","url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/","types":{"yii2\\extensions\\filepond\\Bootstrap":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/bootstrap/","summary":"Registers the `yii.filepond` message source when the application does not configure it.","implements":["yii\\base\\BootstrapInterface"],"methods":{"bootstrap":{"signature":"public function bootstrap(yii\\base\\Application $app): void","params":[{"name":"$app","type":"yii\\base\\Application","description":"Application being bootstrapped."}],"return":{"type":"void"}}}},"yii2\\extensions\\filepond\\FilePond":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/filepond/","summary":"Renders a FilePond file input with plugin management, localized labels, and optional Cropper.js image editing.","extends":"yii\\widgets\\InputWidget","implements":["yii\\base\\ViewContextInterface","yii\\base\\Configurable"],"properties":{"acceptedFileTypes":{"type":"list<string>","default":"[]","description":"Accepted MIME types or wildcards such as `image/*`, enforced by the File Validate Type plugin."},"allowFileEncode":{"type":"bool","default":"true","description":"Whether to encode files as base64 JSON payloads submitted with the form."},"allowFilePoster":{"type":"bool","default":"false","description":"Whether to render a poster image for items that carry `metadata.poster`."},"allowFileRename":{"type":"bool","default":"false","description":"Whether to rename files on the client through `fileRenameFunction`."},"allowFileSizeValidation":{"type":"bool","default":"true","description":"Whether to validate file sizes on the client."},"allowFileTypeValidation":{"type":"bool","default":"true","description":"Whether to validate file types on the client."},"allowImageCrop":{"type":"bool","default":"false","description":"Whether to crop image previews to `$imageCropAspectRatio`."},"allowImageEdit":{"type":"bool","default":"false","description":"Whether to open the Cropper.js editor for image items."},"allowImageExifOrientation":{"type":"bool","default":"true","description":"Whether to correct image orientation from EXIF data."},"allowImagePreview":{"type":"bool","default":"true","description":"Whether to render image previews."},"allowImageTransform":{"type":"bool","default":"false","description":"Whether to apply crop, resize, and output transforms on the client before submission."},"allowMultiple":{"type":"bool","default":"false","description":"Whether to accept multiple files; the input name receives the `[]` suffix."},"allowPdfPreview":{"type":"bool","default":"false","description":"Whether to render PDF previews."},"cdn":{"type":"bool","default":"false","description":"Whether to load FilePond, its plugins, and Cropper.js from the CDN instead of publishing them."},"config":{"type":"array<string, mixed>","default":"[]","description":"FilePond options merged last, overriding typed properties and localized labels."},"cropper":{"type":"array<string, mixed>","default":"[]","description":"Cropper.js editor options; requires `$allowImageEdit`."},"files":{"type":"list<mixed>","default":"[]","description":"Initial FilePond `files`, either sources or `{source, options}` entries."},"imageCropAspectRatio":{"type":"string|null","default":"null","description":"Crop aspect ratio in `width:height` format, for example `1:1`."},"labelIdle":{"type":"string|null","default":"null","description":"Drop area label, or `null` to use the localized default."},"maxFiles":{"type":"int|null","default":"null","description":"Maximum number of files, or `null` for no limit."},"maxFileSize":{"type":"int|string|null","default":"null","description":"Maximum file size in bytes or as a FilePond size string such as `2MB`."},"maxTotalFileSize":{"type":"int|string|null","default":"null","description":"Maximum total size of all files in bytes or as a FilePond size string."},"minFileSize":{"type":"int|string|null","default":"null","description":"Minimum file size in bytes or as a FilePond size string."},"plugins":{"type":"list<yii2\\extensions\\filepond\\asset\\Plugin>","description":"Enabled plugins in registration order.","access":"read-only","virtual":true},"required":{"type":"bool","default":"false","description":"Whether the input is required for form submission."}},"methods":{"getOptions":{"signature":"public function getOptions(): array<string, mixed>","summary":"Returns the FilePond options passed to `FilePond.create()`.","return":{"type":"array<string, mixed>","description":"Localized labels, typed properties, and `$config` merged in that order."}},"getPlugins":{"signature":"public function getPlugins(): list<yii2\\extensions\\filepond\\asset\\Plugin>","summary":"Returns the plugins enabled by the effective options.","return":{"type":"list<yii2\\extensions\\filepond\\asset\\Plugin>","description":"Enabled plugins in registration order."}},"init":{"signature":"public function init(): void","return":{"type":"void"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if `$imageCropAspectRatio` or `$cropper` is misconfigured."}]},"run":{"signature":"public function run(): string","return":{"type":"string"}}},"constants":{"TRANSLATION_CATEGORY":{"value":"'yii.filepond'","description":"Message category used for the widget labels."}},"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","options":"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"}}},"yii2\\extensions\\filepond\\asset\\AbstractLocalAsset":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/abstractlocalasset/","summary":"Provides readable or minified delivery for the scripts and stylesheets shipped inside this package.","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"minified":{"type":"bool|null","default":"null","description":"Whether to serve the minified files, or `null` to serve them outside debug mode."}},"methods":{"init":{"signature":"public function init(): void","summary":"Initializes the bundle file lists for the configured build.","return":{"type":"void"}},"scripts":{"signature":"abstract protected function scripts(): list<string>","summary":"Returns the script file names inside `$sourcePath`, without the `.min` infix.","return":{"type":"list<string>","description":"Script file names."},"visibility":"protected","abstract":true},"styles":{"signature":"abstract protected function styles(): list<string>","summary":"Returns the stylesheet file names inside `$sourcePath`, without the `.min` infix.","return":{"type":"list<string>","description":"Stylesheet file names."},"visibility":"protected","abstract":true}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/abstractnpmasset/","summary":"Provides local or CDN delivery for asset bundles backed by an npm package installed under the `@npm` alias.","extends":"yii\\web\\AssetBundle","implements":["yii\\base\\Configurable"],"properties":{"cdn":{"type":"bool","default":"false","description":"Whether to link the files from the CDN instead of publishing the local package."},"cdnUrl":{"type":"string","default":"'https://unpkg.com'","description":"Base URL of the CDN serving npm packages as `{cdnUrl}/{package}@{version}/dist/{file}`."},"minified":{"type":"bool|null","default":"null","description":"Whether to serve the minified `dist` files, or `null` to serve them outside debug mode."}},"methods":{"dependencies":{"signature":"public static function dependencies(): list<class-string<yii\\web\\AssetBundle>>","summary":"Returns the asset bundle classes this bundle depends on.","return":{"type":"list<class-string<yii\\web\\AssetBundle>>","description":"Dependency bundle classes."},"static":true},"init":{"signature":"public function init(): void","summary":"Initializes the bundle file lists for the configured delivery mode.","return":{"type":"void"},"throws":[{"type":"yii\\base\\InvalidConfigException","description":"if the installed package version cannot be resolved in CDN mode."}]},"package":{"signature":"abstract protected function package(): string","summary":"Returns the npm package name that ships the files.","return":{"type":"string","description":"Npm package name."},"visibility":"protected","abstract":true},"registerWith":{"signature":"public static function registerWith(yii\\web\\View $view, bool $cdn = false): static","summary":"Registers the bundle, and its npm-backed dependencies, with the given delivery mode.","params":[{"name":"$view","type":"yii\\web\\View","description":"View that renders the asset files."},{"name":"$cdn","type":"bool","default":"false","optional":true,"description":"Whether to link the files from the CDN."}],"return":{"type":"static","description":"Registered bundle instance."},"static":true},"scripts":{"signature":"abstract protected function scripts(): list<string>","summary":"Returns the script file names inside the package `dist` directory, without the `.min` infix.","return":{"type":"list<string>","description":"Script file names."},"visibility":"protected","abstract":true},"styles":{"signature":"protected function styles(): list<string>","summary":"Returns the stylesheet file names inside the package `dist` directory, without the `.min` infix.","return":{"type":"list<string>","description":"Stylesheet file names."},"visibility":"protected"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset":{"kind":"class","modifiers":["abstract"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/abstractpluginasset/","summary":"Provides local or CDN delivery for a FilePond plugin distribution.","extends":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","implements":["yii\\base\\Configurable"],"methods":{"dependencies":{"signature":"public static function dependencies(): array","return":{"type":"array"},"static":true},"package":{"signature":"protected function package(): string","return":{"type":"string"},"visibility":"protected"},"plugin":{"signature":"abstract public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","summary":"Returns the plugin delivered by this bundle.","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin","description":"Delivered plugin."},"abstract":true},"scripts":{"signature":"protected function scripts(): array","return":{"type":"array"},"visibility":"protected"},"styles":{"signature":"protected function styles(): array","return":{"type":"array"},"visibility":"protected"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset"}}},"yii2\\extensions\\filepond\\asset\\CropperAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/cropperasset/","summary":"Delivers the Cropper.js library used by the image editor.","extends":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","implements":["yii\\base\\Configurable"],"methods":{"package":{"signature":"protected function package(): string","return":{"type":"string"},"visibility":"protected"},"scripts":{"signature":"protected function scripts(): array","return":{"type":"array"},"visibility":"protected"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset"}}},"yii2\\extensions\\filepond\\asset\\FilePondAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/filepondasset/","summary":"Delivers the FilePond core library.","extends":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","implements":["yii\\base\\Configurable"],"methods":{"package":{"signature":"protected function package(): string","return":{"type":"string"},"visibility":"protected"},"scripts":{"signature":"protected function scripts(): array","return":{"type":"array"},"visibility":"protected"},"styles":{"signature":"protected function styles(): array","return":{"type":"array"},"visibility":"protected"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset"}}},"yii2\\extensions\\filepond\\asset\\FilePondCropperAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/filepondcropperasset/","summary":"Delivers the Cropper.js editor adapter for the FilePond Image Edit plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractLocalAsset","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"[\\yii2\\extensions\\filepond\\asset\\CropperAsset::class, \\yii2\\extensions\\filepond\\asset\\FilePondWidgetAsset::class, \\yii2\\extensions\\filepond\\asset\\plugin\\ImageEditAsset::class]"},"sourcePath":{"default":"__DIR__ . '/cropper'"}},"methods":{"scripts":{"signature":"protected function scripts(): array","return":{"type":"array"},"visibility":"protected"},"styles":{"signature":"protected function styles(): array","return":{"type":"array"},"visibility":"protected"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractLocalAsset","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":"yii2\\extensions\\filepond\\asset\\AbstractLocalAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii2\\extensions\\filepond\\asset\\FilePondWidgetAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/filepondwidgetasset/","summary":"Delivers the widget runtime that registers plugins once and creates FilePond instances per input.","extends":"yii2\\extensions\\filepond\\asset\\AbstractLocalAsset","implements":["yii\\base\\Configurable"],"properties":{"depends":{"default":"[\\yii2\\extensions\\filepond\\asset\\FilePondAsset::class]"},"sourcePath":{"default":"__DIR__ . '/widget'"}},"methods":{"scripts":{"signature":"protected function scripts(): array","return":{"type":"array"},"visibility":"protected"},"styles":{"signature":"protected function styles(): array","return":{"type":"array"},"visibility":"protected"}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractLocalAsset","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":"yii2\\extensions\\filepond\\asset\\AbstractLocalAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle"}}},"yii2\\extensions\\filepond\\asset\\Plugin":{"kind":"enum","url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin-enum/","summary":"Represents the FilePond plugins supported by the widget.","backingType":"string","cases":{"FILE_ENCODE":{"value":"'FilePondPluginFileEncode'","description":"File Encode plugin, enabled by `allowFileEncode`: submits files as base64 JSON payloads."},"FILE_POSTER":{"value":"'FilePondPluginFilePoster'","description":"File Poster plugin, enabled by `allowFilePoster`: renders `metadata.poster` images inside items."},"FILE_RENAME":{"value":"'FilePondPluginFileRename'","description":"File Rename plugin, enabled by `allowFileRename`: renames files through `fileRenameFunction`."},"FILE_VALIDATE_SIZE":{"value":"'FilePondPluginFileValidateSize'","description":"File Validate Size plugin, enabled by `allowFileSizeValidation`: validates file sizes on the client."},"FILE_VALIDATE_TYPE":{"value":"'FilePondPluginFileValidateType'","description":"File Validate Type plugin, enabled by `allowFileTypeValidation`: validates file types on the client."},"IMAGE_CROP":{"value":"'FilePondPluginImageCrop'","description":"Image Crop plugin, enabled by `allowImageCrop`: crops previews to `imageCropAspectRatio`."},"IMAGE_EDIT":{"value":"'FilePondPluginImageEdit'","description":"Image Edit plugin, enabled by `allowImageEdit`: opens the Cropper.js editor."},"IMAGE_EXIF_ORIENTATION":{"value":"'FilePondPluginImageExifOrientation'","description":"Image EXIF Orientation plugin, enabled by `allowImageExifOrientation`: corrects orientation from EXIF data."},"IMAGE_PREVIEW":{"value":"'FilePondPluginImagePreview'","description":"Image Preview plugin, enabled by `allowImagePreview`: renders image previews."},"IMAGE_TRANSFORM":{"value":"'FilePondPluginImageTransform'","description":"Image Transform plugin, enabled by `allowImageTransform`: applies crop, resize, and output transforms before submission."},"PDF_PREVIEW":{"value":"'FilePondPluginPdfPreview'","description":"PDF Preview plugin, enabled by `allowPdfPreview`: renders PDF previews."}},"methods":{"assetClass":{"signature":"public function assetClass(): class-string<yii2\\extensions\\filepond\\asset\\AbstractPluginAsset>","summary":"Returns the asset bundle class that delivers the plugin files.","return":{"type":"class-string<yii2\\extensions\\filepond\\asset\\AbstractPluginAsset>","description":"Asset bundle class for the plugin."}},"hasStyles":{"signature":"public function hasStyles(): bool","summary":"Returns whether the plugin ships a stylesheet in its distribution.","return":{"type":"bool","description":"`true` when the plugin distribution includes a CSS file."}},"option":{"signature":"public function option(): string","summary":"Returns the FilePond option that enables or disables the plugin.","return":{"type":"string","description":"FilePond boolean option name."}},"package":{"signature":"public function package(): string","summary":"Returns the npm package name of the plugin.","return":{"type":"string","description":"Npm package name."}}}},"yii2\\extensions\\filepond\\asset\\plugin\\FileEncodeAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/fileencodeasset/","summary":"Delivers the FilePond File Encode plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\FilePosterAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/fileposterasset/","summary":"Delivers the FilePond File Poster plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\FileRenameAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/filerenameasset/","summary":"Delivers the FilePond File Rename plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\FileValidateSizeAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/filevalidatesizeasset/","summary":"Delivers the FilePond File Validate Size plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\FileValidateTypeAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/filevalidatetypeasset/","summary":"Delivers the FilePond File Validate Type plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\ImageCropAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/imagecropasset/","summary":"Delivers the FilePond Image Crop plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\ImageEditAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/imageeditasset/","summary":"Delivers the FilePond Image Edit plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\ImageExifOrientationAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/imageexiforientationasset/","summary":"Delivers the FilePond Image EXIF Orientation plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\ImagePreviewAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/imagepreviewasset/","summary":"Delivers the FilePond Image Preview plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\ImageTransformAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/imagetransformasset/","summary":"Delivers the FilePond Image Transform plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\asset\\plugin\\PdfPreviewAsset":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/asset/plugin/pdfpreviewasset/","summary":"Delivers the FilePond PDF Preview plugin.","extends":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","implements":["yii\\base\\Configurable"],"methods":{"plugin":{"signature":"public function plugin(): yii2\\extensions\\filepond\\asset\\Plugin","return":{"type":"yii2\\extensions\\filepond\\asset\\Plugin"}}},"inherited":{"properties":{"basePath":"yii\\web\\AssetBundle","baseUrl":"yii\\web\\AssetBundle","cdn":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","cdnUrl":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","css":"yii\\web\\AssetBundle","cssOptions":"yii\\web\\AssetBundle","depends":"yii\\web\\AssetBundle","js":"yii\\web\\AssetBundle","jsOptions":"yii\\web\\AssetBundle","minified":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","publishOptions":"yii\\web\\AssetBundle","sourcePath":"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","dependencies":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","hasMethod":"yii\\base\\BaseObject","hasProperty":"yii\\base\\BaseObject","init":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","package":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","publish":"yii\\web\\AssetBundle","register":"yii\\web\\AssetBundle","registerAssetFiles":"yii\\web\\AssetBundle","registerWith":"yii2\\extensions\\filepond\\asset\\AbstractNpmAsset","scripts":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset","styles":"yii2\\extensions\\filepond\\asset\\AbstractPluginAsset"}}},"yii2\\extensions\\filepond\\exception\\Message":{"kind":"enum","url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/exception/message/","summary":"Represents error message templates for exceptions thrown by the extension.","backingType":"string","cases":{"CROPPER_REQUIRES_IMAGE_EDIT":{"value":"\"The 'cropper' options require 'allowImageEdit' to be enabled.\"","description":"Error when cropper options are configured without enabling the Image Edit plugin."},"DIRECTORY_NOT_WRITABLE":{"value":"\"Directory '%s' is not writable.\"","description":"Error when the target directory cannot be created or written to."},"ENCODED_FILE_INVALID_BASE64":{"value":"\"Encoded file 'data' is not valid base64.\"","description":"Error when the `data` key of an encoded file is not valid base64."},"ENCODED_FILE_INVALID_JSON":{"value":"\"Encoded file payload is not valid JSON: '%s'.\"","description":"Error when an encoded file payload cannot be decoded as JSON."},"ENCODED_FILE_INVALID_KEY":{"value":"\"Encoded file key '%s' must be of type '%s'.\"","description":"Error when a required key of an encoded file has an unexpected type."},"ENCODED_FILE_INVALID_PAYLOAD":{"value":"\"Encoded file payload must be a JSON object or an array; received '%s'.\"","description":"Error when an encoded file payload is neither a JSON object nor an array."},"FILE_WRITE_FAILED":{"value":"\"Unable to write file '%s'.\"","description":"Error when a file cannot be written to disk."},"GD_EXTENSION_REQUIRED":{"value":"\"The 'gd' extension is required for server-side image cropping.\"","description":"Error when server-side cropping is requested without the GD extension."},"IMAGE_BYTE_LIMIT_EXCEEDED":{"value":"\"Image '%s' exceeds the input byte limit of %d.\"","description":"Error when source bytes exceed the processing budget before header parsing."},"IMAGE_DECODE_FAILED":{"value":"\"Unable to decode image data of file '%s'.\"","description":"Error when image data cannot be decoded by GD."},"IMAGE_DIMENSION_LIMIT_EXCEEDED":{"value":"\"Image '%s' exceeds the source dimension limit of %d.\"","description":"Error when either source axis exceeds the processing budget."},"IMAGE_ENCODE_FAILED":{"value":"\"Unable to encode image data of file '%s' as '%s'.\"","description":"Error when a cropped image cannot be encoded to the requested MIME type."},"IMAGE_PIXEL_LIMIT_EXCEEDED":{"value":"\"Image '%s' exceeds the source pixel limit of %d.\"","description":"Error when source area exceeds the processing budget before decoding."},"INVALID_CROP_ASPECT_RATIO":{"value":"\"Crop aspect ratio must use the 'width:height' format with positive numbers; \" . \"received '%s'.\"","description":"Error when a crop aspect ratio does not follow the `width:height` format."},"INVALID_IMAGE_PROCESSING_LIMIT":{"value":"\"Image processing limit '%s' must be a positive integer.\"","description":"Error when a required image-processing budget is zero or negative."},"PACKAGE_VERSION_UNAVAILABLE":{"value":"\"Unable to read the version of npm package '%s' from '%s'.\"","description":"Error when the version of an npm package cannot be read for CDN delivery."}},"methods":{"getMessage":{"signature":"public function getMessage(int|string ...$argument): string","summary":"Returns the formatted message string for the error case.","params":[{"name":"$argument","type":"int|string","optional":true,"variadic":true,"description":"Values to insert into the message template."}],"return":{"type":"string","description":"Formatted error message with interpolated arguments."}}}},"yii2\\extensions\\filepond\\file\\EncodedFile":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/file/encodedfile/","summary":"Represents a file submitted by the FilePond File Encode plugin as a base64 JSON payload.","properties":{"metadata":{"type":"array<string, mixed>","description":"FilePond item metadata, such as `crop` or `poster`.","readonly":true,"promoted":true},"name":{"type":"string","description":"Client file name.","readonly":true,"promoted":true},"type":{"type":"string","description":"Client MIME type as reported by the browser.","readonly":true,"promoted":true}},"methods":{"fromArray":{"signature":"public static function fromArray(array<array-key, mixed> $payload): self","summary":"Creates a file from a decoded File Encode payload.","params":[{"name":"$payload","type":"array<array-key, mixed>","description":"Payload with `name` and base64 `data`, plus optional `type` and `metadata`."}],"return":{"type":"self","description":"File with decoded content."},"throws":[{"type":"InvalidArgumentException","description":"if a key has an unexpected type or `data` is not valid base64."}],"static":true},"fromInput":{"signature":"public static function fromInput(mixed $input): list<self>","summary":"Creates the files submitted by one FilePond input.","params":[{"name":"$input","type":"mixed","description":"Request value of the FilePond input."}],"return":{"type":"list<self>","description":"Decoded files, empty when nothing was submitted."},"throws":[{"type":"InvalidArgumentException","description":"if the value or one of its entries is not a valid payload."}],"static":true},"fromJson":{"signature":"public static function fromJson(string $json): self","summary":"Creates a file from the JSON string submitted by the File Encode plugin.","params":[{"name":"$json","type":"string","description":"JSON object with `name`, `type`, `data`, and optional `metadata`."}],"return":{"type":"self","description":"File with decoded content."},"throws":[{"type":"InvalidArgumentException","description":"if the JSON is malformed or is not an object."}],"static":true},"getCropRectangle":{"signature":"public function getCropRectangle(): array{x: int, y: int, width: int, height: int}|null","summary":"Returns the crop rectangle in source image pixels stored by the Cropper.js editor.","return":{"type":"array{x: int, y: int, width: int, height: int}|null","description":"Rectangle, or `null` when the file was not cropped."}},"getData":{"signature":"public function getData(): string","summary":"Returns the decoded binary content.","return":{"type":"string","description":"File content."}},"getExtension":{"signature":"public function getExtension(): string","summary":"Returns the lowercase extension of the client file name.","return":{"type":"string","description":"Extension without the dot, or an empty string."}},"getMimeType":{"signature":"public function getMimeType(): string","summary":"Returns the MIME type detected from the content rather than the client-reported `$type`.","return":{"type":"string","description":"Detected MIME type, or `application/octet-stream` when detection fails."}},"getSize":{"signature":"public function getSize(): int","summary":"Returns the content size in bytes.","return":{"type":"int","description":"Size in bytes."}},"withData":{"signature":"public function withData(string $data, string|null $type = null, string|null $name = null): self","summary":"Returns a copy with different content, for example after server-side processing.","params":[{"name":"$data","type":"string","description":"New binary content."},{"name":"$type","type":"string|null","default":"null","optional":true,"description":"New client MIME type, or `null` to keep the current one."},{"name":"$name","type":"string|null","default":"null","optional":true,"description":"New client file name, or `null` to keep the current one."}],"return":{"type":"self","description":"Copy with the replaced values."}}}},"yii2\\extensions\\filepond\\file\\FileSaver":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/file/filesaver/","summary":"Writes encoded FilePond uploads to a directory with sanitized file names.","methods":{"__construct":{"signature":"public function __construct(string $directory, int $directoryMode = 0775, int $fileMode = 0644)","params":[{"name":"$directory","type":"string","description":"Target directory, optionally as a registered Yii alias; created when missing."},{"name":"$directoryMode","type":"int","default":"0775","optional":true,"description":"Permissions applied to directories created by the saver."},{"name":"$fileMode","type":"int","default":"0644","optional":true,"description":"Permissions applied to written files."}]},"save":{"signature":"public function save(yii2\\extensions\\filepond\\file\\EncodedFile $file, string|null $name = null): string","summary":"Writes the file and returns its absolute path, replacing a file with the same name.","params":[{"name":"$file","type":"yii2\\extensions\\filepond\\file\\EncodedFile","description":"File to write."},{"name":"$name","type":"string|null","default":"null","optional":true,"description":"Base name without extension, or `null` to derive it from the client file name."}],"return":{"type":"string","description":"Absolute path of the written file."},"throws":[{"type":"RuntimeException","description":"if the directory is not writable or the file cannot be written."}]},"saveAll":{"signature":"public function saveAll(iterable<yii2\\extensions\\filepond\\file\\EncodedFile> $files, string|null $name = null): list<string>","summary":"Writes every file and returns their absolute paths.","params":[{"name":"$files","type":"iterable<yii2\\extensions\\filepond\\file\\EncodedFile>","description":"Files to write."},{"name":"$name","type":"string|null","default":"null","optional":true,"description":"Base name without extension, or `null` to derive it from each client file name."}],"return":{"type":"list<string>","description":"Absolute paths of the written files."},"throws":[{"type":"RuntimeException","description":"if the directory is not writable or a file cannot be written."}]}}},"yii2\\extensions\\filepond\\file\\ImageCropper":{"kind":"class","modifiers":["final","readonly"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/file/imagecropper/","summary":"Applies the crop rectangle stored by the Cropper.js editor to an image on the server with GD.","methods":{"__construct":{"signature":"public function __construct(int $maxPixels, int $maxDimension, int $maxInputBytes, int $quality = 90)","params":[{"name":"$maxPixels","type":"int","description":"Maximum source pixel count before decoding."},{"name":"$maxDimension","type":"int","description":"Maximum source width or height, in pixels."},{"name":"$maxInputBytes","type":"int","description":"Maximum source byte count before header parsing."},{"name":"$quality","type":"int","default":"90","optional":true,"description":"Output quality for lossy formats, from `0` to `100`."}],"throws":[{"type":"InvalidArgumentException","description":"if any processing limit is not positive."},{"type":"RuntimeException","description":"if the `gd` extension is not loaded."}]},"crop":{"signature":"public function crop(yii2\\extensions\\filepond\\file\\EncodedFile $file): yii2\\extensions\\filepond\\file\\EncodedFile","summary":"Returns a copy of the file cropped to its `yii2\\extensions\\filepond\\file\\EncodedFile::getCropRectangle()` rectangle.","params":[{"name":"$file","type":"yii2\\extensions\\filepond\\file\\EncodedFile","description":"Image file carrying crop metadata."}],"return":{"type":"yii2\\extensions\\filepond\\file\\EncodedFile","description":"Cropped copy, or the same instance when no crop rectangle is present."},"throws":[{"type":"RuntimeException","description":"if the source exceeds a processing limit or cannot be decoded or encoded."}]}}},"yii2\\extensions\\filepond\\validator\\EncodedFileValidator":{"kind":"class","modifiers":["final"],"url":"https://yii2-framework.github.io/docs/extensions/filepond/reference/validator/encodedfilevalidator/","summary":"Validates FilePond File Encode payloads by inspecting the decoded content on the server.","extends":"yii\\validators\\Validator","implements":["yii\\base\\Configurable"],"properties":{"extensions":{"type":"list<string>|string|null","default":"null","description":"Allowed lowercase extensions, as a list or a comma-separated string, or `null` to accept any extension."},"maxFiles":{"type":"int","default":"1","description":"Maximum number of files, or `0` for no limit."},"maxSize":{"type":"int|null","default":"null","description":"Maximum file size in bytes, or `null` for no limit."},"mimeTypes":{"type":"list<string>|string|null","default":"null","description":"Allowed MIME types with optional wildcards such as `image/*`, or `null` to accept any type."},"minSize":{"type":"int|null","default":"null","description":"Minimum file size in bytes, or `null` for no limit."},"tooBig":{"type":"string","default":"''","description":"Error message for files larger than `$maxSize`. Supports `{file}` and `{formattedLimit}`; empty for the Yii default."},"tooMany":{"type":"string","default":"''","description":"Error message for more files than `$maxFiles`. Supports `{limit}`; empty for the Yii default."},"tooSmall":{"type":"string","default":"''","description":"Error message for files smaller than `$minSize`. Supports `{file}` and `{formattedLimit}`; empty for the Yii default."},"uploadRequired":{"type":"string","default":"''","description":"Error message for a required attribute without files; empty for the Yii default."},"wrongExtension":{"type":"string","default":"''","description":"Error message for a disallowed extension. Supports `{file}` and `{extensions}`; empty for the Yii default."},"wrongMimeType":{"type":"string","default":"''","description":"Error message for a disallowed MIME type. Supports `{file}` and `{mimeTypes}`; empty for the Yii default."}},"methods":{"init":{"signature":"public function init(): void","return":{"type":"void"}},"isEmpty":{"signature":"public function isEmpty(mixed $value): bool","params":[{"name":"$value","type":"mixed","description":"Request value of the FilePond input."}],"return":{"type":"bool"}},"validateValue":{"signature":"protected function validateValue(mixed $value): array{0: string, 1: array<string, mixed>}|null","params":[{"name":"$value","type":"mixed","description":"Request value of the FilePond input."}],"return":{"type":"array{0: string, 1: array<string, mixed>}|null","description":"Error message and parameters, or `null` when valid."},"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","off":"yii\\base\\Component","on":"yii\\base\\Component","trigger":"yii\\base\\Component","validate":"yii\\validators\\Validator","validateAttribute":"yii\\validators\\Validator","validateAttributes":"yii\\validators\\Validator"}}}}}
