Download the PHP package imagina/ifillable-module without Composer
On this page you can find all versions of the php package imagina/ifillable-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ifillable-module
imaginacms-ifillable
Implementation with Modules
In the Entity (Models/Entity)
-
Add Events
- Add relation:
In Transformer (Transformers/EntityTransformer)
- Add relation with fields
-
Instead of returning the full fields relationship as an array of objects, the transformer extracts each field's value and exposes it directly at the top level of the API response.
- Even though the fields relationship is not shown in the final response, it must be loaded (->with('fields')) for this logic to work. Otherwise, the transformer cannot access the field data. To hide the fields array from the output while still using its data, the transformer defines:
Extra
- It is also necessary to create records for each entity and add the extra fields that they must handle so that the relationship can generate its relationship with its respective data.
All versions of ifillable-module with dependencies
PHP Build Version
Package Version
No informations.
The package imagina/ifillable-module contains the following files
Loading the files please wait ...