joomla的数据库类,joomla有好些数据库驱动,这里我们只讨论mysql。我们操作全局数据库对象通过JFactory$db =& JFactory::getDBO();所有的数据库都有前缀,通常是jos_,这样能够帮助我们一套数据库可以安装多套的joomla。表的命名约定当我们创建为扩展创建数据表时,我们必须按照标准的约定,最重要的就是表的命名方式。所有的表以匹配符开始,然后接扩展的名称,如果表要存储特殊的实体,添加复数的实体名称到表的结尾,例如,一...
SELECT AAESDFKD CBLUPDK1 ASSIGN TO WORKstATION-AAESDFKD-SI CBLUPDK1 ORGANIZATION IS TRANSACTION CBLUPDK1 ACCESS MODE IS DYNAMIC CBLUPDK1 RELATIVE KEY IS ZZRR CBLUPDK1 ...
clear itclear itclear itclear itclear itclear itclear itv [ 本帖最后由 wgmaster 于 2009-2-19 21:04 编辑 ]
clear itclear itclear itclear itclear it [ 本帖最后由 wgmaster 于 2009-2-19 21:02 编辑 ]
1. In one constructor we can use this to call another constructor, but just once and you must call the constructor at the top. class Test { Test(int i) { } Test() { this(2); System.out.println(""); } } 2. You can't use the class's functions or variables which are not static in a static function. So you can't use this in the static method. 3. GC(garbage ...