PHP 클래스 Traq\Models\CustomField

부터: 3.0.0
저자: Jack P.
상속: extends Traq\Models\Model
파일 보기 프로젝트 열기: nirix/traq 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_dataTypes
$_validations

공개 메소드들

메소드 설명
forProject ( integer $project_id ) : array Returns the custom fields for the specified project.
types ( ) : array Get a list of available custom field types.
typesSelectOptions ( ) : array[] Get an array of custom field types for use with Form::select.

메소드 상세

forProject() 공개 정적인 메소드

Returns the custom fields for the specified project.
public static forProject ( integer $project_id ) : array
$project_id integer
리턴 array

types() 공개 정적인 메소드

Get a list of available custom field types.
public static types ( ) : array
리턴 array

typesSelectOptions() 공개 정적인 메소드

Get an array of custom field types for use with Form::select.
public static typesSelectOptions ( ) : array[]
리턴 array[]

프로퍼티 상세

$_dataTypes 보호되어 있는 정적으로 프로퍼티

protected static $_dataTypes

$_validations 보호되어 있는 정적으로 프로퍼티

protected static $_validations