class UrlAlias extends AbstractEntity (View source)

UrlAliases are used to translate Nodes URLs.

Properties

protected $id from AbstractEntity

Methods

int
getId()

No description

setId(int $id)

No description

string
getAlias()

No description

$this
setAlias(string $alias)

No description

getNodeSource()

No description

$this
setNodeSource(NodesSources $nodeSource)

No description

__construct(NodesSources $nodeSource)

Create a new UrlAlias linked to a NodeSource.

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

string getAlias()

Return Value

string

$this setAlias(string $alias)

Parameters

string $alias

Return Value

$this

NodesSources getNodeSource()

Return Value

NodesSources

$this setNodeSource(NodesSources $nodeSource)

Parameters

NodesSources $nodeSource

Return Value

$this

__construct(NodesSources $nodeSource)

Create a new UrlAlias linked to a NodeSource.

Parameters

NodesSources $nodeSource