PHP Class Networking\InitCmsBundle\Model\Text

Author: Yorkie Chadwick ([email protected])
Inheritance: implements Networking\InitCmsBundle\Model\ContentInterface, implements Networking\InitCmsBundle\Model\TextInterface
Show file Open project: networking/init-cms-bundle

Protected Properties

Property Type Description
$createdAt DateTime
$id integer
$text string
$updatedAt DateTime

Public Methods

Method Description
__clone ( ) clone action, set id null
getAdminContent ( ) : array
getContentTypeName ( ) : string
getCreatedAt ( ) : DateTime Get createdAt
getId ( ) : integer Get id
getSearchableContent ( ) : string
getTemplateOptions ( array $params = [] ) : array
getText ( ) : string Get content
getUpdatedAt ( ) : DateTime Get updatedAt
setCreatedAt ( ) Set createdAt
setText ( string $text ) Set content
setUpdatedAt ( DateTime $updatedAt ) Set updatedAt

Method Details

__clone() public method

clone action, set id null
public __clone ( )

getAdminContent() public method

public getAdminContent ( ) : array
return array

getContentTypeName() public method

public getContentTypeName ( ) : string
return string

getCreatedAt() public method

Get createdAt
public getCreatedAt ( ) : DateTime
return DateTime

getId() public method

Get id
public getId ( ) : integer
return integer

getSearchableContent() public method

public getSearchableContent ( ) : string
return string

getTemplateOptions() public method

public getTemplateOptions ( array $params = [] ) : array
$params array
return array

getText() public method

Get content
public getText ( ) : string
return string

getUpdatedAt() public method

Get updatedAt
public getUpdatedAt ( ) : DateTime
return DateTime

setCreatedAt() public method

Set createdAt
public setCreatedAt ( )

setText() public method

Set content
public setText ( string $text )
$text string

setUpdatedAt() public method

Set updatedAt
public setUpdatedAt ( DateTime $updatedAt )
$updatedAt DateTime

Property Details

$createdAt protected property

protected DateTime $createdAt
return DateTime

$id protected property

protected int $id
return integer

$text protected property

protected string $text
return string

$updatedAt protected property

protected DateTime $updatedAt
return DateTime