PHP 클래스 Networking\InitCmsBundle\Model\Page

저자: Yorkie Chadwick ([email protected])
상속: implements Networking\InitCmsBundle\Model\PageInterface
파일 보기 프로젝트 열기: networking/init-cms-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$activeFrom Datetime
$activeTo Datetime
$alias Networking\InitCmsBundle\Model\PageInterface
$allChildren array
$children array
$contentRoute Networking\InitCmsBundle\Model\ContentRouteInterface
$createdAt Datetime
$id integer
$isHome boolean
$layoutBlock Doctrine\Common\Collections\ArrayCollection
$level
$locale string
$menuItem Doctrine\Common\Collections\ArrayCollection
$metaDescription string
$metaKeyword string
$metaTitle string
$oldTitle string
$originals Doctrine\Common\Collections\ArrayCollection
$pageName string
$parent Networking\InitCmsBundle\Model\PageInterface | null
$parents array
$path string
$snapshotClassType string
$snapshots Doctrine\Common\Collections\ArrayCollection
$status string
$translations Doctrine\Common\Collections\ArrayCollection
$updatedAt Datetime
$url string
$visibility string

공개 메소드들

메소드 설명
__construct ( )
__toString ( ) : string
addChildren ( Networking\InitCmsBundle\Model\PageInterface $children )
addLayoutBlock ( Networking\InitCmsBundle\Model\LayoutBlockInterface $layoutBlock ) Add layout block
addTranslation ( Networking\InitCmsBundle\Model\PageInterface $page )
convertAliasToInteger ( ) : integer
convertChildrenToIntegerArray ( ) : array
convertIntegerToPage ( $id )
convertOriginalsToIntegerArray ( ) : array
convertParentToInteger ( ) : integer
convertParentsToArray ( ) : array
convertTranslationsToIntegerArray ( ) : array
getActiveEnd ( ) : Datetime
getActiveFrom ( ) : DateTime Get activeFrom
getActiveStart ( ) : DateTime Get activeFrom
getActiveTo ( ) : Datetime
getAdminTitle ( ) : string
getAlias ( ) : Networking\InitCmsBundle\Model\PageInterface
getAliasFullPath ( ) : string
getAllChildren ( array &$children = [] ) : array
getAllTranslations ( ) : ArrayCollection
getChildren ( ) : mixed
getCreatedAt ( ) : Datetime Get createdAt
getCurrentVersion ( ) : integer
getDirectTranslationFor ( Networking\InitCmsBundle\Model\PageInterface $page ) : mixed
getFullPath ( ) : string
getId ( ) : integer Get id
getIsHome ( ) : boolean
getLayoutBlock ( null $zone = null ) : ArrayCollection | Doctrine\Common\Collections\Collection Get menuItem
getLevel ( ) : mixed
getLocale ( ) : string
getMenuItem ( ) : ArrayCollection Get menuItem
getMenuItemByRoot ( $rootId ) : Doctrine\Common\Collections\Collection
getMetaDescription ( ) : string
getMetaKeyword ( ) : string
getMetaTitle ( ) : string Get metaTitle
getOriginals ( ) : ArrayCollection
getPageName ( ) : string Get pageName
getParent ( $level ) : Networking\InitCmsBundle\Model\PageInterface | null
getParents ( ) : array
getPath ( ) : string
getRecursiveTranslations ( array &$translationsArray ) : array Recursively search for all possible translations of this page, either originals of this page, translations of this page or translations of the original of this page.
getResourceId ( ) : integer
getRoute ( ) {@inheritDoc}
getRoutes ( ) {@inheritDoc}
getSnapshot ( ) : mixed | Networking\InitCmsBundle\Model\PageSnapshotInterface
getSnapshotClassType ( ) : mixed | string
getSnapshots ( ) : ArrayCollection
getStatus ( ) : string Get status
getStatusLabel ( ) : string
getStatusList ( ) : array
getTemplate ( ) : string
getTemplateName ( ) : string
getTitle ( ) : string
getTranslatedLocales ( ) : array
getTranslations ( ) : ArrayCollection
getUpdatedAt ( ) : Datetime Get updatedAt
getUrl ( ) : string
getVisibility ( ) : string Get page visibility
getVisibilityList ( ) : array
hasListener ( ) : string
hasPublishedVersion ( )
isActive ( ) : boolean
isDirectTranslation ( Networking\InitCmsBundle\Model\PageInterface $page ) : boolean
isDraft ( ) : boolean
isHome ( ) : boolean
isPublished ( ) : boolean
isReview ( ) : boolean
orderLayoutBlocks ( )
prePersist ( ) Hook on to pre-persist action
preUpdate ( ) Hook on to pre-update action
prepareMenuItemsForSerialization ( ) : ArrayCollection
removeLayoutBlock ( Networking\InitCmsBundle\Model\LayoutBlockInterface $layoutBlock ) remove content
removeMenuItem ( Networking\InitCmsBundle\Model\MenuItemInterface $menuItem ) remove menuItem
removeTranslation ( Networking\InitCmsBundle\Model\PageInterface $page )
resetLayoutBlock ( ArrayCollection $publishedBlocks ) Remove all layout blocks and replace with those in the serialized page snapshot
setActiveFrom ( $activeFrom ) Set activeFrom
setActiveTo ( Datetime $activeTo )
setAlias ( Networking\InitCmsBundle\Model\PageInterface $alias = null )
setAllChildren ( $children )
setChildren ( $children )
setContentRoute ( Networking\InitCmsBundle\Model\ContentRouteInterface $contentRoute )
setCreatedAt ( Datetime $createdAt ) Set createdAt
setIsHome ( $isHome )
setLayoutBlock ( $layoutBlocks )
setLocale ( string $locale )
setMenuItem ( Networking\InitCmsBundle\Model\MenuItemInterface $menuItem ) Add menuItem
setMetaDescription ( $metaDescription )
setMetaKeyword ( $metaKeyword )
setMetaTitle ( string $title ) Set metaTitle
setOriginal ( Networking\InitCmsBundle\Model\PageInterface $page )
setOriginals ( array $originals )
setPageName ( string $title ) Set pageName
setParent ( Networking\InitCmsBundle\Model\PageInterface $parent = null )
setParents ( array $parents )
setPath ( $path )
setSnapshots ( $snapshots )
setStatus ( string $status ) Set active
setTemplate ( $template )
setTemplateName ( $templateName )
setTranslations ( array $translations )
setUpdatedAt ( ) Set updatedAt
setUrl ( string $url )
setVisibility ( string $visibility ) Set page visibility

