PHP Class app\models\Expense

Inheritance: extends yii\db\ActiveRecord
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$dates array
$fillable array
$presenter string

Public Methods

Method Description
account ( ) : BelongsTo
amountWithTax ( )
client ( ) : mixed
convertedAmount ( ) : float
documents ( ) : mixed
expense_category ( ) : BelongsTo
getDisplayName ( ) : mixed
getEntityType ( ) : mixed
getImportColumns ( )
getImportMap ( )
getName ( ) : mixed
getRoute ( ) : string
invoice ( ) : mixed
isExchanged ( ) : boolean
scopeBankId ( $query, null $bankdId = null ) : mixed
toArray ( ) : array
user ( ) : mixed
vendor ( ) : mixed

Method Details

account() public method

public account ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

amountWithTax() public method

public amountWithTax ( )

client() public method

public client ( ) : mixed
return mixed

convertedAmount() public method

public convertedAmount ( ) : float
return float

documents() public method

public documents ( ) : mixed
return mixed

expense_category() public method

public expense_category ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

getDisplayName() public method

public getDisplayName ( ) : mixed
return mixed

getEntityType() public method

public getEntityType ( ) : mixed
return mixed

getImportColumns() public static method

public static getImportColumns ( )

getImportMap() public static method

public static getImportMap ( )

getName() public method

public getName ( ) : mixed
return mixed

getRoute() public method

public getRoute ( ) : string
return string

invoice() public method

public invoice ( ) : mixed
return mixed

isExchanged() public method

public isExchanged ( ) : boolean
return boolean

scopeBankId() public method

public scopeBankId ( $query, null $bankdId = null ) : mixed
$query
$bankdId null
return mixed

toArray() public method

public toArray ( ) : array
return array

user() public method

public user ( ) : mixed
return mixed

vendor() public method

public vendor ( ) : mixed
return mixed

Property Details

$dates protected property

protected array $dates
return array

$fillable protected property

protected array $fillable
return array

$presenter protected property

protected string $presenter
return string