CustomFieldSpec
class CustomFieldSpec extends FieldSpec
Properties
protected mixed | $defaultValue | from FieldSpec | |
protected string | $name | from FieldSpec | |
protected string | $title | from FieldSpec | |
protected string | $entity | from FieldSpec | |
protected string | $description | from FieldSpec | |
protected bool | $required | from FieldSpec | |
protected bool | $requiredIf | from FieldSpec | |
protected array|bool | $options | from FieldSpec | |
protected string | $dataType | from FieldSpec | |
protected string | $inputType | from FieldSpec | |
protected array | $inputAttrs | from FieldSpec | |
protected string | $fkEntity | from FieldSpec | |
protected int | $serialize | from FieldSpec | |
protected array | $permission | from FieldSpec | |
static array | $typeAliases | Aliases for the valid data types | from FieldSpec |
protected int | $customFieldId | ||
protected int | $customGroup | ||
protected string | $tableName | ||
protected string | $columnName |
Methods
__construct(string $name, string $entity, string $dataType = 'String')
No description
from FieldSpec
$this
setDataType($dataType)
No description
int
getCustomFieldId()
No description
$this
setCustomFieldId(int $customFieldId)
No description
int
getCustomGroupName()
No description
$this
setCustomGroupName(string $customGroupName)
No description
string
getCustomTableName()
No description
$this
setCustomTableName(string $customFieldColumnName)
No description
string
getCustomFieldColumnName()
No description
$this
setCustomFieldColumnName(string $customFieldColumnName)
No description