비공개 메소드들

메소드 설명
compareSortOrder ( $a, $b ) : integer

메소드 상세

__construct() 공개 메소드

public __construct ( )

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

addChildren() 공개 메소드

public addChildren ( Networking\InitCmsBundle\Model\PageInterface $children )
$children Networking\InitCmsBundle\Model\PageInterface

addLayoutBlock() 공개 메소드

Add layout block
public addLayoutBlock ( Networking\InitCmsBundle\Model\LayoutBlockInterface $layoutBlock )
$layoutBlock Networking\InitCmsBundle\Model\LayoutBlockInterface

addTranslation() 공개 메소드

public addTranslation ( Networking\InitCmsBundle\Model\PageInterface $page )
$page Networking\InitCmsBundle\Model\PageInterface

convertAliasToInteger() 공개 메소드

public convertAliasToInteger ( ) : integer
리턴 integer

convertChildrenToIntegerArray() 공개 메소드

convertIntegerToPage() 공개 메소드

public convertIntegerToPage ( $id )
$id

convertOriginalsToIntegerArray() 공개 메소드

convertParentToInteger() 공개 메소드

public convertParentToInteger ( ) : integer
리턴 integer

convertParentsToArray() 공개 메소드

public convertParentsToArray ( ) : array
리턴 array

convertTranslationsToIntegerArray() 공개 메소드

getActiveEnd() 공개 메소드

public getActiveEnd ( ) : Datetime
리턴 Datetime

getActiveFrom() 공개 메소드

Get activeFrom
public getActiveFrom ( ) : DateTime
리턴 DateTime

getActiveStart() 공개 메소드

Get activeFrom
public getActiveStart ( ) : DateTime
리턴 DateTime

getActiveTo() 공개 메소드

public getActiveTo ( ) : Datetime
리턴 Datetime

getAdminTitle() 공개 메소드

public getAdminTitle ( ) : string
리턴 string

getAlias() 공개 메소드

