DeliveryTime extends AbstractEntity
DeliveryTime
Tags
Table of Contents
$id | int | |
---|---|---|
$delivery_time | string | |
$Delivery | Delivery | |
$sort_no | int | |
$visible | bool | |
$create_date | DateTime | |
$update_date | DateTime | |
$AnnotationReader | ||
__toString() | mixed | |
getId() | Get id. | int |
setDeliveryTime() | Set deliveryTime. | DeliveryTime |
getDeliveryTime() | Get deliveryTime. | string |
setDelivery() | Set delivery. | DeliveryTime |
getDelivery() | Get delivery. | Delivery|null |
setSortNo() | Set sort_no. | $this |
getSortNo() | Get sort_no. | int |
setVisible() | Set visible | DeliveryTime |
isVisible() | Is the visibility visible? | bool |
setCreateDate() | Set createDate. | DeliveryTime |
getCreateDate() | Get createDate. | DateTime |
setUpdateDate() | Set updateDate. | DeliveryTime |
getUpdateDate() | Get updateDate. | DateTime |
offsetExists() | mixed | |
offsetSet() | mixed | |
offsetGet() | mixed | |
offsetUnset() | mixed | |
setPropertiesFromArray() | 引数の連想配列を元にプロパティを設定します. | mixed |
toArray() | Convert to associative array. | array |
toNormalizedArray() | Convert to associative array, and normalize to association properties. | array |
toJSON() | Convert to JSON. | string |
toXML() | Convert to XML. | string |
copyProperties() | コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー | AbstractEntity |
setAnnotationReader() | Set AnnotationReader. | AbstractEntity |
getAnnotationReader() | Get AnnotationReader. | Reader |
getEntityIdentifierAsArray() | Convert to Entity of Identity value to associative array. | array |
Properties
$id
private
int
$id
Tags
$delivery_time
private
string
$delivery_time
Tags
$Delivery
private
Delivery
$Delivery
Tags
$sort_no
protected
int
$sort_no
Tags
$visible
private
bool
$visible
Tags
$create_date
private
DateTime
$create_date
Tags
$update_date
private
DateTime
$update_date
Tags
$AnnotationReader
private
mixed
$AnnotationReader
Methods
__toString()
public
__toString(
)
: mixed
Return values
mixedgetId()
Get id.
public
getId(
)
: int
Return values
intsetDeliveryTime()
Set deliveryTime.
public
setDeliveryTime(
$deliveryTime :
string
)
: DeliveryTime
Parameters
- $deliveryTime : string
Return values
DeliveryTimegetDeliveryTime()
Get deliveryTime.
public
getDeliveryTime(
)
: string
Return values
stringsetDelivery()
Set delivery.
public
setDelivery(
[ $delivery :
Delivery|null
= null ]
)
: DeliveryTime
Parameters
- $delivery : Delivery|null = null
Return values
DeliveryTimegetDelivery()
Get delivery.
public
getDelivery(
)
: Delivery|null
Return values
Delivery|nullsetSortNo()
Set sort_no.
public
setSortNo(
$sort_no :
int
)
: $this
Parameters
- $sort_no : int
Return values
$thisgetSortNo()
Get sort_no.
public
getSortNo(
)
: int
Return values
intsetVisible()
Set visible
public
setVisible(
$visible :
bool
)
: DeliveryTime
Parameters
- $visible : bool
Return values
DeliveryTimeisVisible()
Is the visibility visible?
public
isVisible(
)
: bool
Return values
boolsetCreateDate()
Set createDate.
public
setCreateDate(
$createDate :
DateTime
)
: DeliveryTime
Parameters
- $createDate : DateTime
Return values
DeliveryTimegetCreateDate()
Get createDate.
public
getCreateDate(
)
: DateTime
Return values
DateTimesetUpdateDate()
Set updateDate.
public
setUpdateDate(
$updateDate :
DateTime
)
: DeliveryTime
Parameters
- $updateDate : DateTime
Return values
DeliveryTimegetUpdateDate()
Get updateDate.
public
getUpdateDate(
)
: DateTime
Return values
DateTimeoffsetExists()
public
offsetExists(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetSet()
public
offsetSet(
$offset :
mixed
, $value :
mixed
)
: mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixedoffsetGet()
public
offsetGet(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetUnset()
public
offsetUnset(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedsetPropertiesFromArray()
引数の連想配列を元にプロパティを設定します.
public
setPropertiesFromArray(
$arrProps :
array
[, $excludeAttribute :
string[]
= [] ]
[, $parentClass :
ReflectionClass
= null ]
)
: mixed
DBから取り出した連想配列を, プロパティへ設定する際に使用します.
Parameters
- $arrProps : array
プロパティの情報を格納した連想配列
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
- $parentClass : ReflectionClass = null
親のクラス. 本メソッドの内部的に使用します.
Return values
mixedtoArray()
Convert to associative array.
public
toArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
[, $parentClass :
ReflectionClass
= null ]
)
: array
Symfony Serializer Component is expensive, and hard to implementation. Use for encoder only.
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
- $parentClass : ReflectionClass = null
parent class. Use internally of this method..
Return values
arraytoNormalizedArray()
Convert to associative array, and normalize to association properties.
public
toNormalizedArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: array
The type conversion such as:
- Datetime :: W3C datetime format string
- AbstractEntity :: associative array such as [id => value]
- PersistentCollection :: associative array of [[id => value], [id => value], ...]
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
arraytoJSON()
Convert to JSON.
public
toJSON(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringtoXML()
Convert to XML.
public
toXML(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringcopyProperties()
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
public
copyProperties(
$srcObject :
object
[, $excludeAttribute :
string[]
= [] ]
)
: AbstractEntity
Parameters
- $srcObject : object
コピー元のオブジェクト
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
Return values
AbstractEntitysetAnnotationReader()
Set AnnotationReader.
public
setAnnotationReader(
$Reader :
Reader
)
: AbstractEntity
Parameters
- $Reader : Reader
Return values
AbstractEntitygetAnnotationReader()
Get AnnotationReader.
public
getAnnotationReader(
)
: Reader
Return values
ReadergetEntityIdentifierAsArray()
Convert to Entity of Identity value to associative array.
public
getEntityIdentifierAsArray(
$Entity :
AbstractEntity
)
: array
Parameters
- $Entity : AbstractEntity
Return values
array —associative array of [[id => value], [id => value], ...]