Zend Framework手册 中文版

Zend Framework

2008-05-15


目录

1. Introduction to Zend Framework
1.1. 概述
1.2. 安装
2. Zend_Acl
2.1. 简介
2.1.1. 关于资源(Resource)
2.1.2. 关于角色(Role)
2.1.3. 创建访问控制列表(ACL)
2.1.4. 注册角色(Role)
2.1.5. 定义访问控制
2.1.6. 查询 ACL
2.2. 精细的访问控制
2.2.1. 精细的访问控制
2.2.2. 除去访问控制
2.3. 高级用法
2.3.1. 保存 ACL 数据确保持久性
2.3.2. 使用声明(Assert)来编写条件性的 ACL 规则
3. Zend_Auth
3.1. 简介
3.1.1. 适配器
3.1.2. 结果
3.1.3. 身份的持久(Persistence)
3.1.3.1. 在PHP Session 中的缺省持久(Persistence)
3.1.3.2. 实现订制存储
3.1.4. 使用Zend_Auth
3.2. 数据库表认证
3.2.1. 简介
3.2.2. 高级使用:持久一个 DbTable 结果对象
3.2.3. 高级用法示例
3.3. 摘要式认证
3.3.1. 简介
3.3.2. 规范(Specifics)
3.3.3. 身份(Identity)
3.4. HTTP 认证适配器
3.4.1. 简介
3.4.2. 设计回顾
3.4.3. 配置选项
3.4.4. Resolvers
3.4.4.1. 文件 Resolver
3.4.5. 基本用法
4. Zend_Cache
4.1. 简介
4.2. 缓存原理
4.2.1. Zend_Cache 工厂方法
4.2.2. 标记纪录
4.2.3. 缓存清理
4.3. Zend_Cache前端
4.3.1. Zend_Cache_Core
4.3.1.1. 简介
4.3.1.2. 可用选项
4.3.1.3. 例子
4.3.2. Zend_Cache_Frontend_Output
4.3.2.1. 简介
4.3.2.2. 可用的选项
4.3.2.3. 例子
4.3.3. Zend_Cache_Frontend_Function
4.3.3.1. Introduction
4.3.3.2. A可用的选项
4.3.3.3. 例子
4.3.4. Zend_Cache_Frontend_Class
4.3.4.1. Introduction
4.3.4.2. Available options
4.3.4.3. Examples
4.3.5. Zend_Cache_Frontend_File
4.3.5.1. Introduction
4.3.5.2. Available options
4.3.5.3. Examples
4.3.6. Zend_Cache_Frontend_Page
4.3.6.1. Introduction
4.3.6.2. Available options (for this frontend in Zend_Cache factory)
4.3.6.3. Examples
4.4. Zend_Cache后端
4.4.1. Zend_Cache_Backend_File
4.4.2. Zend_Cache_Backend_Sqlite
4.4.3. Zend_Cache_Backend_Memcached
4.4.4. Zend_Cache_Backend_Apc
4.4.5. Zend_Cache_Backend_ZendPlatform
5. Zend_Config
5.1. 简介
5.2. 操作理论
5.3. Zend_Config_Ini
5.4. Zend_Config_Xml
6. Zend_Console_Getopt
6.1. Getopt 简介
6.2. 声明 Getopt 规则
6.2.1. 用短语法声明选项
6.2.2. 用长语法声明选项
6.3. 读取(Fetching)选项和参数
6.3.1. 操作 Getopt 异常
6.3.2. 通过名字读取 (Fetching)选项
6.3.3. 报告选项
6.3.4. 读取非选项参数
6.4. 配置 Zend_Console_Getopt
6.4.1. 添加选项规则
6.4.2. 添加帮助信息
6.4.3. 添加选项别名
6.4.4. 添加参数列表
6.4.5. 添加配置
7. Zend_Controller
7.1. Zend_Controller 快速入门
7.1.1. 简介
7.1.2. 入门
7.1.2.1. 文件系统的组织结构
7.1.2.2. 设置文件根目录
7.1.2.3. 创建URL重写规则
7.1.2.4. 创建你的bootstrap文件
7.1.2.5. 创建默认的控制器(Action Controller)
7.1.2.6. 创建你的视图脚本
7.1.2.7. 创建你自己的错误控制器
7.1.2.8. 访问站点!
7.2. Zend_Controller 基础
7.3. 前端控制器
7.3.1. 概述
7.3.2. 主要方法
7.3.2.1. getInstance()
7.3.2.2. setControllerDirectory() 和 addControllerDirectory()
7.3.2.3. dispatch()
7.3.2.4. run()
7.3.3. 环境访问器方法
7.3.4. 前端控制器参数
7.3.5. 继承前端控制器
7.4. 请求对象
7.4.1. 介绍
7.4.2. HTTP 请求
7.4.2.1. 访问请求数据
7.4.2.2. 基地址和子目录
7.4.2.3. 决定请求方式
7.4.2.4. 删除 AJAX 请求
7.4.3. 子类化请求对象
7.5. 标准路由器:Zend_Controller_Router_Rewrite
7.5.1. 简介
7.5.2. 使用路由器
7.5.3. 基本的Rewrite路由器操作
7.5.4. 缺省路由
7.5.5. 基本 URL 和子目录
7.5.6. Route Types
7.5.6.1. Zend_Controller_Router_Route
7.5.6.1.1. 变量缺省
7.5.6.1.2. 变量请求
7.5.6.2. Zend_Controller_Router_Route_Static
7.5.6.3. Zend_Controller_Router_Route_Regex
7.5.7. 使用 Zend_Config with the RewriteRouter
7.5.8. Subclassing the Router
7.6. 分发器
7.6.1. 概述
7.6.2. 子类化分发器
7.7. 动作控制器
7.7.1. 简介
7.7.2. 对象初始化
7.7.3. 派遣前后的钩子
7.7.4. 访问器
7.7.5. 视图集成
7.7.5.1. 视图初始化
7.7.5.2. 解析(Rendering)视图
7.7.6. 实用方法
7.7.7. 继承(Subclassing)动作控制器
7.8. 动作助手
7.8.1. 介绍
7.8.2. 初始化助手
7.8.3. 助手经纪人
7.8.4. 内建的动作助手
7.8.4.1. 动作堆栈(助手)
7.8.4.2. AutoComplete
7.8.4.2.1. AutoCompletion with Dojo
7.8.4.2.2. AutoCompletion with Scriptaculous
7.8.4.3. ContextSwitch and AjaxContext
7.8.4.3.1. 缺省可用的上下文
7.8.4.3.2. 创建定制的上下文
7.8.4.3.3. 为每个动作设置上下文
7.8.4.3.4. 初始化上下文开关
7.8.4.3.5. 另外的功能
7.8.4.3.6. AjaxContext 函数
7.8.4.4. FlashMessenger
7.8.4.4.1. 简介
7.8.4.4.2. Basic Usage Example
7.8.4.5. JSON
7.8.4.6. 转向器(Redirector)
7.8.4.6.1. 介绍
7.8.4.6.2. 基础用例
7.8.4.7. ViewRenderer
7.8.4.7.1. 介绍
7.8.4.7.2. API
7.8.4.7.3. 基础用法示例
7.8.4.7.4. 高级用法示例
7.8.5. 编写自己的助手
7.9. 响应对象
7.9.1. 用法
7.9.2. 处理消息头
7.9.3. 命名片段
7.9.4. 在响应对象中测试异常
7.9.5. 子类化响应对象
7.10. 插件
7.10.1. 简介
7.10.2. 编写插件
7.10.3. 使用插件
7.10.4. 获取和控制插件
7.10.5. 包含在标准发行包中的插件
7.10.5.1. 动作堆栈
7.10.5.2. Zend_Controller_Plugin_ErrorHandler
7.10.5.2.1. 使用 ErrorHandler 作为一个 404 处理器(handler)
7.10.5.2.2. 处理以前呈现的(rendered)输出
7.10.5.2.3. 插件用法示例
7.10.5.2.4. 错误控制器示例
7.11. 使用传统的模块目录结构
7.11.1. 简介
7.11.2. 指定模块控制器目录
7.11.3. Routing to modules
7.11.4. 模块或全局缺省控制器
7.12. MVC 异常
7.12.1. 介绍
7.12.2. 如何处理异常?
7.12.3. 可能遭遇的MVC异常
7.13. 从以前的版本移植
7.13.1. 从 1.0.x 到 1.5.0 或更新的版本的移植
7.13.2. 从 0.9.3 到 1.0.0RC1 或更新的版本的移植
7.13.3. 从 0.9.2 移植到 0.9.3 或更新的版本
7.13.4. 从 0.6.0 移植到 0.8.0 或更新的版本
7.13.5. 从 0.2.0 或以前的版本移植到 0.6.0
8. Zend_Currency
8.1. Zend_Currency 简介
8.1.1. 为什么使用 Zend_Currency
8.2. 如何使用货币
8.2.1. 从货币创建输出
8.2.2. 修改货币格式
8.2.3. Zend_Currency 的信息方法
8.2.4. 设置新缺省值
8.2.5. 加速 Zend_Currency
8.3. 从前面的版本迁移
8.3.1. 从 1.0.2 到 1.0.3 或更新的迁移
9. Zend_Date
9.1. 简介
9.1.1. 永远设置缺省时区
9.1.2. 为什么使用 Zend_Date?
9.2. 操作理论
9.2.1. 内部(Internals)
9.3. Basic Methods
9.3.1. The current date
9.3.2. Zend_Date by Example
9.3.2.1. Ouput a Date
9.3.2.2. Setting a Date
9.3.2.3. Adding and Subtracting Dates
9.3.2.4. Comparation of dates
9.4. Zend_Date API Overview
9.4.1. Zend_Date Options
9.4.1.1. Selecting the date format type
9.4.1.2. DST and Date Math
9.4.1.3. Month Calculations
9.4.1.4. Speed up date localization and normalization with Zend_Cache
9.4.1.5. Receiving syncronised timestamps with Zend_TimeSync
9.4.2. Working with Date Values
9.4.3. Basic Zend_Date Operations Common to Many Date Parts
9.4.3.1. List of Date Parts
9.4.3.2. List of Date Operations
9.4.4. Comparing Dates
9.4.5. Getting Dates and Date Parts
9.4.6. Working with Fractions of Seconds
9.4.7. Sunrise / Sunset
9.5. Creation of dates
9.5.1. Create the actual date
9.5.2. Create a date from database
9.5.3. Create dates from an array
9.6. Constants for General Date Functions
9.6.1. Using Constants
9.6.2. List of All Constants
9.6.3. Self-Defined OUTPUT Formats with ISO
9.6.4. Self-defined OUTPUT formats using PHP's date() format specifiers
9.7. Working examples
9.7.1. Checking dates
9.7.2. Sunrise and Sunset
9.7.3. Timezones
10. Zend_Db
10.1. Zend_Db_Adapter
10.1.1. 简介
10.1.2. 添加引号防止数据库攻击
10.1.3. 直接查询
10.1.4. 事务处理
10.1.5. 插入数据行
10.1.6. 更新数据行
10.1.7. 删除数据行
10.1.8. 取回查询结果
10.2. Zend_Db_Statement
10.2.1. Creating a Statement
10.2.2. Executing a Statement
10.2.3. Fetching Results from a SELECT Statement
10.2.3.1. Fetching a Single Row from a Result Set
10.2.3.2. Fetching a Complete Result Set
10.2.3.3. Changing the Fetch Mode
10.2.3.4. Fetching a Single Column from a Result Set
10.2.3.5. Fetching a Row as an Object
10.3. Zend_Db_Profiler
10.3.1. Introduction
10.3.2. Using the Profiler
10.3.3. Advanced Profiler Usage
10.3.3.1. Filter by query elapsed time
10.3.3.2. Filter by query type
10.3.3.3. Retrieve profiles by query type
10.4. Zend_Db_Select
10.4.1. 简介
10.4.2. 同一表中查询多列数据
10.4.3. 多表联合查询
10.4.4. WHERE条件
10.4.5. GROUP BY分句
10.4.6. HAVING 条件
10.4.7. ORDER BY 分句
10.4.8. 通过总数和偏移量进行LIMIT限制
10.4.9. 通过页数和总数进行LIMIT限制
10.5. Zend_Db_Table
10.5.1. 简介
10.5.2. 开始
10.5.3. 表名和主键
10.5.4. 插入数据
10.5.5. 更新数据
10.5.6. Deleting Rows
10.5.7. 根据主键查找数据
10.5.8. 取回一条记录
10.5.9. 取回多条记录
10.5.10. Adding Domain Logic
10.6. Zend_Db_Table_Row
10.6.1. 简介
10.6.2. 取回一条记录
10.6.3. 修改数据
10.7. Zend_Db_Table_Rowset
10.7.1. 简介
10.7.2. 取回结果集
10.7.3. 遍历结果集
10.8. Zend_Db_Table Relationships
10.8.1. Introduction
10.8.2. Defining Relationships
10.8.3. Fetching a Dependent Rowset
10.8.4. Fetching a Parent Row
10.8.5. Fetching a Rowset via a Many-to-many Relationship
10.8.6. Cascading Write Operations
10.8.6.1. Notes Regarding Cascading Operations
11. Zend_Debug
11.1. 输出变量的值 (Dumping Variables)
12. Zend_Exception
12.1. 使用“异常”
13. Zend_Feed
13.1. 介绍
13.2. 导入Feeds
13.2.1. 定制 feeds
13.2.1.1. 导入定制的数组
13.2.1.2. 导入定制的数据源
13.2.1.3. Dumping feed 内容
13.3. 从网页上获得Feed
13.4. RSS Feed的使用
13.5. Atom Feed的使用
13.6. 单个Atom条目的处理
13.7. 修改Feed和条目结构
13.8. 自定义Feed和条目类
14. Zend_Filter
14.1. 简介
14.1.1. 什么是过滤器(filter)?
14.1.2. 过滤器的基本用法
14.1.3. 使用静态 get() 方法
14.2. 标准过滤器类
14.2.1. Alnum
14.2.2. Alpha
14.2.3. BaseName
14.2.4. Digits
14.2.5. Dir
14.2.6. HtmlEntities
14.2.7. Int
14.2.8. RealPath
14.2.9. StringToLower
14.2.10. StringToUpper
14.2.11. StringTrim
14.2.12. StripTags
14.3. 过滤器链
14.4. 编写过滤器
14.5. Zend_Filter_Input
14.5.1. 声明过滤器和校验器规则
14.5.2. 生成过滤器和校验器的处理器
14.5.3. 获取校验过的字段和其它报告
14.5.3.1. 输入值有效的查询
14.5.3.2. 获得无效、丢失或未知的字段
14.5.3.3. 获得有效字段
14.5.4. 使用 Metacommands 来控制过滤器或校验器规则
14.5.4.1. The FIELDS metacommand
14.5.4.2. The PRESENCE metacommand
14.5.4.3. The DEFAULT_VALUE metacommand
14.5.4.4. The ALLOW_EMPTY metacommand
14.5.4.5. The BREAK_CHAIN metacommand
14.5.4.6. The MESSAGES metacommand
14.5.4.7. 对所有的规则使用选项来设置 metacommands
14.5.5. 添加过滤器类命名空间
14.6. Zend_Filter_Inflector
14.6.1. 操作
14.6.2. 设置到预备的过滤器的路径
14.6.3. 设置变形器目标
14.6.4. 变形规则
14.6.4.1. 静态规则
14.6.4.2. 过滤变形器规则
14.6.4.3. 一次设置多个规则
14.6.5. 实用方法
14.6.6. 对 Zend_Filter_Inflector 使用 Zend_Config
15. Zend_Form
15.1. Zend_Form
15.2. Zend_Form 快速起步
15.2.1. 创建表单对象
15.2.2. 添加表单元素
15.2.3. 解析(Render)表单
15.2.4. 检查表单是否有效
15.2.5. 获得错误状态
15.2.6. 放到一起
15.2.7. 使用 Zend_Config 对象
15.2.8. 结论
15.3. 使用 Zend_Form_Element 生成表单元素
15.3.1. 插件加载器
15.3.2. 过滤器
15.3.3. 校验器
15.3.4. 装饰器
15.3.5. 元数据和属性
15.3.6. 标准元素
15.3.7. Zend_Form_Element 方法
15.3.8. 配置
15.3.9. 定制元素
15.4. 使用 Zend_Form 生成表单
15.4.1. 插件加载器
15.4.2. 元素(Elements)
15.4.2.1. 组装和读取数值
15.4.2.2. 全局操作
15.4.2.3. 和元素交互使用的方法
15.4.3. 显示组(Display Groups)
15.4.3.1. 全局操作
15.4.3.2. 使用定制的显示组类
15.4.3.3. 和显示组交互使用的方法
15.4.3.4. Zend_Form_DisplayGroup 方法
15.4.4. 子表单
15.4.4.1. 全局操作
15.4.4.2. 和子表单交互使用的方法
15.4.5. 元数据(Metadata)和属性(Attributes)
15.4.6. 装饰器
15.4.7. 校验
15.4.8. 方法
15.4.9. 配置
15.4.10. 定制表单
15.5. 使用 Zend_Form_Decorator 生成定制的表单标识(Markup)
15.5.1. 操作
15.5.2. 标准装饰器
15.5.3. 定制装饰器
15.6. Zend Framework 带有的标准表单元素
15.6.1. Zend_Form_Element_Button
15.6.2. Zend_Form_Element_Checkbox
15.6.3. Zend_Form_Element_Hidden
15.6.4. Zend_Form_Element_Hash
15.6.5. Zend_Form_Element_Image
15.6.6. Zend_Form_Element_MultiCheckbox
15.6.7. Zend_Form_Element_Multiselect
15.6.8. Zend_Form_Element_Password
15.6.9. Zend_Form_Element_Radio
15.6.10. Zend_Form_Element_Reset
15.6.11. Zend_Form_Element_Select
15.6.12. Zend_Form_Element_Submit
15.6.13. Zend_Form_Element_Text
15.6.14. Zend_Form_Element_Textarea
15.7. Zend Framework 带有的标准表单装饰器(Decorators)
15.7.1. Zend_Form_Decorator_Callback
15.7.2. Zend_Form_Decorator_Description
15.7.3. Zend_Form_Decorator_DtDdWrapper
15.7.4. Zend_Form_Decorator_Errors
15.7.5. Zend_Form_Decorator_Fieldset
15.7.6. Zend_Form_Decorator_Form
15.7.7. Zend_Form_Decorator_FormElements
15.7.8. Zend_Form_Decorator_HtmlTag
15.7.9. Zend_Form_Decorator_Image
15.7.10. Zend_Form_Decorator_Label
15.7.11. Zend_Form_Decorator_ViewHelper
15.7.12. Zend_Form_Decorator_ViewScript
15.8. Zend_Form 的国际化
15.8.1. 在表单中初始化 I18n
15.8.2. 标准 I18N 目标
15.9. Zend_Form 的高级用法
15.9.1. 数组符号(Notation)
15.9.2. 多页表单
16. Zend_Gdata
16.1. Introduction to Gdata
16.1.1. Structure of Zend_Gdata
16.1.2. Interacting with Google Services
16.1.3. Obtaining instances of Zend_Gdata classes
16.1.4. Google Data Client Authentication
16.1.5. Dependencies
16.1.6. Creating a new Gdata client
16.1.7. Common query parameters
16.1.8. Fetching a feed
16.1.9. Working with multi-page feeds
16.1.10. Working with data in feeds and entries
16.1.11. Updating entries
16.1.12. Posting entries to Google servers
16.1.13. Deleting entries on Google servers
16.2. Authenticating with AuthSub
16.2.1. Creating an AuthSub authenticated Http Client
16.2.2. Revoking AuthSub authentication
16.3. Authenticating with ClientLogin
16.3.1. Creating a ClientLogin authenticated Http Client
16.3.2. Terminating a ClientLogin authenticated Http Client
16.4. Using Google Calendar
16.4.1. Connecting To The Calendar Service
16.4.1.1. Authentication
16.4.1.2. Creating A Service Instance
16.4.2. Retrieving A Calendar List
16.4.3. Retrieving Events
16.4.3.1. Queries
16.4.3.2. Retrieving Events In Order Of Start Time
16.4.3.3. Retrieving Events In A Specified Date Range
16.4.3.4. Retrieving Events By Fulltext Query
16.4.3.5. Retrieving Individual Events
16.4.4. Creating Events
16.4.4.1. Creating Single-Occurrence Events
16.4.4.2. Event Schedules and Reminders
16.4.4.3. Creating Recurring Events
16.4.4.4. Using QuickAdd
16.4.5. Modifying Events
16.4.6. Deleting Events
16.4.7. Accessing Event Comments
16.5. Using Google Documents List Data API
16.5.1. Get a List of Documents
16.5.2. Upload a Document
16.5.3. Searching the documents feed
16.5.3.1. Get a List of Word Processing Documents
16.5.3.2. Get a List of Spreadsheets
16.5.3.3. Performing a text query
16.6. Using Google Spreadsheets
16.6.1. Create a Spreadsheet
16.6.2. Get a List of Spreadsheets
16.6.3. Get a List of Worksheets
16.6.4. Interacting With List-based Feeds
16.6.4.1. Get a List-based Feed
16.6.4.2. Reverse-sort Rows
16.6.4.3. Send a Structured Query
16.6.4.4. Add a Row
16.6.4.5. Edit a Row
16.6.4.6. Delete a Row
16.6.5. Interacting With Cell-based Feeds
16.6.5.1. Get a Cell-based Feed
16.6.5.2. Send a Cell Range Query
16.6.5.3. Change Contents of a Cell
16.7. Using Google Apps Provisioning
16.7.1. Setting the current domain
16.7.1.1. Setting the domain for the service class
16.7.1.2. Setting the domain for query classes
16.7.2. Interacting with users
16.7.2.1. Creating a user account
16.7.2.2. Retrieving a user account
16.7.2.3. Retrieving all users in a domain
16.7.2.4. Updating a user account
16.7.2.4.1. Resetting a user's password
16.7.2.4.2. Forcing a user to change their password
16.7.2.4.3. Suspending a user account
16.7.2.4.4. Granting administrative rights
16.7.2.5. Deleting user accounts
16.7.3. Interacting with nicknames
16.7.3.1. Creating a nickname
16.7.3.2. Retrieving a nickname
16.7.3.3. Retrieving all nicknames for a user
16.7.3.4. Retrieving all nicknames in a domain
16.7.3.5. Deleting a nickname
16.7.4. Interacting with email lists
16.7.4.1. Creating an email list
16.7.4.2. Retrieving all email lists to which a recipient is subscribed
16.7.4.3. Retrieving all email lists in a domain
16.7.4.4. Deleting an email list
16.7.5. Interacting with email list recipients
16.7.5.1. Adding a recipient to an email list
16.7.5.2. Retrieving the list of subscribers to an email list
16.7.5.3. Removing a recipient from an email list
16.7.6. Handling errors
16.8. Using Google Base
16.8.1. Connect To The Base Service
16.8.1.1. Authentication
16.8.1.2. Create A Service Instance
16.8.2. Retrieve Items
16.8.2.1. Send a Structured Query
16.8.2.1.1. Query Customer Items Feed
16.8.2.1.2. Query Snippets Feed
16.8.2.2. Iterate through the Items
16.8.3. Insert, Update, and Delete Customer Items
16.8.3.1. Insert an Item
16.8.3.2. Modify an Item
16.8.3.3. Delete an Item
16.9. Using the YouTube data API
16.9.1. Retrieving video feeds
16.9.1.1. Searching for videos by metadata
16.9.1.2. Searching for videos by categories and tags/keywords
16.9.1.3. Retrieving standard feeds
16.9.1.4. Retrieving videos uploaded by a user
16.9.1.5. Retrieving videos favorited by a user
16.9.1.6. Retrieving video responses for a video
16.9.2. Retrieving video comments
16.9.3. Retrieving playlist feeds
16.9.3.1. Retrieving the playlists of a user
16.9.3.2. Retrieving a specific playlist
16.9.4. Retrieving a list of a user's subscriptions
16.9.5. Retrieving a user's profile
16.10. Using Picasa Web Albums
16.10.1. Connecting To The Service
16.10.1.1. Authentication
16.10.1.2. Creating A Service Instance
16.10.2. Understanding and Constructing Queries
16.10.3. Retrieving Feeds And Entries
16.10.3.1. Retrieving A User
16.10.3.2. Retrieving An Album
16.10.3.3. Retrieving A Photo
16.10.3.4. Retrieving A Comment
16.10.3.5. Retrieving A Tag
16.10.4. Creating Entries
16.10.4.1. Creating An Album
16.10.4.2. Creating A Photo
16.10.4.3. Creating A Comment
16.10.4.4. Creating A Tag
16.10.5. Deleting Entries
16.10.5.1. Deleting An Album
16.10.5.2. Deleting A Photo
16.10.5.3. Deleting A Comment
16.10.5.4. Deleting A Tag
16.10.5.5. Optimistic Concurrency (Notes On Deletion)
16.11. Catching Gdata Exceptions
17. Zend_Http
17.1. Zend_Http_Client
17.1.1. 简介
17.1.2. 带有指定的HTTP头的基本 GET 请求
17.1.3. 发送请求到多个域名
17.1.4. 改变HTTP timeout时间
17.1.5. 动态指定HTTP Header
17.1.6. 构造 HTTP POST, PUT, 和 DELETE 请求
17.2. Zend_Http_Client - Advanced Usage
17.2.1. HTTP Redirections
17.2.2. Adding Cookies and Using Cookie Persistence
17.2.3. Setting Custom Request Headers
17.2.4. File Uploads
17.2.5. Sending Raw POST Data
17.2.6. HTTP Authentication
17.2.7. Sending Multiple Requests With the Same Client
17.3. Zend_Http_Client - Connection Adapters
17.3.1. Overview
17.3.2. The Socket Adapter
17.3.3. The Proxy Adapter
17.3.4. The Test Adapter
17.3.5. Creating your own connection adapters
17.4. Zend_Http_Cookie and Zend_Http_CookieJar
17.4.1. Introduction
17.4.2. Instantiating Zend_Http_Cookie Objects
17.4.3. Zend_Http_Cookie getter methods
17.4.4. Zend_Http_Cookie: Matching against a scenario
17.4.5. The Zend_Http_CookieJar Class: Instantiation
17.4.6. Adding Cookies to a Zend_Http_CookieJar object
17.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
17.5. Zend_Http_Response
17.5.1. 简介
18. Zend_Json
18.1. 简介
18.2. 基本用法
18.3. JSON 对象
18.4. XML 到 JSON 转换
19. Zend_Layout
19.1. 简介
19.2. Zend_Layout 快速入门
19.2.1. 布局脚本
19.2.2. 和Zend Framework MVC一起使用 Zend_Layout
19.2.3. 使用Zend_Layout做为独立的组件
19.2.4. 尝试一下布局
19.3. Zend_Layout 配置选项
19.3.1. 范例
19.4. Zend_Layout 高级用法
19.4.1. 定制视图对象
19.4.2. 定制前端控制器插件
19.4.3. 定制动作助手
19.4.4. 定制布局脚本路径解析(Resolution):使用变形器(Inflector)
20. Zend_Loader
20.1. 动态加载文件和类
20.1.1. 加载文件
20.1.2. 加载类
20.1.3. 判定某个文件是否可读
20.1.4. 使用 Autoloader
20.2. 加载插件
20.2.1. 基本用例
20.2.2. 处理插件路径
20.2.3. 测试插件和获取类的名字
21. Zend_Locale
21.1. Introduction
21.1.1. What is Localization
21.1.2. What is a Locale?
21.1.3. How are Locales Represented?
21.1.4. Selecting the Right Locale
21.1.5. Usage of automatic Locales
21.1.6. Using a default Locale
21.1.7. ZF Locale-Aware Classes
21.1.8. Zend_Locale_Format::setOptions(array $options)
21.1.9. Speed up Zend_Locale and it's subclasses
21.2. Using Zend_Locale
21.2.1. Copying, Cloning, and Serializing Locale Objects
21.2.2. Equality
21.2.3. Default locales
21.2.4. Set a new locale
21.2.5. Getting the language and region
21.2.6. Obtaining localized strings
21.2.7. Obtaining translations for "yes" and "no"
21.2.8. Get a list of all known locales
21.3. Normalization and Localization
21.3.1. Number normalization: getNumber($input, Array $options)
21.3.1.1. Precision and Calculations
21.3.2. Number localization
21.3.3. Number testing
21.3.4. Float value normalization
21.3.5. Floating point value localization
21.3.6. Floating point value testing
21.3.7. Integer value normalization
21.3.8. Integer point value localization
21.3.9. Integer value testing
21.3.10. Numeral System Conversion
21.3.10.1. List of supported numeral systems
21.4. Working with Dates and Times
21.4.1. Normalizing Dates and Times
21.4.2. Testing Dates
21.4.3. Normalizing a Time
21.4.4. Testing Times
21.5. Supported Languages for Locales
21.6. Supported Regions for Locales
22. Zend_Log
22.1. 概述
22.1.1. 创建Log
22.1.2. 日志消息
22.1.3. 销毁Log
22.1.4. 使用内建的消息等级
22.1.5. 添加用户定义的日志等级
22.1.6. 理解日志事件
22.2. Writers
22.2.1. 写入到流(Streams)
22.2.2. 写入到数据库
22.2.3. 踩熄Writer
22.2.4. 测试 Mock
22.2.5. 组合Writers
22.3. Formatters
22.3.1. 简单格式化
22.3.2. 格式化到XML
22.4. 过滤器
22.4.1. 对所有Writer过滤
22.4.2. 过滤一个Writer实例
23. Zend_Mail
23.1. 简介
23.1.1. 起步
23.1.2. 配置缺省的 sendmail 传送器(transport)
23.2. 通过SMTP发送邮件
23.3. 通过一个SMTP连接发送多个邮
23.4. 使用不同的Transport对象
23.5. HTML邮件
23.6. 附件
23.7. 增加收件人
23.8. 控制MIME分界线
23.9. 外加邮件头信息
23.10. 字符集
23.11. 编码
23.12. SMTP 身份验证
23.13. Securing SMTP Transport
23.14. Reading Mail Messages
23.14.1. Simple example using Pop3
23.14.2. Opening a local storage
23.14.3. Opening a remote storage
23.14.4. Fetching messages and simple methods
23.14.5. Working with messages
23.14.6. Checking for flags
23.14.7. Using folders
23.14.8. Advanced Use
23.14.8.1. Using NOOP
23.14.8.2. Caching instances
23.14.8.3. Extending Protocol Classes
23.14.8.4. Using Quota (since 1.5)
24. Zend_Measure
24.1. Introduction
24.2. Creation of Measurements
24.2.1. Creating measurements from integers and floats
24.2.2. Creating measurements from strings
24.2.3. Measurements from localized strings
24.3. Outputting measurements
24.3.1. Automatic output
24.3.2. Outputting values
24.3.3. Output with unit of measurement
24.3.4. Output as localized string
24.4. Manipulating Measurements
24.4.1. Convert
24.4.2. Add and subtract
24.4.3. Compare
24.4.4. Compare
24.4.5. Manually change values
24.4.6. Manually change types
24.5. Types of measurements
24.5.1. Hints for Zend_Measure_Binary
24.5.2. Hints for Zend_Measure_Number
24.5.3. Roman numbers
25. Zend_Memory
25.1. 概述
25.1.1. 简介
25.1.2. 操作原理
25.1.2.1. 内存管理器
25.1.2.2. 内存容器
25.1.2.3. 锁定的内存
25.1.2.4. 可移动内存
25.2. 内存管理器
25.2.1. 创建一个内存管理器
25.2.2. 管理内存对象
25.2.2.1. 创建可移动的对象
25.2.2.2. 创建锁定的对象
25.2.2.3. 销毁对象
25.2.3. 内存管理器设置
25.2.3.1. 内存限制
25.2.3.2. MinSize
25.3. 内存对象
25.3.1. 可移动的
25.3.2. 锁定的
25.3.3. 内存容器 '值' 属性.
25.3.4. 内存容器接口
25.3.4.1. getRef() 方法
25.3.4.2. touch() 方法
25.3.4.3. lock() 方法
25.3.4.4. unlock() 方法
25.3.4.5. isLocked() 方法
26. Zend_Mime
26.1. Zend_Mime
26.1.1. 简介
26.1.2. 静态方法和常量
26.1.3. 实例化Zend_Mime
26.2. Zend_Mime_Message
26.2.1. 简介
26.2.2. 实例化
26.2.3. 增加MIME消息段
26.2.4. 分界线处理
26.2.5. 解析字符串,创建Zend_Mime_Message对象(实验性的)
26.3. Zend_Mime_Part
26.3.1. 简介
26.3.2. 实例化
26.3.3. 解析(rendering)消息段为字符串的方法
27. Zend_Pdf
27.1. 简介
27.2. 生成和加载 PDF 文档
27.3. 保存修改到 PDF 文档
27.4. 文档页面
27.4.1. 页面生成
27.4.2. 页面克隆
27.5. Drawing.
27.5.1. Geometry.
27.5.2. Colors.
27.5.3. Shape Drawing.
27.5.4. Text Drawing.
27.5.5. Using fonts.
27.5.6. Starting in 1.5, Extracting fonts.
27.5.7. Image Drawing.
27.5.8. Line drawing style.
27.5.9. Fill style.
27.5.10. Rotations.
27.5.11. Save/restore graphics state.
27.5.12. Clipping draw area.
27.5.13. Styles.
27.6. Zend_Pdf module usage example.
28. Zend_Registry
28.1. 使用对象注册表(Registry)
28.1.1. 设置Registry中的值
28.1.2. 获取Registry中的值
28.1.3. 创建一个Registry对象
28.1.4. 像访问数组一样访问Registry对象
28.1.5. 对象方式访问Registry
28.1.6. 查询一个索引是否存在
28.1.7. 扩展Registry对象
28.1.8. 删除静态注册表
29. Zend_Rest
29.1. Introduction
29.2. Zend_Rest_Client
29.2.1. Introduction
29.2.2. Responses
29.2.3. Request Arguments
29.3. Zend_Rest_Server
29.3.1. Introduction
29.3.2. REST Server Usage
29.3.3. Calling a Zend_Rest_Server Service
29.3.4. Sending A Custom Status
29.3.5. Returning Custom XML Responses
30. Zend_Search_Lucene
30.1. 概述
30.1.1. 简介
30.1.2. 文档和字段对象
30.1.3. 理解字段类型
30.2. 建立索引
30.2.1. 创建新索引
30.2.2. 更新索引
30.3. 搜索索引
30.3.1. 建立查询
30.3.2. 搜索结果
30.3.3. 结果评分
30.4. Query Language
30.4.1. Terms
30.4.2. Fields
30.4.3. Starting in 1.5, Wildcards
30.4.4. Term Modifiers
30.4.5. Starting in 1.5, Range Searches
30.4.6. Starting in 1.5, Fuzzy Searches
30.4.7. Proximity Searches
30.4.8. Boosting a Term
30.4.9. Boolean Operators
30.4.9.1. AND
30.4.9.2. OR
30.4.9.3. NOT
30.4.9.4. &&, ||, and ! operators
30.4.9.5. +
30.4.9.6. -
30.4.9.7. No Operator
30.4.10. Grouping
30.4.11. Field Grouping
30.4.12. Escaping Special Characters
30.5. 查询类型
30.5.1. 单项查询
30.5.2. 多项查询
30.5.3. 短语查询
30.6. 字符集
30.6.1. UTF-8 和单字节字符集支持
30.7. 扩展性
30.7.1. 文本分析