General CRUD feature framework (quad) table profiles in the Quick backend in the icephp framework

Source: Internet
Author: User
This file is the configuration that is taken from the Config method in the framework and can be generated from the database using automated tools.


Return Array (
' id ' = = Array (
' Name ' = ' id ',
' Scale ' = ',
' Type ' = ' int ',
' MaxLength ' = ' 11 ',
' SimpleType ' = ' R ',
' Notnull ' = ' 1 ',
' PrimaryKey ' = ' 1 ',
' AutoIncrement ' = ' 1 ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ',
),
' Adm_name ' = Array (
' Name ' = ' Adm_name ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 25 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' admin name ',
),
' Adm_pwd ' = Array (
' Name ' = ' adm_pwd ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 64 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' password ',
),
' Status ' = = Array (
' Name ' = ' status ',
' Scale ' = ',
' Type ' = ' tinyint ',
' MaxLength ' = ' 1 ',
' SimpleType ' = ' L ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ' 1 ',
' DefaultValue ' = ' 1 ',
' Description ' = ' 0: Disable 1: Enable ',
),
' sort ' = = Array (
' Name ' = ' sort ',
' Scale ' = ',
' Type ' = ' int ',
' MaxLength ' = ' 11 ',
' SimpleType ' = ' I ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' sort ',
),
' Endtime ' = Array (
' Name ' = ' Endtime ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 30 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Last landing time ',
),
' EndIP ' = Array (
' Name ' = ' EndIP ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 20 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Last login IP ',
),
' count ' = = Array (
' Name ' = ' count ',
' Scale ' = ',
' Type ' = ' int ',
' MaxLength ' = ' 11 ',
' SimpleType ' = ' I ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Login count ',
),
' Createtime ' = Array (
' Name ' = ' Createtime ',
' Scale ' = ',
' type ' = ' varchar ',
' MaxLength ' = ' 30 ',
' SimpleType ' = ' C ',
' Notnull ' = ',
' PrimaryKey ' = ',
' AutoIncrement ' = ',
' binary ' = ',
' Unsigned ' = ',
' HasDefault ' = ',
' Description ' = ' Created time ',
),
);

Above is the icephp framework of the General CRUD function Framework (four) table configuration file content, more relevant content please pay attention to topic.alibabacloud.com (www.php.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.