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
41.3.7. Custom Responses
41.3.8. Handling Exceptions via Faults
41.3.9. Caching Server Definitions Between Requests
41.3.10. Usage Examples
A. 系统需求
A.1. PHP 版本需求
A.2. PHP 扩展
A.3. Zend Framework 组件
B. Zend Framework PHP 编码标准
B.1. 绪论
B.1.1. 适用范围
B.1.2. 目标
B.2. PHP File 文件格式
B.2.1. 常规
B.2.2. 缩进
B.2.3. 行的最大长度
B.2.4. 行结束标志
B.3. 命名约定
B.3.1. 类
B.3.2. 接口
B.3.3. 文件名
B.3.4. 函数和方法
B.3.5. 变量
B.3.6. 常量
B.4. 编码风格
B.4.1. PHP 代码划分(Demarcation)
B.4.2. 字符串
B.4.3. 数组
B.4.4. 类
B.4.5. 函数和方法
B.4.6. 控制语句
B.4.7. 注释文档
C. 版权信息
索引

表格清单

2.1. 一个CMS范例的访问控制
3.1. 配置选项
4.1. 核心前端选项
4.2. 函数前端选项
4.3. Class frontend options
4.4. File frontend options
4.5. Page frontend options
4.6. 文件后端选项
4.7. Sqlite 后端选项
4.8. Memcached 后端选项
5.1. Zend_Config_Ini 构造器参数
8.1. 选择货币描述的常量
8.2. 选择货币位置的常量
9.1. Date Parts
9.2. Basic Operations
9.3. Date Comparison Methods
9.4. Date Output Methods
9.5. Date Output Methods
9.6. Miscellaneous Methods
9.7. Operations involving Zend_Date::HOUR
9.8. Day Constants
9.9. Week Constants
9.10. Month Constants
9.11. Year Constants
9.12. Time Constants
9.13. Timezone Constants
9.14. Date Format Constants (formats include timezone)
9.15. Date and Time Formats (format varies by locale)
9.16. Constants for ISO 8601 date output
9.17. Constants for PHP date output
9.18. Types of supported horizons for sunset and sunrise
10.1. Metadata fields returned by describeTable()
10.2. Constants used by getPart() and reset()
17.1. Zend_Http_Client configuration parameters
17.2. Zend_Http_Client_Adapter_Socket configuration parameters
17.3. Zend_Http_Client configuration parameters
22.1. Details for getTranslationList($type = null, $locale = null, $value = null)
22.2. Details for getTranslation($value = null, $type = null, $locale = null)
22.3. Differences between ZF 1.0 and ZF 1.5
22.4. Format tokens for self generated number formats
22.5. List of supported numeral systems
22.6. Key values for getDate() with option 'fix_date'
22.7. Return values
22.8. Format definition
22.9. Example formats
22.10. List of all supported languages
22.11. List of all supported regions
24.1. Mail Read Feature Overview
24.2. Mail Folder Names
25.1. List of measurement types
32.1. Zend_Search_Lucene_Field Types
34.1. Zend_Service_Amazon_Item Properties
34.2. Zend_Service_Amazon_Image Properties
34.3. Zend_Service_Amazon_OfferSet Properties
34.4. Properties
34.5. Zend_Service_Amazon_SimilarProduct Properties
34.6. Zend_Service_Amazon_Accessories Properties
34.7. Zend_Service_Amazon_CustomerReview Properties
34.8. Zend_Service_Amazon_EditorialReview Properties
34.9. Zend_Service_Amazon_Listmania Properties
34.10. Methods for retrieving public data
34.11. Methods of the Zend_Service_Delicious_SimplePost class
34.12. Zend_Service_Flickr_ResultSet Properties
34.13. Zend_Service_Flickr_Result Properties
34.14. Zend_Service_Flickr_Image Properties
34.15. Zend_Service_Yahoo_ResultSet
34.16. Zend_Service_Yahoo_LocalResultSet Properties
34.17. Zend_Service_Yahoo_Result Properties
34.18. Zend_Service_Yahoo_WebResult Properties
34.19. Zend_Service_Yahoo_ImageResult Properties
34.20. Zend_Service_Yahoo_VideoResult Properties
34.21. Zend_Service_Yahoo_LocalResult Properties
34.22. Zend_Service_Yahoo_NewsResult Properties
34.23. Zend_Service_Yahoo_Image Properties
36.1. Zend_Translate适配器
36.2. Options for Translation Adapters
41.1. PHP and XML-RPC Type Conversions
41.2. Zend_XmlRpc_Value Objects for XML-RPC Types
A.1. Zend Framework 使用的 PHP 扩展
A.2. Zend Framework 组件以及其使用到的 PHP 扩展

