Property |
Type |
Description |
|
$className |
|
the AR class name that we need to link the uploaded instance to |
|
$deleteIdParamName |
|
the parameter name to pass to the delete Url route |
|
$deleteUrlRoute |
|
the parameter name so to add the delete |
|
$fileAttributeName |
|
the attribute name of the class that validates the uploaded files |
|
$filePathAlias |
|
the path alias where to upload the files. -ie @frontend/web/files |
|
$filesWebUrl |
|
the web url where they are stored. -ie http://myexample.com/files |
|
$ownerIdParamName |
|
the parameter name where we can get the owner id. Defaults to 'ownerId' |
|
$ownerLinkTable |
|
the owner table link -ie city_picture_assn |
|
$ownerLinkTableAttribute |
|
the name of the attribute of the class we are going to upload and link -ie picture_id |
|
$ownerLinkTableOwnerAttribute |
|
the owner's attribute in the table link -ie city_id |
|
$thumbnailUrlAttributeName |
|
the attribute name of the class that will contain thumbnail's web url reference -ie thumbnail.
Could also be url but then make sure the resize is correct. |
|
$uploadAttributeName |
|
the attribute name the class is using to upload files |
|
$urlAttributeName |
|
the attribute name of the class that will contain the web url reference -ie url |
|