Zend Framework手册 中文版
- 1. 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_Amf
- 3.1. Introduction
- 3.2. Zend_Amf_Server
- 3.2.1. Connecting to the Server from Flex
- 3.2.2. Error Handling
- 3.2.3. AMF Responses
- 3.2.4. Typed Objects
- 3.2.5. Resources
- 3.2.6. Connecting to the Server from Flash
- 3.2.7. Authentication
- 4. Zend_Application
- 4.1. Introduction
- 4.2. Zend_Application Quick Start
- 4.2.1. Using Zend_Tool
- 4.2.2. Adding Zend_Application to your application
- 4.2.3. Adding and creating resources
- 4.2.4. Next steps with Zend_Application
- 4.3. Theory of Operation
- 4.3.1. Bootstrapping
- 4.3.1.1. Resource Methods
- 4.3.1.2. Bootstraps that use resource plugins
- 4.3.1.3. Resource Registry
- 4.3.1.4. Dependency Tracking
- 4.3.2. Resource Plugins
- 4.4. Examples
- 4.5. Core Functionality
- 4.5.1. Zend_Application
- 4.5.2. Zend_Application_Bootstrap_Bootstrapper
- 4.5.3. Zend_Application_Bootstrap_ResourceBootstrapper
- 4.5.4. Zend_Application_Bootstrap_BootstrapAbstract
- 4.5.5. Zend_Application_Bootstrap_Bootstrap
- 4.5.6. Zend_Application_Resource_Resource
- 4.5.7. Zend_Application_Resource_ResourceAbstract
- 4.5.7.1. Resource Names
- 4.6. Available Resource Plugins
- 4.6.1. Zend_Application_Resource_Db
- 4.6.2. Zend_Application_Resource_Frontcontroller
- 4.6.3. Zend_Application_Resource_Modules
- 4.6.4. Zend_Application_Resource_Session
- 4.6.5. Zend_Application_Resource_View
- 5. Zend_Auth
- 5.1. 简介
- 5.1.1. 适配器
- 5.1.2. 结果
- 5.1.3. 身份的持久(Persistence)
- 5.1.3.1. 在PHP Session 中的缺省持久(Persistence)
- 5.1.3.2. 实现订制存储
- 5.1.4. 使用Zend_Auth
- 5.2. 数据库表认证
- 5.2.1. 简介
- 5.2.2. 高级使用:持久一个 DbTable 结果对象
- 5.2.3. 高级用法范例
- 5.3. 摘要式认证
- 5.3.1. 简介
- 5.3.2. 规范(Specifics)
- 5.3.3. 身份(Identity)
- 5.4. HTTP 认证适配器
- 5.4.1. 简介
- 5.4.2. 设计回顾
- 5.4.3. 配置选项
- 5.4.4. Resolvers
- 5.4.4.1. 文件 Resolver
- 5.4.5. 基本用法
- 5.5. LDAP 认证
- 5.5.1. 简介
- 5.5.2. 用法
- 5.5.3. The API
- 5.5.4. 服务器选项
- 5.5.5. 收集调试信息
- 5.5.6. 特定服务器的通用选项
- 5.5.6.1. Active Directory 的选项
- 5.5.6.2. OpenLDAP 的选项
- 5.6. Open ID Authentication
- 5.6.1. 简介
- 5.6.2. 细节
- 6. Zend_Cache
- 6.1. 简介
- 6.2. 缓存原理
- 6.2.1. Zend_Cache 工厂方法
- 6.2.2. 标记纪录
- 6.2.3. 缓存清理
- 6.3. Zend_Cache前端
- 6.3.1. Zend_Cache_Core
- 6.3.1.1. 简介
- 6.3.1.2. 可用选项
- 6.3.1.3. 例子
- 6.3.2. Zend_Cache_Frontend_Output
- 6.3.2.1. 简介
- 6.3.2.2. 可用的选项
- 6.3.2.3. 例子
- 6.3.3. Zend_Cache_Frontend_Function
- 6.3.3.1. Introduction
- 6.3.3.2. A可用的选项
- 6.3.3.3. 例子
- 6.3.4. Zend_Cache_Frontend_Class
- 6.3.4.1. Introduction
- 6.3.4.2. Available options
- 6.3.4.3. Examples
- 6.3.5. Zend_Cache_Frontend_File
- 6.3.5.1. Introduction
- 6.3.5.2. Available options
- 6.3.5.3. Examples
- 6.3.6. Zend_Cache_Frontend_Page
- 6.3.6.1. Introduction
- 6.3.6.2. Available options (for this frontend in Zend_Cache factory)
- 6.3.6.3. Examples
- 6.3.6.4. 特殊的取消方法
- 6.4. Zend_Cache后端
- 6.4.1. Zend_Cache_Backend_File
- 6.4.2. Zend_Cache_Backend_Sqlite
- 6.4.3. Zend_Cache_Backend_Memcached
- 6.4.4. Zend_Cache_Backend_Apc
- 6.4.5. Zend_Cache_Backend_Xcache
- 6.4.6. Zend_Cache_Backend_ZendPlatform
- 7. Zend_Captcha
- 7.1. 简介
- 7.2. Captcha 操作
- 7.3. Captcha 适配器
- 7.3.1. Zend_Captcha_Word
- 7.3.2. Zend_Captcha_Dumb
- 7.3.3. Zend_Captcha_Figlet
- 7.3.4. Zend_Captcha_Image
- 7.3.5. Zend_Captcha_ReCaptcha
- 8. Zend_CodeGenerator
- 8.1. Introduction
- 8.1.1. Theory of Operation
- 8.2. Zend_CodeGenerator Examples
- 8.3. Zend_CodeGenerator Reference
- 8.3.1. Abstract Classes and Interfaces
- 8.3.1.1. Zend_CodeGenerator_Abstract
- 8.3.1.2. Zend_CodeGenerator_Php_Abstract
- 8.3.1.3. Zend_CodeGenerator_Php_Member_Abstract
- 8.3.2. Concrete CodeGenerator Classes
- 8.3.2.1. Zend_CodeGenerator_Php_Body
- 8.3.2.2. Zend_CodeGenerator_Php_Class
- 8.3.2.3. Zend_CodeGenerator_Php_Docblock
- 8.3.2.4. Zend_CodeGenerator_Php_Docblock_Tag
- 8.3.2.5. Zend_CodeGenerator_Php_DocBlock_Tag_Param
- 8.3.2.6. Zend_CodeGenerator_Php_DocBlock_Tag_Return
- 8.3.2.7. Zend_CodeGenerator_Php_File
- 8.3.2.8. Zend_CodeGenerator_Php_Member_Container
- 8.3.2.9. Zend_CodeGenerator_Php_Method
- 8.3.2.10. Zend_CodeGenerator_Php_Parameter
- 8.3.2.11. Zend_CodeGenerator_Php_Property
- 9. Zend_Config
- 9.1. 简介
- 9.2. 操作理论
- 9.3. Zend_Config_Ini
- 9.4. Zend_Config_Xml
- 10. Zend_Config_Writer
- 10.1. Zend_Config_Writer
- 11. Zend_Console_Getopt
- 11.1. Getopt 简介
- 11.2. 声明 Getopt 规则
- 11.2.1. 用短语法声明选项
- 11.2.2. 用长语法声明选项
- 11.3. 读取(Fetching)选项和参数
- 11.3.1. 操作 Getopt 异常
- 11.3.2. 通过名字读取 (Fetching)选项
- 11.3.3. 报告选项
- 11.3.4. 读取非选项参数
- 11.4. 配置 Zend_Console_Getopt
- 11.4.1. 添加选项规则
- 11.4.2. 添加帮助信息
- 11.4.3. 添加选项别名
- 11.4.4. 添加参数列表
- 11.4.5. 添加配置
- 12. Zend_Controller
- 12.1. Zend_Controller 快速入门
- 12.1.1. 简介
- 12.1.2. 入门
- 12.1.2.1. 文件系统的组织结构
- 12.1.2.2. 设置文件根目录
- 12.1.2.3. 创建URL重写规则
- 12.1.2.4. 创建你的bootstrap文件
- 12.1.2.5. 创建默认的控制器(Action Controller)
- 12.1.2.6. 创建你的视图脚本
- 12.1.2.7. 创建你自己的错误控制器
- 12.1.2.8. 访问站点!
- 12.2. Zend_Controller 基础
- 12.3. 前端控制器
- 12.3.1. 概述
- 12.3.2. 主要方法
- 12.3.2.1. getInstance()
- 12.3.2.2. setControllerDirectory() 和 addControllerDirectory()
- 12.3.2.3. addModuleDirectory() and getModuleDirectory()
- 12.3.2.4. dispatch()
- 12.3.2.5. run()
- 12.3.3. 环境访问器方法
- 12.3.4. 前端控制器参数
- 12.3.5. 继承前端控制器
- 12.4. 请求对象
- 12.4.1. 介绍
- 12.4.2. HTTP 请求
- 12.4.2.1. 访问请求数据
- 12.4.2.2. 基地址和子目录
- 12.4.2.3. 决定请求方式
- 12.4.2.4. 删除 AJAX 请求
- 12.4.3. 子类化请求对象
- 12.5. 标准路由器
- 12.5.1. 简介
- 12.5.2. 使用路由器
- 12.5.3. 基本的Rewrite路由器操作
- 12.5.4. 缺省路由
- 12.5.5. 基本 URL 和子目录
- 12.5.6. Route Types
- 12.5.6.1. Zend_Controller_Router_Route
- 12.5.6.1.1. 变量缺省
- 12.5.6.1.2. 变量请求
- 12.5.6.1.3. 主机名路由
- 12.5.6.2. Zend_Controller_Router_Route_Static
- 12.5.6.3. Zend_Controller_Router_Route_Regex
- 12.5.7. 使用 Zend_Config with the RewriteRouter
- 12.5.8. Subclassing the Router
- 12.6. 分发器
- 12.6.1. 概述
- 12.6.2. 子类化分发器
- 12.7. 动作控制器
- 12.7.1. 简介
- 12.7.2. 对象初始化
- 12.7.3. 派遣前后的钩子
- 12.7.4. 访问器
- 12.7.5. 视图集成
- 12.7.5.1. 视图初始化
- 12.7.5.2. 解析(Rendering)视图
- 12.7.6. 实用方法
- 12.7.7. 继承(Subclassing)动作控制器
- 12.8. 动作助手
- 12.8.1. 介绍
- 12.8.2. 初始化助手
- 12.8.3. 助手经纪人
- 12.8.4. 内建的动作助手
- 12.8.4.1. 动作堆栈(助手)
- 12.8.4.2. AutoComplete
- 12.8.4.2.1. AutoCompletion with Dojo
- 12.8.4.2.2. AutoCompletion with Scriptaculous
- 12.8.4.3. ContextSwitch and AjaxContext
- 12.8.4.3.1. 缺省可用的上下文
- 12.8.4.3.2. 创建定制的上下文
- 12.8.4.3.3. 为每个动作设置上下文
- 12.8.4.3.4. 初始化上下文开关
- 12.8.4.3.5. 另外的功能
- 12.8.4.3.6. AjaxContext 函数
- 12.8.4.4. FlashMessenger
- 12.8.4.4.1. 简介
- 12.8.4.4.2. Basic Usage Example
- 12.8.4.5. JSON
- 12.8.4.6. 转向器(Redirector)
- 12.8.4.6.1. 介绍
- 12.8.4.6.2. 基础用例
- 12.8.4.7. ViewRenderer
- 12.8.4.7.1. 介绍
- 12.8.4.7.2. API
- 12.8.4.7.3. 基础用法示例
- 12.8.4.7.4. 高级用法示例
- 12.8.5. 编写自己的助手
- 12.9. 响应对象
- 12.9.1. 用法
- 12.9.2. 处理消息头
- 12.9.3. 命名片段
- 12.9.4. 在响应对象中测试异常
- 12.9.5. 子类化响应对象
- 12.10. 插件
- 12.10.1. 简介
- 12.10.2. 编写插件
- 12.10.3. 使用插件
- 12.10.4. 获取和控制插件
- 12.10.5. 包含在标准发行包中的插件
- 12.10.5.1. 动作堆栈
- 12.10.5.2. Zend_Controller_Plugin_ErrorHandler
- 12.10.5.2.1. 使用 ErrorHandler 作为一个 404 处理器(handler)
- 12.10.5.2.2. 处理以前呈现的(rendered)输出
- 12.10.5.2.3. 插件用法示例
- 12.10.5.2.4. 错误控制器示例
- 12.11. 使用传统的模块目录结构
- 12.11.1. 简介
- 12.11.2. 指定模块控制器目录
- 12.11.3. Routing to modules
- 12.11.4. 模块或全局缺省控制器
- 12.12. MVC 异常
- 12.12.1. 介绍
- 12.12.2. 如何处理异常?
- 12.12.3. 可能遭遇的MVC异常
- 12.13. 从以前的版本移植
- 12.13.1. 从 1.5.x 移植到 1.6.0 或更新的版本
- 12.13.1.1. 分发器接口修改
- 12.13.2. 从 1.0.x 到 1.5.0 或更新的版本的移植
- 12.13.3. 从 0.9.3 到 1.0.0RC1 或更新的版本的移植
- 12.13.4. 从 0.9.2 移植到 0.9.3 或更新的版本
- 12.13.5. 从 0.6.0 移植到 0.8.0 或更新的版本
- 12.13.6. 从 0.2.0 或以前的版本移植到 0.6.0
- 13. Zend_Currency
- 13.1. Zend_Currency 简介
- 13.1.1. 为什么使用
Zend_Currency
?
- 13.2. 如何使用货币
- 13.2.1. 从货币创建输出
- 13.2.2. 修改货币格式
- 13.2.3. Zend_Currency 的信息方法
- 13.2.4. 设置新缺省值
- 13.2.5. 加速 Zend_Currency
- 13.3. 从前面的版本迁移
- 13.3.1. 从 1.0.2 到 1.0.3 或更新的迁移
- 14. Zend_Date
- 14.1. 简介
- 14.1.1. 永远设置缺省时区
- 14.1.2. 为什么使用 Zend_Date?
- 14.2. 操作理论
- 14.2.1. 内部(Internals)
- 14.3. 基本方法
- 14.3.1. 当前日期
- 14.3.2. Zend_Date 的例子
- 14.3.2.1. 输出日期
- 14.3.2.2. 设置日期
- 14.3.2.3. 加减日期
- 14.3.2.4. 比较日期
- 14.4. Zend_Date API 概述
- 14.4.1. Zend_Date 选项
- 14.4.1.1. 选择日期格式类型
- 14.4.1.2. DST 和日期数学
- 14.4.1.3. 月份计算
- 14.4.1.4. 用 Zend_Cache 加速日期本地化和标准化
- 14.4.1.5. 用 Zend_TimeSync 同步时间戳
- 14.4.2. 使用日期值
- 14.4.3. Basic
Zend_Date
Operations Common to Many Date Parts
- 14.4.3.1. 日期部件列表
- 14.4.3.2. List of Date Operations 日期操作列表
- 14.4.4. 比较日期
- 14.4.5. 获取日期和日期部件
- 14.4.6. 使用秒的片段
- 14.4.7. 日出 / 日落
- 14.5. 生成日期
- 14.5.1. 生成当前日期
- 14.5.2. 从数据库生成日期
- 14.5.3. 从数组生成日期
- 14.6. 一般日期函数的常量
- 14.6.1. 使用常数
- 14.6.2. 所有常数列表
- 14.6.3. 自定义 ISO 输出格式
- 14.6.4. 使用 PHP 的 date() 格式指定器的自定义输出格式
- 14.7. Working 范例
- 14.7.1. 检查日期
- 14.7.2. 日出和日落
- 14.7.3. 时区
- 15. Zend_Db
- 15.1. Zend_Db_Adapter
- 15.1.1. 简介
- 15.1.2. 添加引号防止数据库攻击
- 15.1.3. 直接查询
- 15.1.4. 事务处理
- 15.1.5. 插入数据行
- 15.1.6. 更新数据行
- 15.1.7. 删除数据行
- 15.1.8. 取回查询结果
- 15.2. Zend_Db_Statement
- 15.2.1. Creating a Statement
- 15.2.2. Executing a Statement
- 15.2.3. Fetching Results from a SELECT Statement
- 15.2.3.1. Fetching a Single Row from a Result Set
- 15.2.3.2. Fetching a Complete Result Set
- 15.2.3.3. Changing the Fetch Mode
- 15.2.3.4. Fetching a Single Column from a Result Set
- 15.2.3.5. Fetching a Row as an Object
- 15.3. Zend_Db_Profiler
- 15.3.1. Introduction
- 15.3.2. Using the Profiler
- 15.3.3. Advanced Profiler Usage
- 15.3.3.1. Filter by query elapsed time
- 15.3.3.2. Filter by query type
- 15.3.3.3. Retrieve profiles by query type
- 15.3.4. Specialized Profilers
- 15.3.4.1. Profiling with Firebug
- 15.4. Zend_Db_Select
- 15.4.1. 简介
- 15.4.2. 同一表中查询多列数据
- 15.4.3. 多表联合查询
- 15.4.4. WHERE条件
- 15.4.5. GROUP BY分句
- 15.4.6. HAVING 条件
- 15.4.7. ORDER BY 分句
- 15.4.8. 通过总数和偏移量进行LIMIT限制
- 15.4.9. 通过页数和总数进行LIMIT限制
- 15.5. Zend_Db_Table
- 15.5.1. 简介
- 15.5.2. 开始
- 15.5.3. 表名和主键
- 15.5.4. 插入数据
- 15.5.5. 更新数据
- 15.5.6. Deleting Rows
- 15.5.7. 根据主键查找数据
- 15.5.8. 取回一条记录
- 15.5.9. 取回多条记录
- 15.5.10. Adding Domain Logic
- 15.6. Zend_Db_Table_Row
- 15.6.1. 简介
- 15.6.2. 取回一条记录
- 15.6.3. 修改数据
- 15.7. Zend_Db_Table_Rowset
- 15.7.1. 简介
- 15.7.2. 取回结果集
- 15.7.3. 遍历结果集
- 15.8. Zend_Db_Table Relationships
- 15.8.1. Introduction
- 15.8.2. Defining Relationships
- 15.8.3. Fetching a Dependent Rowset
- 15.8.4. Fetching a Parent Row
- 15.8.5. Fetching a Rowset via a Many-to-many Relationship
- 15.8.6. Cascading Write Operations
- 15.8.6.1. Notes Regarding Cascading Operations
- 16. Zend_Debug
- 16.1. 输出变量的值 (Dumping Variables)
- 17. Zend_Dojo
- 17.1. 简介
- 17.2. Zend_Dojo_Data: dojo.data Envelopes
- 17.2.1. Zend_Dojo_Data 用法
- 17.2.2. 高级用例
- 17.2.2.1. 可用的方法
- 17.3. Dojo 视图助手
- 17.3.1. dojo() 视图助手
- 17.3.1.1. Dojo 的 Programmatic 和 Declarative 用法
- 17.3.1.2. 主题
- 17.3.1.3. 使用 Layers (定制)
- 17.3.1.4. 可用方法
- 17.3.2. Dijit-Specific 视图助手
- 17.3.2.1. Dijit 布局元素
- 17.3.2.2. Dijit 表单元素
- 17.4. Dojo 表单元素和装饰器
- 17.4.1. Dijit-Specific 表单装饰器
- 17.4.1.1. DijitElement 装饰器
- 17.4.1.2. DijitForm 装饰器
- 17.4.1.3. DijitContainer-based 装饰器
- 17.4.2. Dijit-Specific 表单元素
- 17.4.2.1. 按钮
- 17.4.2.2. 检查框
- 17.4.2.3. 组合框(ComboBox)和 FilteringSelect
- 17.4.2.4. 货币文字框
- 17.4.2.5. 日期文字框
- 17.4.2.6. 水平滑尺(HorizontalSlider)
- 17.4.2.7. 数字微调控制器(NumberSpinner)
- 17.4.2.8. 数字框
- 17.4.2.9. 密码框
- 17.4.2.10. 单选按钮
- 17.4.2.11. 滑尺摘要元素
- 17.4.2.12. 提交按钮
- 17.4.2.13. 文字框
- 17.4.2.14. Textarea
- 17.4.2.15. 时间文字框
- 17.4.2.16. 校验文字框
- 17.4.2.17. 垂直滑尺(VerticalSlider)
- 17.4.3. Dojo 表单范例
- 18. Zend_Dom
- 18.1. 简介
- 18.2. Zend_Dom_Query
- 18.2.1. 操作理论
- 18.2.2. 可用方法
- 18.2.2.1. Zend_Dom_Query
- 18.2.2.2. Zend_Dom_Query_Result
- 19. Zend_Exception
- 19.1. 使用“异常”
- 20. Zend_Feed
- 20.1. 介绍
- 20.2. 导入Feeds
- 20.2.1. 定制 feeds
- 20.2.1.1. 导入定制的数组
- 20.2.1.2. 导入定制的数据源
- 20.2.1.3. Dumping feed 内容
- 20.3. 从网页上获得Feed
- 20.4. RSS Feed的使用
- 20.5. Atom Feed的使用
- 20.6. 单个Atom条目的处理
- 20.7. 修改Feed和条目结构
- 20.8. 自定义Feed和条目类
- 21. Zend_File
- 21.1. Zend_File_Transfer
- 21.2. Validators for Zend_File_Transfer
- 21.2.1. Using Validators with Zend_File_Transfer
- 21.2.2. Count Validator
- 21.2.3. Crc32 Validator
- 21.2.4. ExcludeExtension Validator
- 21.2.5. ExcludeMimeType Validator
- 21.2.6. Exists Validator
- 21.2.7. Extension Validator
- 21.2.8. FilesSize Validator
- 21.2.9. ImageSize Validator
- 21.2.10. IsCompressed Validator
- 21.2.11. IsImage Validator
- 21.2.12. Hash Validator
- 21.2.13. Md5 Validator
- 21.2.14. MimeType Validator
- 21.2.15. NotExists Validator
- 21.2.16. Sha1 Validator
- 21.2.17. Size Validator
- 21.2.18. WordCount Validator
- 21.3. Filters for Zend_File_Transfer
- 21.3.1. Using filters with Zend_File_Transfer
- 21.3.2. Decrypt filter
- 21.3.3. Encrypt filter
- 21.3.4. LowerCase filter
- 21.3.5. Rename filter
- 21.3.6. UpperCase filter
- 21.4. Migrating from previous versions
- 21.4.1. Migrating from 1.6 to 1.7 or newer
- 21.4.1.1. Changes when using filters and validators
- 21.4.1.1.1. Filter: Rename
- 21.4.1.1.2. Validator: Count
- 21.4.1.1.3. Validator:Extension
- 21.4.1.1.4. Validator: FilesSize
- 21.4.1.1.5. Validator: Hash
- 21.4.1.1.6. Validator: ImageSize
- 21.4.1.1.7. Validator: Size
- 21.4.2. Migrating from 1.6.1 to 1.6.2 or newer
- 21.4.2.1. Changes when using validators
- 22. Zend_Filter
- 22.1. 简介
- 22.1.1. 什么是过滤器(filter)?
- 22.1.2. 过滤器的基本用法
- 22.1.3. 使用静态
get()
方法
- 22.2. 标准过滤器类
- 22.2.1. Alnum
- 22.2.2. Alpha
- 22.2.3. BaseName
- 22.2.4. Digits
- 22.2.5. Dir
- 22.2.6. HtmlEntities
- 22.2.7. Int
- 22.2.8. StripNewlines
- 22.2.9. RealPath
- 22.2.10. StringToLower
- 22.2.11. StringToUpper
- 22.2.12. StringTrim
- 22.2.13. StripTags
- 22.3. 过滤器链
- 22.4. 编写过滤器
- 22.5. Zend_Filter_Input
- 22.5.1. 声明过滤器和校验器规则
- 22.5.2. 生成过滤器和校验器的处理器
- 22.5.3. 获取校验过的字段和其它报告
- 22.5.3.1. 输入值有效的查询
- 22.5.3.2. 获得无效、丢失或未知的字段
- 22.5.3.3. 获得有效字段
- 22.5.4. 使用 Metacommands 来控制过滤器或校验器规则
- 22.5.4.1. The
FIELDS
metacommand
- 22.5.4.2. The
PRESENCE
metacommand
- 22.5.4.3. The
DEFAULT_VALUE
metacommand
- 22.5.4.4. The
ALLOW_EMPTY
metacommand
- 22.5.4.5. The
BREAK_CHAIN
metacommand
- 22.5.4.6. The
MESSAGES
metacommand
- 22.5.4.7. 对所有的规则使用选项来设置 metacommands
- 22.5.5. 添加过滤器类命名空间
- 22.6. Zend_Filter_Inflector
- 22.6.1. 操作
- 22.6.2. 设置到预备的过滤器的路径
- 22.6.3. 设置变形器目标
- 22.6.4. 变形规则
- 22.6.4.1. 静态规则
- 22.6.4.2. 过滤变形器规则
- 22.6.4.3. 一次设置多个规则
- 22.6.5. 实用方法
- 22.6.6. 对 Zend_Filter_Inflector 使用 Zend_Config
- 23. Zend_Form
- 23.1. Zend_Form
- 23.2. Zend_Form 快速起步
- 23.2.1. 创建表单对象
- 23.2.2. 添加表单元素
- 23.2.3. 解析(Render)表单
- 23.2.4. 检查表单是否有效
- 23.2.5. 获得错误状态
- 23.2.6. 放到一起
- 23.2.7. 使用 Zend_Config 对象
- 23.2.8. 结论
- 23.3. 使用 Zend_Form_Element 生成表单元素
- 23.3.1. 插件加载器
- 23.3.2. 过滤器
- 23.3.3. 校验器
- 23.3.3.1. 定制错误消息
- 23.3.4. 装饰器
- 23.3.5. 元数据和属性
- 23.3.6. 标准元素
- 23.3.7. Zend_Form_Element 方法
- 23.3.8. 配置
- 23.3.9. 定制元素
- 23.4. 使用 Zend_Form 生成表单
- 23.4.1. 插件加载器
- 23.4.2. 元素(Elements)
- 23.4.2.1. 组装和读取数值
- 23.4.2.2. 全局操作
- 23.4.2.3. 和元素交互使用的方法
- 23.4.3. 显示组(Display Groups)
- 23.4.3.1. 全局操作
- 23.4.3.2. 使用定制的显示组类
- 23.4.3.3. 和显示组交互使用的方法
- 23.4.3.4. Zend_Form_DisplayGroup 方法
- 23.4.4. 子表单
- 23.4.4.1. 全局操作
- 23.4.4.2. 和子表单交互使用的方法
- 23.4.5. 元数据(Metadata)和属性(Attributes)
- 23.4.6. 装饰器
- 23.4.7. 校验
- 23.4.7.1. 定制错误消息
- 23.4.8. 方法
- 23.4.9. 配置
- 23.4.10. 定制表单
- 23.5. 使用 Zend_Form_Decorator 生成定制的表单标识(Markup)
- 23.5.1. 操作
- 23.5.2. 标准装饰器
- 23.5.3. 定制装饰器
- 23.6. Zend Framework 带有的标准表单元素
- 23.6.1. Zend_Form_Element_Button
- 23.6.2. Zend_Form_Element_Checkbox
- 23.6.3. Zend_Form_Element_Hidden
- 23.6.4. Zend_Form_Element_Hash
- 23.6.5. Zend_Form_Element_Image
- 23.6.6. Zend_Form_Element_MultiCheckbox
- 23.6.7. Zend_Form_Element_Multiselect
- 23.6.8. Zend_Form_Element_Password
- 23.6.9. Zend_Form_Element_Radio
- 23.6.10. Zend_Form_Element_Reset
- 23.6.11. Zend_Form_Element_Select
- 23.6.12. Zend_Form_Element_Submit
- 23.6.13. Zend_Form_Element_Text
- 23.6.14. Zend_Form_Element_Textarea
- 23.7. Zend Framework 带有的标准表单装饰器(Decorators)
- 23.7.1. Zend_Form_Decorator_Callback
- 23.7.2. Zend_Form_Decorator_Captcha
- 23.7.3. Zend_Form_Decorator_Description
- 23.7.4. Zend_Form_Decorator_DtDdWrapper
- 23.7.5. Zend_Form_Decorator_Errors
- 23.7.6. Zend_Form_Decorator_Fieldset
- 23.7.7. Zend_Form_Decorator_Form
- 23.7.8. Zend_Form_Decorator_FormElements
- 23.7.9. Zend_Form_Decorator_HtmlTag
- 23.7.10. Zend_Form_Decorator_Image
- 23.7.11. Zend_Form_Decorator_Label
- 23.7.12. Zend_Form_Decorator_ViewHelper
- 23.7.13. Zend_Form_Decorator_ViewScript
- 23.8. Zend_Form 的国际化
- 23.8.1. 在表单中初始化 I18n
- 23.8.2. 标准 I18n 目标
- 23.9. Zend_Form 的高级用法
- 23.9.1. 数组符号(Notation)
- 23.9.2. 多页表单
- 24. Zend_Gdata
- 24.1. Introduction
- 24.1.1. Structure of Zend_Gdata
- 24.1.2. Interacting with Google Services
- 24.1.3. Obtaining instances of Zend_Gdata classes
- 24.1.4. Google Data Client Authentication
- 24.1.5. Dependencies
- 24.1.6. Creating a new Gdata client
- 24.1.7. Common Query Parameters
- 24.1.8. Fetching a Feed
- 24.1.9. Working with Multi-page Feeds
- 24.1.10. Working with Data in Feeds and Entries
- 24.1.11. Updating Entries
- 24.1.12. Posting Entries to Google Servers
- 24.1.13. Deleting Entries on Google Servers
- 24.2. Authenticating with AuthSub
- 24.2.1. Creating an AuthSub authenticated Http Client
- 24.2.2. Revoking AuthSub authentication
- 24.3. Using the Book Search Data API
- 24.3.1. Authenticating to the Book Search service
- 24.3.2. Searching for books
- 24.3.2.1. Partner Co-Branded Search
- 24.3.3. Using community features
- 24.3.3.1. Adding a rating
- 24.3.3.2. Reviews
- 24.3.3.2.1. Adding a review
- 24.3.3.2.2. Editing a review
- 24.3.3.3. Labels
- 24.3.3.3.1. Submitting a set of labels
- 24.3.3.4. Retrieving annotations: reviews, ratings, and labels
- 24.3.3.5. Deleting Annotations
- 24.3.4. Book collections and My Library
- 24.3.4.1. Retrieving books in a user's library
- 24.3.4.1.1. Retrieving all books in a user's library
- 24.3.4.1.2. Searching for books in a user's library
- 24.3.4.2. Updating books in a user's library
- 24.3.4.2.1. Adding a book to a library
- 24.3.4.2.2. Removing a book from a library
- 24.4. Authenticating with ClientLogin
- 24.4.1. Creating a ClientLogin authenticated Http Client
- 24.4.2. Terminating a ClientLogin authenticated Http Client
- 24.5. Using Google Calendar
- 24.5.1. Connecting To The Calendar Service
- 24.5.1.1. Authentication
- 24.5.1.2. Creating A Service Instance
- 24.5.2. Retrieving A Calendar List
- 24.5.3. Retrieving Events
- 24.5.3.1. Queries
- 24.5.3.2. Retrieving Events In Order Of Start Time
- 24.5.3.3. Retrieving Events In A Specified Date Range
- 24.5.3.4. Retrieving Events By Fulltext Query
- 24.5.3.5. Retrieving Individual Events
- 24.5.4. Creating Events
- 24.5.4.1. Creating Single-Occurrence Events
- 24.5.4.2. Event Schedules and Reminders
- 24.5.4.3. Creating Recurring Events
- 24.5.4.4. Using QuickAdd
- 24.5.5. Modifying Events
- 24.5.6. Deleting Events
- 24.5.7. Accessing Event Comments
- 24.6. Using Google Documents List Data API
- 24.6.1. Get a List of Documents
- 24.6.2. Upload a Document
- 24.6.3. Searching the documents feed
- 24.6.3.1. Get a List of Word Processing Documents
- 24.6.3.2. Get a List of Spreadsheets
- 24.6.3.3. Performing a text query
- 24.7. Using Google Health
- 24.7.1. Connect To The Health Service
- 24.7.1.1. Authentication
- 24.7.1.2. Create A Health Service Instance
- 24.7.2. Profile Feed
- 24.7.2.1. Send a Structured Query
- 24.7.2.1.1. Query The Feed
- 24.7.2.2. Iterate Through The Profile Entries
- 24.7.3. Profile List Feed
- 24.7.3.1. Query The Feed
- 24.7.4. Sending Notices to the Register Feed
- 24.7.4.1. Sending a notice
- 24.8. Using Google Spreadsheets
- 24.8.1. Create a Spreadsheet
- 24.8.2. Get a List of Spreadsheets
- 24.8.3. Get a List of Worksheets
- 24.8.4. Interacting With List-based Feeds
- 24.8.4.1. Get a List-based Feed
- 24.8.4.2. Reverse-sort Rows
- 24.8.4.3. Send a Structured Query
- 24.8.4.4. Add a Row
- 24.8.4.5. Edit a Row
- 24.8.4.6. Delete a Row
- 24.8.5. Interacting With Cell-based Feeds
- 24.8.5.1. Get a Cell-based Feed
- 24.8.5.2. Send a Cell Range Query
- 24.8.5.3. Change Contents of a Cell
- 24.9. Using Google Apps Provisioning
- 24.9.1. Setting the current domain
- 24.9.1.1. Setting the domain for the service class
- 24.9.1.2. Setting the domain for query classes
- 24.9.2. Interacting with users
- 24.9.2.1. Creating a user account
- 24.9.2.2. Retrieving a user account
- 24.9.2.3. Retrieving all users in a domain
- 24.9.2.4. Updating a user account
- 24.9.2.4.1. Resetting a user's password
- 24.9.2.4.2. Forcing a user to change their password
- 24.9.2.4.3. Suspending a user account
- 24.9.2.4.4. Granting administrative rights
- 24.9.2.5. Deleting user accounts
- 24.9.3. Interacting with nicknames
- 24.9.3.1. Creating a nickname
- 24.9.3.2. Retrieving a nickname
- 24.9.3.3. Retrieving all nicknames for a user
- 24.9.3.4. Retrieving all nicknames in a domain
- 24.9.3.5. Deleting a nickname
- 24.9.4. Interacting with email lists
- 24.9.4.1. Creating an email list
- 24.9.4.2. Retrieving all email lists to which a recipient is
subscribed
- 24.9.4.3. Retrieving all email lists in a domain
- 24.9.4.4. Deleting an email list
- 24.9.5. Interacting with email list recipients
- 24.9.5.1. Adding a recipient to an email list
- 24.9.5.2. Retrieving the list of subscribers to an email list
- 24.9.5.3. Removing a recipient from an email list
- 24.9.6. Handling errors
- 24.10. Using Google Base
- 24.10.1. Connect To The Base Service
- 24.10.1.1. Authentication
- 24.10.1.2. Create A Service Instance
- 24.10.2. Retrieve Items
- 24.10.2.1. Send a Structured Query
- 24.10.2.1.1. Query Customer Items Feed
- 24.10.2.1.2. Query Snippets Feed
- 24.10.2.2. Iterate through the Items
- 24.10.3. Insert, Update, and Delete Customer Items
- 24.10.3.1. Insert an Item
- 24.10.3.2. Modify an Item
- 24.10.3.3. Delete an Item
- 24.11. Using Picasa Web Albums
- 24.11.1. Connecting To The Service
- 24.11.1.1. Authentication
- 24.11.1.2. Creating A Service Instance
- 24.11.2. Understanding and Constructing Queries
- 24.11.3. Retrieving Feeds And Entries
- 24.11.3.1. Retrieving A User
- 24.11.3.2. Retrieving An Album
- 24.11.3.3. Retrieving A Photo
- 24.11.3.4. Retrieving A Comment
- 24.11.3.5. Retrieving A Tag
- 24.11.4. Creating Entries
- 24.11.4.1. Creating An Album
- 24.11.4.2. Creating A Photo
- 24.11.4.3. Creating A Comment
- 24.11.4.4. Creating A Tag
- 24.11.5. Deleting Entries
- 24.11.5.1. Deleting An Album
- 24.11.5.2. Deleting A Photo
- 24.11.5.3. Deleting A Comment
- 24.11.5.4. Deleting A Tag
- 24.11.5.5. Optimistic Concurrency (Notes On Deletion)
- 24.12. Using the YouTube Data API
- 24.12.1. Authentication
- 24.12.2. Developer Keys and Client ID
- 24.12.3. Retrieving public video feeds
- 24.12.3.1. Searching for videos by metadata
- 24.12.3.2. Searching for videos by categories and tags/keywords
- 24.12.3.3. Retrieving standard feeds
- 24.12.3.4. Retrieving videos uploaded by a user
- 24.12.3.5. Retrieving videos favorited by a user
- 24.12.3.6. Retrieving video responses for a video
- 24.12.4. Retrieving video comments
- 24.12.5. Retrieving playlist feeds
- 24.12.5.1. Retrieving the playlists of a user
- 24.12.5.2. Retrieving a specific playlist
- 24.12.6. Retrieving a list of a user's subscriptions
- 24.12.7. Retrieving a user's profile
- 24.12.8. Uploading Videos to YouTube
- 24.12.9. Browser-based upload
- 24.12.10. Checking upload status
- 24.12.11. Other Functions
- 24.13. Catching Gdata Exceptions
- 25. Zend_Http
- 25.1. Zend_Http_Client - 介绍
- 25.1.1. 介绍
- 25.1.2. 配置参数
- 25.1.3. 执行基本 HTTP 请求
- 25.1.4. 添加 GET 和 POST 参数
- 25.1.5. 访问最后一次的请求和响应
- 25.2. Zend_Http_Client - Advanced Usage
- 25.2.1. HTTP Redirections
- 25.2.2. Adding Cookies and Using Cookie Persistence
- 25.2.3. Setting Custom Request Headers
- 25.2.4. File Uploads
- 25.2.5. Sending Raw POST Data
- 25.2.6. HTTP Authentication
- 25.2.7. Sending Multiple Requests With the Same Client
- 25.3. Zend_Http_Client - Connection Adapters
- 25.3.1. Overview
- 25.3.2. The Socket Adapter
- 25.3.3. The Proxy Adapter
- 25.3.4. The Test Adapter
- 25.3.5. The cURL Adapter
- 25.3.6. Creating your own connection adapters
- 25.4. Zend_Http_Cookie and Zend_Http_CookieJar
- 25.4.1. Introduction
- 25.4.2. Instantiating Zend_Http_Cookie Objects
- 25.4.3. Zend_Http_Cookie getter methods
- 25.4.4. Zend_Http_Cookie: Matching against a scenario
- 25.4.5. The Zend_Http_CookieJar Class: Instantiation
- 25.4.6. Adding Cookies to a Zend_Http_CookieJar object
- 25.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
- 25.5. Zend_Http_Response
- 25.5.1. 简介
- 26. Zend_InfoCard
- 26.1. Introduction
- 26.1.1. Basic Theory of Usage
- 26.1.2. Using as part of Zend_Auth
- 26.1.3. Using the Zend_InfoCard component standalone
- 26.1.4. Working with a Claims object
- 26.1.5. Attaching Information Cards to existing accounts
- 26.1.6. Creating Zend_InfoCard Adapters
- 27. Zend_Json
- 27.1. 简介
- 27.2. 基本用法
- 27.3. JSON 对象
- 27.4. XML 到 JSON 转换
- 27.5. Zend_Json_Server - JSON-RPC server
- 27.5.1. Advanced Details
- 27.5.1.1. Zend_Json_Server
- 27.5.1.2. Zend_Json_Server_Request
- 27.5.1.3. Zend_Json_Server_Response
- 27.5.1.4. Zend_Json_Server_Error
- 27.5.1.5. Zend_Json_Server_Smd
- 28. Zend_Layout
- 28.1. 简介
- 28.2. Zend_Layout 快速入门
- 28.2.1. 布局脚本
- 28.2.2. 和Zend Framework MVC一起使用 Zend_Layout
- 28.2.3. 使用Zend_Layout做为独立的组件
- 28.2.4. 尝试一下布局
- 28.3. Zend_Layout 配置选项
- 28.3.1. 范例
- 28.4. Zend_Layout 高级用法
- 28.4.1. 定制视图对象
- 28.4.2. 定制前端控制器插件
- 28.4.3. 定制动作助手
- 28.4.4. 定制布局脚本路径解析(Resolution):使用变形器(Inflector)
- 29. Zend_Ldap
- 29.1. Introduction
- 29.1.1. Theory of Operation
- 29.1.1.1. Automatic Username Canonicalization When Binding
- 29.1.1.2. Zend_Ldap Options
- 29.1.1.3. Account Name Canonicalization
- 29.1.1.4. Multi-domain Authentication and Failover
- 30. Zend_Loader
- 30.1. 动态加载文件和类
- 30.1.1. 加载文件
- 30.1.2. 加载类
- 30.1.3. 判定某个文件是否可读
- 30.1.4. 使用 Autoloader
- 30.2. The Autoloader
- 30.2.1. Using the Autoloader
- 30.2.2. The Autoloader Interface
- 30.2.3. Autoloader Reference
- 30.3. Resource Autoloaders
- 30.3.1. Resource autoloader usage
- 30.3.2. The Module Resource Autoloader
- 30.3.3. Using Resource Autoloaders as Object Factories
- 30.3.4. Resource Autoloader Reference
- 30.4. 加载插件
- 30.4.1. 基本用例
- 30.4.2. 处理插件路径
- 30.4.3. 测试插件和获取类的名字
- 31. Zend_Locale
- 31.1. Introduction
- 31.1.1. What is Localization
- 31.1.2. What is a Locale?
- 31.1.3. How are Locales Represented?
- 31.1.4. Selecting the Right Locale
- 31.1.5. Usage of automatic Locales
- 31.1.6. Using a default Locale
- 31.1.7. ZF Locale-Aware Classes
- 31.1.8. Application wide locale
- 31.1.9. Zend_Locale_Format::setOptions(array $options)
- 31.1.10. Speed up Zend_Locale and its subclasses
- 31.2. Using Zend_Locale
- 31.2.1. Copying, Cloning, and Serializing Locale Objects
- 31.2.2. Equality
- 31.2.3. Default locales
- 31.2.4. Set a new locale
- 31.2.5. Getting the language and region
- 31.2.6. Obtaining localized strings
- 31.2.7. Obtaining translations for "yes" and "no"
- 31.2.8. Get a list of all known locales
- 31.2.9. Detecting locales
- 31.3. Normalization and Localization
- 31.3.1. Number normalization: getNumber($input, Array $options)
- 31.3.1.1. Precision and Calculations
- 31.3.2. Number localization
- 31.3.3. Number testing
- 31.3.4. Float value normalization
- 31.3.5. Floating point value localization
- 31.3.6. Floating point value testing
- 31.3.7. Integer value normalization
- 31.3.8. Integer point value localization
- 31.3.9. Integer value testing
- 31.3.10. Numeral System Conversion
- 31.4. Working with Dates and Times
- 31.4.1. Normalizing Dates and Times
- 31.4.2. Testing Dates
- 31.4.3. Normalizing a Time
- 31.4.4. Testing Times
- 31.5. Supported locales
- 31.6. Migrating from previous versions
- 31.6.1. Migrating from 1.8 to 1.9 or newer
- 31.6.1.1. Depreciated methods
- 31.6.2. Migrating from 1.6 to 1.7 or newer
- 31.6.2.1. Changes when using isLocale()
- 31.6.2.2. Changes when using getDefault()
- 32. Zend_Log
- 32.1. 概述
- 32.1.1. 创建Log
- 32.1.2. 日志消息
- 32.1.3. 销毁Log
- 32.1.4. 使用内建的消息等级
- 32.1.5. 添加用户定义的日志等级
- 32.1.6. 理解日志事件
- 32.2. Writers
- 32.2.1. 写入到流(Streams)
- 32.2.2. 写入到数据库
- 32.2.3. 踩熄Writer
- 32.2.4. 测试 Mock
- 32.2.5. 组合Writers
- 32.3. Formatters
- 32.3.1. 简单格式化
- 32.3.2. 格式化到XML
- 32.4. 过滤器
- 32.4.1. 对所有Writer过滤
- 32.4.2. 过滤一个Writer实例
- 33. Zend_Mail
- 33.1. 简介
- 33.1.1. 起步
- 33.1.2. 配置缺省的 sendmail 传送器(transport)
- 33.2. 通过SMTP发送邮件
- 33.3. 通过一个SMTP连接发送多个邮
- 33.4. 使用不同的Transport对象
- 33.5. HTML邮件
- 33.6. 附件
- 33.7. 增加收件人
- 33.8. 控制MIME分界线
- 33.9. 外加邮件头信息
- 33.10. 字符集
- 33.11. 编码
- 33.12. SMTP 身份验证
- 33.13. Securing SMTP Transport
- 33.14. Reading Mail Messages
- 33.14.1. Simple example using Pop3
- 33.14.2. Opening a local storage
- 33.14.3. Opening a remote storage
- 33.14.4. Fetching messages and simple methods
- 33.14.5. Working with messages
- 33.14.6. Checking for flags
- 33.14.7. Using folders
- 33.14.8. Advanced Use
- 33.14.8.1. Using NOOP
- 33.14.8.2. Caching instances
- 33.14.8.3. Extending Protocol Classes
- 33.14.8.4. Using Quota (since 1.5)
- 34. Zend_Measure
- 34.1. Introduction
- 34.2. Creation of Measurements
- 34.2.1. Creating measurements from integers and floats
- 34.2.2. Creating measurements from strings
- 34.2.3. Measurements from localized strings
- 34.3. Outputting measurements
- 34.3.1. Automatic output
- 34.3.2. Outputting values
- 34.3.3. Output with unit of measurement
- 34.3.4. Output as localized string
- 34.4. Manipulating Measurements
- 34.4.1. Convert
- 34.4.2. Add and subtract
- 34.4.3. Compare
- 34.4.4. Compare
- 34.4.5. Manually change values
- 34.4.6. Manually change types
- 34.5. Types of measurements
- 34.5.1. Hints for Zend_Measure_Binary
- 34.5.2. Hints for Zend_Measure_Number
- 34.5.3. Roman numbers
- 35. Zend_Memory
- 35.1. 概述
- 35.1.1. 简介
- 35.1.2. 操作原理
- 35.1.2.1. 内存管理器
- 35.1.2.2. 内存容器
- 35.1.2.3. 锁定的内存
- 35.1.2.4. 可移动内存
- 35.2. 内存管理器
- 35.2.1. 创建一个内存管理器
- 35.2.2. 管理内存对象
- 35.2.2.1. 创建可移动的对象
- 35.2.2.2. 创建锁定的对象
- 35.2.2.3. 销毁对象
- 35.2.3. 内存管理器设置
- 35.2.3.1. 内存限制
- 35.2.3.2. MinSize
- 35.3. 内存对象
- 35.3.1. 可移动的
- 35.3.2. 锁定的
- 35.3.3. 内存容器 '值' 属性.
- 35.3.4. 内存容器接口
- 35.3.4.1. getRef() 方法
- 35.3.4.2. touch() 方法
- 35.3.4.3. lock() 方法
- 35.3.4.4. unlock() 方法
- 35.3.4.5. isLocked() 方法
- 36. Zend_Mime
- 36.1. Zend_Mime
- 36.1.1. 简介
- 36.1.2. 静态方法和常量
- 36.1.3. 实例化Zend_Mime
- 36.2. Zend_Mime_Message
- 36.2.1. 简介
- 36.2.2. 实例化
- 36.2.3. 增加MIME消息段
- 36.2.4. 分界线处理
- 36.2.5. 解析字符串,创建Zend_Mime_Message对象(实验性的)
- 36.3. Zend_Mime_Part
- 36.3.1. 简介
- 36.3.2. 实例化
- 36.3.3. 解析(rendering)消息段为字符串的方法
- 37. Zend_Navigation
- 37.1. Introduction
- 37.1.1. Pages and Containers
- 37.1.1.1. Pages
- 37.1.1.2. Containers
- 37.1.2. Separation of data (model) and rendering (view)
- 37.2. Pages
- 37.2.1. Common page features
- 37.2.2. Zend_Navigation_Page_Mvc
- 37.2.3. Zend_Navigation_Page_Uri
- 37.2.4. Creating custom page types
- 37.2.5. Creating pages using the page factory
- 37.3. Containers
- 37.3.1. Creating containers
- 37.3.2. Adding pages
- 37.3.3. Removing pages
- 37.3.4. Finding pages
- 37.3.5. Iterating containers
- 37.3.6. Other operations
- 38. Zend_OpenId
- 38.1. Introduction
- 38.1.1. What is OpenID?
- 38.1.2. How Does it Work?
- 38.1.3. Zend_OpenId Structure
- 38.1.4. Supported OpenID Standards
- 38.2. Zend_OpenId_Consumer Basics
- 38.2.1. OpenID Authentication
- 38.2.2. Combining all Steps in One Page
- 38.2.3. Consumer Realm
- 38.2.4. Immediate Check
- 38.2.5. Zend_OpenId_Consumer_Storage
- 38.2.6. Simple Registration Extension
- 38.2.7. Integration with Zend_Auth
- 38.2.8. Integration with Zend_Controller
- 38.3. Zend_OpenId_Provider
- 38.3.1. Quick Start
- 38.3.2. Combined Provide Scripts
- 38.3.3. Simple Registration Extension
- 38.3.4. Anything Else?
- 39. Zend_Paginator
- 39.1. Introduction
- 39.2. Usage
- 39.2.1. Paginating data collections
- 39.2.2. The DbSelect and DbTableSelect adapter
- 39.2.3. Rendering pages with view scripts
- 39.2.3.1. Example pagination controls
- 39.2.3.2. Listing of properties
- 39.3. Configuration
- 39.4. Advanced usage
- 39.4.1. Custom data source adapters
- 39.4.2. Custom scrolling styles
- 39.4.3. Caching features
- 40. Zend_Pdf
- 40.1. 简介
- 40.2. 生成和加载 PDF 文档
- 40.3. 保存修改到 PDF 文档
- 40.4. 文档页面
- 40.4.1. 页面生成
- 40.4.2. 页面克隆
- 40.5. Drawing
- 40.5.1. Geometry
- 40.5.2. Colors
- 40.5.3. Shape Drawing
- 40.5.4. Text Drawing
- 40.5.5. Using fonts
- 40.5.6. Standard PDF fonts limitations
- 40.5.7. Extracting fonts
- 40.5.8. Image Drawing
- 40.5.9. Line drawing style
- 40.5.10. Fill style
- 40.5.11. Linear Transformations
- 40.5.11.1. Rotations
- 40.5.11.2. Starting from ZF 1.8, scaling
- 40.5.11.3. Starting from ZF 1.8, translating
- 40.5.11.4. Starting from ZF 1.8, skewing
- 40.5.12. Save/restore graphics state
- 40.5.13. Clipping draw area
- 40.5.14. Styles
- 40.5.15. Transparency
- 40.6. Document Info and Metadata
- 40.7. Zend_Pdf module usage example
- 41. Zend_ProgressBar
- 41.1. Zend_ProgressBar
- 41.1.1. Introduction
- 41.1.2. Basic Usage of Zend_Progressbar
- 41.1.3. Persistent progress
- 41.1.4. Standard adapters
- 41.1.4.1. Zend_ProgressBar_Adapter_Console
- 41.1.4.2. Zend_ProgressBar_Adapter_JsPush
- 41.1.4.3. Zend_ProgressBar_Adapter_JsPull
- 42. Zend_Reflection
- 42.1. Introduction
- 42.2. Zend_Reflection Examples
- 42.3. Zend_Reflection Reference
- 42.3.1. Zend_Reflection_Docblock
- 42.3.2. Zend_Reflection_Docblock_Tag
- 42.3.3. Zend_Reflection_Docblock_Tag_Param
- 42.3.4. Zend_Reflection_Docblock_Tag_Return
- 42.3.5. Zend_Reflection_File
- 42.3.6. Zend_Reflection_Class
- 42.3.7. Zend_Reflection_Extension
- 42.3.8. Zend_Reflection_Function
- 42.3.9. Zend_Reflection_Method
- 42.3.10. Zend_Reflection_Parameter
- 42.3.11. Zend_Reflection_Property
- 43. Zend_Registry
- 43.1. 使用对象注册表(Registry)
- 43.1.1. 设置Registry中的值
- 43.1.2. 获取Registry中的值
- 43.1.3. 创建一个Registry对象
- 43.1.4. 像访问数组一样访问Registry对象
- 43.1.5. 对象方式访问Registry
- 43.1.6. 查询一个索引是否存在
- 43.1.7. 扩展Registry对象
- 43.1.8. 删除静态注册表
- 44. Zend_Rest
- 44.1. Introduction
- 44.2. Zend_Rest_Client
- 44.2.1. Introduction
- 44.2.2. Responses
- 44.2.3. Request Arguments
- 44.3. Zend_Rest_Server
- 44.3.1. Introduction
- 44.3.2. REST Server Usage
- 44.3.3. Calling a Zend_Rest_Server Service
- 44.3.4. Sending A Custom Status
- 44.3.5. Returning Custom XML Responses
- 45. Zend_Search_Lucene
- 45.1. 概述
- 45.1.1. 简介
- 45.1.2. 文档和字段对象
- 45.1.3. 理解字段类型
- 45.2. 建立索引
- 45.2.1. 创建新索引
- 45.2.2. 更新索引
- 45.3. 搜索索引
- 45.3.1. 建立查询
- 45.3.2. 搜索结果
- 45.3.3. 结果评分
- 45.4. Query Language
- 45.4.1. Terms
- 45.4.2. Fields
- 45.4.3. Wildcards
- 45.4.4. Term Modifiers
- 45.4.5. Range Searches
- 45.4.6. Fuzzy Searches
- 45.4.7. Matched terms limitation
- 45.4.8. Proximity Searches
- 45.4.9. Boosting a Term
- 45.4.10. Boolean Operators
- 45.4.10.1. AND
- 45.4.10.2. OR
- 45.4.10.3. NOT
- 45.4.10.4. &&, ||, and ! operators
- 45.4.10.5. +
- 45.4.10.6. -
- 45.4.10.7. No Operator
- 45.4.11. Grouping
- 45.4.12. Field Grouping
- 45.4.13. Escaping Special Characters
- 45.5. 查询类型
- 45.5.1. 单项查询
- 45.5.2. 多项查询
- 45.5.3. 短语查询
- 45.6. 字符集
- 45.6.1. UTF-8 和单字节字符集支持
- 45.7. 扩展性
- 45.7.1. 文本分析
- 45.7.2. 评分算法
- 45.7.3. 存储容器
- 45.8. 与 Java Lucene 的互操作性
- 45.8.1. 文件格式
- 45.8.2. 索引目录
- 45.8.3. Java 源代码
- 45.9. Advanced
- 45.9.1. Starting from 1.6, handling index format transformations
- 45.9.2. Using the index as static property
- 45.10. Best Practices
- 45.10.1. Field names
- 45.10.2. Indexing performance
- 45.10.3. Index during Shut Down
- 45.10.4. Retrieving documents by unique id
- 45.10.5. Memory Usage
- 45.10.6. Encoding
- 45.10.7. Index maintenance
- 46. Zend_Server
- 46.1. 简介
- 46.2. Zend_Server_Reflection
- 46.2.1. 简介
- 46.2.2. 用法
- 47. Zend_Service
- 47.1. 简介
- 47.2. Zend_Service_Akismet
- 47.2.1. Introduction
- 47.2.2. Verify an API key
- 47.2.3. Check for spam
- 47.2.4. Submitting known spam
- 47.2.5. Submitting false positives (ham)
- 47.2.6. Zend-specific Accessor Methods
- 47.3. Zend_Service_Amazon
- 47.3.1. Introduction
- 47.3.2. Country Codes
- 47.3.3. Looking up a Specific Amazon Item by ASIN
- 47.3.4. Performing Amazon Item Searches
- 47.3.5. Using the Alternative Query API
- 47.3.5.1. Introduction
- 47.3.6. Zend_Service_Amazon Classes
- 47.3.6.1. Zend_Service_Amazon_Item
- 47.3.6.1.1. Zend_Service_Amazon_Item::asXML()
- 47.3.6.1.2. Properties
- 47.3.6.2. Zend_Service_Amazon_Image
- 47.3.6.2.1. Properties
- 47.3.6.3. Zend_Service_Amazon_ResultSet
- 47.3.6.3.1. Zend_Service_Amazon_ResultSet::totalResults()
- 47.3.6.4. Zend_Service_Amazon_OfferSet
- 47.3.6.4.1. Properties
- 47.3.6.5. Zend_Service_Amazon_Offer
- 47.3.6.5.1. Zend_Service_Amazon_Offer Properties
- 47.3.6.6. Zend_Service_Amazon_SimilarProduct
- 47.3.6.6.1. Properties
- 47.3.6.7. Zend_Service_Amazon_Accessories
- 47.3.6.7.1. Properties
- 47.3.6.8. Zend_Service_Amazon_CustomerReview
- 47.3.6.8.1. Properties
- 47.3.6.9. Zend_Service_Amazon_EditorialReview
- 47.3.6.9.1. Properties
- 47.3.6.10. Zend_Service_Amazon_Listmania
- 47.3.6.10.1. Properties
- 47.4. Zend_Service_Amazon_Ec2
- 47.4.1. Introduction
- 47.4.2. What is Amazon Ec2?
- 47.4.3. Static Methods
- 47.5. Zend_Service_Amazon_Ec2: Instances
- 47.5.1. Instance Types
- 47.5.2. Running Amazon EC2 Instances
- 47.5.3. Amazon Instance Utilities
- 47.6. Zend_Service_Amazon_Ec2: Amazon Machine Images (AMI)
- 47.6.1. AMI Information Utilities
- 47.6.2. AMI Attribute Utilities
- 47.7. Zend_Service_Amazon_Ec2: Elastic Block Stroage (EBS)
- 47.7.1. Create EBS Volumes and Snapshots
- 47.7.2. Describing EBS Volumes and Snapshots
- 47.7.3. Attach and Detaching Volumes from Instances
- 47.7.4. Deleting EBS Volumes and Snapshots
- 47.8. Zend_Service_Amazon_Ec2: Elastic IP Addresses
- 47.9. Zend_Service_Amazon_Ec2: Keypairs
- 47.10. Zend_Service_Amazon_Ec2: Regions and Availability Zones
- 47.10.1. Amazon EC2 Regions
- 47.10.2. Amazon EC2 Availability Zones
- 47.11. Zend_Service_Amazon_Ec2: Security Groups
- 47.11.1. Security Group Maintenance
- 47.11.2. Authorizing Access
- 47.11.3. Revoking Access
- 47.12. Zend_Service_Amazon_S3
- 47.12.1. Introduction
- 47.12.2. Registering with Amazon S3
- 47.12.3. API Documentation
- 47.12.4. Features
- 47.12.5. Getting Started
- 47.12.6. Bucket operations
- 47.12.7. Object operations
- 47.12.8. Stream wrapper
- 47.13. Zend_Service_Audioscrobbler
- 47.13.1. Introduction
- 47.13.2. Users
- 47.13.3. Artists
- 47.13.4. Tracks
- 47.13.5. Tags
- 47.13.6. Groups
- 47.13.7. Forums
- 47.14. Zend_Service_Delicious
- 47.14.1. Introduction
- 47.14.2. Retrieving posts
- 47.14.3. Zend_Service_Delicious_PostList
- 47.14.4. Editing posts
- 47.14.5. Deleting posts
- 47.14.6. Adding new posts
- 47.14.7. Tags
- 47.14.8. Bundles
- 47.14.9. Public data
- 47.14.9.1. Public posts
- 47.14.10. HTTP client
- 47.15. Zend_Service_Flickr
- 47.15.1. 对Flickr搜索的介绍
- 47.15.2. 查找 Flickr 用户
- 47.15.3. 获得 Flickr 图像详细资料
- 47.15.4. Zend_Service_Flickr 类
- 47.15.4.1. Zend_Service_Flickr_ResultSet
- 47.15.4.1.1. 属性
- 47.15.4.1.2. Zend_Service_Flickr_ResultSet::totalResults()
- 47.15.4.2. Zend_Service_Flickr_Result
- 47.15.4.2.1. 属性
- 47.15.4.3. Zend_Service_Flickr_Image
- 47.15.4.3.1. 属性
- 47.16. Zend_Service_Nirvanix
- 47.16.1. Introduction
- 47.16.2. Registering with Nirvanix
- 47.16.3. API Documentation
- 47.16.4. Features
- 47.16.5. Getting Started
- 47.16.6. Understanding the Proxy
- 47.16.7. Examining Results
- 47.16.8. Handling Errors
- 47.17. Zend_Service_ReCaptcha
- 47.17.1. Introduction
- 47.17.2. Simplest use
- 47.18. Zend_Service_Simpy
- 47.18.1. Introduction
- 47.18.2. Links
- 47.18.3. Tags
- 47.18.4. Notes
- 47.18.5. Watchlists
- 47.19. Introduction
- 47.19.1. Getting Started with Zend_Service_SlideShare
- 47.19.2. The SlideShow object
- 47.19.3. Retrieving a single slide show
- 47.19.4. Retrieving Groups of Slide Shows
- 47.19.5. Zend_Service_SlideShare Caching policies
- 47.19.6. Changing the behavior of the HTTP Client
- 47.20. Zend_Service_StrikeIron
- 47.20.1. Overview
- 47.20.2. Registering with StrikeIron
- 47.20.3. Getting Started
- 47.20.4. Making Your First Query
- 47.20.5. Examining Results
- 47.20.6. Handling Errors
- 47.20.7. Checking Your Subscription
- 47.21. Zend_Service_StrikeIron: Bundled Services
- 47.21.1. ZIP Code Information
- 47.21.2. U.S. Address Verification
- 47.21.3. Sales & Use Tax Basic
- 47.22. Zend_Service_StrikeIron: Advanced Uses
- 47.22.1. Using Services by WSDL
- 47.22.2. Viewing SOAP Transactions
- 47.23. Zend_Service_Technorati
- 47.23.1. Introduction
- 47.23.2. Getting Started
- 47.23.3. Making Your First Query
- 47.23.4. Consuming Results
- 47.23.5. Handling Errors
- 47.23.6. Checking Your API Key Daily Usage
- 47.23.7. Available Technorati Queries
- 47.23.7.1. Technorati Cosmos
- 47.23.7.2. Technorati Search
- 47.23.7.3. Technorati Tag
- 47.23.7.4. Technorati DailyCounts
- 47.23.7.5. Technorati TopTags
- 47.23.7.6. Technorati BlogInfo
- 47.23.7.7. Technorati BlogPostTags
- 47.23.7.8. Technorati GetInfo
- 47.23.7.9. Technorati KeyInfo
- 47.23.8. Zend_Service_Technorati Classes
- 47.23.8.1. Zend_Service_Technorati_ResultSet
- 47.23.8.2. Zend_Service_Technorati_CosmosResultSet
- 47.23.8.3. Zend_Service_Technorati_SearchResultSet
- 47.23.8.4. Zend_Service_Technorati_TagResultSet
- 47.23.8.5. Zend_Service_Technorati_DailyCountsResultSet
- 47.23.8.6. Zend_Service_Technorati_TagsResultSet
- 47.23.8.7. Zend_Service_Technorati_Result
- 47.23.8.8. Zend_Service_Technorati_CosmosResult
- 47.23.8.9. Zend_Service_Technorati_SearchResult
- 47.23.8.10. Zend_Service_Technorati_TagResult
- 47.23.8.11. Zend_Service_Technorati_DailyCountsResult
- 47.23.8.12. Zend_Service_Technorati_TagsResult
- 47.23.8.13. Zend_Service_Technorati_GetInfoResult
- 47.23.8.14. Zend_Service_Technorati_BlogInfoResult
- 47.23.8.15. Zend_Service_Technorati_KeyInfoResult
- 47.24. Zend_Service_Twitter
- 47.24.1. Introduction
- 47.24.2. Authentication
- 47.24.3. Account Methods
- 47.24.4. Status Methods
- 47.24.5. User Methods
- 47.24.6. Direct Message Methods
- 47.24.7. Friendship Methods
- 47.24.8. Favorite Methods
- 47.24.9. Zend_Service_Twitter_Search
- 47.24.9.1. Introduction
- 47.24.9.2. Twitter Trends
- 47.24.9.3. Searching Twitter
- 47.24.9.4. Zend-specific Accessor Methods
- 47.25. Zend_Service_Yahoo
- 47.25.1. 简介
- 47.25.2. 用Yahoo!来搜索网页
- 47.25.3. 用Yahoo!来查找图片
- 47.25.4. Finding Local Businesses and Services with Yahoo!
- 47.25.5. 搜索Yahoo! 新闻
- 47.25.6. Zend_Service_Yahoo 类
- 47.25.6.1. Zend_Service_Yahoo_ResultSet
- 47.25.6.1.1. Zend_Service_Yahoo_ResultSet::totalResults()
- 47.25.6.1.2. Properties
- 47.25.6.2. Zend_Service_Yahoo_WebResultSet
- 47.25.6.3. Zend_Service_Yahoo_ImageResultSet
- 47.25.6.4. Zend_Service_Yahoo_LocalResultSet
- 47.25.6.5. Zend_Service_Yahoo_NewsResultSet
- 47.25.6.6. Zend_Service_Yahoo_Result
- 47.25.6.6.1. Properties
- 47.25.6.7. Zend_Service_Yahoo_WebResult
- 47.25.6.7.1. 属性
- 47.25.6.8. Zend_Service_Yahoo_ImageResult
- 47.25.6.8.1. 属性
- 47.25.6.9. Zend_Service_Yahoo_LocalResult
- 47.25.6.9.1. 属性
- 47.25.6.10. Zend_Service_Yahoo_NewsResult
- 47.25.6.10.1. 属性
- 47.25.6.11. Zend_Service_Yahoo_Image
- 47.25.6.11.1. Properties
- 48. Zend_Session
- 48.1. 简介
- 48.2. 基本用法
- 48.2.1. 实例教程
- 48.2.2. 迭代会话命名空间
- 48.2.3. 会话命名空间的访问器
- 48.3. 高级用法
- 48.3.1. 开启会话
- 48.3.2. 锁住会话命名空间
- 48.3.3. 命名空间过期
- 48.3.4. 会话封装和控制器
- 48.3.5. 防止每个命名空间有多重实例
- 48.3.6. 使用数组
- 48.3.7. 在对象中使用会话
- 48.3.8. 在单元测试中使用会话
- 48.4. 全局会话管理
- 48.4.1. 配置选项
- 48.4.2. 错误:Headers Already Sent
- 48.4.3. 会话标识符
- 48.4.3.1. 会话劫持和会话固定
- 48.4.4.
rememberMe(integer $seconds)
- 48.4.5.
forgetMe()
- 48.4.6.
sessionExists()
- 48.4.7.
destroy(bool $remove_cookie = true, bool $readonly = true)
- 48.4.8.
stop()
- 48.4.9.
writeClose($readonly = true)
- 48.4.10.
expireSessionCookie()
- 48.4.11.
setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
- 48.4.12.
namespaceIsset($namespace)
- 48.4.13.
namespaceUnset($namespace)
- 48.4.14.
namespaceGet($namespace)
- 48.4.15.
getIterator()
- 48.5. Zend_Session_SaveHandler_DbTable
- 49. Zend_Soap
- 49.1. Zend_Soap_Server
- 49.1.1. Zend_Soap_Server constructor
- 49.1.1.1. Zend_Soap_Server constructor for the WSDL mode
- 49.1.1.2. Zend_Soap_Server constructor for the non-WSDL mode
- 49.1.2. Methods to define Web Service API
- 49.1.3. Request and response objects handling
- 49.1.3.1. Request processing
- 49.1.3.2. Response pre-processing
- 49.2. Zend_Soap_Client
- 49.2.1. Zend_Soap_Client Constructor
- 49.2.2. Performing SOAP Requests
- 49.3. WSDL Accessor
- 49.3.1. Zend_Soap_Wsdl constructor
- 49.3.2. addMessage() method
- 49.3.3. addPortType() method
- 49.3.4. addPortOperation() method
- 49.3.5. addBinding() method
- 49.3.6. addBindingOperation() method
- 49.3.7. addSoapBinding() method
- 49.3.8. addSoapOperation() method
- 49.3.9. addService() method
- 49.3.10. Type mapping
- 49.3.10.1. Retrieving type information
- 49.3.10.2. Adding complex type information
- 49.3.11. addDocumentation() method
- 49.3.12. Get finalized WSDL document
- 49.3.13. Parsing WSDL documents
- 49.4. AutoDiscovery
- 49.4.1. AutoDiscovery Introduction
- 49.4.2. Class autodiscovering
- 49.4.3. Functions autodiscovering
- 49.4.4. Autodiscovering Datatypes
- 49.4.5. WSDL Binding Styles
- 50. Zend_Tag
- 50.1. Introduction
- 50.2. Zend_Tag_Cloud
- 50.2.1. Decorators
- 50.2.1.1. HTML Tag decorator
- 50.2.1.2. HTML Cloud decorator
- 51. Zend_Test
- 51.1. Introduction
- 51.2. Zend_Test_PHPUnit
- 51.2.1. Bootstrapping your TestCase
- 51.2.2. Testing your Controllers and MVC Applications
- 51.2.3. Assertions
- 51.2.3.1. CSS Selector Assertions
- 51.2.3.2. XPath Assertions
- 51.2.3.3. Redirect Assertions
- 51.2.3.4. Response Header Assertions
- 51.2.3.5. Request Assertions
- 51.2.4. Examples
- 52. Zend_Text
- 52.1. Zend_Text_Figlet
- 52.2. Zend_Text_Table
- 53. Zend_TimeSync
- 53.1. Introduction
- 53.1.1. Why Zend_TimeSync ?
- 53.1.2. What is NTP ?
- 53.1.3. What is SNTP?
- 53.1.4. Problematic usage
- 53.1.5. Decide which server to use
- 53.2. Working with Zend_TimeSync
- 53.2.1. Generic Time Server Request
- 53.2.2. Multiple Time Servers
- 53.2.3. Protocols of Time Servers
- 53.2.4. Using Ports for Time Servers
- 53.2.5. Time Servers Options
- 53.2.6. Using Different Time Servers
- 53.2.7. Information from Time Servers
- 53.2.8. Handling Exceptions
- 54. Zend_Tool_Framework
- 54.1. Introduction
- 54.2. Using the CLI Tool
- 54.2.1. Setting up the CLI tool
- 54.2.2. Setting up the CLI tool on Unix-like Systems
- 54.2.3. Setting up the CLI tool on Windows
- 54.2.4. Other Setup Considerations
- 54.2.5. Where To Go Next?
- 54.3. Architecture
- 54.3.1. Registry
- 54.3.2. Providers
- 54.3.3. Loaders
- 54.3.4. Manifests
- 54.3.5. Clients
- 54.4. Creating Providers to use with Zend_Tool_Framework
- 54.4.1. Basic Instructions for Creating Providers
- 54.4.2. Advanced Development Information
- 54.5. Shipped System Providers
- 54.5.1. The Version Provider
- 54.5.2. The Manifest Provider
- 55. Zend_Tool_Project
- 55.1. Zend_Tool_Project Introduction
- 55.2. Create A Project
- 55.3. Zend Tool Project Providers
- 55.4. Zend_Tool_Project Internals
- 55.4.1. Zend_Tool_Project Internal Xml Structure
- 55.4.2. Zend_Tool_Project Internal Extending
- 56. Zend_Translate
- 56.1. 简介
- 56.1.1. 开始多语言化
- 56.2. Zend_Translate适配器
- 56.2.1. 如何判断使用哪种翻译适配器
- 56.2.1.1. Zend_Translate_Adapter_Array
- 56.2.1.2. Zend_Translate_Adapter_Csv
- 56.2.1.3. Zend_Translate_Adapter_Gettext
- 56.2.1.4. Zend_Translate_Adapter_Ini
- 56.2.1.5. Zend_Translate_Adapter_Tbx
- 56.2.1.6. Zend_Translate_Adapter_Tmx
- 56.2.1.7. Zend_Translate_Adapter_Qt
- 56.2.1.8. Zend_Translate_Adapter_Xliff
- 56.2.1.9. Zend_Translate_Adapter_XmlTm
- 56.2.2. 集成编写自己的适配器
- 56.2.3. 加速所有的适配器
- 56.3. Using Translation Adapters
- 56.3.1. Translation Source Structures
- 56.3.2. Creating Array source files
- 56.3.3. Creating Gettext source files
- 56.3.4. Creating TMX source files
- 56.3.5. Creating CSV source files
- 56.3.6. Creating INI source files
- 56.3.7. Options for adapters
- 56.3.8. Handling languages
- 56.3.8.1. Automatical handling of languages
- 56.3.9. Automatic source detection
- 56.3.9.1. Language through naming directories
- 56.3.9.2. Language through filenames
- 56.3.9.2.1. Complete filename
- 56.3.9.2.2. Extension of the file
- 56.3.9.2.3. Filename tokens
- 56.3.10. Checking for translations
- 56.3.11. How to log not found translations
- 56.3.12. Accessing source data
- 56.4. Migrating from previous versions
- 56.4.1. Migrating from 1.6 to 1.7 or newer
- 56.4.1.1. Setting languages
- 57. Zend_Uri
- 57.1. Zend_Uri
- 57.1.1. 概述
- 57.1.2. 新建一个URI
- 57.1.3. 操作现有的URI
- 57.1.4. URI 验证
- 57.1.5. 公共实例方法
- 57.1.5.1. 取得URI的Schema
- 57.1.5.2. 取得整个URI
- 57.1.5.3. 验证URI
- 58. Zend_Validate
- 58.1. 简介
- 58.1.1. 什么是校验器(validator)?
- 58.1.2. 校验器的基本用法
- 58.1.3. 定制消息
- 58.1.4. 使用静态
is()
方法
- 58.2. 标准校验类
- 58.2.1. Alnum
- 58.2.2. Alpha
- 58.2.3. Barcode
- 58.2.4. Between
- 58.2.5. Ccnum
- 58.2.6. 日期
- 58.2.7. 数字
- 58.2.8. Email 地址
- 58.2.9. 浮点数
- 58.2.10. GreaterThan
- 58.2.11. 十六进制数
- 58.2.12. 主机名
- 58.2.13. InArray
- 58.2.14. 整数
- 58.2.15. Ip
- 58.2.16. LessThan
- 58.2.17. NotEmpty
- 58.2.18. Regex
- 58.2.19. StringLength
- 58.3. 校验器链
- 58.4. 编写校验器
- 58.5. Validation Messages
- 58.5.1. Limit the size of a validation message
- 59. Zend_Version
- 59.1. 读取Zend Framework的当前版本
- 60. Zend_View
- 60.1. 简介
- 60.1.1. 控制器脚本
- 60.1.2. 视图脚本
- 60.1.3. 选项
- 60.1.4. 实用访问器
- 60.2. 控制器脚本
- 60.2.1. 变量赋值
- 60.2.2. 调用视图脚本并打印输出
- 60.2.3. 视图脚本的路径
- 60.3. 视图脚本
- 60.3.1. 转义输出(Escaping Output)
- 60.3.2. 使用模板系统
- 60.3.2.1. 使用View脚本的模板系统
- 60.3.2.2. 通过Zend_View_Interface接口使用模板系统
- 60.4. 视图助手(View Helper)
- 60.4.1. 基本的助手
- 60.4.1.1. 动作视图助手
- 60.4.1.2. 区域助手(Partial Helper)
- 60.4.1.3. 占位符助手(Placeholder Helper)
- 60.4.1.3.1. 具体占位符实现
- 60.4.1.4. 文档类型助手(Doctype Helper)
- 60.4.1.5. HeadLink 助手
- 60.4.1.6. HeadMeta 助手
- 60.4.1.7. HeadScript 助手
- 60.4.1.8. HeadStyle 助手
- 60.4.1.9. HeadTitle 助手
- 60.4.1.10. HTML 对象助手
- 60.4.1.11. InlineScript 助手
- 60.4.1.12. JSON 助手
- 60.4.1.13. 翻译助手
- 60.4.2. 助手的路径
- 60.4.3. 编写自定义的助手类
- 60.5. Zend_View_Abstract
- 60.6. Migrating from Previous Versions
- 60.6.1. Migrating from versions prior to 1.7.5
- 60.6.1.1. Disabling LFI protection for the render() method
- 61. Zend_Wildfire
- 61.1. Zend_Wildfire
- 62. Zend_XmlRpc
- 62.1. 简介
- 62.2. Zend_XmlRpc_Client
- 62.2.1. 介绍
- 62.2.2. 方法调用
- 62.2.3. 类型及转换
- 62.2.3.1. PHP 原始类型作为参数
- 62.2.3.2.
Zend_XmlRpc_Value
对象作为参数
- 62.2.4. 服务代理对象
- 62.2.5. 错误处理
- 62.2.5.1. HTTP 错误
- 62.2.5.2. XML-RPC 失败
- 62.2.6. 服务器自省(introspection)
- 62.2.7. 从请求作出回应
- 62.2.8. HTTP 客户端和测试
- 62.3. Zend_XmlRpc_Server
- 62.3.1. 介绍
- 62.3.2. 基本使用
- 62.3.3. 服务器结构
- 62.3.4. 转换
- 62.3.5. 使用命名空间
- 62.3.6. 自定义请求对象
- 62.3.7. 自定义响应对象
- 62.3.8. 处理错误产生的异常
- 62.3.9. 在请求之间缓存服务器定义
- 62.3.10. 使用实例
- 62.3.10.1. 基本使用
- 62.3.10.2. 附加一个类
- 62.3.10.3. 利用命名空间附加多个类
- 62.3.10.4. 指定异常作为合法的失败响应
- 62.3.10.5. 设置自定义请求对象
- 62.3.10.6. 设置自定义响应对象
- 62.3.10.7. 在请求之间缓存服务器定义
- 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.4. 编码风格
- B.4.1. PHP 代码划分(Demarcation)
- B.4.2. 字符串
- B.4.2.1. 字符串文字
- B.4.2.2. 包含单引号(')的字符串文字
- B.4.2.3. 变量替换
- B.4.2.4. 字符串连接
- B.4.3. 数组
- B.4.3.1. 数字索引数组
- B.4.3.2. 关联数组
- B.4.4. 类
- B.4.4.1. 类的声明
- B.4.4.2. 类成员变量
- B.4.5. 函数和方法
- B.4.5.1. 函数和方法声明
- B.4.5.2. 函数和方法的用法
- B.4.6. 控制语句
- B.4.6.1. if/Else/Elseif
- B.4.6.2. Switch
- B.4.7. 注释文档
- B.4.7.1. 格式
- B.4.7.2. 文件
- B.4.7.3. 类
- B.4.7.4. 函数
- C. Zend Framework Performance Guide
- C.1. Introduction
- C.2. Class Loading
- C.2.1. How can I optimize my include_path?
- C.2.1.1. Use absolute paths
- C.2.1.2. Reduce the number of include paths you define
- C.2.1.3. Define your Zend Framework include_path as early as possible
- C.2.1.4. Define the current directory last, or not at all
- C.2.2. How can I eliminate unnecessary require_once statements?
- C.2.2.1. Strip require_once calls with find and sed
- C.2.3. How can I speed up plugin loading?
- C.2.3.1. Use the PluginLoader include file cache
- C.3. Zend_Db Performance
- C.3.1. How can I reduce overhead introduced by Zend_Db_Table for
retrieving table metadata?
- C.3.1.1. Use the metadata cache
- C.3.1.2. Hardcode your metadata in the table definition
- C.3.2. SQL generated with Zend_Db_Select s not hitting my indexes; how
can I make it better?
- C.3.2.1. Write your own tuned SQL
- C.4. Internationalization (i18n) and Localization (l10n)
- C.4.1. Which translation adapter should I use?
- C.4.1.1. Use non-XML translation adapters for greatest speed
- C.4.2. How can I make translation and localization even faster?
- C.4.2.1. Use translation and localization caches
- C.5. View Rendering
- C.5.1. How can I speed up resolution of view helpers?
- C.5.1.1. Use the PluginLoader include file cache
- C.5.1.2. Extend Zend_View to provide often used helper methods
- C.5.2. How can I speed up view partials?
- C.5.2.1. Use partial() only when really necessary
- C.5.3. How can I speed up calls to the action() view helper?
- C.5.3.1. Use the ActionStack when possible
- C.5.3.2. Favor helpers that query the model over action()
- D. 版权信息
- 索引
范例清单
- 表格清单