📄 readme.migrate_v7
字号:
$Id: README.migrate_V7,v 1.1.1.1 2000/04/17 16:39:57 kk Exp $This is a short introduction for people already familiar with PHPLIB v6or prior. What has changed?Many things. The most obvious change is the introduction of storagecontainers. If you had written for V6----------------------------------------class my_session extends Session { $name = "my_session"; ... $database_class = "class"; $database_table = "table";};----------------------------------------you wil have to rewrite it the following way now to make it work with V7.----------------------------------------class my_sql extends CT_Sql { $database_class = "class"; $database_table = "table";};class my_session extends Session { $name = "my_session"; ... $that_class = "my_sql";};----------------------------------------Don't forget to add ``require "ct_sql.inc";'' to your prepend.php3. Sascha-- Sql_Query class change --The form function of the Sql_Query class has been changed to return theHTML form as a result of the function instead of sending the HTMLdirectly via printf. This gives you more control over how/when theHTML is displayed.Previously you would code the following to display the HTML form: $q->form("x", $field, "query");In this release, you should change that to: echo $q->form("x", $field, "query");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -