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])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
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 )