PHP Interface Sulu\Bundle\RouteBundle\Model\RouteInterface

ファイルを表示 Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
addHistory ( Sulu\Bundle\RouteBundle\Model\RouteInterface $history ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Add now history.
getEntityClass ( ) : string Get entityClass.
getEntityId ( ) : string Get entityId.
getHistories ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface[] Get histories.
getId ( ) : integer Get id.
getLocale ( ) : string Get locale.
getPath ( ) : string Get route.
getTarget ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Get target.
isHistory ( ) : boolean Get history.
removeTarget ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Remove target.
setEntityClass ( string $entityClass ) : BaseRoute Set entityClass.
setEntityId ( string $entityId ) : BaseRoute Set entityId.
setHistory ( boolean $history ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Set history.
setLocale ( string $locale ) : BaseRoute Set locale.
setPath ( string $path ) : BaseRoute Set route.
setTarget ( Sulu\Bundle\RouteBundle\Model\RouteInterface $target ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Set target.

Method Details

addHistory() public method

Add now history.
public addHistory ( Sulu\Bundle\RouteBundle\Model\RouteInterface $history ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
$history Sulu\Bundle\RouteBundle\Model\RouteInterface
return Sulu\Bundle\RouteBundle\Model\RouteInterface

getEntityClass() public method

Get entityClass.
public getEntityClass ( ) : string
return string

getEntityId() public method

Get entityId.
public getEntityId ( ) : string
return string

getHistories() public method

Get histories.
public getHistories ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface[]
return Sulu\Bundle\RouteBundle\Model\RouteInterface[]

getId() public method

Get id.
public getId ( ) : integer
return integer

getLocale() public method

Get locale.
public getLocale ( ) : string
return string

getPath() public method

Get route.
public getPath ( ) : string
return string

getTarget() public method

Get target.
public getTarget ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
return Sulu\Bundle\RouteBundle\Model\RouteInterface

isHistory() public method

Get history.
public isHistory ( ) : boolean
return boolean

removeTarget() public method

Remove target.
public removeTarget ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
return Sulu\Bundle\RouteBundle\Model\RouteInterface

setEntityClass() public method

Set entityClass.
public setEntityClass ( string $entityClass ) : BaseRoute
$entityClass string
return Sulu\Bundle\RouteBundle\Entity\BaseRoute

setEntityId() public method

Set entityId.
public setEntityId ( string $entityId ) : BaseRoute
$entityId string
return Sulu\Bundle\RouteBundle\Entity\BaseRoute

setHistory() public method

Set history.
public setHistory ( boolean $history ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
$history boolean
return Sulu\Bundle\RouteBundle\Model\RouteInterface

setLocale() public method

Set locale.
public setLocale ( string $locale ) : BaseRoute
$locale string
return Sulu\Bundle\RouteBundle\Entity\BaseRoute

setPath() public method

Set route.
public setPath ( string $path ) : BaseRoute
$path string
return Sulu\Bundle\RouteBundle\Entity\BaseRoute

setTarget() public method

Set target.
public setTarget ( Sulu\Bundle\RouteBundle\Model\RouteInterface $target ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
$target Sulu\Bundle\RouteBundle\Model\RouteInterface
return Sulu\Bundle\RouteBundle\Model\RouteInterface