PHP Класс Elcodi\Admin\CurrencyBundle\Form\Type\MoneyType

Наследование: extends Symfony\Component\Form\AbstractType
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$currencyNamespace string currency namespace
$defaultCurrencyWrapper Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface Currency Wrapper

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

Метод Описание
__construct ( Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface $defaultCurrencyWrapper, string $currencyNamespace ) Construct method
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) Configures the options for this type.
getBlockPrefix ( ) : string Returns the prefix of the template block name for this type.
getName ( ) : string Returns the name of this type.

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

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

Construct method
public __construct ( Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface $defaultCurrencyWrapper, string $currencyNamespace )
$defaultCurrencyWrapper Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface Default Currency Wrapper
$currencyNamespace string Currency namespace

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

public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface
$options array

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

Configures the options for this type.
public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver The resolver for the options.

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

The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
public getBlockPrefix ( ) : string
Результат string The prefix of the template block name

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

Returns the name of this type.
Устаревший: Deprecated since Symfony 2.8, to be removed from Symfony 3.
public getName ( ) : string
Результат string The name of this type

Описание свойств

$currencyNamespace защищенное свойство

currency namespace
protected string $currencyNamespace
Результат string

$defaultCurrencyWrapper защищенное свойство

Currency Wrapper
protected WrapperInterface,Elcodi\Component\Core\Wrapper\Interfaces $defaultCurrencyWrapper
Результат Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface