- ⌂ io_comand_repo
- Classes
- Configurations
- Content Types
- Models
Data Type Model
- Class Name: DataType
- Namespace: io_comand_repo\models
- Extends: Type
- Implements: nothing
Data Type is used to define a "primitive type", such as a boolean, text or blog value. Information about the primitive type is used by the storage engine and API to create the database schema for fields that use the data type, as well as determine how to store and load data of the Data Type.
Fields
- Title
- Model
- Identifier
- Primitive
- To String
- From String
- Default Func
- Validations
- Labels & Help
- Description
- Help
- Icon
- Storage Options
- Protect
- SQL
- Index Length
- Is Binary
Methods
Version control features are primarily accessed through the following methods:
- get_default_value()
- is_number()
- is_decimal()
- is_text()
- to_string()
- from_string()