Zend Framework手册 中文版

Zend Framework

2008-02-20


目录

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.4. 使用Zend_Auth
3.2. 用数据库表认证
3.2.1. 简介
3.2.2. 高级使用:持久一个 DbTable 结果对象
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.5. 基本用法
3.5. Open ID Authentication
3.5.1. 简介
3.5.2. 细节
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.2. Zend_Cache_Frontend_Output
4.3.3. Zend_Cache_Frontend_Function
4.3.4. Zend_Cache_Frontend_Class
4.3.5. Zend_Cache_Frontend_File
4.3.6. Zend_Cache_Frontend_Page
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.2. Zend_Controller 基础
7.3. 前端控制器
7.3.1. 概述
7.3.2. 主要方法
7.3.3. 环境访问器方法
7.3.4. 前端控制器参数
7.3.5. 继承前端控制器
7.4. 请求对象
7.4.1. 介绍
7.4.2. HTTP 请求
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.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.6. 实用方法
7.7.7. 继承(Subclassing)动作控制器
7.8. 动作助手
7.8.1. 介绍
7.8.2. 初始化助手
7.8.3. 助手经纪人
7.8.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.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. 从 0.9.3 到 1.0.0RC1 或更新的版本的移植
7.13.2. 从 0.9.2 移植到 0.9.3 或更新的版本
7.13.3. 从 0.6.0 移植到 0.8.0 或更新的版本
7.13.4. 从 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. Introduction
9.1.1. Always Set a Default Timezone
9.1.2. Why Use Zend_Date?
9.2. Theory of Operation
9.2.1. Internals
9.3. Basic Methods
9.3.1. The current date
9.3.2. Zend_Date by Example
9.4. Zend_Date API Overview
9.4.1. Zend_Date Options
9.4.2. Working with Date Values
9.4.3. Basic Zend_Date Operations Common to Many Date Parts
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. Connecting to a Database using an Adapter
10.1.2. The example database
10.1.3. Reading Query Results
10.1.4. Writing Changes to the Database
10.1.5. Quoting Values and Identifiers
10.1.6. Controlling Database Transactions
10.1.7. Listing and Describing Tables
10.1.8. Closing a Connection
10.1.9. Running Other Database Statements
10.1.10. Notes on Specific Adapters
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.3. Zend_Db_Profiler
10.3.1. Introduction
10.3.2. Using the Profiler
10.3.3. Advanced Profiler Usage
10.4. Zend_Db_Select
10.4.1. Overview of the Select Object
10.4.2. Creating a Select Object
10.4.3. Building Select queries
10.4.4. Executing Select Queries
10.4.5. Other methods
10.5. Zend_Db_Table
10.5.1. Introduction to Table Class
10.5.2. Defining a Table Class
10.5.3. Creating an Instance of a Table
10.5.4. Inserting Rows to a Table
10.5.5. Updating Rows in a Table
10.5.6. Deleting Rows from a Table
10.5.7. Finding Rows by Primary Key
10.5.8. Querying for a Set of Rows
10.5.9. Querying for a Single Row
10.5.10. Retrieving Table Metadata Information
10.5.11. Caching Table Metadata
10.5.12. Customizing and Extending a Table Class
10.6. Zend_Db_Table_Row
10.6.1. Introduction
10.6.2. Fetching a Row
10.6.3. Writing rows to the database
10.6.4. Serializing and unserializing rows
10.6.5. Extending the Row class
10.7. Zend_Db_Table_Rowset
10.7.1. Introduction
10.7.2. Fetching a Rowset
10.7.3. Retrieving Rows from a Rowset
10.7.4. Retrieving a Rowset as an Array
10.7.5. Serializing and Unserializing a Rowset
10.7.6. Extending the Rowset class
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
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.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. Declaring Filter and Validator Rules
14.5.2. Creating the Filter and Validator Processor
14.5.3. Retrieving Validated Fields and other Reports
14.5.4. Using Metacommands to Control Filter or Validator Rules
14.5.5. Adding Filter Class Namespaces
14.6. Zend_Filter_Inflector
14.6.1. Operation
14.6.2. Setting Paths To Alternate Filters
14.6.3. Setting the Inflector Target
14.6.4. Inflection Rules
14.6.5. Utility Methods
14.6.6. Using Zend_Config with Zend_Filter_Inflector
15. Zend_Form
15.1. Zend_Form
15.2. Zend_Form Quick Start
15.2.1. Create a form object
15.2.2. Add elements to the form
15.2.3. Render a form
15.2.4. Check if a form is valid
15.2.5. Get error status
15.2.6. Putting it together
15.2.7. Using a Zend_Config object
15.2.8. Conclusion
15.3. Creating Form Elements Using Zend_Form_Element
15.3.1. Plugin Loaders
15.3.2. Validators
15.3.3. Filters
15.3.4. Decorators
15.3.5. Metadata and Attributes
15.3.6. Standard Elements
15.3.7. Zend_Form_Element Methods
15.3.8. Configuration
15.3.9. Custom Elements
15.4. Creating Forms Using Zend_Form
15.4.1. Plugin Loaders
15.4.2. Elements
15.4.3. Display Groups
15.4.4. Sub Forms
15.4.5. Metadata and Attributes
15.4.6. Decorators
15.4.7. Validation
15.4.8. Methods
15.4.9. Configuration
15.4.10. Custom forms
15.5. Creating Custom Form Markup Using Zend_Form_Decorator
15.5.1. Operation
15.5.2. Standard Decorators
15.5.3. Custom Decorators
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.2. Retrieving A Calendar List
16.4.3. Retrieving Events
16.4.4. Creating Events
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.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.5. Interacting With Cell-based Feeds
16.7. Using Google Apps Provisioning
16.7.1. Setting the current domain
16.7.2. Interacting with users
16.7.3. Interacting with nicknames
16.7.4. Interacting with email lists
16.7.5. Interacting with email list recipients
16.7.6. Handling errors
16.8. Using Google Base
16.8.1. Connect To The Base Service
16.8.2. Retrieve Items
16.8.3. Insert, Update, and Delete Customer Items
16.9. Using the YouTube data API
16.9.1. Retrieving video feeds
16.9.2. Retrieving video comments
16.9.3. Retrieving playlist feeds
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.2. Understanding and Constructing Queries
16.10.3. Retrieving Feeds And Entries
16.10.4. Creating Entries
16.10.5. Deleting Entries
16.11. Catching Gdata Exceptions
17. Zend_Http
17.1. Zend_Http_Client - Introduction
17.1.1. Introduction
17.1.2. Configuration Parameters
17.1.3. Performing Basic HTTP Requests
17.1.4. Adding GET and POST parameters
17.1.5. Accessing Last Request and Response
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. Introduction
17.5.2. Boolean Tester Methods
17.5.3. Accessor Methods
17.5.4. Static HTTP Response Parsers
18. Zend_InfoCard
18.1. Introduction
18.1.1. Basic Theory of Usage
18.1.2. Using as part of Zend_Auth
18.1.3. Using the Zend_InfoCard component standalone
18.1.4. Working with a Claims object
18.1.5. Attaching Information Cards to existing accounts
18.1.6. Creating Zend_InfoCard adapters
19. Zend_Json
19.1. 简介
19.2. 基本用法
19.3. JSON 对象
19.4. XML 到 JSON 转换
20. Zend_Layout
20.1. 简介
20.2. Zend_Layout 快速入门
20.2.1. 布局脚本
20.2.2. 和Zend Framework MVC一起使用 Zend_Layout
20.2.3. 使用Zend_Layout做为独立的组件
20.2.4. 尝试一下布局
20.3. Zend_Layout 配置选项
20.3.1. 范例
20.4. Zend_Layout 高级用法
20.4.1. 定制视图对象
20.4.2. 定制前端控制器插件
20.4.3. 定制动作助手
20.4.4. 定制布局脚本路径解析(Resolution):使用变形器(Inflector)
21. Zend_Loader
21.1. 动态加载文件和类
21.1.1. 加载文件
21.1.2. 加载类
21.1.3. 判定某个文件是否可读
21.1.4. 使用 Autoloader
21.2. 加载插件
21.2.1. 基本用例
21.2.2. 处理插件路径
21.2.3. 测试插件和获取类的名字
22. Zend_Locale
22.1. Introduction
22.1.1. What is Localization
22.1.2. What is a Locale?
22.1.3. How are Locales Represented?
22.1.4. Selecting the Right Locale
22.1.5. Usage of automatic Locales
22.1.6. Using a default Locale
22.1.7. ZF Locale-Aware Classes
22.1.8. Zend_Locale_Format::setOptions(array $options)
22.1.9. Speed up Zend_Locale and it's subclasses
22.2. Using Zend_Locale
22.2.1. Copying, Cloning, and Serializing Locale Objects
22.2.2. Equality
22.2.3. Default locales
22.2.4. Set a new locale
22.2.5. Getting the language and region
22.2.6. Obtaining localized strings
22.2.7. Obtaining translations for "yes" and "no"
22.2.8. Get a list of all known locales
22.3. Normalization and Localization
22.3.1. Number normalization: getNumber($input, Array $options)
22.3.2. Number localization
22.3.3. Number testing
22.3.4. Float value normalization
22.3.5. Floating point value localization
22.3.6. Floating point value testing
22.3.7. Integer value normalization
22.3.8. Integer point value localization
22.3.9. Integer value testing
22.3.10. Numeral System Conversion
22.4. Working with Dates and Times
22.4.1. Normalizing Dates and Times
22.4.2. Testing Dates
22.4.3. Normalizing a Time
22.4.4. Testing Times
22.5. Supported Languages for Locales
22.6. Supported Regions for Locales
23. Zend_Log
23.1. 概述
23.1.1. 创建Log
23.1.2. 日志消息
23.1.3. 销毁Log
23.1.4. 使用内建的消息等级
23.1.5. 添加用户定义的日志等级
23.1.6. 理解日志事件
23.2. Writers
23.2.1. 写入到流(Streams)
23.2.2. 写入到数据库
23.2.3. 踩熄Writer
23.2.4. 测试 Mock
23.2.5. 组合Writers
23.3. Formatters
23.3.1. 简单格式化
23.3.2. 格式化到XML
23.4. 过滤器
23.4.1. 对所有Writer过滤
23.4.2. 过滤一个Writer实例
24. Zend_Mail
24.1. 简介
24.1.1. 起步
24.1.2. 配置缺省的 sendmail 传送器(transport)
24.2. 通过SMTP发送邮件
24.3. 通过一个SMTP连接发送多个邮
24.4. 使用不同的Transport对象
24.5. HTML邮件
24.6. 附件
24.7. 增加收件人
24.8. 控制MIME分界线
24.9. 外加邮件头信息
24.10. 字符集
24.11. 编码
24.12. SMTP 身份验证
24.13. Securing SMTP Transport
24.14. Reading Mail Messages
24.14.1. Simple example using Pop3
24.14.2. Opening a local storage
24.14.3. Opening a remote storage
24.14.4. Fetching messages and simple methods
24.14.5. Working with messages
24.14.6. Checking for flags
24.14.7. Using folders
24.14.8. Advanced Use
25. Zend_Measure
25.1. Introduction
25.2. Creation of Measurements
25.2.1. Creating measurements from integers and floats
25.2.2. Creating measurements from strings
25.2.3. Measurements from localized strings
25.3. Outputting measurements
25.3.1. Automatic output
25.3.2. Outputting values
25.3.3. Output with unit of measurement
25.3.4. Output as localized string
25.4. Manipulating Measurements
25.4.1. Convert
25.4.2. Add and subtract
25.4.3. Compare
25.4.4. Compare
25.4.5. Manually change values
25.4.6. Manually change types
25.5. Types of measurements
25.5.1. Hints for Zend_Measure_Binary
25.5.2. Hints for Zend_Measure_Number
25.5.3. Roman numbers
26. Zend_Memory
26.1. 概述
26.1.1. 间接
26.1.2. 操作原理
26.2. 内存管理器
26.2.1. 创建一个内存管理器
26.2.2. 管理内存对象
26.2.3. 内存管理器设置
26.3. 内存对象
26.3.1. 可移动的
26.3.2. 锁定的
26.3.3. 内存容器 '值' 属性.
26.3.4. 内存容器接口
27. Zend_Mime
27.1. Zend_Mime
27.1.1. 简介
27.1.2. 静态方法和常量
27.1.3. 实例化Zend_Mime
27.2. Zend_Mime_Message
27.2.1. 简介
27.2.2. 实例化
27.2.3. 增加MIME消息段
27.2.4. 分界线处理
27.2.5. 解析字符串,创建Zend_Mime_Message对象(实验性的)
27.3. Zend_Mime_Part
27.3.1. 简介
27.3.2. 实例化
27.3.3. 解析(rendering)消息段为字符串的方法
28. Zend_OpenId
28.1. Introduction
28.1.1. What is OpenID?
28.1.2. How Does it Work?
28.1.3. Zend_OpenId Structure
28.1.4. Supported Standards
28.2. Zend_OpenId_Consumer Basics
28.2.1. OpenID Authentication
28.2.2. Combine all Steps in One Page
28.2.3. Realm
28.2.4. Immediate Check
28.2.5. Zend_OpenId_Consumer_Storage
28.2.6. Simple Registration Extension
28.2.7. Integration with Zend_Auth
28.2.8. Integration with Zend_Controller
28.3. Zend_OpenId_Provider
28.3.1. Quick Start
28.3.2. Combine all together
28.3.3. Simple Registration Extension
28.3.4. What Else?
29. Zend_Pdf
29.1. Introduction.
29.2. Creating and loading PDF documents.
29.3. Save changes to the PDF document.
29.4. Document pages.
29.4.1. Page creation.
29.4.2. Page cloning.
29.5. Drawing.
29.5.1. Geometry.
29.5.2. Colors.
29.5.3. Shape Drawing.
29.5.4. Text Drawing.
29.5.5. Using fonts.
29.5.6. Starting in 1.5, Extracting fonts.
29.5.7. Image Drawing.
29.5.8. Line drawing style.
29.5.9. Fill style.
29.5.10. Rotations.
29.5.11. Save/restore graphics state.
29.5.12. Clipping draw area.
29.5.13. Styles.
29.6. Document Info and Metadata.
29.7. Zend_Pdf module usage example.
30. Zend_Registry
30.1. 使用对象注册表(Registry)
30.1.1. 设置Registry中的值
30.1.2. 获取Registry中的值
30.1.3. 创建一个Registry对象
30.1.4. 像访问数组一样访问Registry对象
30.1.5. 对象方式访问Registry
30.1.6. 查询一个索引是否存在
30.1.7. 扩展Registry对象
30.1.8. 删除静态注册表
31. Zend_Rest
31.1. Introduction
31.2. Zend_Rest_Client
31.2.1. Introduction
31.2.2. Responses
31.2.3. Request Arguments
31.3. Zend_Rest_Server
31.3.1. Introduction
31.3.2. REST Server Usage
31.3.3. Calling a Zend_Rest_Server Service
31.3.4. Sending A Custom Status
31.3.5. Returning Custom XML Responses
32. Zend_Search_Lucene
32.1. Overview
32.1.1. Introduction
32.1.2. Document and Field Objects
32.1.3. Understanding Field Types
32.1.4. HTML documents
32.2. Building Indexes
32.2.1. Creating a New Index
32.2.2. Updating Index
32.2.3. Updating Documents
32.2.4. Retrieving Index Size
32.2.5. Index optimization
32.2.6. Permissions
32.2.7. Limitations
32.3. Searching an Index
32.3.1. Building Queries
32.3.2. Search Results
32.3.3. Limiting the Result Set
32.3.4. Results Scoring
32.3.5. Search Result Sorting
32.3.6. Search Results Highlighting
32.4. Query Language
32.4.1. Terms
32.4.2. Fields
32.4.3. Starting in 1.5, Wildcards
32.4.4. Term Modifiers
32.4.5. Starting in 1.5, Range Searches
32.4.6. Starting in 1.5, Fuzzy Searches
32.4.7. Proximity Searches
32.4.8. Boosting a Term
32.4.9. Boolean Operators
32.4.10. Grouping
32.4.11. Field Grouping
32.4.12. Escaping Special Characters
32.5. Query Construction API
32.5.1. Query Parser Exceptions
32.5.2. Term Query
32.5.3. Multi-Term Query
32.5.4. Boolean Query
32.5.5. Starting in 1.5, Wildcard Query
32.5.6. Starting in 1.5, Fuzzy Query
32.5.7. Phrase Query
32.5.8. Starting in 1.5, Range Query
32.6. Character Set
32.6.1. UTF-8 and single-byte character set support
32.6.2. Default text analyzer.
32.6.3. UTF-8 compatible text analyzers.
32.7. Extensibility
32.7.1. Text Analysis
32.7.2. Tokens Filtering
32.7.3. Scoring Algorithms
32.7.4. Storage Containers
32.8. Interoperating with Java Lucene
32.8.1. File Formats
32.8.2. Index Directory
32.8.3. Java Source Code
32.9. Advanced
32.9.1. Using the index as static property
32.10. Best Practices
32.10.1. Field names
32.10.2. Indexing performance
32.10.3. Index during Shut Down
32.10.4. Retrieving documents by unique id
32.10.5. Memory Usage
32.10.6. Encoding
32.10.7. Index maintenance
33. Zend_Server
33.1. 简介
33.2. Zend_Server_Reflection
33.2.1. 简介
33.2.2. 用法
34. Zend_Service
34.1. Introduction
34.2. Zend_Service_Akismet
34.2.1. Introduction
34.2.2. Verify an API key
34.2.3. Check for spam
34.2.4. Submitting known spam
34.2.5. Submitting false positives (ham)
34.2.6. Zend-specific Accessor Methods
34.3. Zend_Service_Amazon
34.3.1. Introduction
34.3.2. Country Codes
34.3.3. Looking up a Specific Amazon Item by ASIN
34.3.4. Performing Amazon Item Searches
34.3.5. Using the Alternative Query API
34.3.6. Zend_Service_Amazon Classes
34.4. Zend_Service_Audioscrobbler
34.4.1. Introduction to Searching Audioscrobbler
34.4.2. Users
34.4.3. Artists
34.4.4. Tracks
34.4.5. Tags
34.4.6. Groups
34.4.7. Forums
34.5. Zend_Service_Delicious
34.5.1. Introduction
34.5.2. Retrieving posts
34.5.3. Zend_Service_Delicious_PostList
34.5.4. Editing posts
34.5.5. Deleting posts
34.5.6. Adding new posts
34.5.7. Tags
34.5.8. Bundles
34.5.9. Public data
34.5.10. HTTP client
34.6. Zend_Service_Flickr
34.6.1. Introduction to Searching Flickr
34.6.2. Finding Flickr Users' Photos and Information
34.6.3. Retrieving Flickr Image Details
34.6.4. Zend_Service_Flickr Result Classes
34.7. Zend_Service_Simpy
34.7.1. Introduction
34.7.2. Links
34.7.3. Tags
34.7.4. Notes
34.7.5. Watchlists
34.8. Zend_Service_StrikeIron
34.8.1. Overview
34.8.2. Registering with StrikeIron
34.8.3. Getting Started
34.8.4. Making Your First Query
34.8.5. Examining Results
34.8.6. Handling Errors
34.8.7. Checking Your Subscription
34.9. Zend_Service_StrikeIron: Bundled Services
34.9.1. ZIP Code Information
34.9.2. U.S. Address Verification
34.9.3. Sales & Use Tax Basic
34.10. Zend_Service_StrikeIron: Advanced Uses
34.10.1. Using Services by WSDL
34.10.2. Viewing SOAP Transactions
34.11. Zend_Service_Technorati
34.11.1. Introduction
34.11.2. Getting Started
34.11.3. Making Your First Query
34.11.4. Consuming Results
34.11.5. Handling Errors
34.11.6. Checking Your API Key Daily Usage
34.11.7. Available Technorati Queries
34.11.8. Zend_Service_Technorati Classes
34.12. Zend_Service_Yahoo
34.12.1. Introduction
34.12.2. Searching the Web with Yahoo!
34.12.3. Finding Images with Yahoo!
34.12.4. Finding videos with Yahoo!
34.12.5. Finding Local Businesses and Services with Yahoo!
34.12.6. Searching Yahoo! News
34.12.7. Searching Yahoo! Site Explorer Inbound Links
34.12.8. Searching Yahoo! Site Explorer's PageData
34.12.9. Zend_Service_Yahoo Classes
35. Zend_Session
35.1. 简介
35.2. 基本用法
35.2.1. 实例教程
35.2.2. 迭代会话命名空间
35.2.3. 会话命名空间的访问器
35.3. 高级用法
35.3.1. 开启会话
35.3.2. 锁住会话命名空间
35.3.3. 命名空间过期
35.3.4. 会话封装和控制器
35.3.5. 防止每个命名空间有多重实例
35.3.6. 使用数组
35.3.7. 在对象中使用会话
35.3.8. 在单元测试中使用会话
35.4. 全局会话管理
35.4.1. 配置选项
35.4.2. 错误:Headers Already Sent
35.4.3. 会话标识符
35.4.4. rememberMe(integer $seconds)
35.4.5. forgetMe()
35.4.6. sessionExists()
35.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
35.4.8. stop()
35.4.9. writeClose($readonly = true)
35.4.10. expireSessionCookie()
35.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
35.4.12. namespaceIsset($namespace)
35.4.13. namespaceUnset($namespace)
35.4.14. namespaceGet($namespace)
35.4.15. getIterator()
36. Zend_Translate
36.1. 简介
36.1.1. 开始多语言化
36.2. Zend_Translate适配器
36.2.1. 如何判断使用哪种翻译适配器
36.2.2. 集成编写自己的适配器
36.2.3. 加速所有的适配器
36.3. Using Translation Adapters
36.3.1. Translation Source Structures
36.3.2. Creating array source files
36.3.3. Creating Gettext Source Files
36.3.4. Creating TMX Source Files
36.3.5. Creating CSV Source Files
36.3.6. Options for adapters
36.3.7. Handling languages
36.3.8. Automatic source detection
36.3.9. Checking for translations
36.3.10. Access to the source data
37. Zend_Uri
37.1. Zend_Uri
37.1.1. 概述
37.1.2. 新建一个URI
37.1.3. 操作现有的URI
37.1.4. URI 验证
37.1.5. 公共实例方法
38. Zend_Validate
38.1. 简介
38.1.1. 什么是校验器(validator)?
38.1.2. 校验器的基本用法
38.1.3. 定制消息
38.1.4. 使用静态 is() 方法
38.2. 标准校验类
38.2.1. Alnum
38.2.2. Alpha
38.2.3. Between
38.2.4. Ccnum
38.2.5. 日期
38.2.6. 数字
38.2.7. Email 地址
38.2.8. 浮点数
38.2.9. GreaterThan
38.2.10. 十六进制数
38.2.11. 主机名
38.2.12. InArray
38.2.13. 整数
38.2.14. Ip
38.2.15. LessThan
38.2.16. NotEmpty
38.2.17. Regex
38.2.18. StringLength
38.3. 校验器链
38.4. 编写校验器
39. Zend_Version
39.1. 读取Zend Framework的当前版本
40. Zend_View
40.1. 简介
40.1.1. 控制器脚本
40.1.2. 视图脚本
40.1.3. 选项
40.1.4. 实用访问器
40.2. 控制器脚本
40.2.1. 变量赋值
40.2.2. 调用视图脚本并打印输出
40.2.3. 视图脚本的路径
40.3. 视图脚本
40.3.1. 转义输出(Escaping Output)
40.3.2. 使用模板系统
40.4. 视图助手(View Helper)
40.4.1. 基本的助手
40.4.2. 助手的路径
40.4.3. 编写自定义的助手类
40.5. Zend_View_Abstract
41. Zend_XmlRpc
41.1. Introduction
41.2. Zend_XmlRpc_Client
41.2.1. Introduction
41.2.2. Method Calls
41.2.3. Types and Conversions
41.2.4. Server Proxy Object
41.2.5. Error Handling
41.2.6. Server Introspection
41.2.7. From Request to Response
41.2.8. HTTP Client and Testing
41.3. Zend_XmlRpc_Server
41.3.1. Introduction
41.3.2. Basic Usage
41.3.3. Server Structure
41.3.4. Conventions
41.3.5. Utilizing Namespaces
41.3.6. Custom Request Objects