class PageLayout extends AbstractEntity

PageLayout

Constants

TARGET_ID_UNUSED

配置ID: 未使用

TARGET_ID_HEAD

TARGET_ID_HEADER

TARGET_ID_CONTENTS_TOP

TARGET_ID_SIDE_LEFT

TARGET_ID_MAIN_TOP

TARGET_ID_MAIN_BOTTOM

TARGET_ID_SIDE_RIGHT

TARGET_ID_CONTENTS_BOTTOM

TARGET_ID_FOOTER

EDIT_FLG_USER

EDIT_FLG_PREVIEW

EDIT_FLG_DEFAULT

Methods

offsetExists($offset)

No description

offsetSet($offset, $value)

No description

offsetGet($offset)

No description

offsetUnset($offset)

No description

setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

array
toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

object
copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

integer
getColumnNum()

Get ColumnNum

getTheme()

No description

getBlocksPositionByTargetId(integer $target_id)

Get BlockPositionByTargetId

getUnusedPosition()

No description

getHeadPosition()

No description

getHeaderPosition()

No description

getContentsTopPosition()

No description

getSideLeftPosition()

No description

getMainTopPosition()

No description

getMainBottomPosition()

No description

getSideRightPosition()

No description

getContentsBottomPosition()

No description

getFooterPosition()

No description

Bloc[]
getBlocksByTargetId(integer $target_id)

Get BlocsByTargetId

getUnused()

No description

getHead()

No description

getHeader()

No description

getContentsTop()

No description

getSideLeft()

No description

getMainTop()

No description

getMainBottom()

No description

getSideRight()

No description

getContentsBottom()

No description

getFooter()

No description

__construct()

Constructor

setId(integer $id)

Set id

integer
getId()

Get id

setName(string $name)

Set name

string
getName()

Get name

setUrl(string $url)

Set url

string
getUrl()

Get url

setFileName(string $fileName)

Set file_name

string
getFileName()

Get file_name

setEditFlg(integer $editFlg)

Set edit_flg

integer
getEditFlg()

Get edit_flg

setAuthor(string $author)

Set author

string
getAuthor()

Get author

setDescription(string $description)

Set description

string
getDescription()

Get description

setKeyword(string $keyword)

Set keyword

string
getKeyword()

Get keyword

setUpdateUrl(string $updateUrl)

Set update_url

string
getUpdateUrl()

Get update_url

setCreateDate(DateTime $createDate)

Set create_date

getCreateDate()

Get create_date

setUpdateDate(DateTime $updateDate)

Set update_date

getUpdateDate()

Get update_date

setMetaRobots(string $metaRobots)

Set meta_robots

string
getMetaRobots()

Get meta_robots

addBlockPosition(BlockPosition $blockPosition)

Add BlockPosition

removeBlockPosition(BlockPosition $blockPosition)

Remove BlockPosition

Collection
getBlockPositions()

Get BlockPositions

setDeviceType(DeviceType $deviceType = null)

Set DeviceType

getDeviceType()

Get DeviceType

Details

in AbstractEntity at line 32
offsetExists($offset)

Parameters

$offset

in AbstractEntity at line 39
offsetSet($offset, $value)

Parameters

$offset
$value

in AbstractEntity at line 43
offsetGet($offset)

Parameters

$offset

in AbstractEntity at line 54
offsetUnset($offset)

Parameters

$offset

in AbstractEntity at line 66
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

DBから取り出した連想配列を, プロパティへ設定する際に使用します.

Parameters

array $arrProps
array $excludeAttribute
ReflectionClass $parentClass

in AbstractEntity at line 99
array toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

DBを更新する場合などで, 連想配列の値を取得したい場合に使用します.

Parameters

array $excludeAttribute
ReflectionClass $parentClass

Return Value

array 連想配列のプロパティの値

in AbstractEntity at line 139
object copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

Parameters

object $srcObject コピー元のオブジェクト
array $excludeAttribute 除外したいフィールド名の配列

Return Value

object

at line 35
integer getColumnNum()

Get ColumnNum

Return Value

integer

at line 40
getTheme()

