Methods
Construct a new object and extract data
__construct(array $data)
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::__construct() |
inherited_from |
\Moneybird\Detail_Abstract::__construct() |
inherited_from |
\Moneybird\Estimate_Detail::__construct() |
Parameters
$data
array
Proxy to disclose method
__get(String $key) : mixed
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::__get() |
inherited_from |
\Moneybird\Detail_Abstract::__get() |
inherited_from |
\Moneybird\Estimate_Detail::__get() |
Parameters
$key
String
Returns
mixed
Magic set method
Do not allow set
__set(string $name, mixed $value)
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::__set() |
inherited_from |
\Moneybird\Detail_Abstract::__set() |
inherited_from |
\Moneybird\Estimate_Detail::__set() |
Parameters
$name
string
$value
mixed
Exceptions
Discloses all values of the object that should be visible in the view layer.
disclose(mixed $key) : mixed
Inherited
access |
public |
inherited_from |
\Moneybird\Domainmodel_Abstract::disclose() |
inherited_from |
\Moneybird\Detail_Abstract::disclose() |
inherited_from |
\Moneybird\Estimate_Detail::disclose() |
Parameters
$key
mixed
Returns
mixed
Return the objects id or null
getId() : int
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::getId() |
inherited_from |
\Moneybird\Detail_Abstract::getId() |
inherited_from |
\Moneybird\Estimate_Detail::getId() |
Returns
int
Get delete status
isDeleted() : bool
Inherited
inherited_from |
\Moneybird\Detail_Abstract::isDeleted() |
inherited_from |
\Moneybird\Estimate_Detail::isDeleted() |
Returns
bool
Sets data
setData(array $data)
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::setData() |
inherited_from |
\Moneybird\Detail_Abstract::setData() |
inherited_from |
\Moneybird\Estimate_Detail::setData() |
Parameters
$data
array
Mark deleted
setDeleted()
Inherited
inherited_from |
\Moneybird\Detail_Abstract::setDeleted() |
inherited_from |
\Moneybird\Estimate_Detail::setDeleted() |
Get array representation of Subject
toArray() : Array
Inherited
inherited_from |
\Moneybird\Mapper_Mapable::toArray() |
inherited_from |
\Moneybird\Detail_Abstract::toArray() |
inherited_from |
\Moneybird\Estimate_Detail::toArray() |
Returns
Array
Create disclosedAttributes array
_initDisclosedAttributes()
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::_initDisclosedAttributes() |
inherited_from |
\Moneybird\Detail_Abstract::_initDisclosedAttributes() |
inherited_from |
\Moneybird\Estimate_Detail::_initDisclosedAttributes() |
Initialize vars
_initVars()
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::_initVars() |
inherited_from |
\Moneybird\Detail_Abstract::_initVars() |
inherited_from |
\Moneybird\Estimate_Detail::_initVars() |
Initialize
init()
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::init() |
inherited_from |
\Moneybird\Detail_Abstract::init() |
inherited_from |
\Moneybird\Estimate_Detail::init() |
Adopt the data from $self
reload(\Moneybird\Domainmodel_Abstract $self) : \Moneybird\self
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::reload() |
inherited_from |
\Moneybird\Detail_Abstract::reload() |
inherited_from |
\Moneybird\Estimate_Detail::reload() |
Parameters
Returns
\Moneybird\self
Returns an array representation of this object
selfToArray(array $filter) : array
Inherited
access |
protected |
inherited_from |
\Moneybird\Domainmodel_Abstract::selfToArray() |
inherited_from |
\Moneybird\Detail_Abstract::selfToArray() |
inherited_from |
\Moneybird\Estimate_Detail::selfToArray() |
Parameters
$filter
Returns
array
Validate object
validate() : bool
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::validate() |
inherited_from |
\Moneybird\Detail_Abstract::validate() |
inherited_from |
\Moneybird\Estimate_Detail::validate() |
Returns
bool
Properties
$_deleted
$_deleted
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$_deleted |
inherited_from |
\Moneybird\Estimate_Detail::$$_deleted |
Array containing attributes to disclose
$_discloseAttr : array
Inherited
access |
protected |
inherited_from |
\Moneybird\Domainmodel_Abstract::$$_discloseAttr |
inherited_from |
\Moneybird\Detail_Abstract::$$_discloseAttr |
inherited_from |
\Moneybird\Estimate_Detail::$$_discloseAttr |
Disclosure
$_disclosure : \Moneybird\Disclosure
Inherited
access |
protected |
inherited_from |
\Moneybird\Domainmodel_Abstract::$$_disclosure |
inherited_from |
\Moneybird\Detail_Abstract::$$_disclosure |
inherited_from |
\Moneybird\Estimate_Detail::$$_disclosure |
Array of attributes that can't be modified
$_readonlyAttr : Array
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$_readonlyAttr |
inherited_from |
\Moneybird\Estimate_Detail::$$_readonlyAttr |
Array of attributes that are required
$_requiredAttr : Array
Inherited
inherited_from |
\Moneybird\Domainmodel_Abstract::$$_requiredAttr |
inherited_from |
\Moneybird\Detail_Abstract::$$_requiredAttr |
inherited_from |
\Moneybird\Estimate_Detail::$$_requiredAttr |
$amount
$amount
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$amount |
inherited_from |
\Moneybird\Estimate_Detail::$$amount |
$createdAt
$createdAt
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$createdAt |
inherited_from |
\Moneybird\Estimate_Detail::$$createdAt |
$description
$description
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$description |
inherited_from |
\Moneybird\Estimate_Detail::$$description |
$estimateId
$estimateId
Inherited
inherited_from |
\Moneybird\Estimate_Detail::$$estimateId |
$id
$id
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$id |
inherited_from |
\Moneybird\Estimate_Detail::$$id |
$ledgerAccountId
$ledgerAccountId
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$ledgerAccountId |
inherited_from |
\Moneybird\Estimate_Detail::$$ledgerAccountId |
$price
$price
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$price |
inherited_from |
\Moneybird\Estimate_Detail::$$price |
$rowOrder
$rowOrder
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$rowOrder |
inherited_from |
\Moneybird\Estimate_Detail::$$rowOrder |
$tax
$tax
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$tax |
inherited_from |
\Moneybird\Estimate_Detail::$$tax |
$taxRateId
$taxRateId
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$taxRateId |
inherited_from |
\Moneybird\Estimate_Detail::$$taxRateId |
$totalPriceExclTax
$totalPriceExclTax
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$totalPriceExclTax |
inherited_from |
\Moneybird\Estimate_Detail::$$totalPriceExclTax |
$totalPriceInclTax
$totalPriceInclTax
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$totalPriceInclTax |
inherited_from |
\Moneybird\Estimate_Detail::$$totalPriceInclTax |
$updatedAt
$updatedAt
Inherited
inherited_from |
\Moneybird\Detail_Abstract::$$updatedAt |
inherited_from |
\Moneybird\Estimate_Detail::$$updatedAt |