⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.migrate_v7

📁 PHPLOB注释详细版 使用模板技术的好帮手 PHP最有用的东东了
💻 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 + -