PHP Класс Sulu\Component\Content\Compat\PropertyParameter

Наследование: implements JsonSerializable
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $name, string | boolean | array $value, string | null $type = null, array $metadata = [] ) Constructor.
__toString ( )
getInfoText ( string $languageCode ) : string Returns infoText of property param.
getName ( ) : string Returns name of property param.
getPlaceholder ( string $languageCode ) : string Returns placeholder of property param.
getTitle ( string $languageCode ) : string Returns title of property param.
getType ( ) : string Returns type of property param.
getValue ( ) : array | boolean | string Returns value of property param.
hasTitle ( string $languageCode ) : boolean Returns TRUE if parameter has a localized title the given language.
jsonSerialize ( )

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $name, string | boolean | array $value, string | null $type = null, array $metadata = [] )
$name string
$value string | boolean | array
$type string | null
$metadata array

__toString() публичный Метод

public __toString ( )

getInfoText() публичный Метод

Returns infoText of property param.
public getInfoText ( string $languageCode ) : string
$languageCode string
Результат string

getName() публичный Метод

Returns name of property param.
public getName ( ) : string
Результат string

getPlaceholder() публичный Метод

Returns placeholder of property param.
public getPlaceholder ( string $languageCode ) : string
$languageCode string
Результат string

getTitle() публичный Метод

Returns title of property param.
public getTitle ( string $languageCode ) : string
$languageCode string
Результат string

getType() публичный Метод

Returns type of property param.
public getType ( ) : string
Результат string

getValue() публичный Метод

Returns value of property param.
public getValue ( ) : array | boolean | string
Результат array | boolean | string

hasTitle() публичный Метод

Returns TRUE if parameter has a localized title the given language.
public hasTitle ( string $languageCode ) : boolean
$languageCode string
Результат boolean

jsonSerialize() публичный Метод

public jsonSerialize ( )