public getAlias ( ) : Networking\InitCmsBundle\Model\PageInterface
리턴 Networking\InitCmsBundle\Model\PageInterface

getAliasFullPath() 공개 메소드

public getAliasFullPath ( ) : string
리턴 string

getAllChildren() 공개 메소드

public getAllChildren ( array &$children = [] ) : array
$children array
리턴 array

getAllTranslations() 공개 메소드

public getAllTranslations ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

getChildren() 공개 메소드

public getChildren ( ) : mixed
리턴 mixed

getCreatedAt() 공개 메소드

Get createdAt
public getCreatedAt ( ) : Datetime
리턴 Datetime

getCurrentVersion() 공개 메소드

public getCurrentVersion ( ) : integer
리턴 integer

getDirectTranslationFor() 공개 메소드

public getDirectTranslationFor ( Networking\InitCmsBundle\Model\PageInterface $page ) : mixed
$page Networking\InitCmsBundle\Model\PageInterface
리턴 mixed

getFullPath() 공개 메소드

public getFullPath ( ) : string
리턴 string

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getIsHome() 공개 메소드

public getIsHome ( ) : boolean
리턴 boolean

getLayoutBlock() 공개 메소드

Get menuItem
public getLayoutBlock ( null $zone = null ) : ArrayCollection | Doctrine\Common\Collections\Collection
$zone null
리턴 Doctrine\Common\Collections\ArrayCollection | Doctrine\Common\Collections\Collection

getLevel() 공개 메소드

public getLevel ( ) : mixed
리턴 mixed

getLocale() 공개 메소드

public getLocale ( ) : string
리턴 string

getMenuItem() 공개 메소드

Get menuItem
public getMenuItem ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

getMenuItemByRoot() 공개 메소드

public getMenuItemByRoot ( $rootId ) : Doctrine\Common\Collections\Collection
$rootId
리턴 Doctrine\Common\Collections\Collection

getMetaDescription() 공개 메소드

public getMetaDescription ( ) : string
리턴 string

getMetaKeyword() 공개 메소드

public getMetaKeyword ( ) : string
리턴 string

getMetaTitle() 공개 메소드

Get metaTitle
public getMetaTitle ( ) : string
리턴 string

getOriginals() 공개 메소드

public getOriginals ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

getPageName() 공개 메소드

Get pageName
public getPageName ( ) : string
리턴 string

getParent() 공개 메소드

public getParent ( $level ) : Networking\InitCmsBundle\Model\PageInterface | null
$level
리턴 Networking\InitCmsBundle\Model\PageInterface | null

getParents() 공개 메소드

public getParents ( ) : array
리턴 array

getPath() 공개 메소드

public getPath ( ) : string
리턴 string

getRecursiveTranslations() 공개 메소드

Recursively search for all possible translations of this page, either originals of this page, translations of this page or translations of the original of this page.
public getRecursiveTranslations ( array &$translationsArray ) : array
$translationsArray array
리턴 array

getResourceId() 공개 메소드

public getResourceId ( ) : integer
리턴 integer

getRoute() 공개 메소드

{@inheritDoc}
public getRoute ( )

getRoutes() 공개 메소드

{@inheritDoc}
public getRoutes ( )

getSnapshot() 공개 메소드

public getSnapshot ( ) : mixed | Networking\InitCmsBundle\Model\PageSnapshotInterface
리턴 mixed | Networking\InitCmsBundle\Model\PageSnapshotInterface

getSnapshotClassType() 공개 메소드

public getSnapshotClassType ( ) : mixed | string
리턴 mixed | string

getSnapshots() 공개 메소드

public getSnapshots ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection $snapshots

getStatus() 공개 메소드

Get status
public getStatus ( ) : string
리턴 string

getStatusLabel() 공개 메소드

public getStatusLabel ( ) : string
리턴 string

getStatusList() 공개 정적인 메소드

public static getStatusList ( ) : array
리턴 array

getTemplate() 공개 메소드

public getTemplate ( ) : string
리턴 string

getTemplateName() 공개 메소드

public getTemplateName ( ) : string
리턴 string

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

getTranslatedLocales() 공개 메소드

public getTranslatedLocales ( ) : array
리턴 array

getTranslations() 공개 메소드

public getTranslations ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

