用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2086|回复: 3
收起左侧

[已解决] 手册翻译求助

[复制链接]
发表于 2012-9-14 16:25:22 | 显示全部楼层 |阅读模式
适配器是一种特殊的库,它有一个父类和任意数量的子类。子类可以访问其父类元素,但不能访问其兄弟类的元素。Drivers provide an elegant syntax  in your [url=]controllers[/url] for libraries that benefit from or require being broken down into discrete classes.
  
适配器的源文件存放在system/libraries 目录下, in their own folder which is identically named to the parent library class.  Also inside that folder is a subfolder named drivers, which contains all of the possible child class files.

The child classes, the drivers themselves, can then be called directly through the parent class, without initializing them

哪位能帮我翻译一下上面的三句话,要通俗流畅,容易明白,多谢。另外,适配器的作用是什么?能否简单说明一下?


 楼主| 发表于 2012-9-14 16:44:45 | 显示全部楼层
是不是在libraries目录中有一些适配器类的目录?其中的每个适配器的文件名和它的父类相同,然后,在这个适配器目录中还有许多子文件夹,其中包含着某个适配器的子类。是不是这个意思?

能否举个实例看一下?
发表于 2012-9-14 17:02:08 | 显示全部楼层
 楼主| 发表于 2012-9-15 19:10:07 CI中国手机版 | 显示全部楼层
谢谢.翻译好生硬.与看英文效果一样.

本版积分规则