General CRUD function framework in the quick backend of the IcePHP framework (IV) table configuration file

Source: Internet
Author: User
This file is the configuration content obtained by the config method in the framework. you can use an automatic tool to generate the configuration from the database. This file is the configuration content obtained by the config method in the framework. you can use an automatic tool to generate the configuration from the database.


Return Array (
'Id' => Array (
'Name' => 'id ',
'Scale' => '',
'Type' => 'int ',
'Maxlength' => '11 ',
'Simpletype' => 'R ',
'Notnull '=> '1 ',
'Primarykey' => '1 ',
'Autosecret' => '1 ',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => '',
),
'Adm _ name' => Array (
'Name' => 'adm _ name ',
'Scale' => '',
'Type' => 'varchar ',
'Maxlength' => '25 ',
'Simpletype' => 'C ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => 'Administrator name ',
),
'Adm _ pwd' => Array (
'Name' => 'adm _ pwd ',
'Scale' => '',
'Type' => 'varchar ',
'Maxlength' => '64 ',
'Simpletype' => 'C ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => 'password ',
),
'Status' => Array (
'Name' => 'status ',
'Scale' => '',
'Type' => 'tinyint ',
'Maxlength' => '1 ',
'Simpletype' => 'L ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '1 ',
'Defaultvalue' => '1 ',
'Description' => '0: disable 1: Enable ',
),
'Sort '=> Array (
'Name' => 'sort ',
'Scale' => '',
'Type' => 'int ',
'Maxlength' => '11 ',
'Simpletype' => 'I ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => 'sorted ',
),
'Endtime' => Array (
'Name' => 'endtime ',
'Scale' => '',
'Type' => 'varchar ',
'Maxlength' => '30 ',
'Simpletype' => 'C ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => 'Last login time ',
),
'Enabled' => Array (
'Name' => 'enabled ',
'Scale' => '',
'Type' => 'varchar ',
'Maxlength' => '20 ',
'Simpletype' => 'C ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => 'Last logon ip address ',
),
'Count' => Array (
'Name' => 'count ',
'Scale' => '',
'Type' => 'int ',
'Maxlength' => '11 ',
'Simpletype' => 'I ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => 'logon Times ',
),
'Createtime' => Array (
'Name' => 'createtime ',
'Scale' => '',
'Type' => 'varchar ',
'Maxlength' => '30 ',
'Simpletype' => 'C ',
'Notnull '=> '',
'Primarykey' => '',
'Autosecret' => '',
'Binary '=> '',
'Unsigne' => '',
'Hasdefault' => '',
'Description' => 'creation time ',
),
);

The above is the content of the configuration file of the general CRUD function framework (4) in the quick backend of the IcePHP framework. For more information, see The PHP Chinese website (www.php1.cn )!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.