at line 63
BlockPosition getBlocksPositionByTargetId(integer $target_id)

Get BlockPositionByTargetId

Parameters

integer $target_id

Return Value

BlockPosition

at line 75
getUnusedPosition()

at line 80
getHeadPosition()

at line 85
getHeaderPosition()

at line 90
getContentsTopPosition()

at line 95
getSideLeftPosition()

at line 100
getMainTopPosition()

at line 105
getMainBottomPosition()

at line 110
getSideRightPosition()

at line 115
getContentsBottomPosition()

at line 120
getFooterPosition()

at line 131
Bloc[] getBlocksByTargetId(integer $target_id)

Get BlocsByTargetId

Parameters

integer $target_id

Return Value

Bloc[]

at line 142
getUnused()

at line 147
getHead()

at line 152
getHeader()

at line 157
getContentsTop()

at line 162
getSideLeft()

at line 167
getMainTop()

at line 172
getMainBottom()

at line 177
getSideRight()

at line 182
getContentsBottom()

at line 187
getFooter()

at line 266
__construct()

Constructor

at line 277
PageLayout setId(integer $id)

Set id

Parameters

integer $id

Return Value

PageLayout

at line 288
integer getId()

Get id

Return Value

integer

at line 299
PageLayout setName(string $name)

Set name

Parameters

string $name

Return Value

PageLayout

at line 311
string getName()

Get name

Return Value

string

at line 322
PageLayout setUrl(string $url)

Set url

Parameters

string $url

Return Value

PageLayout

at line 334
string getUrl()

Get url

Return Value

string

at line 345
PageLayout setFileName(string $fileName)

Set file_name

Parameters

string $fileName

Return Value

PageLayout

at line 357
string getFileName()

Get file_name

Return Value

string

at line 368
PageLayout setEditFlg(integer $editFlg)

Set edit_flg

Parameters

integer $editFlg

Return Value

PageLayout

at line 380
integer getEditFlg()

Get edit_flg

Return Value

integer

at line 391
PageLayout setAuthor(string $author)

Set author

Parameters

string $author

Return Value

PageLayout

at line 403
string getAuthor()

Get author

Return Value

string

at line 414
PageLayout setDescription(string $description)

Set description

Parameters

string $description

Return Value

PageLayout

at line 426
string getDescription()

Get description

Return Value

string

at line 437
PageLayout setKeyword(string $keyword)

Set keyword

Parameters

string $keyword

Return Value

PageLayout

at line 449
string getKeyword()

Get keyword

Return Value

string

at line 460
PageLayout setUpdateUrl(string $updateUrl)

Set update_url

Parameters

string $updateUrl

Return Value

PageLayout

at line 472
string getUpdateUrl()

Get update_url

Return Value

string

at line 483
PageLayout setCreateDate(DateTime $createDate)

Set create_date

Parameters

DateTime $createDate

Return Value

PageLayout

at line 495
DateTime getCreateDate()

Get create_date

Return Value

DateTime

at line 506
PageLayout setUpdateDate(DateTime $updateDate)

Set update_date

Parameters

DateTime $updateDate

Return Value

PageLayout

at line 518
DateTime getUpdateDate()

Get update_date

Return Value

DateTime

at line 529
PageLayout setMetaRobots(string $metaRobots)

Set meta_robots

Parameters

string $metaRobots

Return Value

PageLayout

at line 541
string getMetaRobots()

Get meta_robots

Return Value

string

at line 552
PageLayout addBlockPosition(BlockPosition $blockPosition)

Add BlockPosition

Parameters

BlockPosition $blockPosition

Return Value

PageLayout

at line 564
removeBlockPosition(BlockPosition $blockPosition)

Remove BlockPosition

Parameters

BlockPosition $blockPosition

at line 574
Collection getBlockPositions()

Get BlockPositions

Return Value

Collection

at line 585
PageLayout setDeviceType(DeviceType $deviceType = null)

Set DeviceType

Parameters

DeviceType $deviceType

Return Value

PageLayout

at line 597
DeviceType getDeviceType()

Get DeviceType

Return Value

DeviceType