PHP Class Sulu\Component\Content\Repository\Mapping\MappingBuilder

Exibir arquivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
addProperties ( string[] $properties ) Add properties to load.
create ( ) : MappingBuilder Create mapping-builder.
getMapping ( ) : Sulu\Component\Content\Repository\Mapping\Mapping Returns build mapping.
setFollowInternalLink ( boolean $enable ) Enable follow internal-link relations.
setHydrateGhost ( boolean $enable ) Enable hydrate ghost pages.
setHydrateShadow ( boolean $enable ) Enable hydrate shadow pages.
setOnlyPublished ( boolean $enable ) Enable only published.
setResolveConcreteLocales ( boolean $enable ) Enable resolve concrete locales.
setResolveUrl ( boolean $enable ) Enable resolve url.

Private Methods

Method Description
__construct ( )

Method Details

addProperties() public method

Add properties to load.
public addProperties ( string[] $properties )
$properties string[]

create() public static method

Create mapping-builder.
public static create ( ) : MappingBuilder
return MappingBuilder

getMapping() public method

Returns build mapping.
public getMapping ( ) : Sulu\Component\Content\Repository\Mapping\Mapping
return Sulu\Component\Content\Repository\Mapping\Mapping

setHydrateGhost() public method

Enable hydrate ghost pages.
public setHydrateGhost ( boolean $enable )
$enable boolean

setHydrateShadow() public method

Enable hydrate shadow pages.
public setHydrateShadow ( boolean $enable )
$enable boolean

setOnlyPublished() public method

Enable only published.
public setOnlyPublished ( boolean $enable )
$enable boolean

setResolveConcreteLocales() public method

Enable resolve concrete locales.
public setResolveConcreteLocales ( boolean $enable )
$enable boolean

setResolveUrl() public method

Enable resolve url.
public setResolveUrl ( boolean $enable )
$enable boolean