PHP Класс Ulaform_Driver, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Автор: Marko Djukic ([email protected])
Автор: Brent J. Nordquist ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$_driver
$_params array A hash containing any parameters for the current driver.

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

Метод Описание
__construct ( array $params ) Constructor
getField ( $form_id, $field_id )
getFieldsArray ( $form_id ) : array Get a list of fields that belong to a forms as a simple array.
getFieldsList ( $form_id ) : array Get a list of fields that belong to a forms.
getFormsList ( ) : array Get a list of forms.
hasPermission ( $perm = Horde_Perms::SHOW, $form_id = null )
submitForm ( $form_data )

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

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

Constructor
public __construct ( array $params )
$params array Any parameters needed for this driver.

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

public getField ( $form_id, $field_id )

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

Get a list of fields that belong to a forms as a simple array.
public getFieldsArray ( $form_id ) : array
Результат array Array of the available fields for a specific form.

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

Get a list of fields that belong to a forms.
public getFieldsList ( $form_id ) : array
Результат array Array of the available fields for a specific form.

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

Get a list of forms.
public getFormsList ( ) : array
Результат array Array of the available forms.

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

public hasPermission ( $perm = Horde_Perms::SHOW, $form_id = null )

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

public submitForm ( $form_data )

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

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

protected $_driver

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

A hash containing any parameters for the current driver.
protected array $_params
Результат array