Joomla!-开源天空

2009-01-10
您所在的位置: 首页 > Joomla专栏 > 源代码分析 > [翻译]Joomla 1.5架构(十一) model 包

[翻译]Joomla 1.5架构(十一) model 包

Joomla! 开源天空  作者:joomla  2007-12-24 03:20
  • 摘要:Joomla 1.5架构(十一) model 包

这个包包含了跟数据表交互的所有相关类

 

JModel

This abstract class is the base class for all Joomla! data access objects.

所有数据访问类的抽象基类。

以下的类都分别实现对不同表的访问,不再翻译了。

Adapter Folder 

JModelCategory

This is a data access object for a Joomla! category and represents a tuple in the #__categories table 

JModelComponent

This is a data access object for a Joomla! component and represents a tuple in the #__components table

JModelContent

This is a data access object for a Joomla! content item and represents a tuple in the #__content table

JModelMenu

This is a data access object for a Joomla! menu item and represents a tuple in the #__menus table

JModelModule

This is a data access object for a Joomla! module and represents a tuple in the #__modules table

JModelPlugins

This is a data access object for a Joomla! plugin and represents a tuple in the #__plugins table

JModelSection

This is a data access object for a Joomla! section and represents a tuple in the #__sections table

JModelSession

This is a data access object for a Joomla! session and represents a tuple in the #__sessions table

JModelUser

This is a data access object for a Joomla! user and represents a tuple in the #__users table

  发表您的文章评论

您的姓名 (昵称)
标题:
评分: 很差一般较好很好
评论:
验证码:
请输入验证码