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 )!