范例清单

2.1. 角色之间的多重继承
3.1. 修改 Session 名字空间
3.2. 使用定制存储类
3.3. 基本用法
4.1. 调用 Zend_Cache::factory()取得一个前端
4.2. Caching a database query result
4.3. Zend_Cache 输出前端缓存输出
5.1. 使用 Zend_Config 本身
5.2. Using Zend_Config with a PHP Configuration File
5.3. 使用 Zend_Config_Ini
5.4. 使用Zend_Config_Xml
6.1. 使用短语法
6.2. 使用长语法
6.3. 捕捉 Getopt 异常
6.4. 使用 getOption()
6.5. 使用 __get() 和 __isset() 魔术方法
6.6. 使用 getRemainingArgs()
6.7. 使用 addRules()
6.8. 使用 setHelp()
6.9. 使用 setAliases()
6.10. 使用 addArguments() 和 setArguments()
6.11. 使用 setOption()
6.12. 使用 setOptions()
7.1. 如何处理不存在的动作
7.2. 用动作、控制器和模块名来添加一个任务
7.3. 使用请求对象添加一个任务
7.4. 允许动作响应 Ajax 的请求
7.5. 设定选项
7.6. 使用默认设定
7.7. 使用goto()_forward()API
7.8. 通过gotoRoute()使用路由组装(route assembly)
7.9. 基本用法
7.10. 禁用自动解析
7.11. 选择另外的视图脚本
7.12. 修改注册的视图Modifying the registered view
7.13. 修改路径规则
7.14. 一个动作中解析多个视图脚本
7.15. Standard usage
7.16. Setting a different error handler
7.17. Using accessors
8.1. 从实际地方创建 Zend_Currency 的实例
8.2. 创建 Zend_Currency 实例的其它例子
8.3. 为货币创建输出
8.4. 修改货币的显示格式
8.5. 从货币中获取信息
8.6. 设置新地方
8.7. 缓存货币
9.1. Setting a default timezone
9.2. Creating the current date
9.3. get() - output a date
9.4. set() - set a date
9.5. add() - adding dates
9.6. compare() - compare dates
9.7. equals() - identify a date or date part
9.8. User-specified input date format
9.9. Operating on Parts of Dates
9.10. Date creation by instance
9.11. Static date creation
9.12. Quick creation of dates from database date values
9.13. Convenient creation of dates from database date values
9.14. Date creation by array
9.15. Example usage for self-defined ISO formats
9.16. Example usage for self-defined formats with PHP specifier
9.17. Checking dates
9.18. Getting all available cities
9.19. Getting the location for a city
9.20. Calculating sun informations
9.21. Working with timezones
9.22. Multiple timezones
10.1. Using an Adapter constructor
10.2. Using the Adapter factory method
10.3. Using the Adapter factory method for a custom adapter class
10.4. Using the Adapter factory method with a Zend_Config object
10.5. Passing the case-folding option to the factory
10.6. Passing the auto-quoting option to the factory
10.7. Passing PDO driver options to the factory
10.8. Handling connection exceptions
10.9. Using fetchAll()
10.10. Using setFetchMode()
10.11. Using fetchAssoc()
10.12. Using fetchCol()
10.13. Using fetchPairs()
10.14. Using fetchRow()
10.15. Using fetchOne()
10.16. Inserting to a table
10.17. Inserting expressions to a table
10.18. Using lastInsertId() for an auto-increment key
10.19. Using lastInsertId() for a sequence
10.20. Using lastSequenceId()
10.21. Updating rows
10.22. Updating rows using an array of expressions
10.23. Deleting rows
10.24. Using quote()
10.25. Using quote() with a SQL type
10.26. Using quoteInto()
10.27. Using quoteInto() with a SQL type
10.28. Using quoteIdentifier()
10.29. Managing a transaction to ensure consistency
10.30. Closing a database connection
10.31. Running a non-prepared statement in a PDO adapter
10.32. Creating a SQL statement object with query()
10.33. Using a SQL statement constructor
10.34. Executing a statement with positional parameters
10.35. Executing a statement with named parameters
10.36. Using fetch() in a loop
10.37. Using fetchAll()
10.38. Setting the fetch mode
10.39. Using fetchColumn()
10.40. Using fetchObject()
10.41. Example of the database adapter's select() method
10.42. Example of creating a new Select object
10.43. Example of the using methods to add clauses
10.44. Example of the using the fluent interface
10.45. Example of the from() method
10.46. Example of specifying a table correlation name
10.47. Example of specifying a schema name
10.48. Examples of specifying columns
10.49. Examples of specifying columns containing expressions
10.50. Examples of quoting columns in an expression
10.51. Example of the join() method
10.52. Example of specifying no columns
10.53. Example of the joinUsing() method
10.54. Example of the where() method
10.55. Example of a parameter in the where() method
10.56. Example of multiple where() methods
10.57. Example of the orWhere() method
10.58. Example of parenthesizing Boolean expressions
10.59. Example of the group() method
10.60. Example of the having() method
10.61. Example of the order() method
10.62. Example of the limit() method
10.63. Example of the limitPage() method
10.64. Example of the distinct() method
10.65. Example of forUpdate() method
10.66. Example using the Db adapter's query() method
10.67. Example using the Select object's query method
10.68. Example of the __toString() method
10.69. Example of the getPart() method
10.70. Example of the reset() method
10.71. Declaring a table class with explicit table name
10.72. Declaring a table class with implicit table name
10.73. Declaring a table class with schema
10.74. Declaring table and schema names upon instantiation
10.75. Example of specifying the primary key
10.76. Example of overriding the _setupTableName() method
10.77. Example usage of init() method
10.78. Example of constructing a Table using an Adapter object
10.79. Example of constructing a Table using a the Default Adapter
10.80. Example of constructing a Table using a Registry key
10.81. Example of inserting to a Table
10.82. Example of inserting expressions to a Table
10.83. Example of declaring a Table with auto-incrementing primary key
10.84. Example of declaring a Table with a sequence
10.85. Example of declaring a Table with a natural key
10.86. Example of updating rows in a Table
10.87. Example of deleting rows from a Table
10.88. Example of finding rows by primary key values
10.89. Example of finding rows by compound primary key values
10.90. Simple usage
10.91. Example of fluent interface
10.92. Example of finding rows by an expression
10.93. Example of finding rows by an expression
10.94. Retrieving specific columns
10.95. Retrieving expressions as columns
10.96. Using a lookup table to refine the results of fetchAll()
10.97. Removing the integrity check on Zend_Db_Select to allow JOINed rows
10.98. Example of finding a single row by an expression
10.99. Example of getting the table name
10.100. Using a Default Metadata Cache for all Table Objects
10.101. Using a Metadata Cache for a Specific Table Object
10.102. Example of specifying the Row and Rowset classes
10.103. Example of changing the Row and Rowset classes
10.104. Custom logic to manage timestamps
10.105. Custom method to find bugs by status
10.106. Example of an abstract table class that implements inflection
10.107. Example of fetching a row
10.108. Example of reading a row in a rowset
10.109. Example of reading a column in a row
10.110. Example of using the toArray() method
10.111. Example of changing a column in a row
10.112. Example of creating a new row for a table
10.113. Example of populating a new row for a table
10.114. Example of using setFromArray() to set values in a new Row
10.115. Example of deleting a row
10.116. Example of serializing a row
10.117. Example of unserializing a serialized row
10.118. Example of reactivating a row
10.119. Specifying a custom Row class
10.120. Example usage of init() method
10.121. Example of custom logic in a Row class
10.122. Example of a Row class that logs insert data for multiple tables
10.123. Example of defining an inflection transformation
10.124. Example of fetching a rowset
10.125. Counting the Rows in a Rowset
10.126. Reading a Single Row from a Rowset
10.127. Iterating through a Rowset
10.128. Seeking to a known position into a Rowset
10.129. Using toArray()
10.130. Serializing a Rowset
10.131. Unserializing a Serialized Rowset
10.132. Reactivating a Rowset as Live Data
10.133. Specifying a custom Rowset class
10.134. Example of Rowset class with a new method
10.135. Fetching a Dependent Rowset
10.136. Fetching a Dependent Rowset By a Specific Rule
10.137. Fetching a Dependent Rowset using a Zend_Db_Table_Select
10.138. Fetching Dependent Rowsets using the Magic Method
10.139. Fetching the Parent Row
10.140. Fetching a Parent Row By a Specific Rule
10.141. Fetching the Parent Row using the Magic Method
10.142. Fetching a Rowset with the Many-to-many Method
10.143. Fetching a Rowset with the Many-to-many Method By a Specific Rule
10.144. Fetching Rowsets using the Magic Many-to-many Method
10.145. Example of a Cascading Delete
10.146. Example Declaration of Cascading Operations
11.1. dump()方法使用示例
12.1. 捕捉一个异常的例子
13.1. 用Zend_Feed来处理RSS Feed数据
13.2. Atom Feed的基本用法
13.3. 读取Atom Feed的单个条目
13.4. 用条目对象直接访问Atom Feed的单个条目
13.5. 修改一个已存在的条目
13.6. 用自定义的命名空间创建一个Atom条目元素
13.7. 用自定义的命名空间继承Atom条目类
14.1. Transforming CamelCaseText to another format
14.2. Setting Multiple Rules at Once
14.3. Using Zend_Config with Zend_Filter_Inflector
15.1. Setting Prefix Paths for All Elements
15.2. Setting Decorators for All Elements
15.3. Setting Filters for All Elements
15.4. Setting Decorator Prefix Path for All Display Groups
15.5. Setting Decorators for All Display Groups
17.1. Instantiating a Zend_Http_Client object
17.2. Performing a Simple GET Request
17.3. Using Request Methods Other Than GET
17.4. Setting GET Parameters
17.5. Setting POST Parameters
17.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
17.7. Setting Cookies Using setCookie()
17.8. Enabling Cookie Stickiness
17.9. Setting A Single Custom Request Header
17.10. Setting Multiple Custom Request Headers
17.11. Using setFileUpload to Upload Files
17.12. Sending Raw POST Data
17.13. Setting HTTP Authentication User and Password
17.14. Performing consecutive requests with one client
17.15. Changing the HTTPS transport layer
17.16. Using Zend_Http_Client behind a proxy server
17.17. Testing Against a Single HTTP Response Stub
17.18. Testing Against Multiple HTTP Response Stubs
17.19. Creating your own connection adapter
17.20. Instantiating a Zend_Http_Cookie object
17.21. Stringifying a Zend_Http_Cookie object
17.22. Using getter methods with Zend_Http_Cookie
17.23. Matching cookies
17.24. Instantiating a Zend_Http_Response object using the factory method
17.25. Using the isError() method to validate a response
17.26. Using Zend_Http_Response Accessor Methods
17.27. Accessing Response Headers
20.1. 传递选项给构造器或startMvc()
20.2. 使用setOption() 和 setConfig()
20.3. 使用访问器
20.4. 使用Zend_Layout访问器来修改变形器(inflector)
20.5. Zend_Layout 变形器的直接修改
20.6. 定制变形器(inflectors)
21.1. loadFile() 方法范例
21.2. Example of loadClass() method
21.3. isReadable()示例:
21.4. 注册 autoloader callback 方法范例
21.5. 从继承类注册 autoload callback 方法范例
22.1. Choosing a specific locale
22.2. Automatically selecting a locale
22.3. Using automatic locales
22.4. Handling locale exceptions
22.5. Setting a default locale
22.6. Dates default to correct locale of web users
22.7. Overriding default locale selection
22.8. Performance optimization when using a default locale
22.9. Dates default to correct locale of web users
22.10. Using STANDARD definitions for setOptions()
22.11. clone
22.12. Check for equal locales
22.13. Get default locales
22.14. setLocale
22.15. getLanguage and getRegion
22.16. getTranslationList
22.17. getTranslationList
22.18. Converting country name in one language to another
22.19. All available translations
22.20. All Languages written in their native language
22.21. getQuestion()
22.22. getLocaleList()
22.23. Number normalization
22.24. Number normalization with precision
22.25. Number localization
22.26. Number localization with precision
22.27. Using a self defined number format
22.28. Number testing
22.29. Floating point value normalization
22.30. Floating point value localization
22.31. Floating point value testing
22.32. Integer value normalization
22.33. Integer value localization
22.34. Integer value testing
22.35. Converting numerals from Eastern Arabic scripts to European/Latin scripts
22.36. Converting numerals from Latin script to Eastern Arabic script
22.37. Getting 4 letter CLDR script code using a native-language name of the script
22.38. Normalizing a date
22.39. Normalizing a date by locale
22.40. Normalizing a date with time
22.41. Normalizing a userdefined date
22.42. Automatic correction of input dates
22.43. Date testing
22.44. Normalize an unknown time
22.45. Testing a time
24.1. 使用Zend_Mail发送简单邮件
24.2. 传递另外的参数给 Zend_Mail_Transport_Sendmail 传送器
24.3. 通过 SMTP 发送邮件
24.4. 通过一个SMTP连接发送多个邮件
24.5. 手工控制传送器连接
24.6. 使用不同的Transport对象
24.7. 发送HTML邮件
24.8. 带附件的邮件
24.9. 更改MIME分界线
24.10. 外加邮件头信息
24.11. 在 Zend_Mail_Transport_Smtp 中使用身份验证
24.12. Enabling a secure connection within Zend_Mail_Transport_Smtp
25.1. Converting measurements
25.2. The meter measurement
25.3. Creation using integer and floating values
25.4. Creation using strings
25.5. Arbitrary text input containing measurements
25.6. Localized string
25.7. Automatic output
25.8. Output a value
25.9. Outputting units
25.10. Convert
25.11. Adding units
25.12. Subtract
25.13. Different measurements
25.14. Identical measurements
25.15. Difference
25.16. Changing a value
25.17. Changing the type
26.1. 使用 Zend_Memory 组件
28.1. The Simple OpenID Login form
28.2. The Authentication Request Handler
28.3. The Authentication Response Verifier
28.4. The Complete OpenID Login Script
28.5. Authentication Request for Specified Realm
28.6. Immediate Check without Interaction
28.7. Databse Storage
28.8. Sending Requests with a Simple Registration Extension
28.9. Verifying Responses with a Simple Registration Extension
28.10. Zend_Auth Adapter for OpenID
28.11. The Identity
28.12. Simple Identity Provider
28.13. Simple Login Screen
28.14. Simple Trust Screen
28.15. All together
28.16. Identity with Profile
28.17. Provider with SREG
29.1. Create new or load existing PDF document.
29.2. Requesting specified revision of the PDF document.
29.3. Save PDF document.
29.4. PDF document pages management.
29.5. Cloning existing page.
29.6. Draw a string on the page.
29.7. Draw a UTF-8-encoded string on the page.
29.8. Create a standard font.
29.9. Create a TrueType font.
29.10. Create a TrueType font, but do not embed it in the PDF document.
29.11. Do not throw an exception for fonts that cannot be embeded.
29.12. Do not compress an embedded font.
29.13. Combining font embedding options.
29.14. Extracting fonts from a loaded document.
29.15. Extracting font from a loaded document by specifying font name.
29.16. Image drawing.
29.17. Zend_Pdf module usage demo.
30.1. set() 使用示例:
30.2. get() 方法示例:
30.3. 迭代一个registry对象:
30.4. 创建一个registry对象
30.5. Example of initializing the static registry
30.6. array 方式访问示例:
30.7. 对象形式的访问:
30.8. isRegistered() 示例:
30.9. isset() 示例:
30.10. 指定静态注册表的类名:
30.11. _unsetInstance() 示例:
31.1. A basic REST request
31.2. Response Status
31.3. Using Technorati's Rest Service
31.4. Example Technorati Response
31.5. Setting Request Arguments
31.6. Basic Zend_Rest_Server Usage - Classes
31.7. Basic Zend_Rest_Server Usage - Functions
31.8. Returning Custom Status
31.9. Return Custom XML
32.1. Custom text Analyzer.
34.1. isSpam() Usage
34.2. submitSpam() Usage
34.3. submitHam() Usage
34.4. Search Amazon Using the Traditional API
34.5. Search Amazon Using the Query API
34.6. Choosing an Amazon Web Service Country
34.7. Looking up a Specific Amazon Item by ASIN
34.8. Performing Amazon Item Searches
34.9. Using the ResponseGroup Option
34.10. Search Amazon Using the Alternative Query API
34.11. Retrieving User Profile Information
34.12. Retrieving a User's Weekly Artist Chart
34.13. Retrieving Related Artists
34.14. Get all posts
34.15. Accessing post lists
34.16. Filtering a Post List with Specific Tags
34.17. Filtering a Post List by URL
34.18. Post editing
34.19. Method call chaining
34.20. Deleting posts
34.21. Adding a post
34.22. Tags
34.23. Bundles
34.24. Retrieving public data
34.25. Changing the HTTP client of Zend_Rest_Client
34.26. Configuring your HTTP client to keep connections alive
34.27. Simple Flickr Photo Search
34.28. Finding a Flickr User's Public Photos by E-Mail Address
34.29. Retrieving Flickr Image Details
34.30. Querying Links
34.31. Modifying Links
34.32. Working With Tags
34.33. Working With Notes
34.34. Retrieving Watchlists
34.35. Sending your first query
34.36. Refining your query
34.37. Sending multiple queries with the same Zend_Service_Technorati instance
34.38. Consuming a result set object
34.39. Seeking a specific result set object
34.40. Consuming a standalone result object
34.41. Handling a Query Exception
34.42. Getting API key daily usage information
34.43. Cosmos Query
34.44. Search Query
34.45. Tag Query
34.46. DailyCounts Query
34.47. TopTags Query
34.48. BlogInfo Query
34.49. BlogPostTags Query
34.50. GetInfo Query
34.51. Iterating result objects from a resultset collection
34.52. Searching the Web with Yahoo!
34.53. Finding Images with Yahoo!
34.54. Finding videos with Yahoo!
34.55. Finding Local Businesses and Services with Yahoo!
34.56. Searching Yahoo! News
34.57. Searching Yahoo! Site Explorer Inbound Links
34.58. Searching Yahoo! Site Explorer's PageData
35.1. 页面浏览计数
35.2. 新方法: 使用命名空间避免冲突
35.3. 老方法: PHP会话访问
35.4. 会话迭代
35.5. 访问会话数据
35.6. 开启全局会话
35.7. 锁住会话命名空间
35.8. 过期的例子
35.9. 带有生命期的控制器命名空间会话
35.10. 限制命名空间访问单一实例
35.11. 修改带有会话命名空间的数组数据
35.12. 在会话存储之前构造数组
35.13. 方案:重新分配一个被修改的数组
35.14. 方案:存储包括引用的数组
35.15. PHPUnit Testing Code Dependent on Zend_Session
35.16. 使用Zend_Config配置Zend_Session
35.17. 会话固定
36.1. Example of single-language PHP code
36.2. Example of multi-lingual PHP code
36.3. Example TMX file
36.4. Example CSV file
36.5. Example CSV file two
36.6. Using translation options
36.7. Handling languages with adapters
36.8. How automatically language detection works
36.9. Scanning a directory structure for sources
36.10. Directory scanning for languages
36.11. Filename scanning for languages
36.12. Checking if a text is translatable
36.13. Handling languages with adapters
37.1. 使用Zend_Uri::factory()创建一个新的URI
37.2. 使用Zend_Uri::factory()操作一个现有的URI
37.3. 使用Zend_Uri::check()进行URI 验证
37.4. Zend_Uri_* 对象取得模式
37.5. 从一个Zend_Uri_* 对象取得整个URI
37.6. 验证一个 Zend_Uri_* 对象
38.1. 创建简单校验类
38.2. 编写有独立条件的校验类
38.3. 带有独立条件、多重失败原因的校验
39.1. compareVersion()方法示例:
40.1. 动作视图助手的基本用法
40.2. Partials 的基本用法
40.3. 使用 PartialLoop 来解析可迭代的(Iterable)的模型
40.4. 在其它模块中解析 Partials
40.5. 占位符的基本用法
40.6. 用占位符来聚合内容
40.7. 使用占位符(Placeholders)来抓取内容
40.8. Doctype 助手的基本用法
40.9. 获取 Doctype
40.10. HeadLink 助手的基本用法
40.11. HeadMeta 助手基本用法
40.12. HeadScript 助手基本用法
40.13. Capturing Scripts Using the HeadScript Helper
40.14. HeadStyle 助手的基本用法
40.15. 用 HeadStyle 助手抓取样式声明
40.16. HeadTitle 助手基本用法
40.17. 已注册的实例
40.18. 在视图里
40.19. 直接用法
40.20. 单个参数
40.21. 参数列表
40.22. 参数数组
40.23. 动态修改地点 (locale)
40.24. 静态修改地点 (locale)
40.25. 获得当前设置的地点
41.1. XML-RPC Method Call
41.2. XML-RPC Method Call with Parameters
41.3. Proxy the Default Namespace
41.4. Proxy Any Namespace
41.5. Handling HTTP Errors
41.6. Handling XML-RPC Faults
41.7. Processing Request to Response