PHP Class Sulu\Component\CustomUrl\Document\CustomUrlDocument

Inheritance: implements Sulu\Component\CustomUrl\Document\CustomUrlBehavior, implements Sulu\Component\DocumentManager\Behavior\Mapping\NodeNameBehavior, implements Sulu\Component\DocumentManager\Behavior\Audit\TimestampBehavior, implements Sulu\Component\Content\Document\Behavior\BlameBehavior, implements Sulu\Component\DocumentManager\Behavior\Mapping\ParentBehavior, implements Sulu\Component\DocumentManager\Behavior\Mapping\LocaleBehavior, implements Sulu\Component\DocumentManager\Behavior\Path\AutoNameBehavior
Show file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$baseDomain string
$canonical boolean
$changed DateTime
$changer integer
$created DateTime
$creator integer
$domainParts array
$locale string
$noFollow boolean
$noIndex boolean
$nodeName string
$originalLocale string
$parent PHPCR\NodeInterface
$path string
$published boolean
$redirect boolean
$routes RouteDocument
$targetDocument Sulu\Bundle\ContentBundle\Document\PageDocument
$targetLocale string
$title string
$uuid string

Public Methods

Method Description
__construct ( )
addRoute ( $route, RouteDocument $routeDocument )
getBaseDomain ( )
getChanged ( )
getChanger ( )
getCreated ( )
getCreator ( )
getDomainParts ( )
getLocale ( )
getNodeName ( )
getOriginalLocale ( )
getParent ( )
getPath ( )
getRoutes ( )
getTargetDocument ( )
getTargetLocale ( )
getTitle ( )
getUuid ( )
isCanonical ( )
isNoFollow ( )
isNoIndex ( )
isPublished ( )
isRedirect ( )
setBaseDomain ( string $baseDomain ) Set base domain.
setCanonical ( boolean $canonical ) Set canonical.
setDomainParts ( array $domainParts ) Set domain parts.
setLocale ( $locale )
setNoFollow ( boolean $noFollow )
setNoIndex ( boolean $noIndex )
setOriginalLocale ( $originalLocale )
setParent ( $parent )
setPublished ( boolean $published ) Set published state.
setRedirect ( boolean $redirect ) Set redirect.
setRoutes ( array $routes )
setTargetDocument ( $targetDocument )
setTargetLocale ( string $targetLocale ) Set target locale.
setTitle ( string $title ) Set title.

Method Details

__construct() public method

public __construct ( )

addRoute() public method

public addRoute ( $route, RouteDocument $routeDocument )
$routeDocument RouteDocument

getBaseDomain() public method

public getBaseDomain ( )

getChanged() public method

public getChanged ( )

getChanger() public method

public getChanger ( )

getCreated() public method

public getCreated ( )

getCreator() public method

public getCreator ( )

getDomainParts() public method

public getDomainParts ( )

getLocale() public method

public getLocale ( )

getNodeName() public method

public getNodeName ( )

getOriginalLocale() public method

public getOriginalLocale ( )

getParent() public method

public getParent ( )

getPath() public method

public getPath ( )

getRoutes() public method

public getRoutes ( )

getTargetDocument() public method

public getTargetDocument ( )

getTargetLocale() public method

public getTargetLocale ( )

getTitle() public method

public getTitle ( )

getUuid() public method

public getUuid ( )

isCanonical() public method

public isCanonical ( )

isNoFollow() public method

public isNoFollow ( )

isNoIndex() public method

public isNoIndex ( )

isPublished() public method

public isPublished ( )

isRedirect() public method

public isRedirect ( )

setBaseDomain() public method

Set base domain.
public setBaseDomain ( string $baseDomain )
$baseDomain string

setCanonical() public method

Set canonical.
public setCanonical ( boolean $canonical )
$canonical boolean

setDomainParts() public method

Set domain parts.
public setDomainParts ( array $domainParts )
$domainParts array

setLocale() public method

public setLocale ( $locale )

setNoFollow() public method

public setNoFollow ( boolean $noFollow )
$noFollow boolean

setNoIndex() public method

public setNoIndex ( boolean $noIndex )
$noIndex boolean

setOriginalLocale() public method

public setOriginalLocale ( $originalLocale )

setParent() public method

public setParent ( $parent )

setPublished() public method

Set published state.
public setPublished ( boolean $published )
$published boolean

setRedirect() public method

Set redirect.
public setRedirect ( boolean $redirect )
$redirect boolean

setRoutes() public method

public setRoutes ( array $routes )
$routes array

setTargetDocument() public method

public setTargetDocument ( $targetDocument )

setTargetLocale() public method

Set target locale.
public setTargetLocale ( string $targetLocale )
$targetLocale string

setTitle() public method

Set title.
public setTitle ( string $title )
$title string

Property Details

$baseDomain protected property

protected string $baseDomain
return string

$canonical protected property

protected bool $canonical
return boolean

$changed protected property

protected DateTime $changed
return DateTime

$changer protected property

protected int $changer
return integer

$created protected property

protected DateTime $created
return DateTime

$creator protected property

protected int $creator
return integer

$domainParts protected property

protected array $domainParts
return array

$locale protected property

protected string $locale
return string

$noFollow protected property

protected bool $noFollow
return boolean

$noIndex protected property

protected bool $noIndex
return boolean

$nodeName protected property

protected string $nodeName
return string

$originalLocale protected property

protected string $originalLocale
return string

$parent protected property

protected NodeInterface,PHPCR $parent
return PHPCR\NodeInterface

$path protected property

protected string $path
return string

$published protected property

protected bool $published
return boolean

$redirect protected property

protected bool $redirect
return boolean

$routes protected property

protected RouteDocument,Sulu\Component\CustomUrl\Document $routes
return RouteDocument

$targetDocument protected property

protected PageDocument,Sulu\Bundle\ContentBundle\Document $targetDocument
return Sulu\Bundle\ContentBundle\Document\PageDocument

$targetLocale protected property

protected string $targetLocale
return string

$title protected property

protected string $title
return string

$uuid protected property

protected string $uuid
return string