getUpdatedAt() 공개 메소드

Get updatedAt
public getUpdatedAt ( ) : Datetime
리턴 Datetime

getUrl() 공개 메소드

public getUrl ( ) : string
리턴 string

getVisibility() 공개 메소드

Get page visibility
public getVisibility ( ) : string
리턴 string

getVisibilityList() 공개 정적인 메소드

public static getVisibilityList ( ) : array
리턴 array

hasListener() 공개 메소드

public hasListener ( ) : string
리턴 string

hasPublishedVersion() 공개 메소드

public hasPublishedVersion ( )

isActive() 공개 메소드

public isActive ( ) : boolean
리턴 boolean

isDirectTranslation() 공개 메소드

public isDirectTranslation ( Networking\InitCmsBundle\Model\PageInterface $page ) : boolean
$page Networking\InitCmsBundle\Model\PageInterface
리턴 boolean

isDraft() 공개 메소드

public isDraft ( ) : boolean
리턴 boolean

isHome() 공개 메소드

public isHome ( ) : boolean
리턴 boolean

isPublished() 공개 메소드

public isPublished ( ) : boolean
리턴 boolean

isReview() 공개 메소드

public isReview ( ) : boolean
리턴 boolean

orderLayoutBlocks() 공개 메소드

public orderLayoutBlocks ( )

prePersist() 공개 메소드

Hook on to pre-persist action
public prePersist ( )

preUpdate() 공개 메소드

Hook on to pre-update action
public preUpdate ( )

prepareMenuItemsForSerialization() 공개 메소드

public prepareMenuItemsForSerialization ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

removeLayoutBlock() 공개 메소드

remove content
public removeLayoutBlock ( Networking\InitCmsBundle\Model\LayoutBlockInterface $layoutBlock )
$layoutBlock Networking\InitCmsBundle\Model\LayoutBlockInterface

removeMenuItem() 공개 메소드

remove menuItem
public removeMenuItem ( Networking\InitCmsBundle\Model\MenuItemInterface $menuItem )
$menuItem Networking\InitCmsBundle\Model\MenuItemInterface

removeTranslation() 공개 메소드

public removeTranslation ( Networking\InitCmsBundle\Model\PageInterface $page )
$page Networking\InitCmsBundle\Model\PageInterface

resetLayoutBlock() 공개 메소드

Remove all layout blocks and replace with those in the serialized page snapshot
public resetLayoutBlock ( ArrayCollection $publishedBlocks )
$publishedBlocks Doctrine\Common\Collections\ArrayCollection

setActiveFrom() 공개 메소드

Set activeFrom
public setActiveFrom ( $activeFrom )
$activeFrom

setActiveTo() 공개 메소드

public setActiveTo ( Datetime $activeTo )
$activeTo Datetime

setAlias() 공개 메소드

public setAlias ( Networking\InitCmsBundle\Model\PageInterface $alias = null )
$alias Networking\InitCmsBundle\Model\PageInterface

setAllChildren() 공개 메소드

public setAllChildren ( $children )
$children

setChildren() 공개 메소드

public setChildren ( $children )
$children

setContentRoute() 공개 메소드

public setContentRoute ( Networking\InitCmsBundle\Model\ContentRouteInterface $contentRoute )
$contentRoute Networking\InitCmsBundle\Model\ContentRouteInterface

setCreatedAt() 공개 메소드

Set createdAt
public setCreatedAt ( Datetime $createdAt )
$createdAt Datetime

setIsHome() 공개 메소드

public setIsHome ( $isHome )
$isHome

setLayoutBlock() 공개 메소드

public setLayoutBlock ( $layoutBlocks )
$layoutBlocks

setLocale() 공개 메소드

public setLocale ( string $locale )
$locale string

setMenuItem() 공개 메소드

Add menuItem
public setMenuItem ( Networking\InitCmsBundle\Model\MenuItemInterface $menuItem )
$menuItem Networking\InitCmsBundle\Model\MenuItemInterface

setMetaDescription() 공개 메소드

public setMetaDescription ( $metaDescription )
$metaDescription

setMetaKeyword() 공개 메소드

public setMetaKeyword ( $metaKeyword )
$metaKeyword

setMetaTitle() 공개 메소드

Set metaTitle
public setMetaTitle ( string $title )
$title string

