PHP Class app\models\Vendor

Inheritance: extends EntityModel, use trait Laracasts\Presenter\PresentableTrait, use trait Illuminate\Database\Eloquent\SoftDeletes
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Méthodes publiques

Свойство Type Description
$fieldAddress1 string
$fieldAddress2 string
$fieldCity string
$fieldCountry string
$fieldName string
$fieldNotes string
$fieldPhone string
$fieldPostalCode string
$fieldState string

Protected Properties

Свойство Type Description
$dates array
$fillable array
$presenter string

Méthodes publiques

Méthode Description
account ( ) : BelongsTo
addVendorContact ( $data, boolean $isPrimary = false ) : Model
country ( ) : BelongsTo
currency ( ) : BelongsTo
expenses ( ) : Illuminate\Database\Eloquent\Relations\HasMany
getCityState ( ) : string
getCurrencyId ( ) : mixed
getDateCreated ( ) : string
getDisplayName ( ) : mixed
getEntityType ( ) : string
getImportColumns ( ) : array
getImportMap ( ) : array
getName ( ) : mixed
getRoute ( ) : string
getTotalExpense ( ) : float | integer
hasAddress ( ) : boolean
industry ( ) : BelongsTo
language ( ) : BelongsTo
payments ( ) : Illuminate\Database\Eloquent\Relations\HasMany
size ( ) : BelongsTo
user ( ) : mixed
vendor_contacts ( ) : Illuminate\Database\Eloquent\Relations\HasMany

Method Details

account() public méthode

public account ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

addVendorContact() public méthode

public addVendorContact ( $data, boolean $isPrimary = false ) : Model
$data
$isPrimary boolean
Résultat Illuminate\Database\Eloquent\Model

country() public méthode

public country ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

currency() public méthode

public currency ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

expenses() public méthode

public expenses ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Résultat Illuminate\Database\Eloquent\Relations\HasMany

getCityState() public méthode

public getCityState ( ) : string
Résultat string

getCurrencyId() public méthode

public getCurrencyId ( ) : mixed
Résultat mixed

getDateCreated() public méthode

public getDateCreated ( ) : string
Résultat string

getDisplayName() public méthode

public getDisplayName ( ) : mixed
Résultat mixed

getEntityType() public méthode

public getEntityType ( ) : string
Résultat string

getImportColumns() public static méthode

public static getImportColumns ( ) : array
Résultat array

getImportMap() public static méthode

public static getImportMap ( ) : array
Résultat array

getName() public méthode

public getName ( ) : mixed
Résultat mixed

getRoute() public méthode

public getRoute ( ) : string
Résultat string

getTotalExpense() public méthode

public getTotalExpense ( ) : float | integer
Résultat float | integer

hasAddress() public méthode

public hasAddress ( ) : boolean
Résultat boolean

industry() public méthode

public industry ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

language() public méthode

public language ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

payments() public méthode

public payments ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Résultat Illuminate\Database\Eloquent\Relations\HasMany

size() public méthode

public size ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

user() public méthode

public user ( ) : mixed
Résultat mixed

vendor_contacts() public méthode

public vendor_contacts ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Résultat Illuminate\Database\Eloquent\Relations\HasMany

Property Details

$dates protected_oe property

protected array $dates
Résultat array

$fieldAddress1 public_oe static_oe property

public static string $fieldAddress1
Résultat string

$fieldAddress2 public_oe static_oe property

public static string $fieldAddress2
Résultat string

$fieldCity public_oe static_oe property

public static string $fieldCity
Résultat string

$fieldCountry public_oe static_oe property

public static string $fieldCountry
Résultat string

$fieldName public_oe static_oe property

public static string $fieldName
Résultat string

$fieldNotes public_oe static_oe property

public static string $fieldNotes
Résultat string

$fieldPhone public_oe static_oe property

public static string $fieldPhone
Résultat string

$fieldPostalCode public_oe static_oe property

public static string $fieldPostalCode
Résultat string

$fieldState public_oe static_oe property

public static string $fieldState
Résultat string

$fillable protected_oe property

protected array $fillable
Résultat array

$presenter protected_oe property

protected string $presenter
Résultat string