PHP Class Traq\Models\CustomField

Since: 3.0.0
Author: Jack P.
Inheritance: extends Traq\Models\Model
Afficher le fichier Open project: nirix/traq Class Usage Examples

Protected Properties

Свойство Type Description
$_dataTypes
$_validations

Méthodes publiques

Méthode Description
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.

Method Details

forProject() public static méthode

Returns the custom fields for the specified project.
public static forProject ( integer $project_id ) : array
$project_id integer
Résultat array

types() public static méthode

Get a list of available custom field types.
public static types ( ) : array
Résultat array

typesSelectOptions() public static méthode

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

Property Details

$_dataTypes protected_oe static_oe property

protected static $_dataTypes

$_validations protected_oe static_oe property

protected static $_validations