setOriginal() 공개 메소드

public setOriginal ( Networking\InitCmsBundle\Model\PageInterface $page )
$page Networking\InitCmsBundle\Model\PageInterface

setOriginals() 공개 메소드

public setOriginals ( array $originals )
$originals array

setPageName() 공개 메소드

Set pageName
public setPageName ( string $title )
$title string

setParent() 공개 메소드

public setParent ( Networking\InitCmsBundle\Model\PageInterface $parent = null )
$parent Networking\InitCmsBundle\Model\PageInterface

setParents() 공개 메소드

public setParents ( array $parents )
$parents array

setPath() 공개 메소드

public setPath ( $path )
$path

setSnapshots() 공개 메소드

public setSnapshots ( $snapshots )
$snapshots

setStatus() 공개 메소드

Set active
public setStatus ( string $status )
$status string

setTemplate() 공개 메소드

public setTemplate ( $template )
$template

setTemplateName() 공개 메소드

public setTemplateName ( $templateName )
$templateName

setTranslations() 공개 메소드

public setTranslations ( array $translations )
$translations array

setUpdatedAt() 공개 메소드

Set updatedAt
public setUpdatedAt ( )

setUrl() 공개 메소드

public setUrl ( string $url )
$url string

setVisibility() 공개 메소드

Set page visibility
public setVisibility ( string $visibility )
$visibility string

프로퍼티 상세

$activeFrom 보호되어 있는 프로퍼티

protected Datetime $activeFrom
리턴 Datetime

$activeTo 보호되어 있는 프로퍼티

protected Datetime $activeTo
리턴 Datetime

$alias 보호되어 있는 프로퍼티

protected PageInterface,Networking\InitCmsBundle\Model $alias
리턴 Networking\InitCmsBundle\Model\PageInterface

$allChildren 보호되어 있는 프로퍼티

protected array $allChildren
리턴 array

$children 보호되어 있는 프로퍼티

protected array $children
리턴 array

$contentRoute 보호되어 있는 프로퍼티

protected ContentRouteInterface,Networking\InitCmsBundle\Model $contentRoute
리턴 Networking\InitCmsBundle\Model\ContentRouteInterface

$createdAt 보호되어 있는 프로퍼티

protected Datetime $createdAt
리턴 Datetime

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$isHome 보호되어 있는 프로퍼티

protected bool $isHome
리턴 boolean

$layoutBlock 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections $layoutBlock
리턴 Doctrine\Common\Collections\ArrayCollection

$level 보호되어 있는 프로퍼티

protected $level

$locale 보호되어 있는 프로퍼티

protected string $locale
리턴 string

$menuItem 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections $menuItem
리턴 Doctrine\Common\Collections\ArrayCollection

$metaDescription 보호되어 있는 프로퍼티

protected string $metaDescription
리턴 string

$metaKeyword 보호되어 있는 프로퍼티

protected string $metaKeyword
리턴 string

$metaTitle 보호되어 있는 프로퍼티

protected string $metaTitle
리턴 string

$oldTitle 보호되어 있는 프로퍼티

protected string $oldTitle
리턴 string

$originals 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections $originals
리턴 Doctrine\Common\Collections\ArrayCollection

$pageName 보호되어 있는 프로퍼티

protected string $pageName
리턴 string

$parent 보호되어 있는 프로퍼티

protected PageInterface,Networking\InitCmsBundle\Model|NULL $parent
리턴 Networking\InitCmsBundle\Model\PageInterface | null

$parents 보호되어 있는 프로퍼티

protected array $parents
리턴 array

$path 보호되어 있는 프로퍼티

protected string $path
리턴 string

$snapshotClassType 보호되어 있는 프로퍼티

protected string $snapshotClassType
리턴 string

$snapshots 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections $snapshots
리턴 Doctrine\Common\Collections\ArrayCollection

$status 보호되어 있는 프로퍼티

protected string $status
리턴 string

$translations 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections $translations
리턴 Doctrine\Common\Collections\ArrayCollection

$updatedAt 보호되어 있는 프로퍼티

protected Datetime $updatedAt
리턴 Datetime

$url 보호되어 있는 프로퍼티

protected string $url
리턴 string

$visibility 보호되어 있는 프로퍼티

protected string $visibility
리턴 string