MV framework logo
  • Architecture
    • Philosophy
    • Technologies
  • Admin Panel
  • Changelog
  • Support
  • Feedback
Download Version 2.6 from 07.10.2022
Documentation
  • Architecture
    • Philosophy
    • Technologies
  • Admin Panel
  • Changelog
  • Support
  • Feedback
Getting started
  • Installation and launch
  • System folders
  • Launch of simple website
  • Pre-installed models
  • System settings
Models
  • General principles of models
  • Data types
    • General characteristics
    • "bool"
    • "char"
    • "int", "float" and "order"
    • "url", "redirect", "email" and "phone"
    • "password"
    • "text"
    • "date" and "date_time"
    • "file" and "image"
    • "multi_images"
    • "enum"
    • "parent"
    • "many_to_one"
    • "many_to_many"
    • "group"
  • Model settings
  • Simple models
  • Foreign keys
  • Trees
  • Many to many
  • Group
  • Records management
  • Simple model management
  • Additional options
Views and routes
  • General principles of views
  • Router object
  • MV object
  • Index, default and 404 templates
  • Creating a new template
  • Data display in template
  • Object of Record class
  • Files and images
  • Date and time
  • Redirects
  • Email delivery
  • Special methods
Forms
  • Forms creation
  • Form fields settings
  • Form validation rules
  • Form validation process
  • Operations with form data
  • Using data from models
  • Form methods
SQL queries
  • Query constructor
  • Direct queries
  • Pagination
  • Sorting
  • Filtration
  • Upload from CSV files
Sessions and security
  • Work with sessions
  • AJAX
  • Security
  • Debugging
Plugins
  • General principles of plugins
  • Additions to admin panel
  • Caching
Documentation
Getting started
  • Installation and launch
  • System folders
  • Launch of simple website
  • Pre-installed models
  • System settings
Models
  • General principles of models
  • Data types
    • General characteristics
    • "bool"
    • "char"
    • "int", "float" and "order"
    • "url", "redirect", "email" and "phone"
    • "password"
    • "text"
    • "date" and "date_time"
    • "file" and "image"
    • "multi_images"
    • "enum"
    • "parent"
    • "many_to_one"
    • "many_to_many"
    • "group"
  • Model settings
  • Simple models
  • Foreign keys
  • Trees
  • Many to many
  • Group
  • Records management
  • Simple model management
  • Additional options
Views and routes
  • General principles of views
  • Router object
  • MV object
  • Index, default and 404 templates
  • Creating a new template
  • Data display in template
  • Object of Record class
  • Files and images
  • Date and time
  • Redirects
  • Email delivery
  • Special methods
Forms
  • Forms creation
  • Form fields settings
  • Form validation rules
  • Form validation process
  • Operations with form data
  • Using data from models
  • Form methods
SQL queries
  • Query constructor
  • Direct queries
  • Pagination
  • Sorting
  • Filtration
  • Upload from CSV files
Sessions and security
  • Work with sessions
  • AJAX
  • Security
  • Debugging
Plugins
  • General principles of plugins
  • Additions to admin panel
  • Caching

Data types

MV framework supports the following 21 data types for building models: "bool", "int", "float", "char", "url", "redirect", "email", "phone", "password", "text", "enum", "parent", "order", "date", "date_time", "image", "multi_images", "file", "many_to_one", "many_to_many", "group".

Based on data types in PHP class we specify the data types for SQL table fields. Details about how to specify data types in MySQL tables are given below in the description of each data type (for SQLite it is optional since there are no such limitations on data types as it is in MySQL).

  • General characteristics
  • "bool"
  • "char"
  • "int", "float", "order"
  • "url", "redirect", "email", "phone"
  • "password"
  • "text"
  • "date", "date_time"
  • "file", "image"
  • "multi_images"
  • "enum"
  • "parent"
  • "many to one"
  • "many to many"
  • "group"

© 2012-2023, MV framework

MV tracker is based on open source MV framework
License