PHP Класс Ulaform, horde

Copyright 2001-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])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
checkPermissions ( mixed $in, string $filter, string $permission = Horde_Perms::READ, string $key = null ) : mixed This function does the permission checking when using Ulaform.
getActionInfo ( $action )
getActionParams ( $action )
getFieldParams ( $field_type )
getFieldTypes ( ) : array Fetch the available field types from the Horde_Form classes.
getFieldTypesArray ( ) : array Fetch the full array for the field types, with params.
getStringlistArray ( $string )

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

checkPermissions() публичный статический Метод

This function does the permission checking when using Ulaform.
public static checkPermissions ( mixed $in, string $filter, string $permission = Horde_Perms::READ, string $key = null ) : mixed
$in mixed A form_id or an array of form_id's to check permission on.
$filter string What type of check to do.
$permission string What type of permission to check for.
$key string The array key to use for checking.
Результат mixed Depending on the type of check, either return a boolean to indicate permission for that form, or a filtered out array of form_id's.

getActionInfo() публичный статический Метод

public static getActionInfo ( $action )

getActionParams() публичный статический Метод

public static getActionParams ( $action )

getFieldParams() публичный статический Метод

public static getFieldParams ( $field_type )

getFieldTypes() публичный статический Метод

Fetch the available field types from the Horde_Form classes.
public static getFieldTypes ( ) : array
Результат array The available field types.

getFieldTypesArray() публичный статический Метод

Fetch the full array for the field types, with params.
public static getFieldTypesArray ( ) : array
Результат array The full field types array.

getStringlistArray() публичный статический Метод

public static getStringlistArray ( $string )