PHP Class Sulu\Component\Content\Compat\StructureType

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
getGhost ( string $localization ) : StructureType creates a new ghost type.
getName ( ) : string return name of type.
getShadow ( string $localization ) : StructureType creates a new ghost type.
getValue ( ) : string return value of type.
toArray ( ) : array returns a array representation.

Private Methods

Méthode Description
__construct ( $name, $value )

Method Details

getGhost() public static méthode

creates a new ghost type.
public static getGhost ( string $localization ) : StructureType
$localization string
Résultat StructureType

getName() public méthode

return name of type.
public getName ( ) : string
Résultat string

getShadow() public static méthode

creates a new ghost type.
public static getShadow ( string $localization ) : StructureType
$localization string
Résultat StructureType

getValue() public méthode

return value of type.
public getValue ( ) : string
Résultat string

toArray() public méthode

returns a array representation.
public toArray ( ) : array
Résultat array