PHP Класс SubscriptionTypeForm, ojs

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

Открытые свойства

Свойство Тип Описание
$typeId int the ID of the subscription type being edited
$validCurrencies array keys are valid subscription type currencies
$validFormats array keys are valid subscription type formats

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

Метод Описание
__construct ( $typeId = null ) Constructor
display ( ) Display the form.
execute ( ) Save subscription type.
getLocaleFieldNames ( ) : array Get a list of localized field names for this form
initData ( ) Initialize form data from current subscription type.
readInputData ( ) Assign form data to user-submitted data.

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

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

Constructor
public __construct ( $typeId = null )

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

Display the form.
public display ( )

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

Save subscription type.
public execute ( )

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

Get a list of localized field names for this form
public getLocaleFieldNames ( ) : array
Результат array

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

Initialize form data from current subscription type.
public initData ( )

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

Assign form data to user-submitted data.
public readInputData ( )

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

$typeId публичное свойство

int the ID of the subscription type being edited
public $typeId

$validCurrencies публичное свойство

array keys are valid subscription type currencies
public $validCurrencies

$validFormats публичное свойство

array keys are valid subscription type formats
public $validFormats