Block
class Block extends AbstractEntity
Block
Constants
UNUSED_BLOCK_ID |
|
Methods
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)
引数の連想配列を元にプロパティを設定します.
from AbstractEntity
array
from AbstractEntity
object
copyProperties(object $srcObject, array $excludeAttribute = array())
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
from AbstractEntity
__construct()
Constructor
integer
getId()
Get id
string
getName()
Get name
setFileName(string $fileName)
Set file_name
string
getFileName()
Get file_name
getCreateDate()
Get create_date
getUpdateDate()
Get update_date
setLogicFlg(integer $logic_flg)
Set php_path
string
getLogicFlg()
Get logic_flg
setDeletableFlg(integer $deletableFlg)
Set deletable_flg
integer
getDeletableFlg()
Get deletable_flg
Collection
getBlockPositions()
Get BlockPositions
getDeviceType()
Get DeviceType
Details
in AbstractEntity at line 32
offsetExists($offset)
in AbstractEntity at line 39
offsetSet($offset, $value)
in AbstractEntity at line 43
offsetGet($offset)
in AbstractEntity at line 54
offsetUnset($offset)
in AbstractEntity at line 66
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)
引数の連想配列を元にプロパティを設定します.
DBから取り出した連想配列を, プロパティへ設定する際に使用します.
in AbstractEntity at line 99
array
toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)
プロパティの値を連想配列で返します.
DBを更新する場合などで, 連想配列の値を取得したい場合に使用します.
in AbstractEntity at line 139
object
copyProperties(object $srcObject, array $excludeAttribute = array())
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
at line 65
__construct()
Constructor
at line 76
Block
setId(string $id)
Set id
at line 88
integer
getId()
Get id
at line 99
Block
setName(string $name)
Set name
at line 111
string
getName()
Get name
at line 122
Block
setFileName(string $fileName)
Set file_name
at line 134
string
getFileName()
Get file_name
at line 157
DateTime
getCreateDate()
Get create_date
at line 180
DateTime
getUpdateDate()
Get update_date
at line 191
Block
setLogicFlg(integer $logic_flg)
Set php_path
at line 203
string
getLogicFlg()
Get logic_flg
at line 214
Block
setDeletableFlg(integer $deletableFlg)
Set deletable_flg
at line 226
integer
getDeletableFlg()
Get deletable_flg
at line 237
Block
addBlockPosition(BlockPosition $blockPositions)
Add BlocPositions
at line 249
removeBlockPosition(BlockPosition $blockPositions)
Remove BlockPositions
at line 259
Collection
getBlockPositions()
Get BlockPositions
at line 270
Block
setDeviceType(DeviceType $deviceType = null)
Set DeviceType
at line 282
DeviceType
getDeviceType()
Get DeviceType