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_Auth
- 3.1. 简介
- 3.1.1. 适配器
- 3.1.2. 结果
- 3.1.3. 身份的持久(Persistence)
- 3.1.3.1. 在PHP Session 中的缺省持久(Persistence)
- 3.1.3.2. 实现订制存储
- 3.1.4. 使用Zend_Auth
- 3.2. 数据库表认证
- 3.2.1. 简介
- 3.2.2. 高级使用:持久一个 DbTable 结果对象
- 3.2.3. 高级用法范例
- 3.3. 摘要式认证
- 3.3.1. 简介
- 3.3.2. 规范(Specifics)
- 3.3.3. 身份(Identity)
- 3.4. HTTP 认证适配器
- 3.4.1. 简介
- 3.4.2. 设计回顾
- 3.4.3. 配置选项
- 3.4.4. Resolvers
- 3.4.4.1. 文件 Resolver
- 3.4.5. 基本用法
- 4. Zend_Cache
- 4.1. 简介
- 4.2. 缓存原理
- 4.2.1.
Zend_Cache
工厂方法
- 4.2.2. 标记纪录
- 4.2.3. 缓存清理
- 4.3. Zend_Cache前端
- 4.3.1. Zend_Cache_Core
- 4.3.1.1. 简介
- 4.3.1.2. 可用选项
- 4.3.1.3. 例子
- 4.3.2. Zend_Cache_Frontend_Output
- 4.3.2.1. 简介
- 4.3.2.2. 可用的选项
- 4.3.2.3. 例子
- 4.3.3. Zend_Cache_Frontend_Function
- 4.3.3.1. Introduction
- 4.3.3.2. A可用的选项
- 4.3.3.3. 例子
- 4.3.4. Zend_Cache_Frontend_Class
- 4.3.4.1. Introduction
- 4.3.4.2. Available options
- 4.3.4.3. Examples
- 4.3.5. Zend_Cache_Frontend_File
- 4.3.5.1. Introduction
- 4.3.5.2. Available options
- 4.3.5.3. Examples
- 4.3.6. Zend_Cache_Frontend_Page
- 4.3.6.1. Introduction
- 4.3.6.2. Available options (for this frontend in Zend_Cache factory)
- 4.3.6.3. Examples
- 4.3.6.4. 特殊的取消方法
- 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_Xcache
- 4.4.6. Zend_Cache_Backend_ZendPlatform
- 5. Zend_Config
- 5.1. 简介
- 5.2. 操作理论
- 5.3. Zend_Config_Ini
- 5.4. Zend_Config_Xml
- 6. Zend_Console_Getopt
- 6.1. Getopt 简介
- 6.2. 声明 Getopt 规则
- 6.2.1. 用短语法声明选项
- 6.2.2. 用长语法声明选项
- 6.3. 读取(Fetching)选项和参数
- 6.3.1. 操作 Getopt 异常
- 6.3.2. 通过名字读取 (Fetching)选项
- 6.3.3. 报告选项
- 6.3.4. 读取非选项参数
- 6.4. 配置 Zend_Console_Getopt
- 6.4.1. 添加选项规则
- 6.4.2. 添加帮助信息
- 6.4.3. 添加选项别名
- 6.4.4. 添加参数列表
- 6.4.5. 添加配置
- 7. Zend_Controller
- 7.1. Zend_Controller 快速入门
- 7.1.1. 简介
- 7.1.2. 入门
- 7.1.2.1. 文件系统的组织结构
- 7.1.2.2. 设置文件根目录
- 7.1.2.3. 创建URL重写规则
- 7.1.2.4. 创建你的bootstrap文件
- 7.1.2.5. 创建默认的控制器(Action Controller)
- 7.1.2.6. 创建你的视图脚本
- 7.1.2.7. 创建你自己的错误控制器
- 7.1.2.8. 访问站点!
- 7.2. Zend_Controller 基础
- 7.3. 前端控制器
- 7.3.1. 概述
- 7.3.2. 主要方法
- 7.3.2.1. getInstance()
- 7.3.2.2. setControllerDirectory() 和 addControllerDirectory()
- 7.3.2.3. addModuleDirectory() and getModuleDirectory()
- 7.3.2.4. dispatch()
- 7.3.2.5. run()
- 7.3.3. 环境访问器方法
- 7.3.4. 前端控制器参数
- 7.3.5. 继承前端控制器
- 7.4. 请求对象
- 7.4.1. 介绍
- 7.4.2. HTTP 请求
- 7.4.2.1. 访问请求数据
- 7.4.2.2. 基地址和子目录
- 7.4.2.3. 决定请求方式
- 7.4.2.4. 删除 AJAX 请求
- 7.4.3. 子类化请求对象
- 7.5. 标准路由器
- 7.5.1. 简介
- 7.5.2. 使用路由器
- 7.5.3. 基本的Rewrite路由器操作
- 7.5.4. 缺省路由
- 7.5.5. 基本 URL 和子目录
- 7.5.6. Route Types
- 7.5.6.1. Zend_Controller_Router_Route
- 7.5.6.1.1. 变量缺省
- 7.5.6.1.2. 变量请求
- 7.5.6.1.3. 主机名路由
- 7.5.6.2. Zend_Controller_Router_Route_Static
- 7.5.6.3. Zend_Controller_Router_Route_Regex
- 7.5.7. 使用 Zend_Config with the RewriteRouter
- 7.5.8. Subclassing the Router
- 7.6. 分发器
- 7.6.1. 概述
- 7.6.2. 子类化分发器
- 7.7. 动作控制器
- 7.7.1. 简介
- 7.7.2. 对象初始化
- 7.7.3. 派遣前后的钩子
- 7.7.4. 访问器
- 7.7.5. 视图集成
- 7.7.5.1. 视图初始化
- 7.7.5.2. 解析(Rendering)视图
- 7.7.6. 实用方法
- 7.7.7. 继承(Subclassing)动作控制器
- 7.8. 动作助手
- 7.8.1. 介绍
- 7.8.2. 初始化助手
- 7.8.3. 助手经纪人
- 7.8.4. 内建的动作助手
- 7.8.4.1. 动作堆栈(助手)
- 7.8.4.2. AutoComplete
- 7.8.4.2.1. AutoCompletion with Dojo
- 7.8.4.2.2. AutoCompletion with Scriptaculous
- 7.8.4.3. ContextSwitch and AjaxContext
- 7.8.4.3.1. 缺省可用的上下文
- 7.8.4.3.2. 创建定制的上下文
- 7.8.4.3.3. 为每个动作设置上下文
- 7.8.4.3.4. 初始化上下文开关
- 7.8.4.3.5. 另外的功能
- 7.8.4.3.6. AjaxContext 函数
- 7.8.4.4. FlashMessenger
- 7.8.4.4.1. 简介
- 7.8.4.4.2. Basic Usage Example
- 7.8.4.5. JSON
- 7.8.4.6. 转向器(Redirector)
- 7.8.4.6.1. 介绍
- 7.8.4.6.2. 基础用例
- 7.8.4.7. ViewRenderer
- 7.8.4.7.1. 介绍
- 7.8.4.7.2. API
- 7.8.4.7.3. 基础用法示例
- 7.8.4.7.4. 高级用法示例
- 7.8.5. 编写自己的助手
- 7.9. 响应对象
- 7.9.1. 用法
- 7.9.2. 处理消息头
- 7.9.3. 命名片段
- 7.9.4. 在响应对象中测试异常
- 7.9.5. 子类化响应对象
- 7.10. 插件
- 7.10.1. 简介
- 7.10.2. 编写插件
- 7.10.3. 使用插件
- 7.10.4. 获取和控制插件
- 7.10.5. 包含在标准发行包中的插件
- 7.10.5.1. 动作堆栈
- 7.10.5.2. Zend_Controller_Plugin_ErrorHandler
- 7.10.5.2.1. 使用 ErrorHandler 作为一个 404 处理器(handler)
- 7.10.5.2.2. 处理以前呈现的(rendered)输出
- 7.10.5.2.3. 插件用法示例
- 7.10.5.2.4. 错误控制器示例
- 7.11. 使用传统的模块目录结构
- 7.11.1. 简介
- 7.11.2. 指定模块控制器目录
- 7.11.3. Routing to modules
- 7.11.4. 模块或全局缺省控制器
- 7.12. MVC 异常
- 7.12.1. 介绍
- 7.12.2. 如何处理异常?
- 7.12.3. 可能遭遇的MVC异常
- 7.13. 从以前的版本移植
- 7.13.1. 从 1.5.x 移植到 1.6.0 或更新的版本
- 7.13.1.1. 分发器接口修改
- 7.13.2. 从 1.0.x 到 1.5.0 或更新的版本的移植
- 7.13.3. 从 0.9.3 到 1.0.0RC1 或更新的版本的移植
- 7.13.4. 从 0.9.2 移植到 0.9.3 或更新的版本
- 7.13.5. 从 0.6.0 移植到 0.8.0 或更新的版本
- 7.13.6. 从 0.2.0 或以前的版本移植到 0.6.0
- 8. Zend_Currency
- 8.1. Zend_Currency 简介
- 8.1.1. 为什么使用
Zend_Currency
?
- 8.2. 如何使用货币
- 8.2.1. 从货币创建输出
- 8.2.2. 修改货币格式
- 8.2.3. Zend_Currency 的信息方法
- 8.2.4. 设置新缺省值
- 8.2.5. 加速 Zend_Currency
- 8.3. 从前面的版本迁移
- 8.3.1. 从 1.0.2 到 1.0.3 或更新的迁移
- 9. Zend_Date
- 9.1. 简介
- 9.1.1. 永远设置缺省时区
- 9.1.2. 为什么使用 Zend_Date?
- 9.2. 操作理论
- 9.2.1. 内部(Internals)
- 9.3. 基本方法
- 9.3.1. 当前日期
- 9.3.2. Zend_Date 的例子
- 9.3.2.1. 输出日期
- 9.3.2.2. 设置日期
- 9.3.2.3. 加减日期
- 9.3.2.4. 比较日期
- 9.4. Zend_Date API 概述
- 9.4.1. Zend_Date 选项
- 9.4.1.1. 选择日期格式类型
- 9.4.1.2. DST 和日期数学
- 9.4.1.3. 月份计算
- 9.4.1.4. 用 Zend_Cache 加速日期本地化和标准化
- 9.4.1.5. 用 Zend_TimeSync 同步时间戳
- 9.4.2. 使用日期值
- 9.4.3. Basic
Zend_Date
Operations Common to Many Date Parts
- 9.4.3.1. 日期部件列表
- 9.4.3.2. List of Date Operations 日期操作列表
- 9.4.4. 比较日期
- 9.4.5. 获取日期和日期部件
- 9.4.6. 使用秒的片段
- 9.4.7. 日出 / 日落
- 9.5. 生成日期
- 9.5.1. 生成当前日期
- 9.5.2. 从数据库生成日期
- 9.5.3. 从数组生成日期
- 9.6. 一般日期函数的常量
- 9.6.1. 使用常数
- 9.6.2. 所有常数列表
- 9.6.3. 自定义 ISO 输出格式
- 9.6.4. 使用 PHP 的 date() 格式指定器的自定义输出格式
- 9.7. Working 范例
- 9.7.1. 检查日期
- 9.7.2. 日出和日落
- 9.7.3. 时区
- 10. Zend_Db
- 10.1. Zend_Db_Adapter
- 10.1.1. 简介
- 10.1.2. 添加引号防止数据库攻击
- 10.1.3. 直接查询
- 10.1.4. 事务处理
- 10.1.5. 插入数据行
- 10.1.6. 更新数据行
- 10.1.7. 删除数据行
- 10.1.8. 取回查询结果
- 10.2. Zend_Db_Statement
- 10.2.1. Creating a Statement
- 10.2.2. Executing a Statement
- 10.2.3. Fetching Results from a
SELECT
Statement
- 10.2.3.1. Fetching a Single Row from a Result Set
- 10.2.3.2. Fetching a Complete Result Set
- 10.2.3.3. Changing the Fetch Mode
- 10.2.3.4. Fetching a Single Column from a Result Set
- 10.2.3.5. Fetching a Row as an Object
- 10.3. Zend_Db_Profiler
- 10.3.1. Introduction
- 10.3.2. Using the Profiler
- 10.3.3. Advanced Profiler Usage
- 10.3.3.1. Filter by query elapsed time
- 10.3.3.2. Filter by query type
- 10.3.3.3. Retrieve profiles by query type
- 10.3.4. Specialized Profilers
- 10.3.4.1. Profiling with Firebug
- 10.4. Zend_Db_Select
- 10.4.1. 简介
- 10.4.2. 同一表中查询多列数据
- 10.4.3. 多表联合查询
- 10.4.4. WHERE条件
- 10.4.5. GROUP BY分句
- 10.4.6. HAVING 条件
- 10.4.7. ORDER BY 分句
- 10.4.8. 通过总数和偏移量进行LIMIT限制
- 10.4.9. 通过页数和总数进行LIMIT限制
- 10.5. Zend_Db_Table
- 10.5.1. 简介
- 10.5.2. 开始
- 10.5.3. 表名和主键
- 10.5.4. 插入数据
- 10.5.5. 更新数据
- 10.5.6. Deleting Rows
- 10.5.7. 根据主键查找数据
- 10.5.8. 取回一条记录
- 10.5.9. 取回多条记录
- 10.5.10. Adding Domain Logic
- 10.6. Zend_Db_Table_Row
- 10.6.1. 简介
- 10.6.2. 取回一条记录
- 10.6.3. 修改数据
- 10.7. Zend_Db_Table_Rowset
- 10.7.1. 简介
- 10.7.2. 取回结果集
- 10.7.3. 遍历结果集
- 10.8. Zend_Db_Table Relationships
- 10.8.1. Introduction
- 10.8.2. Defining Relationships
- 10.8.3. Fetching a Dependent Rowset
- 10.8.4. Fetching a Parent Row
- 10.8.5. Fetching a Rowset via a Many-to-many Relationship
- 10.8.6. Cascading Write Operations
- 10.8.6.1. Notes Regarding Cascading Operations
- 11. Zend_Debug
- 11.1. 输出变量的值 (Dumping Variables)
- 12. Zend_Dojo
- 12.1. 简介
- 12.2. Zend_Dojo_Data: dojo.data Envelopes
- 12.2.1. Zend_Dojo_Data 用法
- 12.2.2. 高级用例
- 12.2.2.1. 可用的方法
- 12.3. Dojo 视图助手
- 12.3.1. dojo() 视图助手
- 12.3.1.1. Dojo 的 Programmatic 和 Declarative 用法
- 12.3.1.2. 主题
- 12.3.1.3. 使用 Layers (定制)
- 12.3.1.4. 可用方法
- 12.3.2. Dijit-Specific 视图助手
- 12.3.2.1. Dijit 布局元素
- 12.3.2.2. Dijit 表单元素
- 12.4. Dojo 表单元素和装饰器
- 12.4.1. Dijit-Specific 表单装饰器
- 12.4.1.1. DijitElement 装饰器
- 12.4.1.2. DijitForm 装饰器
- 12.4.1.3. DijitContainer-based 装饰器
- 12.4.2. Dijit-Specific 表单元素
- 12.4.2.1. 按钮
- 12.4.2.2. 检查框
- 12.4.2.3. 组合框(ComboBox)和 FilteringSelect
- 12.4.2.4. 货币文字框
- 12.4.2.5. 日期文字框
- 12.4.2.6. 水平滑尺(HorizontalSlider)
- 12.4.2.7. 数字微调控制器(NumberSpinner)
- 12.4.2.8. 数字框
- 12.4.2.9. 密码框
- 12.4.2.10. 单选按钮
- 12.4.2.11. 滑尺摘要元素
- 12.4.2.12. 提交按钮
- 12.4.2.13. 文字框
- 12.4.2.14. Textarea
- 12.4.2.15. 时间文字框
- 12.4.2.16. 校验文字框
- 12.4.2.17. 垂直滑尺(VerticalSlider)
- 12.4.3. Dojo 表单范例
- 13. Zend_Dom
- 13.1. 简介
- 13.2. Zend_Dom_Query
- 13.2.1. 操作理论
- 13.2.2. 可用方法
- 13.2.2.1. Zend_Dom_Query
- 13.2.2.2. Zend_Dom_Query_Result
- 14. Zend_Exception
- 14.1. 使用“异常”
- 15. Zend_Feed
- 15.1. 介绍
- 15.2. 导入Feeds
- 15.2.1. 定制 feeds
- 15.2.1.1. 导入定制的数组
- 15.2.1.2. 导入定制的数据源
- 15.2.1.3. Dumping feed 内容
- 15.3. 从网页上获得Feed
- 15.4. RSS Feed的使用
- 15.5. Atom Feed的使用
- 15.6. 单个Atom条目的处理
- 15.7. 修改Feed和条目结构
- 15.8. 自定义Feed和条目类
- 16. Zend_Filter
- 16.1. 简介
- 16.1.1. 什么是过滤器(filter)?
- 16.1.2. 过滤器的基本用法
- 16.1.3. 使用静态
get()
方法
- 16.2. 标准过滤器类
- 16.2.1. Alnum
- 16.2.2. Alpha
- 16.2.3. BaseName
- 16.2.4. Digits
- 16.2.5. Dir
- 16.2.6. HtmlEntities
- 16.2.7. Int
- 16.2.8. StripNewlines
- 16.2.9. RealPath
- 16.2.10. StringToLower
- 16.2.11. StringToUpper
- 16.2.12. StringTrim
- 16.2.13. StripTags
- 16.3. 过滤器链
- 16.4. 编写过滤器
- 16.5. Zend_Filter_Input
- 16.5.1. 声明过滤器和校验器规则
- 16.5.2. 生成过滤器和校验器的处理器
- 16.5.3. 获取校验过的字段和其它报告
- 16.5.3.1. 输入值有效的查询
- 16.5.3.2. 获得无效、丢失或未知的字段
- 16.5.3.3. 获得有效字段
- 16.5.4. 使用 Metacommands 来控制过滤器或校验器规则
- 16.5.4.1. The
FIELDS
metacommand
- 16.5.4.2. The
PRESENCE
metacommand
- 16.5.4.3. The
DEFAULT_VALUE
metacommand
- 16.5.4.4. The
ALLOW_EMPTY
metacommand
- 16.5.4.5. The
BREAK_CHAIN
metacommand
- 16.5.4.6. The
MESSAGES
metacommand
- 16.5.4.7. 对所有的规则使用选项来设置 metacommands
- 16.5.5. 添加过滤器类命名空间
- 16.6. Zend_Filter_Inflector
- 16.6.1. 操作
- 16.6.2. 设置到预备的过滤器的路径
- 16.6.3. 设置变形器目标
- 16.6.4. 变形规则
- 16.6.4.1. 静态规则
- 16.6.4.2. 过滤变形器规则
- 16.6.4.3. 一次设置多个规则
- 16.6.5. 实用方法
- 16.6.6. 对 Zend_Filter_Inflector 使用 Zend_Config
- 17. Zend_Form
- 17.1. Zend_Form
- 17.2. Zend_Form 快速起步
- 17.2.1. 创建表单对象
- 17.2.2. 添加表单元素
- 17.2.3. 解析(Render)表单
- 17.2.4. 检查表单是否有效
- 17.2.5. 获得错误状态
- 17.2.6. 放到一起
- 17.2.7. 使用 Zend_Config 对象
- 17.2.8. 结论
- 17.3. 使用 Zend_Form_Element 生成表单元素
- 17.3.1. 插件加载器
- 17.3.2. 过滤器
- 17.3.3. 校验器
- 17.3.3.1. 定制错误消息
- 17.3.4. 装饰器
- 17.3.5. 元数据和属性
- 17.3.6. 标准元素
- 17.3.7. Zend_Form_Element 方法
- 17.3.8. 配置
- 17.3.9. 定制元素
- 17.4. 使用 Zend_Form 生成表单
- 17.4.1. 插件加载器
- 17.4.2. 元素(Elements)
- 17.4.2.1. 组装和读取数值
- 17.4.2.2. 全局操作
- 17.4.2.3. 和元素交互使用的方法
- 17.4.3. 显示组(Display Groups)
- 17.4.3.1. 全局操作
- 17.4.3.2. 使用定制的显示组类
- 17.4.3.3. 和显示组交互使用的方法
- 17.4.3.4. Zend_Form_DisplayGroup 方法
- 17.4.4. 子表单
- 17.4.4.1. 全局操作
- 17.4.4.2. 和子表单交互使用的方法
- 17.4.5. 元数据(Metadata)和属性(Attributes)
- 17.4.6. 装饰器
- 17.4.7. 校验
- 17.4.7.1. 定制错误消息
- 17.4.8. 方法
- 17.4.9. 配置
- 17.4.10. 定制表单
- 17.5. 使用 Zend_Form_Decorator 生成定制的表单标识(Markup)
- 17.5.1. 操作
- 17.5.2. 标准装饰器
- 17.5.3. 定制装饰器
- 17.6. Zend Framework 带有的标准表单元素
- 17.6.1. Zend_Form_Element_Button
- 17.6.2. Zend_Form_Element_Checkbox
- 17.6.3. Zend_Form_Element_Hidden
- 17.6.4. Zend_Form_Element_Hash
- 17.6.5. Zend_Form_Element_Image
- 17.6.6. Zend_Form_Element_MultiCheckbox
- 17.6.7. Zend_Form_Element_Multiselect
- 17.6.8. Zend_Form_Element_Password
- 17.6.9. Zend_Form_Element_Radio
- 17.6.10. Zend_Form_Element_Reset
- 17.6.11. Zend_Form_Element_Select
- 17.6.12. Zend_Form_Element_Submit
- 17.6.13. Zend_Form_Element_Text
- 17.6.14. Zend_Form_Element_Textarea
- 17.7. Zend Framework 带有的标准表单装饰器(Decorators)
- 17.7.1. Zend_Form_Decorator_Callback
- 17.7.2. Zend_Form_Decorator_Captcha
- 17.7.3. Zend_Form_Decorator_Description
- 17.7.4. Zend_Form_Decorator_DtDdWrapper
- 17.7.5. Zend_Form_Decorator_Errors
- 17.7.6. Zend_Form_Decorator_Fieldset
- 17.7.7. Zend_Form_Decorator_Form
- 17.7.8. Zend_Form_Decorator_FormElements
- 17.7.9. Zend_Form_Decorator_HtmlTag
- 17.7.10. Zend_Form_Decorator_Image
- 17.7.11. Zend_Form_Decorator_Label
- 17.7.12. Zend_Form_Decorator_ViewHelper
- 17.7.13. Zend_Form_Decorator_ViewScript
- 17.8. Zend_Form 的国际化
- 17.8.1. 在表单中初始化 I18n
- 17.8.2. 标准 I18n 目标
- 17.9. Zend_Form 的高级用法
- 17.9.1. 数组符号(Notation)
- 17.9.2. 多页表单
- 18. Zend_Gdata
- 18.1. Introduction
- 18.1.1. Structure of
Zend_Gdata
- 18.1.2. Interacting with Google Services
- 18.1.3. Obtaining instances of
Zend_Gdata
classes
- 18.1.4. Google Data Client Authentication
- 18.1.5. Dependencies
- 18.1.6. Creating a new Gdata client
- 18.1.7. Common Query Parameters
- 18.1.8. Fetching a Feed
- 18.1.9. Working with Multi-page Feeds
- 18.1.10. Working with Data in Feeds and Entries
- 18.1.11. Updating Entries
- 18.1.12. Posting Entries to Google Servers
- 18.1.13. Deleting Entries on Google Servers
- 18.2. Authenticating with AuthSub
- 18.2.1. Creating an AuthSub authenticated Http Client
- 18.2.2. Revoking AuthSub authentication
- 18.3. Authenticating with ClientLogin
- 18.3.1. Creating a ClientLogin authenticated Http Client
- 18.3.2. Terminating a ClientLogin authenticated Http Client
- 18.4. Using Google Calendar
- 18.4.1. Connecting To The Calendar Service
- 18.4.1.1. Authentication
- 18.4.1.2. Creating A Service Instance
- 18.4.2. Retrieving A Calendar List
- 18.4.3. Retrieving Events
- 18.4.3.1. Queries
- 18.4.3.2. Retrieving Events In Order Of Start Time
- 18.4.3.3. Retrieving Events In A Specified Date Range
- 18.4.3.4. Retrieving Events By Fulltext Query
- 18.4.3.5. Retrieving Individual Events
- 18.4.4. Creating Events
- 18.4.4.1. Creating Single-Occurrence Events
- 18.4.4.2. Event Schedules and Reminders
- 18.4.4.3. Creating Recurring Events
- 18.4.4.4. Using QuickAdd
- 18.4.5. Modifying Events
- 18.4.6. Deleting Events
- 18.4.7. Accessing Event Comments
- 18.5. Using Google Documents List Data API
- 18.5.1. Get a List of Documents
- 18.5.2. Upload a Document
- 18.5.3. Searching the documents feed
- 18.5.3.1. Get a List of Word Processing Documents
- 18.5.3.2. Get a List of Spreadsheets
- 18.5.3.3. Performing a text query
- 18.6. Using Google Spreadsheets
- 18.6.1. Create a Spreadsheet
- 18.6.2. Get a List of Spreadsheets
- 18.6.3. Get a List of Worksheets
- 18.6.4. Interacting With List-based Feeds
- 18.6.4.1. Get a List-based Feed
- 18.6.4.2. Reverse-sort Rows
- 18.6.4.3. Send a Structured Query
- 18.6.4.4. Add a Row
- 18.6.4.5. Edit a Row
- 18.6.4.6. Delete a Row
- 18.6.5. Interacting With Cell-based Feeds
- 18.6.5.1. Get a Cell-based Feed
- 18.6.5.2. Send a Cell Range Query
- 18.6.5.3. Change Contents of a Cell
- 18.7. Using Google Apps Provisioning
- 18.7.1. Setting the current domain
- 18.7.1.1. Setting the domain for the service class
- 18.7.1.2. Setting the domain for query classes
- 18.7.2. Interacting with users
- 18.7.2.1. Creating a user account
- 18.7.2.2. Retrieving a user account
- 18.7.2.3. Retrieving all users in a domain
- 18.7.2.4. Updating a user account
- 18.7.2.4.1. Resetting a user's password
- 18.7.2.4.2. Forcing a user to change their password
- 18.7.2.4.3. Suspending a user account
- 18.7.2.4.4. Granting administrative rights
- 18.7.2.5. Deleting user accounts
- 18.7.3. Interacting with nicknames
- 18.7.3.1. Creating a nickname
- 18.7.3.2. Retrieving a nickname
- 18.7.3.3. Retrieving all nicknames for a user
- 18.7.3.4. Retrieving all nicknames in a domain
- 18.7.3.5. Deleting a nickname
- 18.7.4. Interacting with email lists
- 18.7.4.1. Creating an email list
- 18.7.4.2. Retrieving all email lists to which a recipient is
subscribed
- 18.7.4.3. Retrieving all email lists in a domain
- 18.7.4.4. Deleting an email list
- 18.7.5. Interacting with email list recipients
- 18.7.5.1. Adding a recipient to an email list
- 18.7.5.2. Retrieving the list of subscribers to an email list
- 18.7.5.3. Removing a recipient from an email list
- 18.7.6. Handling errors
- 18.8. Using Google Base
- 18.8.1. Connect To The Base Service
- 18.8.1.1. Authentication
- 18.8.1.2. Create A Service Instance
- 18.8.2. Retrieve Items
- 18.8.2.1. Send a Structured Query
- 18.8.2.1.1. Query Customer Items Feed
- 18.8.2.1.2. Query Snippets Feed
- 18.8.2.2. Iterate through the Items
- 18.8.3. Insert, Update, and Delete Customer Items
- 18.8.3.1. Insert an Item
- 18.8.3.2. Modify an Item
- 18.8.3.3. Delete an Item
- 18.9. Using the YouTube Data API
- 18.9.1. Authentication
- 18.9.2. Developer Keys and Client ID
- 18.9.3. Retrieving public video feeds
- 18.9.3.1. Searching for videos by metadata
- 18.9.3.2. Searching for videos by categories and tags/keywords
- 18.9.3.3. Retrieving standard feeds
- 18.9.3.4. Retrieving videos uploaded by a user
- 18.9.3.5. Retrieving videos favorited by a user
- 18.9.3.6. Retrieving video responses for a video
- 18.9.4. Retrieving video comments
- 18.9.5. Retrieving playlist feeds
- 18.9.5.1. Retrieving the playlists of a user
- 18.9.5.2. Retrieving a specific playlist
- 18.9.6. Retrieving a list of a user's subscriptions
- 18.9.7. Retrieving a user's profile
- 18.9.8. Uploading Videos to YouTube
- 18.9.9. Browser-based upload
- 18.9.10. Checking upload status
- 18.9.11. Other Functions
- 18.10. Using Picasa Web Albums
- 18.10.1. Connecting To The Service
- 18.10.1.1. Authentication
- 18.10.1.2. Creating A Service Instance
- 18.10.2. Understanding and Constructing Queries
- 18.10.3. Retrieving Feeds And Entries
- 18.10.3.1. Retrieving A User
- 18.10.3.2. Retrieving An Album
- 18.10.3.3. Retrieving A Photo
- 18.10.3.4. Retrieving A Comment
- 18.10.3.5. Retrieving A Tag
- 18.10.4. Creating Entries
- 18.10.4.1. Creating An Album
- 18.10.4.2. Creating A Photo
- 18.10.4.3. Creating A Comment
- 18.10.4.4. Creating A Tag
- 18.10.5. Deleting Entries
- 18.10.5.1. Deleting An Album
- 18.10.5.2. Deleting A Photo
- 18.10.5.3. Deleting A Comment
- 18.10.5.4. Deleting A Tag
- 18.10.5.5. Optimistic Concurrency (Notes On Deletion)
- 18.11. Catching Gdata Exceptions
- 19. Zend_Http
- 19.1. Zend_Http_Client - 介绍
- 19.1.1. 介绍
- 19.1.2. 配置参数
- 19.1.3. 执行基本 HTTP 请求
- 19.1.4. 添加 GET 和 POST 参数
- 19.1.5. 访问最后一次的请求和响应
- 19.2. Zend_Http_Client - Advanced Usage
- 19.2.1. HTTP Redirections
- 19.2.2. Adding Cookies and Using Cookie Persistence
- 19.2.3. Setting Custom Request Headers
- 19.2.4. File Uploads
- 19.2.5. Sending Raw POST Data
- 19.2.6. HTTP Authentication
- 19.2.7. Sending Multiple Requests With the Same Client
- 19.3. Zend_Http_Client - Connection Adapters
- 19.3.1. Overview
- 19.3.2. The Socket Adapter
- 19.3.3. The Proxy Adapter
- 19.3.4. The Test Adapter
- 19.3.5. Creating your own connection adapters
- 19.4. Zend_Http_Cookie and Zend_Http_CookieJar
- 19.4.1. Introduction
- 19.4.2. Instantiating Zend_Http_Cookie Objects
- 19.4.3. Zend_Http_Cookie getter methods
- 19.4.4. Zend_Http_Cookie: Matching against a scenario
- 19.4.5. The Zend_Http_CookieJar Class: Instantiation
- 19.4.6. Adding Cookies to a Zend_Http_CookieJar object
- 19.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
- 19.5. Zend_Http_Response
- 19.5.1. 简介
- 20. Zend_InfoCard
- 20.1. Introduction
- 20.1.1. Basic Theory of Usage
- 20.1.2. Using as part of Zend_Auth
- 20.1.3. Using the Zend_InfoCard component standalone
- 20.1.4. Working with a Claims object
- 20.1.5. Attaching Information Cards to existing accounts
- 20.1.6. Creating Zend_InfoCard Adapters
- 21. Zend_Json
- 21.1. 简介
- 21.2. 基本用法
- 21.3. JSON 对象
- 21.4. XML 到 JSON 转换
- 22. Zend_Layout
- 22.1. 简介
- 22.2. Zend_Layout 快速入门
- 22.2.1. 布局脚本
- 22.2.2. 和Zend Framework MVC一起使用 Zend_Layout
- 22.2.3. 使用Zend_Layout做为独立的组件
- 22.2.4. 尝试一下布局
- 22.3. Zend_Layout 配置选项
- 22.3.1. 范例
- 22.4. Zend_Layout 高级用法
- 22.4.1. 定制视图对象
- 22.4.2. 定制前端控制器插件
- 22.4.3. 定制动作助手
- 22.4.4. 定制布局脚本路径解析(Resolution):使用变形器(Inflector)
- 23. Zend_Loader
- 23.1. 动态加载文件和类
- 23.1.1. 加载文件
- 23.1.2. 加载类
- 23.1.3. 判定某个文件是否可读
- 23.1.4. 使用 Autoloader
- 23.2. 加载插件
- 23.2.1. 基本用例
- 23.2.2. 处理插件路径
- 23.2.3. 测试插件和获取类的名字
- 24. Zend_Locale
- 24.1. Introduction
- 24.1.1. What is Localization
- 24.1.2.
What is a Locale?
- 24.1.3. How are Locales Represented?
- 24.1.4. Selecting the Right Locale
- 24.1.5. Usage of automatic Locales
- 24.1.6. Using a default Locale
- 24.1.7. ZF Locale-Aware Classes
- 24.1.8. Application wide locale
- 24.1.9. Zend_Locale_Format::setOptions(array $options)
- 24.1.10. Speed up
Zend_Locale
and its subclasses
- 24.2. Using
Zend_Locale
- 24.2.1. Copying, Cloning, and Serializing Locale Objects
- 24.2.2. Equality
- 24.2.3. Default locales
- 24.2.4. Set a new locale
- 24.2.5. Getting the language and region
- 24.2.6. Obtaining localized strings
- 24.2.7. Obtaining translations for "yes" and "no"
- 24.2.8. Get a list of all known locales
- 24.2.9. Detecting locales
- 24.3. Normalization and Localization
- 24.3.1. Number normalization: getNumber($input, Array $options)
- 24.3.1.1. Precision and Calculations
- 24.3.2. Number localization
- 24.3.3. Number testing
- 24.3.4. Float value normalization
- 24.3.5. Floating point value localization
- 24.3.6. Floating point value testing
- 24.3.7. Integer value normalization
- 24.3.8. Integer point value localization
- 24.3.9. Integer value testing
- 24.3.10. Numeral System Conversion
- 24.3.10.1. List of supported numeral systems
- 24.4. Working with Dates and Times
- 24.4.1. Normalizing Dates and Times
- 24.4.2. Testing Dates
- 24.4.3. Normalizing a Time
- 24.4.4. Testing Times
- 24.5. Supported locales
- 25. Zend_Log
- 25.1. 概述
- 25.1.1. 创建Log
- 25.1.2. 日志消息
- 25.1.3. 销毁Log
- 25.1.4. 使用内建的消息等级
- 25.1.5. 添加用户定义的日志等级
- 25.1.6. 理解日志事件
- 25.2. Writers
- 25.2.1. 写入到流(Streams)
- 25.2.2. 写入到数据库
- 25.2.3. Writing to Firebug
- 25.2.3.1. Setting Styles for Priorities
- 25.2.3.2. Preparing data for Logging
- 25.2.3.3. Exception Logging
- 25.2.3.4. Table Logging
- 25.2.4. 踩熄Writer
- 25.2.5. 测试 Mock
- 25.2.6. 组合Writers
- 25.3. Formatters
- 25.3.1. 简单格式化
- 25.3.2. 格式化到XML
- 25.4. 过滤器
- 25.4.1. 对所有Writer过滤
- 25.4.2. 过滤一个Writer实例
- 26. Zend_Mail
- 26.1. 简介
- 26.1.1. 起步
- 26.1.2. 配置缺省的 sendmail 传送器(transport)
- 26.2. 通过SMTP发送邮件
- 26.3. 通过一个SMTP连接发送多个邮
- 26.4. 使用不同的Transport对象
- 26.5. HTML邮件
- 26.6. 附件
- 26.7. 增加收件人
- 26.8. 控制MIME分界线
- 26.9. 外加邮件头信息
- 26.10. 字符集
- 26.11. 编码
- 26.12. SMTP 身份验证
- 26.13. Securing SMTP Transport
- 26.14. Reading Mail Messages
- 26.14.1. Simple example using Pop3
- 26.14.2. Opening a local storage
- 26.14.3. Opening a remote storage
- 26.14.4. Fetching messages and simple methods
- 26.14.5. Working with messages
- 26.14.6. Checking for flags
- 26.14.7. Using folders
- 26.14.8. Advanced Use
- 26.14.8.1. Using NOOP
- 26.14.8.2. Caching instances
- 26.14.8.3. Extending Protocol Classes
- 26.14.8.4. Using Quota (since 1.5)
- 27. Zend_Measure
- 27.1. Introduction
- 27.2. Creation of Measurements
- 27.2.1. Creating measurements from integers and floats
- 27.2.2. Creating measurements from strings
- 27.2.3. Measurements from localized strings
- 27.3. Outputting measurements
- 27.3.1. Automatic output
- 27.3.2. Outputting values
- 27.3.3. Output with unit of measurement
- 27.3.4. Output as localized string
- 27.4. Manipulating Measurements
- 27.4.1. Convert
- 27.4.2. Add and subtract
- 27.4.3. Compare
- 27.4.4. Compare
- 27.4.5. Manually change values
- 27.4.6. Manually change types
- 27.5. Types of measurements
- 27.5.1. Hints for
Zend_Measure_Binary
- 27.5.2. Hints for
Zend_Measure_Number
- 27.5.3. Roman numbers
- 28. Zend_Memory
- 28.1. 概述
- 28.1.1. 简介
- 28.1.2. 操作原理
- 28.1.2.1. 内存管理器
- 28.1.2.2. 内存容器
- 28.1.2.3. 锁定的内存
- 28.1.2.4. 可移动内存
- 28.2. 内存管理器
- 28.2.1. 创建一个内存管理器
- 28.2.2. 管理内存对象
- 28.2.2.1. 创建可移动的对象
- 28.2.2.2. 创建锁定的对象
- 28.2.2.3. 销毁对象
- 28.2.3. 内存管理器设置
- 28.2.3.1. 内存限制
- 28.2.3.2. MinSize
- 28.3. 内存对象
- 28.3.1. 可移动的
- 28.3.2. 锁定的
- 28.3.3. 内存容器 '值' 属性.
- 28.3.4. 内存容器接口
- 28.3.4.1. getRef() 方法
- 28.3.4.2. touch() 方法
- 28.3.4.3. lock() 方法
- 28.3.4.4. unlock() 方法
- 28.3.4.5. isLocked() 方法
- 29. Zend_Mime
- 29.1. Zend_Mime
- 29.1.1. 简介
- 29.1.2. 静态方法和常量
- 29.1.3. 实例化Zend_Mime
- 29.2. Zend_Mime_Message
- 29.2.1. 简介
- 29.2.2. 实例化
- 29.2.3. 增加MIME消息段
- 29.2.4. 分界线处理
- 29.2.5. 解析字符串,创建Zend_Mime_Message对象(实验性的)
- 29.3. Zend_Mime_Part
- 29.3.1. 简介
- 29.3.2. 实例化
- 29.3.3. 解析(rendering)消息段为字符串的方法
- 30. Zend_OpenId
- 30.1. Introduction
- 30.1.1. What is OpenID?
- 30.1.2. How Does it Work?
- 30.1.3. Zend_OpenId Structure
- 30.1.4. Supported OpenID Standards
- 30.2. Zend_OpenId_Consumer Basics
- 30.2.1. OpenID Authentication
- 30.2.2. Combining all Steps in One Page
- 30.2.3. Consumer Realm
- 30.2.4. Immediate Check
- 30.2.5. Zend_OpenId_Consumer_Storage
- 30.2.6. Simple Registration Extension
- 30.2.7. Integration with Zend_Auth
- 30.2.8. Integration with Zend_Controller
- 30.3. Zend_OpenId_Provider
- 30.3.1. Quick Start
- 30.3.2. Combined Provide Scripts
- 30.3.3. Simple Registration Extension
- 30.3.4. Anything Else?
- 31. Zend_Paginator
- 31.1. Introduction
- 31.2. Usage
- 31.2.1. Paginating data collections
- 31.2.2. Rendering pages with view scripts
- 31.2.2.1. Example pagination controls
- 31.2.2.2. Listing of properties
- 31.3. Configuration
- 31.4. Advanced usage
- 31.4.1. Custom data source adapters
- 31.4.2. Custom scrolling styles
- 31.4.3. Caching features
- 32. Zend_Pdf
- 32.1. 简介
- 32.2. 生成和加载 PDF 文档
- 32.3. 保存修改到 PDF 文档
- 32.4. 文档页面
- 32.4.1. 页面生成
- 32.4.2. 页面克隆
- 32.5. Drawing
- 32.5.1. Geometry
- 32.5.2. Colors
- 32.5.3. Shape Drawing
- 32.5.4. Text Drawing
- 32.5.5. Using fonts
- 32.5.6. Standard PDF fonts limitations.
- 32.5.7. Extracting fonts.
- 32.5.8. Image Drawing
- 32.5.9. Line drawing style
- 32.5.10. Fill style
- 32.5.11. Linear Transformations
- 32.5.11.1. Rotations.
- 32.5.11.2. Starting from ZF 1.8, scaling.
- 32.5.11.3. Starting from ZF 1.8, translating.
- 32.5.11.4. Starting from ZF 1.8, skewing.
- 32.5.12. Save/restore graphics state
- 32.5.13. Clipping draw area
- 32.5.14. Styles
- 32.5.15. Transparency
- 32.6. Zend_Pdf module usage example
- 33. Zend_ProgressBar
- 33.1. Zend_ProgressBar
- 33.1.1. Introduction
- 33.1.2. Basic Usage of
Zend_Progressbar
- 33.1.3. Persistent progress
- 33.1.4. Standard adapters
- 33.1.4.1. Zend_ProgressBar_Adapter_Console
- 33.1.4.2. Zend_ProgressBar_Adapter_JsPush
- 33.1.4.3. Zend_ProgressBar_Adapter_JsPull
- 34. Zend_Registry
- 34.1. 使用对象注册表(Registry)
- 34.1.1. 设置Registry中的值
- 34.1.2. 获取Registry中的值
- 34.1.3. 创建一个Registry对象
- 34.1.4. 像访问数组一样访问Registry对象
- 34.1.5. 对象方式访问Registry
- 34.1.6. 查询一个索引是否存在
- 34.1.7. 扩展Registry对象
- 34.1.8. 删除静态注册表
- 35. Zend_Rest
- 35.1. Introduction
- 35.2. Zend_Rest_Client
- 35.2.1. Introduction
- 35.2.2. Responses
- 35.2.3. Request Arguments
- 35.3. Zend_Rest_Server
- 35.3.1. Introduction
- 35.3.2. REST Server Usage
- 35.3.3. Calling a Zend_Rest_Server Service
- 35.3.4. Sending A Custom Status
- 35.3.5. Returning Custom XML Responses
- 36. Zend_Search_Lucene
- 36.1. 概述
- 36.1.1. 简介
- 36.1.2. 文档和字段对象
- 36.1.3. 理解字段类型
- 36.2. 建立索引
- 36.2.1. 创建新索引
- 36.2.2. 更新索引
- 36.3. 搜索索引
- 36.3.1. 建立查询
- 36.3.2. 搜索结果
- 36.3.3. 结果评分
- 36.4. Query Language
- 36.4.1. Terms
- 36.4.2. Fields
- 36.4.3. Wildcards
- 36.4.4. Term Modifiers
- 36.4.5. Range Searches
- 36.4.6. Fuzzy Searches
- 36.4.7. Proximity Searches
- 36.4.8. Boosting a Term
- 36.4.9. Boolean Operators
- 36.4.9.1. AND
- 36.4.9.2. OR
- 36.4.9.3. NOT
- 36.4.9.4. &&, ||, and ! operators
- 36.4.9.5. +
- 36.4.9.6. -
- 36.4.9.7. No Operator
- 36.4.10. Grouping
- 36.4.11. Field Grouping
- 36.4.12. Escaping Special Characters
- 36.5. 查询类型
- 36.5.1. 单项查询
- 36.5.2. 多项查询
- 36.5.3. 短语查询
- 36.6. 字符集
- 36.6.1. UTF-8 和单字节字符集支持
- 36.7. 扩展性
- 36.7.1. 文本分析
- 36.7.2. 评分算法
- 36.7.3. 存储容器
- 36.8. 与 Java Lucene 的互操作性
- 36.8.1. 文件格式
- 36.8.2. 索引目录
- 36.8.3. Java 源代码
- 36.9. Advanced
- 36.9.1. Starting from 1.6, handling index format transformations.
- 36.9.2. Using the index as static property
- 36.10. Best Practices
- 36.10.1. Field names
- 36.10.2. Indexing performance
- 36.10.3. Index during Shut Down
- 36.10.4. Retrieving documents by unique id
- 36.10.5. Memory Usage
- 36.10.6. Encoding
- 36.10.7. Index maintenance
- 37. Zend_Server
- 37.1. 简介
- 37.2. Zend_Server_Reflection
- 37.2.1. 简介
- 37.2.2. 用法
- 38. Zend_Service
- 38.1. 简介
- 38.2. Zend_Service_Akismet
- 38.2.1. Introduction
- 38.2.2. Verify an API key
- 38.2.3. Check for spam
- 38.2.4. Submitting known spam
- 38.2.5. Submitting false positives (ham)
- 38.2.6. Zend-specific Accessor Methods
- 38.3. Zend_Service_Amazon
- 38.3.1. Introduction
- 38.3.2. Country Codes
- 38.3.3. Looking up a Specific Amazon Item by ASIN
- 38.3.4. Performing Amazon Item Searches
- 38.3.5. Using the Alternative Query API
- 38.3.5.1. Introduction
- 38.3.6. Zend_Service_Amazon Classes
- 38.3.6.1. Zend_Service_Amazon_Item
- 38.3.6.1.1. Zend_Service_Amazon_Item::asXML()
- 38.3.6.1.2. Properties
- 38.3.6.2. Zend_Service_Amazon_Image
- 38.3.6.2.1. Properties
- 38.3.6.3. Zend_Service_Amazon_ResultSet
- 38.3.6.3.1. Zend_Service_Amazon_ResultSet::totalResults()
- 38.3.6.4. Zend_Service_Amazon_OfferSet
- 38.3.6.4.1. Properties
- 38.3.6.5. Zend_Service_Amazon_Offer
- 38.3.6.5.1. Zend_Service_Amazon_Offer Properties
- 38.3.6.6. Zend_Service_Amazon_SimilarProduct
- 38.3.6.6.1. Properties
- 38.3.6.7. Zend_Service_Amazon_Accessories
- 38.3.6.7.1. Properties
- 38.3.6.8. Zend_Service_Amazon_CustomerReview
- 38.3.6.8.1. Properties
- 38.3.6.9. Zend_Service_Amazon_EditorialReview
- 38.3.6.9.1. Properties
- 38.3.6.10. Zend_Service_Amazon_Listmania
- 38.3.6.10.1. Properties
- 38.4. Zend_Service_Audioscrobbler
- 38.4.1. Introduction
- 38.4.2. Users
- 38.4.3. Artists
- 38.4.4. Tracks
- 38.4.5. Tags
- 38.4.6. Groups
- 38.4.7. Forums
- 38.5. Zend_Service_Delicious
- 38.5.1. Introduction
- 38.5.2. Retrieving posts
- 38.5.3. Zend_Service_Delicious_PostList
- 38.5.4. Editing posts
- 38.5.5. Deleting posts
- 38.5.6. Adding new posts
- 38.5.7. Tags
- 38.5.8. Bundles
- 38.5.9. Public data
- 38.5.9.1. Public posts
- 38.5.10. HTTP client
- 38.6. Zend_Service_Flickr
- 38.6.1. 对Flickr搜索的介绍
- 38.6.2. 查找 Flickr 用户
- 38.6.3. 获得 Flickr 图像详细资料
- 38.6.4. Zend_Service_Flickr 类
- 38.6.4.1. Zend_Service_Flickr_ResultSet
- 38.6.4.1.1. 属性
- 38.6.4.1.2. Zend_Service_Flickr_ResultSet::totalResults()
- 38.6.4.2. Zend_Service_Flickr_Result
- 38.6.4.2.1. 属性
- 38.6.4.3. Zend_Service_Flickr_Image
- 38.6.4.3.1. 属性
- 38.7. Zend_Service_Simpy
- 38.7.1. Introduction
- 38.7.2. Links
- 38.7.3. Tags
- 38.7.4. Notes
- 38.7.5. Watchlists
- 38.8. Zend_Service_StrikeIron
- 38.8.1. Overview
- 38.8.2. Registering with StrikeIron
- 38.8.3. Getting Started
- 38.8.4. Making Your First Query
- 38.8.5. Examining Results
- 38.8.6. Handling Errors
- 38.8.7. Checking Your Subscription
- 38.9. Zend_Service_StrikeIron: Bundled Services
- 38.9.1. ZIP Code Information
- 38.9.2. U.S. Address Verification
- 38.9.3. Sales & Use Tax Basic
- 38.10. Zend_Service_StrikeIron: Advanced Uses
- 38.10.1. Using Services by WSDL
- 38.10.2. Viewing SOAP Transactions
- 38.11. Zend_Service_Yahoo
- 38.11.1. 简介
- 38.11.2. 用Yahoo!来搜索网页
- 38.11.3. 用Yahoo!来查找图片
- 38.11.4. Finding Local Businesses and Services with Yahoo!
- 38.11.5. 搜索Yahoo! 新闻
- 38.11.6. Zend_Service_Yahoo 类
- 38.11.6.1. Zend_Service_Yahoo_ResultSet
- 38.11.6.1.1. Zend_Service_Yahoo_ResultSet::totalResults()
- 38.11.6.1.2. Properties
- 38.11.6.2. Zend_Service_Yahoo_WebResultSet
- 38.11.6.3. Zend_Service_Yahoo_ImageResultSet
- 38.11.6.4. Zend_Service_Yahoo_LocalResultSet
- 38.11.6.5. Zend_Service_Yahoo_NewsResultSet
- 38.11.6.6. Zend_Service_Yahoo_Result
- 38.11.6.6.1. Properties
- 38.11.6.7. Zend_Service_Yahoo_WebResult
- 38.11.6.7.1. 属性
- 38.11.6.8. Zend_Service_Yahoo_ImageResult
- 38.11.6.8.1. 属性
- 38.11.6.9. Zend_Service_Yahoo_LocalResult
- 38.11.6.9.1. 属性
- 38.11.6.10. Zend_Service_Yahoo_NewsResult
- 38.11.6.10.1. 属性
- 38.11.6.11. Zend_Service_Yahoo_Image
- 38.11.6.11.1. Properties
- 39. Zend_Session
- 39.1. 简介
- 39.2. 基本用法
- 39.2.1. 实例教程
- 39.2.2. 迭代会话命名空间
- 39.2.3. 会话命名空间的访问器
- 39.3. 高级用法
- 39.3.1. 开启会话
- 39.3.2. 锁住会话命名空间
- 39.3.3. 命名空间过期
- 39.3.4. 会话封装和控制器
- 39.3.5. 防止每个命名空间有多重实例
- 39.3.6. 使用数组
- 39.3.7. 在对象中使用会话
- 39.3.8. 在单元测试中使用会话
- 39.4. 全局会话管理
- 39.4.1. 配置选项
- 39.4.2. 错误:Headers Already Sent
- 39.4.3. 会话标识符
- 39.4.3.1. 会话劫持和会话固定
- 39.4.4.
rememberMe(integer $seconds)
- 39.4.5.
forgetMe()
- 39.4.6.
sessionExists()
- 39.4.7.
destroy(bool $remove_cookie = true, bool $readonly = true)
- 39.4.8.
stop()
- 39.4.9.
writeClose($readonly = true)
- 39.4.10.
expireSessionCookie()
- 39.4.11.
setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
- 39.4.12.
namespaceIsset($namespace)
- 39.4.13.
namespaceUnset($namespace)
- 39.4.14.
namespaceGet($namespace)
- 39.4.15.
getIterator()
- 40. Zend_Soap
- 40.1. Zend_Soap_Server
- 40.1.1.
Zend_Soap_Server
constructor.
- 40.1.1.1.
Zend_Soap_Server
constructor for the WSDL mode.
- 40.1.1.2.
Zend_Soap_Server
constructor for the non-WSDL mode.
- 40.1.2. Methods to define Web Service API.
- 40.1.3. Request and response objects handling.
- 40.1.3.1. Request processing.
- 40.1.3.2. Response pre-processing.
- 40.2. Zend_Soap_Client
- 40.2.1.
Zend_Soap_Client
Constructor
- 40.2.2. Performing SOAP Requests
- 40.3. WSDL Accessor
- 40.3.1.
Zend_Soap_Wsdl
constructor.
- 40.3.2.
addMessage()
method.
- 40.3.3.
addPortType()
method.
- 40.3.4.
addPortOperation()
method.
- 40.3.5.
addBinding()
method.
- 40.3.6.
addBindingOperation()
method.
- 40.3.7.
addSoapBinding()
method.
- 40.3.8.
addSoapOperation()
method.
- 40.3.9.
addService()
method.
- 40.3.10. Type mapping.
- 40.3.10.1. Retrieving type information.
- 40.3.10.2. Adding complex type information.
- 40.3.11.
addDocumentation()
method.
- 40.3.12. Get finalized WSDL document.
- 40.3.13. Parsing WSDL documents
- 40.4. AutoDiscovery
- 40.4.1. AutoDiscovery Introduction
- 40.4.2. Class autodiscovering
- 40.4.3. Functions autodiscovering
- 40.4.4. Autodiscovering Datatypes
- 40.4.5. WSDL Binding Styles
- 40.4.6. Compatibility with WSDL Client Generators
- 41. Zend_Test
- 41.1. Introduction
- 41.2. Zend_Test_PHPUnit
- 41.2.1. Bootstrapping your TestCase
- 41.2.2. Testing your Controllers and MVC Applications
- 41.2.3. Assertions
- 41.2.3.1. CSS Selector Assertions
- 41.2.3.2. XPath Assertions
- 41.2.3.3. Redirect Assertions
- 41.2.3.4. Response Header Assertions
- 41.2.3.5. Request Assertions
- 41.2.4. Examples
- 42. Zend_Text
- 42.1. Zend_Text_Figlet
- 43. Zend_TimeSync
- 43.1. Introduction
- 43.1.1. Why
Zend_TimeSync
?
- 43.1.2. What is NTP ?
- 43.1.3. What is SNTP?
- 43.1.4. Problematic usage
- 43.1.5. Decide which server to use
- 43.2. Working with Zend_TimeSync
- 43.2.1. Generic Time Server Request
- 43.2.2. Multiple Time Servers
- 43.2.3. Protocols of Time Servers
- 43.2.4. Using Ports for Time Servers
- 43.2.5. Time Servers Options
- 43.2.6. Using Different Time Servers
- 43.2.7. Information from Time Servers
- 43.2.8. Handling Exceptions
- 44. Zend_Translate
- 44.1. 简介
- 44.1.1. 开始多语言化
- 44.2. Zend_Translate适配器
- 44.2.1. 如何判断使用哪种翻译适配器
- 44.2.1.1. Zend_Translate_Adapter_Array
- 44.2.1.2. Zend_Translate_Adapter_Csv
- 44.2.1.3. Zend_Translate_Adapter_Gettext
- 44.2.1.4. Zend_Translate_Adapter_Ini
- 44.2.1.5. Zend_Translate_Adapter_Tbx
- 44.2.1.6. Zend_Translate_Adapter_Tmx
- 44.2.1.7. Zend_Translate_Adapter_Qt
- 44.2.1.8. Zend_Translate_Adapter_Xliff
- 44.2.1.9. Zend_Translate_Adapter_XmlTm
- 44.2.2. 集成编写自己的适配器
- 44.2.3. 加速所有的适配器
- 44.3. Using Translation Adapters
- 44.3.1. Translation Source Structures
- 44.3.2. Creating array source files
- 44.3.3. Creating Gettext Source Files
- 44.3.4. Creating TMX Source Files
- 44.3.5. Creating CSV Source Files
- 44.3.6. Creating INI Source Files
- 44.3.7. Options for adapters
- 44.3.8. Handling languages
- 44.3.8.1. Automatically handling of languages
- 44.3.9. Automatic source detection
- 44.3.9.1. Language through naming directories
- 44.3.9.2. Language through filenames
- 44.3.9.2.1. Complete Filename
- 44.3.9.2.2. Extension of the file
- 44.3.9.2.3. Filename tokens
- 44.3.10. Checking for translations
- 44.3.11. Access to the source data
- 45. Zend_Uri
- 45.1. Zend_Uri
- 45.1.1. 概述
- 45.1.2. 新建一个URI
- 45.1.3. 操作现有的URI
- 45.1.4. URI 验证
- 45.1.5. 公共实例方法
- 45.1.5.1. 取得URI的Schema
- 45.1.5.2. 取得整个URI
- 45.1.5.3. 验证URI
- 46. Zend_Validate
- 46.1. 简介
- 46.1.1. 什么是校验器(validator)?
- 46.1.2. 校验器的基本用法
- 46.1.3. 定制消息
- 46.1.4. 使用静态
is()
方法
- 46.2. 标准校验类
- 46.2.1. Alnum
- 46.2.2. Alpha
- 46.2.3. Barcode
- 46.2.4. Between
- 46.2.5. Ccnum
- 46.2.6. 日期
- 46.2.7. 数字
- 46.2.8. Email 地址
- 46.2.9. 浮点数
- 46.2.10. GreaterThan
- 46.2.11. 十六进制数
- 46.2.12. 主机名
- 46.2.13. InArray
- 46.2.14. 整数
- 46.2.15. Ip
- 46.2.16. LessThan
- 46.2.17. NotEmpty
- 46.2.18. Regex
- 46.2.19. StringLength
- 46.3. 校验器链
- 46.4. 编写校验器
- 47. Zend_Version
- 47.1. 读取Zend Framework的当前版本
- 48. Zend_View
- 48.1. 简介
- 48.1.1. 控制器脚本
- 48.1.2. 视图脚本
- 48.1.3. 选项
- 48.1.4. 实用访问器
- 48.2. 控制器脚本
- 48.2.1. 变量赋值
- 48.2.2. 调用视图脚本并打印输出
- 48.2.3. 视图脚本的路径
- 48.3. 视图脚本
- 48.3.1. 转义输出(Escaping Output)
- 48.3.2. 使用模板系统
- 48.3.2.1. 使用View脚本的模板系统
- 48.3.2.2. 通过Zend_View_Interface接口使用模板系统
- 48.4. 视图助手(View Helper)
- 48.4.1. 基本的助手
- 48.4.1.1. 动作视图助手
- 48.4.1.2. 区域助手(Partial Helper)
- 48.4.1.3. 占位符助手(Placeholder Helper)
- 48.4.1.3.1. 具体占位符实现
- 48.4.1.4. 文档类型助手(Doctype Helper)
- 48.4.1.5. HeadLink 助手
- 48.4.1.6. HeadMeta 助手
- 48.4.1.7. HeadScript 助手
- 48.4.1.8. HeadStyle 助手
- 48.4.1.9. HeadTitle 助手
- 48.4.1.10. HTML 对象助手
- 48.4.1.11. InlineScript 助手
- 48.4.1.12. JSON 助手
- 48.4.1.13. 翻译助手
- 48.4.2. 助手的路径
- 48.4.3. 编写自定义的助手类
- 49. Zend_XmlRpc
- 49.1. 简介
- 49.2. Zend_XmlRpc_Client
- 49.2.1. 介绍
- 49.2.2. 方法调用
- 49.2.3. 类型及转换
- 49.2.3.1. PHP 原始类型作为参数
- 49.2.3.2.
Zend_XmlRpc_Value
对象作为参数
- 49.2.4. 服务代理对象
- 49.2.5. 错误处理
- 49.2.5.1. HTTP 错误
- 49.2.5.2. XML-RPC 失败
- 49.2.6. 服务器自省(introspection)
- 49.2.7. 从请求作出回应
- 49.2.8. HTTP 客户端和测试
- 49.3. Zend_XmlRpc_Server
- 49.3.1. 介绍
- 49.3.2. 基本使用
- 49.3.3. 服务器结构
- 49.3.4. 转换
- 49.3.5. 使用命名空间
- 49.3.6. 自定义请求对象
- 49.3.7. 自定义响应对象
- 49.3.8. 处理错误产生的异常
- 49.3.9. 在请求之间缓存服务器定义
- 49.3.10. 使用实例
- 49.3.10.1. 基本使用
- 49.3.10.2. 附加一个类
- 49.3.10.3. 利用命名空间附加多个类
- 49.3.10.4. 指定异常作为合法的失败响应
- 49.3.10.5. 设置自定义请求对象
- 49.3.10.6. 设置自定义响应对象
- 49.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. 版权信息
- 索引