PHP 클래스 WellCommerce\Component\DataGrid\Configuration\AbstractOption

저자: Adam Piotrowski ([email protected])
상속: implements WellCommerce\Component\DataGrid\Configuration\OptionInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$options array

공개 메소드들

메소드 설명
__construct ( array $options = [] ) Constructor
__toString ( ) : string Returns string containing all DataGrid options
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
get ( string $key ) : mixed Returns option value if exists
has ( string $key ) : boolean Checks if key exists in options array

보호된 메소드들

메소드 설명
prepareValue ( $value ) : string Prepares value to use in DataGrid JS configuration

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( array $options = [] )
$options array

__toString() 공개 메소드

Returns string containing all DataGrid options
public __toString ( ) : string
리턴 string

configureOptions() 추상적인 공개 메소드

abstract public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

get() 공개 메소드

Returns option value if exists
public get ( string $key ) : mixed
$key string
리턴 mixed

has() 공개 메소드

Checks if key exists in options array
public has ( string $key ) : boolean
$key string
리턴 boolean

prepareValue() 보호된 메소드

Prepares value to use in DataGrid JS configuration
protected prepareValue ( $value ) : string
$value
리턴 string

프로퍼티 상세

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array