Beta version

class NodeType extends AbstractEntity

NodeTypes describe each node structure family, They are mandatory before creating any Node.

Methods

int
getId()

Get entity unique identifier.

setId(int $id)

No description

string
getName()

No description

$this
setName(string $name)

No description

string
getDisplayName()

No description

$this
setDisplayName(string $displayName)

No description

string
getDescription()

No description

$this
setDescription(string $description)

No description

boolean
isVisible()

No description

$this
setVisible(boolean $visible)

No description

bool
isPublishable()

No description

setPublishable(bool $publishable)

No description

bool
getReachable()

No description

bool
isReachable()

No description

setReachable(bool $reachable)

No description

boolean
isNewsletterType()

No description

$this
setNewsletterType(boolean $newsletterType)

No description

boolean
isHidingNodes()

No description

$this
setHidingNodes(boolean $hidingNodes)

No description

string
getColor()

Gets the value of color.

$this
setColor(string $color)

Sets the value of color.

ArrayCollection
getFields()

No description

array
getFieldsNames()

Get every node-type fields names in a simple array.

addField(NodeTypeField $field)

No description

removeField(NodeTypeField $field)

No description

__construct()

Create a new NodeType.

string
getSourceEntityClassName()

Get node-source entity class name without its namespace.

string
getSourceEntityTableName()

Get node-source entity database table name.

static string
string
__toString()

No description

ArrayCollection
getSearchableFields()

Get every searchable node-type fields as a Doctrine ArrayCollection.

getHandler()

No description

Details

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 60
string getName()

Return Value

string

at line 69
$this setName(string $name)

Parameters

string $name

Return Value

$this

at line 85
string getDisplayName()

Return Value

string

at line 95
$this setDisplayName(string $displayName)

Parameters

string $displayName

Return Value

$this

at line 111
string getDescription()

Return Value

string

at line 121
$this setDescription(string $description)

Parameters

string $description

Return Value

$this

at line 137
boolean isVisible()

Return Value

boolean

at line 146
$this setVisible(boolean $visible)

Parameters

boolean $visible

Return Value

$this

at line 162
bool isPublishable()

Return Value

bool

at line 171
NodeType setPublishable(bool $publishable)

Parameters

bool $publishable

Return Value

NodeType

at line 191
bool getReachable()

Return Value

bool

at line 199
bool isReachable()

Return Value

bool

at line 208
NodeType setReachable(bool $reachable)

Parameters

bool $reachable

Return Value

NodeType

at line 222
boolean isNewsletterType()

Return Value

boolean

at line 231
$this setNewsletterType(boolean $newsletterType)

Parameters

boolean $newsletterType

Return Value

$this

at line 245
boolean isHidingNodes()

Return Value

boolean

at line 254
$this setHidingNodes(boolean $hidingNodes)

Parameters

boolean $hidingNodes

Return Value

$this

at line 270
string getColor()

Gets the value of color.

Return Value

string

at line 282
$this setColor(string $color)

Sets the value of color.

Parameters

string $color

Return Value

$this

at line 298
ArrayCollection getFields()

Return Value

ArrayCollection

at line 308
array getFieldsNames()

Get every node-type fields names in a simple array.

Return Value

array

at line 324
NodeType addField(NodeTypeField $field)

Parameters

NodeTypeField $field

Return Value

NodeType

at line 338
NodeType removeField(NodeTypeField $field)

Parameters

NodeTypeField $field

Return Value

NodeType

at line 350
__construct()

Create a new NodeType.

at line 360
string getSourceEntityClassName()

Get node-source entity class name without its namespace.

Return Value

string

at line 370
string getSourceEntityTableName()

Get node-source entity database table name.

Return Value

string

at line 378
static string getGeneratedEntitiesNamespace()

Return Value

string

at line 386
string __toString()

Return Value

string

at line 396
ArrayCollection getSearchableFields()

Get every searchable node-type fields as a Doctrine ArrayCollection.

Return Value

ArrayCollection

at line 411
NodeTypeHandler getHandler()

Return Value

NodeTypeHandler