PHP Class Sulu\Component\Content\Compat\StructureType

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

Public Methods

Method 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

Method Description
__construct ( $name, $value )

Method Details

getGhost() public static method

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

getName() public method

return name of type.
public getName ( ) : string
return string

getShadow() public static method

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

getValue() public method

return value of type.
public getValue ( ) : string
return string

toArray() public method

returns a array representation.
public toArray ( ) : array
return array