PictureManagementTrait
Table of Contents
- picture_add() : string
- picture_delete() : string
- picture_principal() : string
Methods
picture_add()
public
picture_add(Request $request, int $parent_id, int $id) : string
Parameters
- $request : Request
-
- Datas of the object that we want to update.
- $parent_id : int
-
- Id of the parent object that we want to update.
- $id : int
-
- Id of the object that we want to update.
Tags
Return values
string —picture_delete()
public
picture_delete(Request $request, int $parent_id, int $id, mixed $picture_id) : string
Parameters
- $request : Request
-
- Datas of the object that we want to update.
- $parent_id : int
-
- Id of the parent object that we want to update.
- $id : int
-
- Id of the object that we want to update.
- $picture_id : mixed
Tags
Return values
string —picture_principal()
public
picture_principal(Request $request, int $parent_id, int $id, mixed $picture_id) : string
Parameters
- $request : Request
-
- Datas of the object that we want to update.
- $parent_id : int
-
- Id of the parent object that we want to update.
- $id : int
-
- Id of the object that we want to update.
- $picture_id : mixed