Drive Manifold

RedbookPhoto extends Model
in package
Uses CanBulkUpdateOrInsert

Table of Contents

$caption  : string
$created_at  : string
$driveVehiclePhotos  : array<string|int, DriveVehiclePhoto>
$id  : int
$photo_key  : string
$redbook_vehicle_id  : int
$redbookVehicle  : RedbookVehicle
$updated_at  : string
$vehicle_key  : string
$view  : string
$fillable  : array<string|int, mixed>
$imageHeight  : int
Default image height used when retrieving image from Redbook CDN
$imageWidth  : int
Default image width used when retrieving image from Redbook CDN
$keyType  : string
The "type" of the auto-incrementing ID.
bulkUpdateOrInsert()  : array<string|int, mixed>
driveVehiclePhotos()  : HasMany
getUrlAttribute()  : string
redbookVehicle()  : BelongsTo

Properties

$fillable

protected array<string|int, mixed> $fillable = ['vehicle_key', 'redbook_vehicle_id', 'photo_key', 'view', 'caption']

$imageHeight

Default image height used when retrieving image from Redbook CDN

protected int $imageHeight = 1440

$imageWidth

Default image width used when retrieving image from Redbook CDN

protected int $imageWidth = 2560

$keyType

The "type" of the auto-incrementing ID.

protected string $keyType = 'integer'

Methods

bulkUpdateOrInsert()

public static bulkUpdateOrInsert(Collection $models, string $updateBy[, bool $insertIgnore = false ]) : array<string|int, mixed>
Parameters
$models : Collection
$updateBy : string
$insertIgnore : bool = false
Tags
throws
Throwable
Return values
array<string|int, mixed>

driveVehiclePhotos()

public driveVehiclePhotos() : HasMany
Return values
HasMany

getUrlAttribute()

public getUrlAttribute() : string
Return values
string

redbookVehicle()

public redbookVehicle() : BelongsTo
Return values
BelongsTo

Search results