PHP Class Traq\Models\CustomField

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

Protected Properties

Property Type Description
$_dataTypes
$_validations

Public Methods

Method 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 method

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

types() public static method

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

typesSelectOptions() public static method

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

Property Details

$_dataTypes protected_oe static_oe property

protected static $_dataTypes

$_validations protected_oe static_oe property

protected static $_validations