Member extends AbstractEntity implements UserInterface
Member
Tags
Table of Contents
$id | int | |
---|---|---|
$name | string|null | |
$department | string|null | |
$login_id | string | |
$password | string | |
$salt | string | |
$sort_no | int | |
$create_date | DateTime | |
$update_date | DateTime | |
$login_date | DateTime|null | |
$Work | Work | |
$Authority | Authority | |
$Creator | Member | |
$AnnotationReader | ||
loadValidatorMetadata() | mixed | |
__toString() | string | |
getRoles() | {@inheritdoc} | mixed |
getUsername() | {@inheritdoc} | mixed |
eraseCredentials() | {@inheritdoc} | mixed |
getId() | Get id. | int |
setName() | Set name. | Member |
getName() | Get name. | string|null |
setDepartment() | Set department. | Member |
getDepartment() | Get department. | string|null |
setLoginId() | Set loginId. | Member |
getLoginId() | Get loginId. | string |
setPassword() | Set password. | Member |
getPassword() | Get password. | string |
setSalt() | Set salt. | Member |
getSalt() | Get salt. | string |
setSortNo() | Set sortNo. | Member |
getSortNo() | Get sortNo. | int |
setCreateDate() | Set createDate. | Member |
getCreateDate() | Get createDate. | DateTime |
setUpdateDate() | Set updateDate. | Member |
getUpdateDate() | Get updateDate. | DateTime |
setLoginDate() | Set loginDate. | Member |
getLoginDate() | Get loginDate. | DateTime|null |
setWork() | Set Work | Member |
getWork() | Get work. | Work|null |
setAuthority() | Set authority. | Member |
getAuthority() | Get authority. | Authority|null |
setCreator() | Set creator. | Member |
getCreator() | Get creator. | Member|null |
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
$name
private
string|null
$name
Tags
$department
private
string|null
$department
Tags
$login_id
private
string
$login_id
Tags
$password
private
string
$password
Tags
$salt
private
string
$salt
Tags
$sort_no
private
int
$sort_no
Tags
$create_date
private
DateTime
$create_date
Tags
$update_date
private
DateTime
$update_date
Tags
$login_date
private
DateTime|null
$login_date
Tags
$Work
private
Work
$Work
Tags
$Authority
private
Authority
$Authority
Tags
$Creator
private
Member
$Creator
Tags
$AnnotationReader
private
mixed
$AnnotationReader
Methods
loadValidatorMetadata()
public
static loadValidatorMetadata(
$metadata :
ClassMetadata
)
: mixed
Parameters
- $metadata : ClassMetadata
Return values
mixed__toString()
public
__toString(
)
: string
Return values
stringgetRoles()
{@inheritdoc}
public
getRoles(
)
: mixed
Return values
mixedgetUsername()
{@inheritdoc}
public
getUsername(
)
: mixed
Return values
mixederaseCredentials()
{@inheritdoc}
public
eraseCredentials(
)
: mixed
Return values
mixedgetId()
Get id.
public
getId(
)
: int
Return values
intsetName()
Set name.
public
setName(
[ $name :
string|null
= null ]
)
: Member
Parameters
- $name : string|null = null
Return values
MembergetName()
Get name.
public
getName(
)
: string|null
Return values
string|nullsetDepartment()
Set department.
public
setDepartment(
[ $department :
string|null
= null ]
)
: Member
Parameters
- $department : string|null = null
Return values
MembergetDepartment()
Get department.
public
getDepartment(
)
: string|null
Return values
string|nullsetLoginId()
Set loginId.
public
setLoginId(
$loginId :
string
)
: Member
Parameters
- $loginId : string
Return values
MembergetLoginId()
Get loginId.
public
getLoginId(
)
: string
Return values
stringsetPassword()
Set password.
public
setPassword(
$password :
string
)
: Member
Parameters
- $password : string
Return values
MembergetPassword()
Get password.
public
getPassword(
)
: string
Return values
stringsetSalt()
Set salt.
public
setSalt(
$salt :
string
)
: Member
Parameters
- $salt : string
Return values
MembergetSalt()
Get salt.
public
getSalt(
)
: string
Return values
stringsetSortNo()
Set sortNo.
public
setSortNo(
$sortNo :
int
)
: Member
Parameters
- $sortNo : int
Return values
MembergetSortNo()
Get sortNo.
public
getSortNo(
)
: int
Return values
intsetCreateDate()
Set createDate.
public
setCreateDate(
$createDate :
DateTime
)
: Member
Parameters
- $createDate : DateTime
Return values
MembergetCreateDate()
Get createDate.
public
getCreateDate(
)
: DateTime
Return values
DateTimesetUpdateDate()
Set updateDate.
public
setUpdateDate(
$updateDate :
DateTime
)
: Member
Parameters
- $updateDate : DateTime
Return values
MembergetUpdateDate()
Get updateDate.
public
getUpdateDate(
)
: DateTime
Return values
DateTimesetLoginDate()
Set loginDate.
public
setLoginDate(
[ $loginDate :
DateTime|null
= null ]
)
: Member
Parameters
- $loginDate : DateTime|null = null
Return values
MembergetLoginDate()
Get loginDate.
public
getLoginDate(
)
: DateTime|null
Return values
DateTime|nullsetWork()
Set Work
public
setWork(
[ $work :
Work
= null ]
)
: Member
Parameters
- $work : Work = null
Return values
MembergetWork()
Get work.
public
getWork(
)
: Work|null
Return values
Work|nullsetAuthority()
Set authority.
public
setAuthority(
[ $authority :
Authority|null
= null ]
)
: Member
Parameters
- $authority : Authority|null = null
Return values
MembergetAuthority()
Get authority.
public
getAuthority(
)
: Authority|null
Return values
Authority|nullsetCreator()
Set creator.
public
setCreator(
[ $creator :
Member|null
= null ]
)
: Member
Parameters
- $creator : Member|null = null
Return values
MembergetCreator()
Get creator.
public
getCreator(
)
: Member|null
Return values
Member|nulloffsetExists()
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], ...]