TigerZF
🌐English

Programmer's Reference Guide

Zend Framework

07/03/2026


Table of Contents

I. Introduction to Zend Framework
1. Overview
2. Installation
II. Learning Zend Framework
3. Zend Framework Quick Start
3.1. Zend Framework & MVC Introduction
3.1.1. Zend Framework
3.1.2. Model-View-Controller
3.2. Create Your Project
3.2.1. Install Zend Framework
3.2.2. Create Your Project
3.2.3. The Bootstrap
3.2.4. Configuration
3.2.5. Action Controllers
3.2.6. Views
3.2.7. Create a virtual host
3.2.8. Checkpoint
3.3. Create A Layout
3.4. Create a Model and Database Table
3.5. Create A Form
3.6. Congratulations!
4. Autoloading in Zend Framework
4.1. Introduction
4.2. Goals and Design
4.2.1. Class Naming Conventions
4.2.2. Autoloader Conventions and Design
4.3. Basic Autoloader Usage
4.4. Resource Autoloading
4.5. Conclusion
5. Plugins in Zend Framework
5.1. Introduction
5.2. Using Plugins
5.3. Conclusion
6. Getting Started with Zend_Layout
6.1. Introduction
6.2. Using Zend_Layout
6.2.1. Layout Configuration
6.2.2. Create a Layout Script
6.2.3. Accessing the Layout Object
6.2.4. Other Operations
6.3. Zend_Layout: Conclusions
7. Getting Started Zend_View Placeholders
7.1. Introduction
7.2. Basic Placeholder Usage
7.3. Standard Placeholders
7.3.1. Setting the DocType
7.3.2. Specifying the Page Title
7.3.3. Specifying Stylesheets with HeadLink
7.3.4. Aggregating Scripts Using HeadScript
7.4. View Placeholders: Conclusion
8. Understanding and Using Zend Form Decorators
8.1. Introduction
8.2. Decorator Basics
8.2.1. Overview of the Decorator Pattern
8.2.2. Creating Your First Decorator
8.3. Layering Decorators
8.4. Rendering Individual Decorators
8.5. Creating and Rendering Composite Elements
8.5.1. The Element
8.5.2. The Decorator
8.5.3. Conclusion
8.6. Conclusion
9. Getting Started with Zend_Session, Zend_Auth, and Zend_Acl
9.1. Building Multi-User Applications With Zend Framework
9.1.1. Zend Framework
9.2. Managing User Sessions In ZF
9.2.1. Introduction to Sessions
9.2.2. Basic Usage of Zend_Session
9.2.3. Advanced Usage of Zend_Session
9.3. Authenticating Users in Zend Framework
9.3.1. Introduction to Authentication
9.3.2. Basic Usage of Zend_Auth
9.4. Building an Authorization System in Zend Framework
9.4.1. Introduction to Authorization
9.4.2. Basic Usage of Zend_Acl
10. Getting Started with Zend_Search_Lucene
10.1. Zend_Search_Lucene Introduction
10.2. Lucene Index Structure
10.3. Index Opening and Creation
10.4. Indexing
10.4.1. Indexing Policy
10.5. Searching
10.6. Supported queries
10.7. Search result pagination
11. Getting Started with Zend_Paginator
11.1. Introduction
11.2. Simple Examples
11.3. Pagination Control and ScrollingStyles
11.4. Putting it all Together
III. Zend Framework Reference
12. Zend_Acl
12.1. Introduction
12.1.1. Resources
12.1.2. Roles
12.1.3. Creating the Access Control List
12.1.4. Registering Roles
12.1.5. Defining Access Controls
12.1.6. Querying an ACL
12.2. Refining Access Controls
12.2.1. Precise Access Controls
12.2.2. Removing Access Controls
12.3. Advanced Usage
12.3.1. Storing ACL Data for Persistence
12.3.2. Writing Conditional ACL Rules with Assertions
13. Zend_Amf
13.1. Introduction
13.2. Zend_Amf_Server
13.2.1. Connecting to the Server from Flex
13.2.2. Error Handling
13.2.3. AMF Responses
13.2.4. Typed Objects
13.2.5. Resources
13.2.6. Connecting to the Server from Flash
13.2.7. Authentication
14. Zend_Application
14.1. Introduction
14.2. Zend_Application Quick Start
14.2.1. Using Zend_Tool
14.2.2. Adding Zend_Application to your application
14.2.3. Adding and creating resources
14.2.4. Next steps with Zend_Application
14.3. Theory of Operation
14.3.1. Bootstrapping
14.3.1.1. Resource Methods
14.3.1.2. Bootstraps that use resource plugins
14.3.1.3. Resource Registry
14.3.1.4. Dependency Tracking
14.3.2. Resource Plugins
14.4. Examples
14.5. Core Functionality
14.5.1. Zend_Application
14.5.2. Zend_Application_Bootstrap_Bootstrapper
14.5.3. Zend_Application_Bootstrap_ResourceBootstrapper
14.5.4. Zend_Application_Bootstrap_BootstrapAbstract
14.5.5. Zend_Application_Bootstrap_Bootstrap
14.5.5.1. Enabling Application Autoloading
14.5.6. Zend_Application_Resource_Resource
14.5.7. Zend_Application_Resource_ResourceAbstract
14.5.7.1. Resource Names
14.6. Available Resource Plugins
14.6.1. Zend_Application_Resource_Cachemanager
14.6.2. Zend_Application_Resource_Db
14.6.3. Zend_Application_Resource_Dojo
14.6.4. Zend_Application_Resource_Frontcontroller
14.6.5. Zend_Application_Resource_Layout
14.6.6. Zend_Application_Resource_Locale
14.6.6.1. Autodetect the locale to use
14.6.6.2. Autodetect the locale and adding a own fallback
14.6.6.3. Forcing a specific locale to use
14.6.6.4. Configure cache template
14.6.7. Zend_Application_Resource_Log
14.6.8. Zend_Application_Resource_Mail
14.6.9. Zend_Application_Resource_Modules
14.6.10. Zend_Application_Resource_Multidb
14.6.11. Zend_Application_Resource_Navigation
14.6.12. Zend_Application_Resource_Router
14.6.13. Zend_Application_Resource_Session
14.6.14. Zend_Application_Resource_Translate
14.6.15. Zend_Application_Resource_Useragent
14.6.15.1. Overview
14.6.15.2. Quick Start
14.6.15.3. Configuration Options
14.6.15.4. Available Methods
14.6.16. Zend_Application_Resource_View
14.6.16.1. Defining doctype to use
14.6.16.2. Defining content type and encoding to use
15. Zend_Auth
15.1. Introduction
15.1.1. Adapters
15.1.2. Results
15.1.3. Identity Persistence
15.1.3.1. Default Persistence in the PHP Session
15.1.3.2. Implementing Customized Storage
15.1.4. Usage
15.2. Database Table Authentication
15.2.1. Introduction
15.2.2. Advanced Usage: Persisting a DbTable Result Object
15.2.3. Advanced Usage By Example
15.3. Digest Authentication
15.3.1. Introduction
15.3.2. Specifics
15.3.3. Identity
15.4. HTTP Authentication Adapter
15.4.1. Introduction
15.4.2. Design Overview
15.4.3. Configuration Options
15.4.4. Resolvers
15.4.4.1. File Resolver
15.4.5. Basic Usage
15.5. LDAP Authentication
15.5.1. Introduction
15.5.2. Usage
15.5.3. The API
15.5.4. Server Options
15.5.5. Collecting Debugging Messages
15.5.6. Common Options for Specific Servers
15.5.6.1. Options for Active Directory
15.5.6.2. Options for OpenLDAP
15.6. Open ID Authentication
15.6.1. Introduction
15.6.2. Specifics
16. Zend_Barcode
16.1. Introduction
16.2. Barcode creation using Zend_Barcode class
16.2.1. Using Zend_Barcode::factory
16.2.2. Drawing a barcode
16.2.3. Renderering a barcode
16.3. Zend_Barcode Objects
16.3.1. Common Options
16.3.1.1. Particular case of static setBarcodeFont()
16.3.2. Common Additional Getters
16.3.3. Description of shipped barcodes
16.3.3.1. Zend_Barcode_Object_Error
16.3.3.2. Zend_Barcode_Object_Code128
16.3.3.3. Zend_Barcode_Object_Code25
16.3.3.4. Zend_Barcode_Object_Code25interleaved
16.3.3.5. Zend_Barcode_Object_Ean2
16.3.3.6. Zend_Barcode_Object_Ean5
16.3.3.7. Zend_Barcode_Object_Ean8
16.3.3.8. Zend_Barcode_Object_Ean13
16.3.3.9. Zend_Barcode_Object_Code39
16.3.3.10. Zend_Barcode_Object_Identcode
16.3.3.11. Zend_Barcode_Object_Itf14
16.3.3.12. Zend_Barcode_Object_Leitcode
16.3.3.13. Zend_Barcode_Object_Planet
16.3.3.14. Zend_Barcode_Object_Postnet
16.3.3.15. Zend_Barcode_Object_Royalmail
16.3.3.16. Zend_Barcode_Object_Upca
16.3.3.17. Zend_Barcode_Object_Upce
16.4. Zend_Barcode Renderers
16.4.1. Common Options
16.4.2. Zend_Barcode_Renderer_Image
16.4.3. Zend_Barcode_Renderer_Pdf
16.4.4. Zend_Barcode_Renderer_Svg
17. Zend_Cache
17.1. Introduction
17.2. The Theory of Caching
17.2.1. The Zend_Cache Factory Method
17.2.2. Tagging Records
17.2.3. Cleaning the Cache
17.3. Zend_Cache Frontends
17.3.1. Zend_Cache_Core
17.3.1.1. Introduction
17.3.1.2. Available options
17.3.1.3. Examples
17.3.2. Zend_Cache_Frontend_Output
17.3.2.1. Introduction
17.3.2.2. Available Options
17.3.2.3. Examples
17.3.3. Zend_Cache_Frontend_Function
17.3.3.1. Introduction
17.3.3.2. Available Options
17.3.3.3. Examples
17.3.4. Zend_Cache_Frontend_Class
17.3.4.1. Introduction
17.3.4.2. Available Options
17.3.4.3. Examples
17.3.5. Zend_Cache_Frontend_File
17.3.5.1. Introduction
17.3.5.2. Available Options
17.3.5.3. Examples
17.3.6. Zend_Cache_Frontend_Page
17.3.6.1. Introduction
17.3.6.2. Available Options
17.3.6.3. Examples
17.3.6.4. The Specific Cancel Method
17.3.7. Zend_Cache_Frontend_Capture
17.3.7.1. Introduction
17.4. Zend_Cache Backends
17.4.1. Zend_Cache_Backend_File
17.4.2. Zend_Cache_Backend_Sqlite
17.4.3. Zend_Cache_Backend_Memcached
17.4.4. Zend_Cache_Backend_Libmemcached
17.4.5. Zend_Cache_Backend_Apc
17.4.6. Zend_Cache_Backend_Xcache
17.4.7. Zend_Cache_Backend_ZendPlatform
17.4.8. Zend_Cache_Backend_TwoLevels
17.4.9. Zend_Cache_Backend_ZendServer_Disk and Zend_Cache_Backend_ZendServer_ShMem
17.4.10. Zend_Cache_Backend_Static
17.5. The Cache Manager
18. Zend_Captcha
18.1. Introduction
18.2. Captcha Operation
18.3. CAPTCHA Adapters
18.3.1. Zend_Captcha_Word
18.3.2. Zend_Captcha_Dumb
18.3.3. Zend_Captcha_Figlet
18.3.4. Zend_Captcha_Image
18.3.5. Zend_Captcha_ReCaptcha
19. SimpleCloud API: Zend_Cloud
19.1. Document Service Introduction
19.1.1. Zend_Cloud_DocumentService_Adapter Interface
19.1.2. Supported Adapter Options
19.1.3. Basic concepts
19.1.4. Exceptions
19.1.5. Creating a collection
19.1.6. Deleting a collection
19.1.7. Listing available collections
19.1.8. Inserting a document
19.1.9. Replacing a document
19.1.10. Updating a document
19.1.11. Deleting a document
19.1.12. Fetching a document
19.1.13. Querying a collection
19.1.14. Creating a query
19.1.15. Accessing concrete adapters
19.2. Queue Service Introduction
19.2.1. Instantiating and Configuring QueueService Adapters
19.2.1.1. Service-Specific Options
19.2.2. Basic concepts
19.2.3. Exceptions
19.2.4. Create a queue
19.2.5. Delete a queue
19.2.6. List queues
19.2.7. Set queue metadata
19.2.8. Fetch queue metadata
19.2.9. Send a message
19.2.10. Receive a message
19.2.11. Delete a message
19.2.12. Accessing concrete adapters
19.3. StorageService Introduction
19.3.1. StorageService Adapters
19.3.1.1. StorageService Adapter Options
19.3.2. Basic concepts
19.3.3. Exceptions
19.3.4. Store an item
19.3.5. Fetch an item
19.3.6. Delete an item
19.3.7. Copy an item
19.3.8. Move an item
19.3.9. Rename an item
19.3.10. List items
19.3.11. Fetching metadata
19.3.12. Store metadata
19.3.13. Delete metadata
19.3.14. Accessing concrete adapters
19.4. Zend_Cloud_Infrastructure
19.4.1. Overview
19.4.2. Quick Start
19.4.3. Available Methods
19.4.4. Examples
19.5. Zend_Cloud_Infrastructure_Adapter
19.5.1. Adapters
19.5.2. AMAZON EC2
19.5.3. Rackspace Cloud Servers
20. Zend_CodeGenerator
20.1. Introduction
20.1.1. Theory of Operation
20.2. Zend_CodeGenerator Examples
20.3. Zend_CodeGenerator Reference
20.3.1. Abstract Classes and Interfaces
20.3.1.1. Zend_CodeGenerator_Abstract
20.3.1.2. Zend_CodeGenerator_Php_Abstract
20.3.1.3. Zend_CodeGenerator_Php_Member_Abstract
20.3.2. Concrete CodeGenerator Classes
20.3.2.1. Zend_CodeGenerator_Php_Body
20.3.2.2. Zend_CodeGenerator_Php_Class
20.3.2.3. Zend_CodeGenerator_Php_Docblock
20.3.2.4. Zend_CodeGenerator_Php_Docblock_Tag
20.3.2.5. Zend_CodeGenerator_Php_DocBlock_Tag_Param
20.3.2.6. Zend_CodeGenerator_Php_DocBlock_Tag_Return
20.3.2.7. Zend_CodeGenerator_Php_File
20.3.2.8. Zend_CodeGenerator_Php_Member_Container
20.3.2.9. Zend_CodeGenerator_Php_Method
20.3.2.10. Zend_CodeGenerator_Php_Parameter
20.3.2.11. Zend_CodeGenerator_Php_Property
21. Zend_Config
21.1. Introduction
21.2. Theory of Operation
21.3. Zend_Config_Ini
21.4. Zend_Config_Json
21.4.1. Overview
21.4.2. Quick Start
21.4.3. Configuration Options
21.4.4. Available Methods
21.5. Zend_Config_Xml
21.6. Zend_Config_Yaml
21.6.1. Overview
21.6.2. Quick Start
21.6.3. Configuration Options
21.6.4. Available Methods
21.6.5. Examples
22. Zend_Config_Writer
22.1. Zend_Config_Writer
22.1.1. Notes specific to the INI writer
22.1.2. Notes specific to the YAML writer
23. Zend_Console_Getopt
23.1. Introduction
23.2. Declaring Getopt Rules
23.2.1. Declaring Options with the Short Syntax
23.2.2. Declaring Options with the Long Syntax
23.3. Fetching Options and Arguments
23.3.1. Handling Getopt Exceptions
23.3.2. Fetching Options by Name
23.3.3. Reporting Options
23.3.4. Fetching Non-option Arguments
23.4. Configuring Zend_Console_Getopt
23.4.1. Adding Option Rules
23.4.2. Adding Help Messages
23.4.3. Adding Option Aliases
23.4.4. Adding Argument Lists
23.4.5. Adding Configuration
24. Zend_Controller
24.1. Zend_Controller Quick Start
24.1.1. Introduction
24.1.2. Quick Start
24.1.2.1. Create the Filesystem Layout
24.1.2.2. Set the Document Root
24.1.2.3. Create the Rewrite Rules
24.1.2.4. Create the Bootstrap File
24.1.2.5. Create the Default Action Controller
24.1.2.6. Create the View Script
24.1.2.7. Create the Error Controller
24.1.2.8. View the Site!
24.2. Zend_Controller Basics
24.3. The Front Controller
24.3.1. Overview
24.3.2. Primary Methods
24.3.2.1. getInstance()
24.3.2.2. setControllerDirectory() and addControllerDirectory
24.3.2.3. addModuleDirectory() and getModuleDirectory()
24.3.2.4. dispatch()
24.3.2.5. run()
24.3.3. Environmental Accessor Methods
24.3.4. Front Controller Parameters
24.3.5. Extending the Front Controller
24.4. The Request Object
24.4.1. Introduction
24.4.2. HTTP Requests
24.4.2.1. Accessing Request Data
24.4.2.2. Base Url and Subdirectories
24.4.2.3. Determining the Request Method
24.4.2.4. Detecting AJAX Requests
24.4.3. Subclassing the Request Object
24.5. The Standard Router
24.5.1. Introduction
24.5.2. Using a Router
24.5.3. Basic Rewrite Router Operation
24.5.4. Default Routes
24.5.5. Base URL and Subdirectories
24.5.6. Global Parameters
24.5.7. Route Types
24.5.7.1. Zend_Controller_Router_Route
24.5.7.1.1. Variable Defaults
24.5.7.1.2. Variable Requirements
24.5.7.1.3. Translated segments
24.5.7.2. Zend_Controller_Router_Route_Static
24.5.7.3. Zend_Controller_Router_Route_Regex
24.5.7.4. Zend_Controller_Router_Route_Hostname
24.5.7.5. Zend_Controller_Router_Route_Chain
24.5.7.5.1. Chain Routes via Zend_Config
24.5.7.6. Zend_Rest_Route
24.5.7.6.1. Zend_Rest_Route Usage
24.5.7.6.2. Zend_Rest_Route with Zend_Config_Ini
24.5.7.6.3. Zend_Rest_Controller
24.5.8. Using Zend_Config with the RewriteRouter
24.5.9. Subclassing the Router
24.6. The Dispatcher
24.6.1. Overview
24.6.2. Subclassing the Dispatcher
24.7. Action Controllers
24.7.1. Introduction
24.7.2. Object Initialization
24.7.3. Pre- and Post-Dispatch Hooks
24.7.4. Accessors
24.7.5. View Integration
24.7.5.1. View Initialization
24.7.5.2. Rendering Views
24.7.6. Utility Methods
24.7.7. Subclassing the Action Controller
24.8. Action Helpers
24.8.1. Introduction
24.8.2. Helper Initialization
24.8.3. The Helper Broker
24.8.4. Built-in Action Helpers
24.8.4.1. ActionStack
24.8.4.2. AutoComplete
24.8.4.2.1. AutoCompletion with Dojo
24.8.4.2.2. AutoCompletion with Scriptaculous
24.8.4.3. ContextSwitch and AjaxContext
24.8.4.3.1. Default Contexts Available
24.8.4.3.2. Creating Custom Contexts
24.8.4.3.3. Setting Contexts Per Action
24.8.4.3.4. Initializing Context Switching
24.8.4.3.5. Additional Functionality
24.8.4.3.6. AjaxContext Functionality
24.8.4.4. FlashMessenger
24.8.4.4.1. Introduction
24.8.4.4.2. Available Methods
24.8.4.4.3. Basic Usage Example
24.8.4.5. JSON
24.8.4.5.1. Usage
24.8.4.5.2. Example
24.8.4.6. Redirector
24.8.4.6.1. Introduction
24.8.4.6.2. Basic Usage Examples
24.8.4.7. ViewRenderer
24.8.4.7.1. Introduction
24.8.4.7.2. API
24.8.4.7.3. Basic Usage Examples
24.8.4.7.4. Advanced Usage Examples
24.8.5. Writing Your Own Helpers
24.9. The Response Object
24.9.1. Usage
24.9.2. Manipulating Headers
24.9.2.1. Setting Cookie Headers
24.9.2.1.1. Constructor Arguments
24.9.3. Named Segments
24.9.4. Testing for Exceptions in the Response Object
24.9.5. Subclassing the Response Object
24.10. Plugins
24.10.1. Introduction
24.10.2. Writing Plugins
24.10.3. Using Plugins
24.10.4. Retrieving and Manipulating Plugins
24.10.5. Plugins Included in the Standard Distribution
24.10.5.1. ActionStack
24.10.5.2. Zend_Controller_Plugin_ErrorHandler
24.10.5.2.1. Using the ErrorHandler as a 404 Handler
24.10.5.2.2. Handling Previously Rendered Output
24.10.5.2.3. Plugin Usage Examples
24.10.5.2.4. Error Controller Example
24.10.5.3. Zend_Controller_Plugin_PutHandler
24.11. Using a Conventional Modular Directory Structure
24.11.1. Introduction
24.11.2. Specifying Module Controller Directories
24.11.3. Routing to Modules
24.11.4. Module or Global Default Controller
24.12. MVC Exceptions
24.12.1. Introduction
24.12.2. Handling Exceptions
24.12.3. MVC Exceptions You May Encounter
25. Zend_Currency
25.1. Introduction to Zend_Currency
25.1.1. Why should you use Zend_Currency?
25.2. Using Zend_Currency
25.2.1. Generic usage
25.2.2. Currency creation based on a locale
25.2.3. Currency creation based on a country
25.3. Options for currencies
25.4. What makes a currency?
25.5. Where is the currency?
25.6. How does the currency look like?
25.7. How much is my currency?
25.7.1. Working with currency values
25.7.2. Using precision on currencies
25.8. Calculating with currencies
25.9. Exchanging currencies
25.10. Additional informations on Zend_Currency
25.10.1. Currency informations
25.10.2. Currency Performance Optimization
26. Zend_Date
26.1. Introduction
26.1.1. Always Set a Default Timezone
26.1.2. Why Use Zend_Date?
26.2. Theory of Operation
26.2.1. Internals
26.3. Basic Methods
26.3.1. Current Date
26.3.2. Zend_Date by Example
26.3.2.1. Output a Date
26.3.2.2. Setting a Date
26.3.2.3. Adding and Subtracting Dates
26.3.2.4. Comparison of Dates
26.4. Zend_Date API Overview
26.4.1. Zend_Date Options
26.4.1.1. Selecting the Date Format Type
26.4.1.2. DST and Date Math
26.4.1.3. Month Calculations
26.4.1.4. Speed up Date Localization and Normalization with Zend_Cache
26.4.1.5. Receiving Syncronised Timestamps with Zend_TimeSync
26.4.2. Working with Date Values
26.4.3. Basic Zend_Date Operations Common to Many Date Parts
26.4.3.1. List of Date Parts
26.4.3.2. List of Date Operations
26.4.4. Comparing Dates
26.4.5. Getting Dates and Date Parts
26.4.6. Working with Fractions of Seconds
26.4.7. Sunrise / Sunset
26.5. Creation of Dates
26.5.1. Create the Actual Date
26.5.2. Create a Date from Database
26.5.3. Create Dates from an Array
26.6. Constants for General Date Functions
26.6.1. Using Constants
26.6.2. List of All Constants
26.6.3. Self-Defined OUTPUT Formats with ISO
26.6.4. Self-Defined OUTPUT Formats Using PHP's date() Format Specifiers
26.7. Working Examples
26.7.1. Checking Dates
26.7.2. Sunrise and Sunset
26.7.3. Time Zones
27. Zend_Db
27.1. Zend_Db_Adapter
27.1.1. Connecting to a Database Using an Adapter
27.1.1.1. Using a Zend_Db Adapter Constructor
27.1.1.2. Using the Zend_Db Factory
27.1.1.3. Using Zend_Config with the Zend_Db Factory
27.1.1.4. Adapter Parameters
27.1.1.5. Managing Lazy Connections
27.1.2. Example Database
27.1.3. Reading Query Results
27.1.3.1. Fetching a Complete Result Set
27.1.3.2. Changing the Fetch Mode
27.1.3.3. Fetching a Result Set as an Associative Array
27.1.3.4. Fetching a Single Column from a Result Set
27.1.3.5. Fetching Key-Value Pairs from a Result Set
27.1.3.6. Fetching a Single Row from a Result Set
27.1.3.7. Fetching a Single Scalar from a Result Set
27.1.4. Writing Changes to the Database
27.1.4.1. Inserting Data
27.1.4.2. Retrieving a Generated Value
27.1.4.3. Updating Data
27.1.4.4. Deleting Data
27.1.5. Quoting Values and Identifiers
27.1.5.1. Using quote()
27.1.5.2. Using quoteInto()
27.1.5.3. Using quoteIdentifier()
27.1.6. Controlling Database Transactions
27.1.7. Listing and Describing Tables
27.1.8. Closing a Connection
27.1.9. Running Other Database Statements
27.1.10. Retrieving Server Version
27.1.11. Notes on Specific Adapters
27.1.11.1. IBM DB2
27.1.11.2. MySQLi
27.1.11.3. Oracle
27.1.11.4. Microsoft SQL Server
27.1.11.5. PDO for IBM DB2 and Informix Dynamic Server (IDS)
27.1.11.6. PDO Microsoft SQL Server
27.1.11.7. PDO MySQL
27.1.11.8. PDO Oracle
27.1.11.9. PDO PostgreSQL
27.1.11.10. PDO SQLite
27.1.11.11. Firebird (Interbase)
27.2. Zend_Db_Statement
27.2.1. Creating a Statement
27.2.2. Executing a Statement
27.2.3. Fetching Results from a SELECT Statement
27.2.3.1. Fetching a Single Row from a Result Set
27.2.3.2. Fetching a Complete Result Set
27.2.3.3. Changing the Fetch Mode
27.2.3.4. Fetching a Single Column from a Result Set
27.2.3.5. Fetching a Row as an Object
27.3. Zend_Db_Profiler
27.3.1. Introduction
27.3.2. Using the Profiler
27.3.3. Advanced Profiler Usage
27.3.3.1. Filter by query elapsed time
27.3.3.2. Filter by query type
27.3.3.3. Retrieve profiles by query type
27.3.4. Specialized Profilers
27.3.4.1. Profiling with Firebug
27.4. Zend_Db_Select
27.4.1. Introduction
27.4.2. Creating a Select Object
27.4.3. Building Select queries
27.4.3.1. Adding a FROM clause
27.4.3.2. Adding Columns
27.4.3.3. Adding Expression Columns
27.4.3.4. Adding columns to an existing FROM or JOIN table
27.4.3.5. Adding Another Table to the Query with JOIN
27.4.3.6. Adding a WHERE Clause
27.4.3.7. Adding a GROUP BY Clause
27.4.3.8. Adding a HAVING Clause
27.4.3.9. Adding an ORDER BY Clause
27.4.3.10. Adding a LIMIT Clause
27.4.3.11. Adding the DISTINCT Query Modifier
27.4.3.12. Adding the FOR UPDATE Query Modifier
27.4.3.13. Building a UNION Query
27.4.4. Executing Select Queries
27.4.4.1. Executing Select Queries from the Db Adapter
27.4.4.2. Executing Select Queries from the Object
27.4.4.3. Converting a Select Object to a SQL String
27.4.5. Other methods
27.4.5.1. Retrieving Parts of the Select Object
27.4.5.2. Resetting Parts of the Select Object
27.5. Zend_Db_Table
27.5.1. Introduction
27.5.2. Using Zend_Db_Table as a concrete class
27.5.3. Defining a Table Class
27.5.3.1. Defining the Table Name and Schema
27.5.3.2. Defining the Table Primary Key
27.5.3.3. Overriding Table Setup Methods
27.5.3.4. Table initialization
27.5.4. Creating an Instance of a Table
27.5.4.1. Specifying a Database Adapter
27.5.4.2. Setting a Default Database Adapter
27.5.4.3. Storing a Database Adapter in the Registry
27.5.5. Inserting Rows to a Table
27.5.5.1. Using a Table with an Auto-incrementing Key
27.5.5.2. Using a Table with a Sequence
27.5.5.3. Using a Table with a Natural Key
27.5.6. Updating Rows in a Table
27.5.7. Deleting Rows from a Table
27.5.8. Finding Rows by Primary Key
27.5.9. Querying for a Set of Rows
27.5.9.1. Select API
27.5.9.2. Fetching a rowset
27.5.9.3. Advanced usage
27.5.10. Querying for a Single Row
27.5.11. Retrieving Table Metadata Information
27.5.12. Caching Table Metadata
27.5.12.1. Hardcoding Table Metadata
27.5.13. Customizing and Extending a Table Class
27.5.13.1. Using Custom Row or Rowset Classes
27.5.13.2. Defining Custom Logic for Insert, Update, and Delete
27.5.13.3. Define Custom Search Methods in Zend_Db_Table
27.5.13.4. Define Inflection in Zend_Db_Table
27.6. Zend_Db_Table_Row
27.6.1. Introduction
27.6.2. Fetching a Row
27.6.2.1. Reading column values from a row
27.6.2.2. Retrieving Row Data as an Array
27.6.2.3. Fetching data from related tables
27.6.3. Writing rows to the database
27.6.3.1. Changing column values in a row
27.6.3.2. Inserting a new row
27.6.3.3. Changing values in multiple columns
27.6.3.4. Deleting a row
27.6.4. Serializing and unserializing rows
27.6.4.1. Serializing a Row
27.6.4.2. Unserializing Row Data
27.6.4.3. Reactivating a Row as Live Data
27.6.5. Extending the Row class
27.6.5.1. Row initialization
27.6.5.2. Defining Custom Logic for Insert, Update, and Delete in Zend_Db_Table_Row
27.6.5.3. Define Inflection in Zend_Db_Table_Row
27.7. Zend_Db_Table_Rowset
27.7.1. Introduction
27.7.2. Fetching a Rowset
27.7.3. Retrieving Rows from a Rowset
27.7.4. Retrieving a Rowset as an Array
27.7.5. Serializing and Unserializing a Rowset
27.7.6. Extending the Rowset class
27.8. Zend_Db_Table Relationships
27.8.1. Introduction
27.8.2. Defining Relationships
27.8.3. Fetching a Dependent Rowset
27.8.4. Fetching a Parent Row
27.8.5. Fetching a Rowset via a Many-to-many Relationship
27.8.6. Cascading Write Operations
27.8.6.1. Notes Regarding Cascading Operations
27.9. Zend_Db_Table_Definition
27.9.1. Introduction
27.9.2. Basic Usage
27.9.3. Advanced Usage
28. Zend_Debug
28.1. Dumping Variables
29. Zend_Dojo
29.1. Introduction
29.2. Zend_Dojo_Data: dojo.data Envelopes
29.2.1. Zend_Dojo_Data Usage
29.2.2. Adding metadata to your containers
29.2.3. Advanced Use Cases
29.2.3.1. Available Methods
29.3. Dojo View Helpers
29.3.1. dojo() View Helper
29.3.1.1. Programmatic and Declarative Usage of Dojo
29.3.1.2. Themes
29.3.1.3. Using Layers (Custom Builds)
29.3.1.4. Methods Available
29.3.2. Dijit-Specific View Helpers
29.3.2.1. Dijit Layout Elements
29.3.2.2. Dijit Form Elements
29.3.2.3. Custom Dijits
29.4. Dojo Form Elements and Decorators
29.4.1. Dijit-Specific Form Decorators
29.4.1.1. DijitElement Decorator
29.4.1.2. DijitForm Decorator
29.4.1.3. DijitContainer-based Decorators
29.4.2. Dijit-Specific Form Elements
29.4.2.1. Button
29.4.2.2. CheckBox
29.4.2.3. ComboBox and FilteringSelect
29.4.2.4. CurrencyTextBox
29.4.2.5. DateTextBox
29.4.2.6. Editor
29.4.2.7. HorizontalSlider
29.4.2.8. NumberSpinner
29.4.2.9. NumberTextBox
29.4.2.10. PasswordTextBox
29.4.2.11. RadioButton
29.4.2.12. SimpleTextarea
29.4.2.13. Slider abstract element
29.4.2.14. SubmitButton
29.4.2.15. TextBox
29.4.2.16. Textarea
29.4.2.17. TimeTextBox
29.4.2.18. ValidationTextBox
29.4.2.19. VerticalSlider
29.4.3. Dojo Form Examples
29.5. Zend_Dojo build layer support
29.5.1. Introduction
29.5.2. Generating Custom Module Layers with Zend_Dojo_BuildLayer
29.5.2.1. BuildLayer options
29.5.2.1.1. Setting the view object
29.5.2.1.2. Setting the layer name
29.5.2.1.3. Including onLoad events in the generated layer
29.5.2.1.4. Including captured JavaScript in the generated layer
29.5.3. Generating Build Profiles with Zend_Dojo_BuildLayer
29.5.3.1. Build Profile options
30. Zend_Dom
30.1. Introduction
30.2. Zend_Dom_Query
30.2.1. Theory of Operation
30.2.2. Methods Available
30.2.2.1. Zend_Dom_Query
30.2.2.2. Zend_Dom_Query_Result
31. Zend_EventManager
31.1. The EventManager
31.1.1. Overview
31.1.2. Quick Start
31.1.2.1. Wildcard Listeners
31.1.3. Configuration Options
31.1.4. Available Methods
31.1.5. Examples
32. Zend_Exception
32.1. Using Exceptions
32.2. Basic usage
32.3. Previous Exceptions
33. Zend_Feed
33.1. Introduction
33.2. Importing Feeds
33.2.1. Custom feeds
33.2.1.1. Importing a custom array
33.2.1.2. Importing a custom data source
33.2.1.3. Dumping the contents of a feed
33.3. Retrieving Feeds from Web Pages
33.4. Consuming an RSS Feed
33.5. Consuming an Atom Feed
33.6. Consuming a Single Atom Entry
33.7. Modifying Feed and Entry structures
33.8. Custom Feed and Entry Classes
33.9. Zend_Feed_Reader
33.9.1. Introduction
33.9.2. Importing Feeds
33.9.3. Retrieving Underlying Feed and Entry Sources
33.9.4. Cache Support and Intelligent Requests
33.9.4.1. Adding Cache Support to Zend_Feed_Reader
33.9.4.2. HTTP Conditional GET Support
33.9.5. Locating Feed URIs from Websites
33.9.6. Attribute Collections
33.9.7. Retrieving Feed Information
33.9.8. Retrieving Entry/Item Information
33.9.9. Extending Feed and Entry APIs
33.9.9.1. Writing Zend_Feed_Reader Extensions
33.10. Zend_Feed_Writer
33.10.1. Introduction
33.10.2. Architecture
33.10.3. Getting Started
33.10.4. Setting Feed Data Points
33.10.5. Setting Entry Data Points
33.11. Zend_Feed_Pubsubhubbub
33.11.1. What is Pubsubhubbub?
33.11.2. Architecture
33.11.3. Zend_Feed_Pubsubhubbub_Publisher
33.11.4. Zend_Feed_Pubsubhubbub_Subscriber
33.11.4.1. Subscribing and Unsubscribing
33.11.4.2. Handling Subscriber Callbacks
33.11.4.3. Setting Up And Using A Callback URL Route
34. Zend_File
34.1. Zend_File_Transfer
34.1.1. Supported Adapters for Zend_File_Transfer
34.1.2. Options for Zend_File_Transfer
34.1.3. Checking Files
34.1.4. Additional File Informations
34.1.5. Progress for file uploads
34.1.5.1. Using a progressbar adapter
34.1.5.2. Using getProgress() manually
34.2. Validators for Zend_File_Transfer
34.2.1. Using Validators with Zend_File_Transfer
34.2.2. Count Validator
34.2.3. Crc32 Validator
34.2.4. ExcludeExtension Validator
34.2.5. ExcludeMimeType Validator
34.2.6. Exists Validator
34.2.7. Extension Validator
34.2.8. FilesSize Validator
34.2.9. ImageSize Validator
34.2.10. IsCompressed Validator
34.2.11. IsImage Validator
34.2.12. Hash Validator
34.2.13. Md5 Validator
34.2.14. MimeType Validator
34.2.15. NotExists Validator
34.2.16. Sha1 Validator
34.2.17. Size Validator
34.2.18. WordCount Validator
34.3. Filters for Zend_File_Transfer
34.3.1. Using filters with Zend_File_Transfer
34.3.2. Decrypt filter
34.3.3. Encrypt filter
34.3.4. LowerCase filter
34.3.5. Rename filter
34.3.6. UpperCase filter
35. Zend_Filter
35.1. Introduction
35.1.1. What is a filter?
35.1.2. Basic usage of filters
35.1.3. Using the static staticFilter() method
35.1.3.1. Namespaces
35.1.4. Double filtering
35.2. Standard Filter Classes
35.2.1. Alnum
35.2.1.1. Supported options for Zend_Filter_Alnum
35.2.1.2. Basic usage
35.2.1.3. Allow whitespaces
35.2.2. Alpha
35.2.2.1. Supported options for Zend_Filter_Alpha
35.2.2.2. Basic usage
35.2.2.3. Allow whitespace characters
35.2.3. BaseName
35.2.3.1. Supported options for Zend_Filter_BaseName
35.2.3.2. Basic usage
35.2.4. Boolean
35.2.4.1. Supported options for Zend_Filter_Boolean
35.2.4.2. Default behaviour for Zend_Filter_Boolean
35.2.4.3. Changing behaviour for Zend_Filter_Boolean
35.2.4.4. Localized booleans
35.2.4.5. Disable casting
35.2.5. Callback
35.2.5.1. Supported options for Zend_Filter_Callback
35.2.5.2. Basic usage
35.2.5.3. Default parameters within a callback
35.2.6. Compress and Decompress
35.2.6.1. Supported options for Zend_Filter_Compress and Zend_Filter_Decompress
35.2.6.2. Supported compression adapters
35.2.6.3. Generic handling
35.2.6.4. Creating an archive
35.2.6.5. Decompressing an archive
35.2.6.6. Bz2 Adapter
35.2.6.7. Gz Adapter
35.2.6.8. Lzf Adapter
35.2.6.9. Rar Adapter
35.2.6.10. Tar Adapter
35.2.6.11. Zip Adapter
35.2.7. Digits
35.2.7.1. Supported options for Zend_Filter_Digits
35.2.7.2. Basic usage
35.2.8. Dir
35.2.8.1. Supported options for Zend_Filter_Dir
35.2.8.2. Basic usage
35.2.9. Encrypt and Decrypt
35.2.9.1. Supported options for Zend_Filter_Encrypt and Zend_Filter_Decrypt
35.2.9.2. Adapter usage
35.2.9.3. Encryption with Mcrypt
35.2.9.4. Decryption with Mcrypt
35.2.9.5. Encryption with OpenSSL
35.2.9.5.1. Simplified usage with Openssl
35.2.9.5.2. Compressing the content
35.2.9.6. Decryption with OpenSSL
35.2.10. HtmlEntities
35.2.10.1. Supported options for Zend_Filter_HtmlEntities
35.2.10.2. Basic usage
35.2.10.3. Quote Style
35.2.10.4. Helper Methods
35.2.11. Int
35.2.11.1. Supported options for Zend_Filter_Int
35.2.11.2. Basic usage
35.2.12. LocalizedToNormalized and NormalizedToLocalized
35.2.12.1. Supported options for Zend_Filter_LocalizedToNormalized and Zend_Filter_NormalizedToLocalized
35.2.12.2. Workflow
35.2.12.3. Normalization for numbers
35.2.12.4. Normalization for date and time
35.2.12.5. Localization for numbers
35.2.12.6. Localization for date and time
35.2.13. Null
35.2.13.1. Supported options for Zend_Filter_Null
35.2.13.2. Default behaviour for Zend_Filter_Null
35.2.13.3. Changing behaviour for Zend_Filter_Null
35.2.14. PregReplace
35.2.14.1. Supported options for Zend_Filter_PregReplace
35.2.14.2. Basic usage
35.2.15. RealPath
35.2.15.1. Supported options for Zend_Filter_RealPath
35.2.15.2. Basic usage
35.2.15.3. Non existing paths
35.2.16. StringToLower
35.2.16.1. Supported options for Zend_Filter_StringToLower
35.2.16.2. Basic usage
35.2.16.3. Different encoded strings
35.2.17. StringToUpper
35.2.17.1. Supported options for Zend_Filter_StringToUpper
35.2.17.2. Basic usage
35.2.17.3. Different encoded strings
35.2.18. StringTrim
35.2.18.1. Supported options for Zend_Filter_StringTrim
35.2.18.2. Basic usage
35.2.18.3. Default behaviour for Zend_Filter_StringTrim
35.2.19. StripNewLines
35.2.19.1. Supported options for Zend_Filter_StripNewLines
35.2.19.2. Basic usage
35.2.20. StripTags
35.2.20.1. Supported options for Zend_Filter_StripTags
35.2.20.2. Basic usage
35.2.20.3. Allowing defined tags
35.2.20.4. Allowing defined attributes
35.3. Filter Chains
35.3.1. Changing filter chain order
35.4. Writing Filters
35.5. Zend_Filter_Input
35.5.1. Declaring Filter and Validator Rules
35.5.2. Creating the Filter and Validator Processor
35.5.3. Retrieving Validated Fields and other Reports
35.5.3.1. Querying if the input is valid
35.5.3.2. Getting Invalid, Missing, or Unknown Fields
35.5.3.3. Getting Valid Fields
35.5.4. Using Metacommands to Control Filter or Validator Rules
35.5.4.1. The FIELDS metacommand
35.5.4.2. The PRESENCE metacommand
35.5.4.3. The DEFAULT_VALUE metacommand
35.5.4.4. The ALLOW_EMPTY metacommand
35.5.4.5. The BREAK_CHAIN metacommand
35.5.4.6. The MESSAGES metacommand
35.5.4.7. Using options to set metacommands for all rules
35.5.5. Adding Filter Class Namespaces
35.6. Zend_Filter_Inflector
35.6.1. Operation
35.6.2. Setting Paths To Alternate Filters
35.6.3. Setting the Inflector Target
35.6.4. Inflection Rules
35.6.4.1. Static Rules
35.6.4.2. Filter Inflector Rules
35.6.4.3. Setting Many Rules At Once
35.6.5. Utility Methods
35.6.6. Using Zend_Config with Zend_Filter_Inflector
36. Zend_Form
36.1. Zend_Form
36.2. Zend_Form Quick Start
36.2.1. Create a form object
36.2.2. Add elements to the form
36.2.3. Render a form
36.2.4. Check if a form is valid
36.2.5. Get error status
36.2.6. Putting it together
36.2.7. Using a Zend_Config Object
36.2.8. Conclusion
36.3. Creating Form Elements Using Zend_Form_Element
36.3.1. Plugin Loaders
36.3.2. Filters
36.3.3. Validators
36.3.3.1. Custom Error Messages
36.3.4. Decorators
36.3.5. Metadata and Attributes
36.3.6. Standard Elements
36.3.7. Zend_Form_Element Methods
36.3.8. Configuration
36.3.9. Custom Elements
36.4. Creating Forms Using Zend_Form
36.4.1. Plugin Loaders
36.4.2. Elements
36.4.2.1. Populating and Retrieving Values
36.4.2.2. Global Operations
36.4.2.3. Methods For Interacting With Elements
36.4.3. Display Groups
36.4.3.1. Global Operations
36.4.3.2. Using Custom Display Group Classes
36.4.3.3. Methods for Interacting With Display Groups
36.4.3.4. Zend_Form_DisplayGroup Methods
36.4.4. Sub Forms
36.4.4.1. Global Operations
36.4.4.2. Methods for Interacting With Sub Forms
36.4.5. Metadata and Attributes
36.4.6. Decorators
36.4.7. Validation
36.4.7.1. Custom Error Messages
36.4.7.2. Retrieving Valid Values Only
36.4.8. Methods
36.4.9. Configuration
36.4.10. Custom forms
36.5. Creating Custom Form Markup Using Zend_Form_Decorator
36.5.1. Operation
36.5.2. Standard Decorators
36.5.3. Custom Decorators
36.5.4. Rendering Individual Decorators
36.6. Standard Form Elements Shipped With Zend Framework
36.6.1. Zend_Form_Element_Button
36.6.2. Zend_Form_Element_Captcha
36.6.3. Zend_Form_Element_Checkbox
36.6.4. Zend_Form_Element_File
36.6.5. Zend_Form_Element_Hidden
36.6.6. Zend_Form_Element_Hash
36.6.7. Zend_Form_Element_Image
36.6.8. Zend_Form_Element_MultiCheckbox
36.6.9. Zend_Form_Element_Multiselect
36.6.10. Zend_Form_Element_Password
36.6.11. Zend_Form_Element_Radio
36.6.12. Zend_Form_Element_Reset
36.6.13. Zend_Form_Element_Select
36.6.14. Zend_Form_Element_Submit
36.6.15. Zend_Form_Element_Text
36.6.16. Zend_Form_Element_Textarea
36.7. Standard Form Decorators Shipped With Zend Framework
36.7.1. Zend_Form_Decorator_Callback
36.7.2. Zend_Form_Decorator_Captcha
36.7.3. Zend_Form_Decorator_Description
36.7.4. Zend_Form_Decorator_DtDdWrapper
36.7.5. Zend_Form_Decorator_Errors
36.7.6. Zend_Form_Decorator_Fieldset
36.7.7. Zend_Form_Decorator_File
36.7.8. Zend_Form_Decorator_Form
36.7.9. Zend_Form_Decorator_FormElements
36.7.10. Zend_Form_Decorator_FormErrors
36.7.11. Zend_Form_Decorator_HtmlTag
36.7.12. Zend_Form_Decorator_Image
36.7.13. Zend_Form_Decorator_Label
36.7.14. Zend_Form_Decorator_PrepareElements
36.7.15. Zend_Form_Decorator_Tooltip
36.7.16. Zend_Form_Decorator_ViewHelper
36.7.17. Zend_Form_Decorator_ViewScript
36.8. Internationalization of Zend_Form
36.8.1. Initializing I18n in Forms
36.8.2. Standard I18n Targets
36.9. Advanced Zend_Form Usage
36.9.1. Array Notation
36.9.2. Multi-Page Forms
37. Zend_Gdata
37.1. Introduction
37.1.1. Structure of Zend_Gdata
37.1.2. Interacting with Google Services
37.1.3. Obtaining instances of Zend_Gdata classes
37.1.4. Google Data Client Authentication
37.1.5. Dependencies
37.1.6. Creating a new Gdata client
37.1.7. Common Query Parameters
37.1.8. Fetching a Feed
37.1.9. Working with Multi-page Feeds
37.1.10. Working with Data in Feeds and Entries
37.1.11. Updating Entries
37.1.12. Posting Entries to Google Servers
37.1.13. Deleting Entries on Google Servers
37.2. Using Google Analytics
37.2.1. Retrieving account data
37.2.2. Retrieving report data
37.3. Authenticating with AuthSub
37.3.1. Creating an AuthSub authenticated Http Client
37.3.2. Revoking AuthSub authentication
37.4. Using the Book Search Data API
37.4.1. Authenticating to the Book Search service
37.4.2. Searching for books
37.4.2.1. Partner Co-Branded Search
37.4.3. Using community features
37.4.3.1. Adding a rating
37.4.3.2. Reviews
37.4.3.2.1. Adding a review
37.4.3.2.2. Editing a review
37.4.3.3. Labels
37.4.3.3.1. Submitting a set of labels
37.4.3.4. Retrieving annotations: reviews, ratings, and labels
37.4.3.5. Deleting Annotations
37.4.4. Book collections and My Library
37.4.4.1. Retrieving books in a user's library
37.4.4.1.1. Retrieving all books in a user's library
37.4.4.1.2. Searching for books in a user's library
37.4.4.2. Updating books in a user's library
37.4.4.2.1. Adding a book to a library
37.4.4.2.2. Removing a book from a library
37.5. Authenticating with ClientLogin
37.5.1. Creating a ClientLogin authenticated Http Client
37.5.2. Terminating a ClientLogin authenticated Http Client
37.6. Using Google Calendar
37.6.1. Connecting To The Calendar Service
37.6.1.1. Authentication
37.6.1.2. Creating A Service Instance
37.6.2. Retrieving A Calendar List
37.6.3. Retrieving Events
37.6.3.1. Queries
37.6.3.2. Retrieving Events In Order Of Start Time
37.6.3.3. Retrieving Events In A Specified Date Range
37.6.3.4. Retrieving Events By Fulltext Query
37.6.3.5. Retrieving Individual Events
37.6.4. Creating Events
37.6.4.1. Creating Single-Occurrence Events
37.6.4.2. Event Schedules and Reminders
37.6.4.3. Creating Recurring Events
37.6.4.4. Using QuickAdd
37.6.5. Modifying Events
37.6.6. Deleting Events
37.6.7. Accessing Event Comments
37.7. Using Google Documents List Data API
37.7.1. Get a List of Documents
37.7.2. Upload a Document
37.7.3. Searching the documents feed
37.7.3.1. Get a List of Word Processing Documents
37.7.3.2. Get a List of Spreadsheets
37.7.3.3. Performing a text query
37.8. Using Google Spreadsheets
37.8.1. Create a Spreadsheet
37.8.2. Get a List of Spreadsheets
37.8.3. Get a List of Worksheets
37.8.4. Interacting With List-based Feeds
37.8.4.1. Get a List-based Feed
37.8.4.2. Reverse-sort Rows
37.8.4.3. Send a Structured Query
37.8.4.4. Add a Row
37.8.4.5. Edit a Row
37.8.4.6. Delete a Row
37.8.5. Interacting With Cell-based Feeds
37.8.5.1. Get a Cell-based Feed
37.8.5.2. Send a Cell Range Query
37.8.5.3. Change Contents of a Cell
37.9. Using Google Apps Provisioning
37.9.1. Setting the current domain
37.9.1.1. Setting the domain for the service class
37.9.1.2. Setting the domain for query classes
37.9.2. Interacting with users
37.9.2.1. Creating a user account
37.9.2.2. Retrieving a user account
37.9.2.3. Retrieving all users in a domain
37.9.2.4. Updating a user account
37.9.2.4.1. Resetting a user's password
37.9.2.4.2. Forcing a user to change their password
37.9.2.4.3. Suspending a user account
37.9.2.4.4. Granting administrative rights
37.9.2.5. Deleting user accounts
37.9.3. Interacting with nicknames
37.9.3.1. Creating a nickname
37.9.3.2. Retrieving a nickname
37.9.3.3. Retrieving all nicknames for a user
37.9.3.4. Retrieving all nicknames in a domain
37.9.3.5. Deleting a nickname
37.9.4. Interacting with groups
37.9.4.1. Creating a group
37.9.4.2. Retrieving an individual group
37.9.4.3. Retrieving all groups in a domain
37.9.4.4. Deleting a group
37.9.4.5. Updating a group
37.9.4.6. Retrieving all groups to which a person is a member
37.9.5. Interacting with group members
37.9.5.1. Adding a member to a group
37.9.5.2. Check to see if member belongs to group
37.9.5.3. Removing a member from a group
37.9.5.4. Retrieving the list of members to a group
37.9.6. Interacting with group owners
37.9.6.1. Adding an owner to a group
37.9.6.2. Retrieving the list of the owner of a group
37.9.6.3. Check to see if an email is the owner of a group
37.9.6.4. Removing an owner from a group
37.9.7. Interacting with email lists
37.9.7.1. Creating an email list
37.9.7.2. Retrieving all email lists to which a recipient is subscribed
37.9.7.3. Retrieving all email lists in a domain
37.9.7.4. Deleting an email list
37.9.8. Interacting with email list recipients
37.9.8.1. Adding a recipient to an email list
37.9.8.2. Retrieving the list of subscribers to an email list
37.9.8.3. Removing a recipient from an email list
37.9.9. Handling errors
37.10. Using Picasa Web Albums
37.10.1. Connecting To The Service
37.10.1.1. Authentication
37.10.1.2. Creating A Service Instance
37.10.2. Understanding and Constructing Queries
37.10.3. Retrieving Feeds And Entries
37.10.3.1. Retrieving A User
37.10.3.2. Retrieving An Album
37.10.3.3. Retrieving A Photo
37.10.3.4. Retrieving A Comment
37.10.3.5. Retrieving A Tag
37.10.4. Creating Entries
37.10.4.1. Creating An Album
37.10.4.2. Creating A Photo
37.10.4.3. Creating A Comment
37.10.4.4. Creating A Tag
37.10.5. Deleting Entries
37.10.5.1. Deleting An Album
37.10.5.2. Deleting A Photo
37.10.5.3. Deleting A Comment
37.10.5.4. Deleting A Tag
37.10.5.5. Optimistic Concurrency (Notes On Deletion)
37.11. Catching Gdata Exceptions
38. Zend_Http
38.1. Introduction
38.1.1. Using Zend_Http_Client
38.1.2. Configuration Parameters
38.1.3. Performing Basic HTTP Requests
38.1.4. Adding GET and POST parameters
38.1.5. Accessing Last Request and Response
38.2. Zend_Http_Client - Advanced Usage
38.2.1. HTTP Redirections
38.2.2. Adding Cookies and Using Cookie Persistence
38.2.3. Setting Custom Request Headers
38.2.4. File Uploads
38.2.5. Sending Raw POST Data
38.2.6. HTTP Authentication
38.2.7. Sending Multiple Requests With the Same Client
38.2.8. Data Streaming
38.3. Zend_Http_Client - Connection Adapters
38.3.1. Overview
38.3.2. The Socket Adapter
38.3.2.1. Customizing and accessing the Socket adapter stream context
38.3.3. The Proxy Adapter
38.3.4. The cURL Adapter
38.3.5. The Test Adapter
38.3.6. Creating your own connection adapters
38.4. Zend_Http_Cookie and Zend_Http_CookieJar
38.4.1. Introduction
38.4.2. Instantiating Zend_Http_Cookie Objects
38.4.3. Zend_Http_Cookie getter methods
38.4.4. Zend_Http_Cookie: Matching against a scenario
38.4.5. The Zend_Http_CookieJar Class: Instantiation
38.4.6. Adding Cookies to a Zend_Http_CookieJar object
38.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
38.5. Zend_Http_Response
38.5.1. Introduction
38.5.2. Boolean Tester Methods
38.5.3. Accessor Methods
38.5.4. Static HTTP Response Parsers
38.6. Zend_Http_UserAgent
38.6.1. Overview
38.6.2. Quick Start
38.6.3. Configuration Options
38.6.4. Available Methods
38.6.5. Examples
38.7. The UserAgent Device Interface
38.7.1. Overview
38.7.2. Quick Start
38.7.3. Configuration Options
38.7.4. Available Methods
38.7.5. Examples
38.8. The UserAgent Features Adapter
38.8.1. Overview
38.8.2. Quick Start
38.8.3. Configuration Options
38.8.4. Available Methods
38.9. The Browscap UserAgent Features Adapter
38.9.1. Overview
38.9.2. Quick Start
38.9.3. Configuration Options
38.9.4. Available Methods
38.10. The DeviceAtlas UserAgent Features Adapter
38.10.1. Overview
38.10.2. Quick Start
38.10.3. Configuration Options
38.10.4. Available Methods
38.11. The TeraWurfl UserAgent Features Adapter
38.11.1. Overview
38.11.2. Quick Start
38.11.3. Configuration Options
38.11.4. Available Methods
38.12. The UserAgent Storage Interface
38.12.1. Overview
38.12.2. Quick Start
38.12.3. Configuration Options
38.12.4. Available Methods
38.13. The Session UserAgent Storage Adapter
38.13.1. Overview
38.13.2. Quick Start
38.13.3. Configuration Options
38.13.4. Available Methods
39. Zend_Json
39.1. Introduction
39.2. Basic Usage
39.2.1. Pretty-printing JSON
39.3. Advanced Usage of Zend_Json
39.3.1. JSON Objects
39.3.2. Encoding PHP objects
39.3.3. Internal Encoder/Decoder
39.3.4. JSON Expressions
39.4. XML to JSON conversion
39.4.1. Changes
39.4.1.1. Changes in 1.11.6
39.5. Zend_Json_Server - JSON-RPC server
39.5.1. Advanced Details
39.5.1.1. Zend_Json_Server
39.5.1.2. Zend_Json_Server_Request
39.5.1.3. Zend_Json_Server_Response
39.5.1.4. Zend_Json_Server_Error
39.5.1.5. Zend_Json_Server_Smd
40. Zend_Layout
40.1. Introduction
40.2. Zend_Layout Quick Start
40.2.1. Layout scripts
40.2.2. Using Zend_Layout with the Zend Framework MVC
40.2.3. Using Zend_Layout as a Standalone Component
40.2.4. Sample Layout
40.3. Zend_Layout Configuration Options
40.3.1. Examples
40.4. Zend_Layout Advanced Usage
40.4.1. Custom View Objects
40.4.2. Custom Front Controller Plugins
40.4.3. Custom Action Helpers
40.4.4. Custom Layout Script Path Resolution: Using the Inflector
41. Zend_Ldap
41.1. Introduction
41.1.1. Theory of operation
41.1.1.1. Automatic Username Canonicalization When Binding
41.1.1.2. Account Name Canonicalization
41.1.1.3. Multi-domain Authentication and Failover
41.2. API overview
41.2.1. Configuration / options
41.2.2. API Reference
41.2.2.1. Zend_Ldap
41.2.2.1.1. Zend_Ldap_Collection
41.2.2.2. Zend_Ldap_Attribute
41.2.2.3. Zend_Ldap_Dn
41.2.2.4. Zend_Ldap_Filter
41.2.2.5. Zend_Ldap_Node
41.2.2.6. Zend_Ldap_Node_RootDse
41.2.2.6.1. OpenLDAP
41.2.2.6.2. ActiveDirectory
41.2.2.6.3. eDirectory
41.2.2.7. Zend_Ldap_Node_Schema
41.2.2.7.1. OpenLDAP
41.2.2.7.2. ActiveDirectory
41.2.2.8. Zend_Ldif_Encoder
41.3. Usage Scenarios
41.3.1. Authentication scenarios
41.3.1.1. OpenLDAP
41.3.1.2. ActiveDirectory
41.3.2. Basic CRUD operations
41.3.2.1. Retrieving data from the LDAP
41.3.2.2. Adding data to the LDAP
41.3.2.3. Deleting from the LDAP
41.3.2.4. Updating the LDAP
41.3.3. Extended operations
41.3.3.1. Copy and move entries in the LDAP
41.4. Tools
41.4.1. Creation and modification of DN strings
41.4.2. Using the filter API to create search filters
41.4.3. Modify LDAP entries using the Attribute API
41.5. Object oriented access to the LDAP tree using Zend_Ldap_Node
41.5.1. Basic CRUD operations
41.5.1.1. Retrieving data from the LDAP
41.5.1.1.1. Getting a node by its DN
41.5.1.1.2. Searching a node's subtree
41.5.1.2. Adding a new node to the LDAP
41.5.1.3. Deleting a node from the LDAP
41.5.1.4. Updating a node on the LDAP
41.5.2. Extended operations
41.5.2.1. Copy and move nodes in the LDAP
41.5.3. Tree traversal
41.6. Getting information from the LDAP server
41.6.1. RootDSE
41.6.2. Schema Browsing
41.6.2.1. OpenLDAP
41.6.2.2. ActiveDirectory
41.7. Serializing LDAP data to and from LDIF
41.7.1. Serialize a LDAP entry to LDIF
41.7.2. Deserialize a LDIF string into a LDAP entry
42. Zend_Loader
42.1. Loading Files and Classes Dynamically
42.1.1. Loading Files
42.1.2. Loading Classes
42.1.3. Testing if a File is Readable
42.1.4. Using the Autoloader
42.2. The Autoloader
42.2.1. Using the Autoloader
42.2.2. Selecting a Zend Framework version
42.2.3. The Autoloader Interface
42.2.4. Autoloader Reference
42.3. Resource Autoloaders
42.3.1. Resource autoloader usage
42.3.2. The Module Resource Autoloader
42.3.3. Using Resource Autoloaders as Object Factories
42.3.4. Resource Autoloader Reference
42.4. Loading Plugins
42.4.1. Basic Use Case
42.4.2. Manipulating Plugin Paths
42.4.3. Testing for Plugins and Retrieving Class Names
42.4.4. Getting Better Performance for Plugins
42.5. The SplAutoloader Interface
42.5.1. Overview
42.5.2. Quick Start
42.5.3. Configuration Options
42.5.4. Available Methods
42.5.5. Examples
42.6. The AutoloaderFactory
42.6.1. Overview
42.6.2. Quick Start
42.6.3. Configuration Options
42.6.4. Available Methods
42.6.5. Examples
42.7. The StandardAutoloader
42.7.1. Overview
42.7.2. Quick Start
42.7.3. Configuration Options
42.7.4. Available Methods
42.7.5. Examples
42.8. The ClassMapAutoloader
42.8.1. Overview
42.8.2. Quick Start
42.8.3. Configuration Options
42.8.4. Available Methods
42.8.5. Examples
42.9. The Class Map Generator utility: bin/classmap_generator.php
42.9.1. Overview
42.9.2. Quick Start
42.9.3. Configuration Options
43. Zend_Locale
43.1. Introduction
43.1.1. What is Localization
43.1.2. What is a Locale?
43.1.3. How are Locales Represented?
43.1.4. Selecting the Right Locale
43.1.5. Usage of automatic Locales
43.1.6. Using a default Locale
43.1.7. ZF Locale-Aware Classes
43.1.8. Application wide locale
43.1.9. Zend_Locale_Format::setOptions(array $options)
43.1.10. Speed up Zend_Locale and its subclasses
43.2. Using Zend_Locale
43.2.1. Copying, Cloning, and Serializing Locale Objects
43.2.2. Equality
43.2.3. Default locales
43.2.4. Set a new locale
43.2.5. Getting the language and region
43.2.6. Get the locale by giving a territory
43.2.7. Obtaining localized strings
43.2.8. Obtaining translations for "yes" and "no"
43.2.9. Get a list of all known locales
43.2.10. Detecting locales
43.3. Normalization and Localization
43.3.1. Number normalization: getNumber($input, Array $options)
43.3.1.1. Precision and Calculations
43.3.2. Number localization
43.3.3. Number testing
43.3.4. Float value normalization
43.3.5. Floating point value localization
43.3.6. Floating point value testing
43.3.7. Integer value normalization
43.3.8. Integer point value localization
43.3.9. Integer value testing
43.3.10. Numeral System Conversion
43.4. Working with Dates and Times
43.4.1. Normalizing Dates and Times
43.4.2. Testing Dates
43.4.3. Normalizing a Time
43.4.4. Testing Times
43.5. Supported locales
44. Zend_Log
44.1. Overview
44.1.1. Creating a Log
44.1.2. Logging Messages
44.1.3. Destroying a Log
44.1.4. Using Built-in Priorities
44.1.5. Adding User-defined Priorities
44.1.6. Understanding Log Events
44.1.7. Log PHP Errors
44.2. Writers
44.2.1. Writing to Streams
44.2.2. Writing to Databases
44.2.3. Writing to Firebug
44.2.3.1. Setting Styles for Priorities
44.2.3.2. Preparing data for Logging
44.2.3.3. Exception Logging
44.2.3.4. Table Logging
44.2.4. Writing to Email
44.2.4.1. Zend_Layout Usage
44.2.4.2. Subject Line Error Level Summary
44.2.4.3. Caveats
44.2.5. Writing to the System Log
44.2.6. Writing to the Zend Server Monitor
44.2.7. Stubbing Out the Writer
44.2.8. Testing with the Mock
44.2.9. Compositing Writers
44.3. Formatters
44.3.1. Simple Formatting
44.3.2. Formatting to XML
44.4. Filters
44.4.1. Filtering for All Writers
44.4.2. Filtering for a Writer Instance
44.5. Using the Factory to Create a Log
44.5.1. Writer Options
44.5.1.1. Zend_Log_Writer_Db Options
44.5.1.2. Zend_Log_Writer_Firebug Options
44.5.1.3. Zend_Log_Writer_Mail Options
44.5.1.4. Zend_Log_Writer_Mock Options
44.5.1.5. Zend_Log_Writer_Null Options
44.5.1.6. Zend_Log_Writer_Stream Options
44.5.1.7. Zend_Log_Writer_Syslog Options
44.5.1.8. Zend_Log_Writer_ZendMonitor Options
44.5.2. Filter Options
44.5.2.1. Zend_Log_Filter_Message Options
44.5.2.2. Zend_Log_Filter_Priority Options
44.5.2.3. Zend_Log_Filter_Suppress Options
44.5.3. Creating Configurable Writers and Filters
45. Zend_Mail
45.1. Introduction
45.1.1. Getting started
45.1.2. Configuring the default sendmail transport
45.2. Sending via SMTP
45.3. Sending Multiple Mails per SMTP Connection
45.4. Using Different Transports
45.4.1. Using File Transport
45.5. HTML E-Mail
45.6. Attachments
45.7. Adding Recipients
45.8. Controlling the MIME Boundary
45.9. Additional Headers
45.10. Character Sets
45.11. Encoding
45.12. SMTP Authentication
45.13. Securing SMTP Transport
45.14. Reading Mail Messages
45.14.1. Simple example using Pop3
45.14.2. Opening a local storage
45.14.3. Opening a remote storage
45.14.4. Fetching messages and simple methods
45.14.5. Working with messages
45.14.6. Checking for flags
45.14.7. Using folders
45.14.8. Advanced Use
45.14.8.1. Using NOOP
45.14.8.2. Caching instances
45.14.8.3. Extending Protocol Classes
45.14.8.4. Using Quota (since 1.5)
46. Zend_Markup
46.1. Introduction
46.2. Getting Started With Zend_Markup
46.3. Zend_Markup Parsers
46.3.1. Theory of Parsing
46.3.2. The BBCode parser
46.4. Zend_Markup Renderers
46.4.1. Adding your own markups
46.4.1.1. Add a callback markup
46.4.2. List of markups
47. Zend_Measure
47.1. Introduction
47.2. Creation of Measurements
47.2.1. Creating measurements from integers and floats
47.2.2. Creating measurements from strings
47.2.3. Measurements from localized strings
47.3. Outputting measurements
47.3.1. Automatic output
47.3.2. Outputting values
47.3.3. Output with unit of measurement
47.3.4. Output as localized string
47.4. Manipulating Measurements
47.4.1. Convert
47.4.2. Add and subtract
47.4.3. Compare
47.4.4. Compare
47.4.5. Manually change values
47.4.6. Manually change types
47.5. Types of measurements
47.5.1. Hints for Zend_Measure_Binary
47.5.2. Hints for Zend_Measure_Number
47.5.3. Roman numbers
48. Zend_Memory
48.1. Overview
48.1.1. Introduction
48.1.2. Theory of Operation
48.1.2.1. Memory manager
48.1.2.2. Memory container
48.1.2.3. Locked memory
48.1.2.4. Movable memory
48.2. Memory Manager
48.2.1. Creating a Memory Manager
48.2.2. Managing Memory Objects
48.2.2.1. Creating Movable Objects
48.2.2.2. Creating Locked Objects
48.2.2.3. Destroying Objects
48.2.3. Memory Manager Settings
48.2.3.1. Memory Limit
48.2.3.2. MinSize
48.3. Memory Objects
48.3.1. Movable
48.3.2. Locked
48.3.3. Memory container 'value' property
48.3.4. Memory container interface
48.3.4.1. getRef() method
48.3.4.2. touch() method
48.3.4.3. lock() method
48.3.4.4. unlock() method
48.3.4.5. isLocked() method
49. Zend_Mime
49.1. Zend_Mime
49.1.1. Introduction
49.1.2. Static Methods and Constants
49.1.3. Instantiating Zend_Mime
49.2. Zend_Mime_Message
49.2.1. Introduction
49.2.2. Instantiation
49.2.3. Adding MIME Parts
49.2.4. Boundary handling
49.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
49.3. Zend_Mime_Part
49.3.1. Introduction
49.3.2. Instantiation
49.3.3. Methods for rendering the message part to a string
50. Zend_Mobile_Push
50.1. Zend_Mobile_Push Introduction
50.1.1. Common Functionality
50.2. Zend_Mobile_Push_Apns
50.2.1. Pushing Messages
50.2.2. Getting Feedback
50.2.3. Advanced Messages
50.2.3.1. Alerts
50.2.3.2. Custom Data
50.3. Zend_Mobile_Push_Gcm
50.3.1. Pushing Messages
50.3.2. Advanced Messages
50.3.2.1. Delay While Idle
50.3.2.2. Time to Live
50.3.3. Response
50.3.3.1. Results
50.4. Zend_Mobile_Push_Mpns
50.4.1. Pushing Messages
50.4.2. Advanced Messages
50.4.2.1. Tile Messages
50.4.2.2. Toast Messages
51. Zend_Navigation
51.1. Introduction
51.1.1. Pages and Containers
51.1.1.1. Pages
51.1.1.2. Containers
51.1.2. Separation of data (model) and rendering (view)
51.2. Pages
51.2.1. Common page features
51.2.2. Zend_Navigation_Page_Mvc
51.2.3. Zend_Navigation_Page_Uri
51.2.4. Creating custom page types
51.2.5. Creating pages using the page factory
51.3. Containers
51.3.1. Creating containers
51.3.2. Adding pages
51.3.3. Removing pages
51.3.4. Finding pages
51.3.5. Iterating containers
51.3.6. Other operations
52. Zend_Oauth
52.1. Introduction to OAuth
52.1.1. Protocol Workflow
52.1.2. Security Architecture
52.1.3. Getting Started
53. Zend_OpenId
53.1. Introduction
53.1.1. What is OpenID?
53.1.2. How Does it Work?
53.1.3. Zend_OpenId Structure
53.1.4. Supported OpenID Standards
53.2. Zend_OpenId_Consumer Basics
53.2.1. OpenID Authentication
53.2.2. Combining all Steps in One Page
53.2.3. Consumer Realm
53.2.4. Immediate Check
53.2.5. Zend_OpenId_Consumer_Storage
53.2.6. Simple Registration Extension
53.2.7. Integration with Zend_Auth
53.2.8. Integration with Zend_Controller
53.3. Zend_OpenId_Provider
53.3.1. Quick start
53.3.2. Combined Provide Scripts
53.3.3. Simple Registration Extension
53.3.4. Anything Else?
54. Zend_Paginator
54.1. Introduction
54.2. Usage
54.2.1. Paginating data collections
54.2.2. The DbSelect and DbTableSelect adapter
54.2.3. Rendering pages with view scripts
54.2.3.1. Example pagination controls
54.2.3.2. Listing of properties
54.3. Configuration
54.4. Advanced usage
54.4.1. Custom data source adapters
54.4.2. Custom scrolling styles
54.4.3. Caching features
54.4.4. Zend_Paginator_AdapterAggregate Interface
55. Zend_Pdf
55.1. Introduction
55.2. Creating and Loading PDF Documents
55.3. Save Changes to PDF Documents
55.4. Working with Pages
55.4.1. Page Creation
55.4.2. Page cloning
55.5. Drawing
55.5.1. Geometry
55.5.2. Colors
55.5.3. Shape Drawing
55.5.4. Text Drawing
55.5.5. Using fonts
55.5.6. Standard PDF fonts limitations
55.5.7. Extracting fonts
55.5.8. Image Drawing
55.5.9. Line drawing style
55.5.10. Fill style
55.5.11. Linear Transformations
55.5.11.1. Rotations
55.5.11.2. Starting from ZF 1.8, scaling
55.5.11.3. Starting from ZF 1.8, translating
55.5.11.4. Starting from ZF 1.8, skewing
55.5.12. Save/restore graphics state
55.5.13. Clipping draw area
55.5.14. Styles
55.5.15. Transparency
55.6. Interactive Features
55.6.1. Destinations
55.6.1.1. Supported Destination Types
55.6.1.1.1. Zend_Pdf_Destination_Zoom
55.6.1.1.2. Zend_Pdf_Destination_Fit
55.6.1.1.3. Zend_Pdf_Destination_FitHorizontally
55.6.1.1.4. Zend_Pdf_Destination_FitVertically
55.6.1.1.5. Zend_Pdf_Destination_FitRectangle
55.6.1.1.6. Zend_Pdf_Destination_FitBoundingBox
55.6.1.1.7. Zend_Pdf_Destination_FitBoundingBoxHorizontally
55.6.1.1.8. Zend_Pdf_Destination_FitBoundingBoxVertically
55.6.1.1.9. Zend_Pdf_Destination_Named
55.6.1.2. Document level destination processing
55.6.2. Actions
55.6.2.1. Supported action types
55.6.2.2. Actions chaining
55.6.2.3. Document Open Action
55.6.3. Document Outline (bookmarks)
55.6.4. Annotations
55.7. Document Info and Metadata
55.8. Zend_Pdf module usage example
56. Zend_ProgressBar
56.1. Zend_ProgressBar
56.1.1. Introduction
56.1.2. Basic Usage of Zend_Progressbar
56.1.3. Persistent progress
56.1.4. Standard adapters
56.1.4.1. Zend_ProgressBar_Adapter_Console
56.1.4.2. Zend_ProgressBar_Adapter_JsPush
56.1.4.3. Zend_ProgressBar_Adapter_JsPull
57. Zend_Queue
57.1. Introduction
57.2. Example usage
57.3. Framework
57.3.1. Introduction
57.3.2. Commonality among adapters
57.4. Adapters
57.4.1. Specific Adapters - Configuration settings
57.4.1.1. Apache ActiveMQ - Zend_Queue_Adapter_Activemq
57.4.1.2. Db - Zend_Queue_Adapter_Db
57.4.1.3. MemcacheQ - Zend_Queue_Adapter_Memcacheq
57.4.1.4. Zend Platform Job Queue - Zend_Queue_Adapter_PlatformJobQueue
57.4.1.5. Array - Zend_Queue_Adapter_Array
57.4.2. Notes for Specific Adapters
57.4.2.1. Apache ActiveMQ
57.4.2.2. Zend_Db
57.4.2.3. MemcacheQ
57.4.2.4. Zend Platform Job Queue
57.4.2.5. Array (local)
57.5. Customizing Zend_Queue
57.5.1. Creating your own adapter
57.5.2. Creating your own message class
57.5.3. Creating your own message iterator class
57.5.4. Creating your own queue class
57.6. Stomp
57.6.1. Stomp - Supporting classes
58. Zend_Reflection
58.1. Introduction
58.2. Zend_Reflection Examples
58.3. Zend_Reflection Reference
58.3.1. Zend_Reflection_Docblock
58.3.2. Zend_Reflection_Docblock_Tag
58.3.3. Zend_Reflection_Docblock_Tag_Param
58.3.4. Zend_Reflection_Docblock_Tag_Return
58.3.5. Zend_Reflection_File
58.3.6. Zend_Reflection_Class
58.3.7. Zend_Reflection_Extension
58.3.8. Zend_Reflection_Function
58.3.9. Zend_Reflection_Method
58.3.10. Zend_Reflection_Parameter
58.3.11. Zend_Reflection_Property
59. Zend_Registry
59.1. Using the Registry
59.1.1. Setting Values in the Registry
59.1.2. Getting Values from the Registry
59.1.3. Constructing a Registry Object
59.1.4. Accessing the Registry as an Array
59.1.5. Accessing the Registry as an Object
59.1.6. Querying if an Index Exists
59.1.7. Extending the Registry
59.1.8. Unsetting the Static Registry
60. Zend_Rest
60.1. Introduction
60.2. Zend_Rest_Client
60.2.1. Introduction
60.2.2. Responses
60.2.3. Request Arguments
60.3. Zend_Rest_Server
60.3.1. Introduction
60.3.2. REST Server Usage
60.3.3. Calling a Zend_Rest_Server Service
60.3.4. Sending A Custom Status
60.3.5. Returning Custom XML Responses
61. Zend_Search_Lucene
61.1. Overview
61.1.1. Introduction
61.1.2. Document and Field Objects
61.1.3. Understanding Field Types
61.1.4. HTML documents
61.1.5. Word 2007 documents
61.1.6. Powerpoint 2007 documents
61.1.7. Excel 2007 documents
61.2. Building Indexes
61.2.1. Creating a New Index
61.2.2. Updating Index
61.2.3. Updating Documents
61.2.4. Retrieving Index Size
61.2.5. Index optimization
61.2.5.1. MaxBufferedDocs auto-optimization option
61.2.5.2. MaxMergeDocs auto-optimization option
61.2.5.3. MergeFactor auto-optimization option
61.2.6. Permissions
61.2.7. Limitations
61.2.7.1. Index size
61.2.7.2. Supported Filesystems
61.3. Searching an Index
61.3.1. Building Queries
61.3.1.1. Query Parsing
61.3.2. Search Results
61.3.3. Limiting the Result Set
61.3.4. Results Scoring
61.3.5. Search Result Sorting
61.3.6. Search Results Highlighting
61.4. Query Language
61.4.1. Terms
61.4.2. Fields
61.4.3. Wildcards
61.4.4. Term Modifiers
61.4.5. Range Searches
61.4.6. Fuzzy Searches
61.4.7. Matched terms limitation
61.4.8. Proximity Searches
61.4.9. Boosting a Term
61.4.10. Boolean Operators
61.4.10.1. AND
61.4.10.2. OR
61.4.10.3. NOT
61.4.10.4. &&, ||, and ! operators
61.4.10.5. +
61.4.10.6. -
61.4.10.7. No Operator
61.4.11. Grouping
61.4.12. Field Grouping
61.4.13. Escaping Special Characters
61.5. Query Construction API
61.5.1. Query Parser Exceptions
61.5.2. Term Query
61.5.3. Multi-Term Query
61.5.4. Boolean Query
61.5.5. Wildcard Query
61.5.6. Fuzzy Query
61.5.7. Phrase Query
61.5.8. Range Query
61.6. Character Set
61.6.1. UTF-8 and single-byte character set support
61.6.2. Default text analyzer
61.6.3. UTF-8 compatible text analyzers
61.7. Extensibility
61.7.1. Text Analysis
61.7.2. Tokens Filtering
61.7.3. Scoring Algorithms
61.7.4. Storage Containers
61.8. Interoperating with Java Lucene
61.8.1. File Formats
61.8.2. Index Directory
61.8.3. Java Source Code
61.9. Advanced
61.9.1. Starting from 1.6, handling index format transformations
61.9.2. Using the index as static property
61.10. Best Practices
61.10.1. Field names
61.10.2. Indexing performance
61.10.3. Index during Shut Down
61.10.4. Retrieving documents by unique id
61.10.5. Memory Usage
61.10.6. Encoding
61.10.7. Index maintenance
62. Zend_Serializer
62.1. Introduction
62.2. Zend_Serializer_Adapter
62.2.1. Zend_Serializer_Adapter_PhpSerialize
62.2.2. Zend_Serializer_Adapter_Igbinary
62.2.3. Zend_Serializer_Adapter_Wddx
62.2.4. Zend_Serializer_Adapter_Json
62.2.5. Zend_Serializer_Adapter_Amf 0 and 3
62.2.6. Zend_Serializer_Adapter_PythonPickle
62.2.7. Zend_Serializer_Adapter_PhpCode
63. Zend_Server
63.1. Introduction
63.2. Zend_Server_Reflection
63.2.1. Introduction
63.2.2. Usage
64. Zend_Service
64.1. Introduction
64.2. Zend_Service_Akismet
64.2.1. Introduction
64.2.2. Verify an API key
64.2.3. Check for spam
64.2.4. Submitting known spam
64.2.5. Submitting false positives (ham)
64.2.6. Zend-specific Methods
64.3. Zend_Service_Amazon
64.3.1. Introduction
64.3.2. Country Codes
64.3.3. Looking up a Specific Amazon Item by ASIN
64.3.4. Performing Amazon Item Searches
64.3.5. Using the Alternative Query API
64.3.5.1. Introduction
64.3.6. Zend_Service_Amazon Classes
64.3.6.1. Zend_Service_Amazon_Item
64.3.6.1.1. Zend_Service_Amazon_Item::asXML()
64.3.6.1.2. Properties
64.3.6.2. Zend_Service_Amazon_Image
64.3.6.2.1. Properties
64.3.6.3. Zend_Service_Amazon_ResultSet
64.3.6.3.1. Zend_Service_Amazon_ResultSet::totalResults()
64.3.6.4. Zend_Service_Amazon_OfferSet
64.3.6.4.1. Properties
64.3.6.5. Zend_Service_Amazon_Offer
64.3.6.5.1. Zend_Service_Amazon_Offer Properties
64.3.6.6. Zend_Service_Amazon_SimilarProduct
64.3.6.6.1. Properties
64.3.6.7. Zend_Service_Amazon_Accessories
64.3.6.7.1. Properties
64.3.6.8. Zend_Service_Amazon_CustomerReview
64.3.6.8.1. Properties
64.3.6.9. Zend_Service_Amazon_EditorialReview
64.3.6.9.1. Properties
64.3.6.10. Zend_Service_Amazon_Listmania
64.3.6.10.1. Properties
64.4. Zend_Service_Amazon_Ec2
64.4.1. Introduction
64.4.2. What is Amazon Ec2?
64.4.3. Static Methods
64.5. Zend_Service_Amazon_Ec2: Instances
64.5.1. Instance Types
64.5.2. Running Amazon EC2 Instances
64.5.3. Amazon Instance Utilities
64.6. Zend_Service_Amazon_Ec2: Windows Instances
64.6.1. Windows Instances Usage
64.7. Zend_Service_Amazon_Ec2: Reserved Instances
64.7.1. How Reserved Instances are Applied
64.7.2. Reserved Instances Usage
64.8. Zend_Service_Amazon_Ec2: CloudWatch Monitoring
64.8.1. CloudWatch Usage
64.9. Zend_Service_Amazon_Ec2: Amazon Machine Images (AMI)
64.9.1. AMI Information Utilities
64.9.2. AMI Attribute Utilities
64.10. Zend_Service_Amazon_Ec2: Elastic Block Storage (EBS)
64.10.1. Create EBS Volumes and Snapshots
64.10.2. Describing EBS Volumes and Snapshots
64.10.3. Attach and Detaching Volumes from Instances
64.10.4. Deleting EBS Volumes and Snapshots
64.11. Zend_Service_Amazon_Ec2: Elastic IP Addresses
64.12. Zend_Service_Amazon_Ec2: Keypairs
64.13. Zend_Service_Amazon_Ec2: Regions and Availability Zones
64.13.1. Amazon EC2 Regions
64.13.2. Amazon EC2 Availability Zones
64.14. Zend_Service_Amazon_Ec2: Security Groups
64.14.1. Security Group Maintenance
64.14.2. Authorizing Access
64.14.3. Revoking Access
64.15. Zend_Service_Amazon_S3
64.15.1. Introduction
64.15.2. Registering with Amazon S3
64.15.3. API Documentation
64.15.4. Features
64.15.5. Getting Started
64.15.6. Bucket operations
64.15.7. Object operations
64.15.8. Data Streaming
64.15.9. Stream wrapper
64.16. Zend_Service_Amazon_Sqs
64.16.1. Introduction
64.16.2. Registering with Amazon SQS
64.16.3. API Documentation
64.16.4. Features
64.16.5. Getting Started
64.16.6. Queue operations
64.16.7. Message operations
64.17. Zend_Service_Audioscrobbler
64.17.1. Introduction
64.17.2. Users
64.17.3. Artists
64.17.4. Tracks
64.17.5. Tags
64.17.6. Groups
64.17.7. Forums
64.18. Zend_Service_Delicious
64.18.1. Introduction
64.18.2. Retrieving posts
64.18.3. Zend_Service_Delicious_PostList
64.18.4. Editing posts
64.18.5. Deleting posts
64.18.6. Adding new posts
64.18.7. Tags
64.18.8. Bundles
64.18.9. Public data
64.18.9.1. Public posts
64.18.10. HTTP client
64.19. Zend_Service_Ebay
64.19.1. Introduction
64.20. Zend_Service_Ebay_Finding
64.20.1. Introduction
64.20.2. Create a client object
64.20.3. Finding items
64.20.4. Keywords Recommendation
64.20.5. Histograms
64.21. Zend_Service_Flickr
64.21.1. Introduction
64.21.2. Finding Flickr Users' Photos and Information
64.21.3. Finding photos From a Group Pool
64.21.4. Retrieving Flickr Image Details
64.21.5. Zend_Service_Flickr Result Classes
64.21.5.1. Zend_Service_Flickr_ResultSet
64.21.5.1.1. Properties
64.21.5.1.2. Zend_Service_Flickr_ResultSet::totalResults()
64.21.5.2. Zend_Service_Flickr_Result
64.21.5.2.1. Properties
64.21.5.3. Zend_Service_Flickr_Image
64.21.5.3.1. Properties
64.22. Zend_Service_LiveDocx
64.22.1. Introduction to LiveDocx
64.22.1.1. Sign Up for an Account
64.22.1.2. Templates and Documents
64.22.1.3. Supported File Formats
64.22.1.3.1. Template File Formats (input)
64.22.1.3.2. Document File Formats (output):
64.22.1.3.3. Image File Formats (import):
64.22.1.3.4. Image File Formats (output):
64.22.2. Zend_Service_LiveDocx_MailMerge
64.22.2.1. Document Generation Process
64.22.2.2. Creating Templates in Microsoft Word 2007
64.22.2.3. Merging image data
64.22.2.4. Advanced Mail-Merge
64.22.2.5. Generating bitmaps image files
64.22.2.6. Local vs. Remote Templates
64.22.2.7. Getting Information
64.23. Zend_Service_Rackspace
64.23.1. Introduction
64.23.2. Registering with Rackspace
64.23.3. Cloud Files
64.23.4. Cloud Servers
64.23.5. Available Methods
64.24. Zend_Service_Rackspace_Files
64.24.1. Overview
64.24.2. Quick Start
64.24.3. Available Methods
64.24.4. Examples
64.25. Zend_Service_Rackspace_Servers
64.25.1. Overview
64.25.2. Terminology
64.25.3. Quick Start
64.25.4. Available Methods
64.25.5. Examples
64.26. Zend_Service_ReCaptcha
64.26.1. Introduction
64.26.2. Simplest use
64.26.3. Hiding email addresses
64.27. Zend_Service_ShortUrl
64.27.1. Overview
64.27.2. Quick Start
64.27.3. Available Methods
64.27.4. Additional Bit.ly Methods
64.28. Zend_Service_SlideShare
64.28.1. Getting Started with Zend_Service_SlideShare
64.28.2. The SlideShow object
64.28.3. Retrieving a single slide show
64.28.4. Retrieving Groups of Slide Shows
64.28.5. Zend_Service_SlideShare Caching policies
64.28.6. Changing the behavior of the HTTP Client
64.29. Zend_Service_StrikeIron
64.29.1. Overview
64.29.2. Registering with StrikeIron
64.29.3. Getting Started
64.29.4. Making Your First Query
64.29.5. Examining Results
64.29.6. Handling Errors
64.29.7. Checking Your Subscription
64.30. Zend_Service_StrikeIron: Bundled Services
64.30.1. ZIP Code Information
64.30.2. U.S. Address Verification
64.30.3. Sales & Use Tax Basic
64.31. Zend_Service_StrikeIron: Advanced Uses
64.31.1. Using Services by WSDL
64.31.2. Viewing SOAP Transactions
64.32. Zend_Service_Twitter
64.32.1. Introduction
64.32.2. Authentication
64.32.3. Account Methods
64.32.4. Application Methods
64.32.5. Block Methods
64.32.6. Direct Message Methods
64.32.7. Favorites Methods
64.32.8. Friendship Methods
64.32.9. Search Methods
64.32.10. Status Methods
64.32.11. User Methods
64.33. Zend_Service_WindowsAzure
64.33.1. Introduction
64.33.2. Installing the Windows Azure SDK
64.33.3. API Documentation
64.33.4. Features
64.33.5. Architecture
64.34. Zend_Service_WindowsAzure_Storage_Blob
64.34.1. API Examples
64.34.1.1. Creating a storage container
64.34.1.2. Deleting a storage container
64.34.1.3. Storing a blob
64.34.1.4. Copying a blob
64.34.1.5. Downloading a blob
64.34.1.6. Making a blob publicly available
64.34.2. Root container
64.34.3. Blob storage stream wrapper
64.34.4. Shared Access Signature
64.34.4.1. Generating a Shared Access Signature
64.34.4.2. Working with Shared Access Signatures from others
64.35. Zend_Service_WindowsAzure_Diagnostics_Manager
64.35.1. API Examples
64.35.1.1. Checking if a diagnostics configuration for the current role instance exists
64.35.1.2. Loading the current role instance diagnostics configuration
64.35.1.3. Storing the current role instance diagnostics configuration
64.35.1.4. Subscribing to a performance counter
64.35.1.5. Getting the current role instance id
64.36. Zend_Service_WindowsAzure_Storage_Queue
64.36.1. API Examples
64.36.1.1. Creating a queue
64.36.1.2. Deleting a queue
64.36.1.3. Adding a message to a queue
64.36.1.4. Reading a message from a queue
64.36.1.5. Check if there are messages in a queue
64.37. Zend_Service_WindowsAzure_Storage_Table
64.37.1. Operations on tables
64.37.1.1. Creating a table
64.37.1.2. Listing all tables
64.37.2. Operations on entities
64.37.2.1. Enforced schema entities
64.37.2.2. No enforced schema entities (a.k.a. DynamicEntity)
64.37.2.3. Entities API examples
64.37.2.3.1. Inserting an entity
64.37.2.3.2. Retrieving an entity by partition key and row key
64.37.2.3.3. Updating an entity
64.37.2.3.4. Deleting an entity
64.37.2.4. Performing queries
64.37.2.5. Batch operations
64.37.3. Table storage session handler
64.38. Zend_Service_Yahoo
64.38.1. Introduction
64.38.2. Searching the Web with Yahoo!
64.38.3. Finding Images with Yahoo!
64.38.4. Finding videos with Yahoo!
64.38.5. Finding Local Businesses and Services with Yahoo!
64.38.6. Searching Yahoo! News
64.38.7. Searching Yahoo! Site Explorer Inbound Links
64.38.8. Searching Yahoo! Site Explorer's PageData
64.38.9. Zend_Service_Yahoo Classes
64.38.9.1. Zend_Service_Yahoo_ResultSet
64.38.9.1.1. Zend_Service_Yahoo_ResultSet::totalResults()
64.38.9.1.2. Properties
64.38.9.2. Zend_Service_Yahoo_WebResultSet
64.38.9.3. Zend_Service_Yahoo_ImageResultSet
64.38.9.4. Zend_Service_Yahoo_VideoResultSet
64.38.9.5. Zend_Service_Yahoo_LocalResultSet
64.38.9.6. Zend_Service_Yahoo_NewsResultSet
64.38.9.7. Zend_Service_Yahoo_InlinkDataResultSet
64.38.9.8. Zend_Service_Yahoo_PageDataResultSet
64.38.9.9. Zend_Service_Yahoo_Result
64.38.9.9.1. Properties
64.38.9.10. Zend_Service_Yahoo_WebResult
64.38.9.10.1. Properties
64.38.9.11. Zend_Service_Yahoo_ImageResult
64.38.9.11.1. Properties
64.38.9.12. Zend_Service_Yahoo_VideoResult
64.38.9.12.1. Properties
64.38.9.13. Zend_Service_Yahoo_LocalResult
64.38.9.13.1. Properties
64.38.9.14. Zend_Service_Yahoo_NewsResult
64.38.9.14.1. Properties
64.38.9.15. Zend_Service_Yahoo_InlinkDataResult
64.38.9.16. Zend_Service_Yahoo_PageDataResult
64.38.9.17. Zend_Service_Yahoo_Image
64.38.9.17.1. Properties
65. Zend_Session
65.1. Introduction
65.2. Basic Usage
65.2.1. Tutorial Examples
65.2.2. Iterating Over Session Namespaces
65.2.3. Accessors for Session Namespaces
65.3. Advanced Usage
65.3.1. Starting a Session
65.3.2. Locking Session Namespaces
65.3.3. Namespace Expiration
65.3.4. Session Encapsulation and Controllers
65.3.5. Preventing Multiple Instances per Namespace
65.3.6. Working with Arrays
65.3.7. Using Sessions with Objects
65.3.8. Using Sessions with Unit Tests
65.4. Global Session Management
65.4.1. Configuration Options
65.4.2. Error: Headers Already Sent
65.4.3. Session Identifiers
65.4.3.1. Session Hijacking and Fixation
65.4.4. rememberMe(integer $seconds)
65.4.5. forgetMe()
65.4.6. sessionExists()
65.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
65.4.8. stop()
65.4.9. writeClose($readonly = true)
65.4.10. expireSessionCookie()
65.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
65.4.12. namespaceIsset($namespace)
65.4.13. namespaceUnset($namespace)
65.4.14. namespaceGet($namespace)
65.4.15. getIterator()
65.5. Zend_Session_SaveHandler_DbTable
66. Zend_Soap
66.1. Zend_Soap_Server
66.1.1. Zend_Soap_Server constructor
66.1.1.1. Zend_Soap_Server constructor for the WSDL mode
66.1.1.2. Zend_Soap_Server constructor for the non-WSDL mode
66.1.2. Methods to define Web Service API
66.1.3. Request and response objects handling
66.1.3.1. Request processing
66.1.3.2. Response pre-processing
66.2. Zend_Soap_Client
66.2.1. Zend_Soap_Client Constructor
66.2.2. Performing SOAP Requests
66.3. WSDL Accessor
66.3.1. Zend_Soap_Wsdl constructor
66.3.2. addMessage() method
66.3.3. addPortType() method
66.3.4. addPortOperation() method
66.3.5. addBinding() method
66.3.6. addBindingOperation() method
66.3.7. addSoapBinding() method
66.3.8. addSoapOperation() method
66.3.9. addService() method
66.3.10. Type mapping
66.3.10.1. Retrieving type information
66.3.10.2. Adding complex type information
66.3.11. addDocumentation() method
66.3.12. Get finalized WSDL document
66.4. AutoDiscovery
66.4.1. AutoDiscovery Introduction
66.4.2. Class autodiscovering
66.4.3. Functions autodiscovering
66.4.4. Autodiscovering Datatypes
66.4.5. WSDL Binding Styles
67. Zend_Tag
67.1. Introduction
67.2. Zend_Tag_Cloud
67.2.1. Decorators
67.2.1.1. HTML Tag decorator
67.2.1.2. HTML Cloud decorator
68. Zend_Test
68.1. Introduction
68.2. Zend_Test_PHPUnit
68.2.1. Bootstrapping your TestCase
68.2.2. Testing your Controllers and MVC Applications
68.2.2.1. Controller Tests and the Redirector Action Helper
68.2.3. Assertions
68.2.3.1. CSS Selector Assertions
68.2.3.2. XPath Assertions
68.2.3.3. Redirect Assertions
68.2.3.4. Response Header Assertions
68.2.3.5. Request Assertions
68.2.4. Examples
68.3. Zend_Test_PHPUnit_Db
68.3.1. Quickstart
68.3.1.1. Setup a Database TestCase
68.3.1.2. Specify a seed dataset
68.3.1.3. A few initial database tests
68.3.2. Usage, API and Extensions Points
68.3.2.1. The Zend_Test_PHPUnit_DatabaseTestCase class
68.3.2.2. Integrating Database Testing with the ControllerTestCase
68.3.3. Using the Database Testing Adapter
69. Zend_Text
69.1. Zend_Text_Figlet
69.2. Zend_Text_Table
70. Zend_TimeSync
70.1. Introduction
70.1.1. Why Zend_TimeSync ?
70.1.2. What is NTP ?
70.1.3. What is SNTP?
70.1.4. Problematic usage
70.1.5. Decide which server to use
70.2. Working with Zend_TimeSync
70.2.1. Generic Time Server Request
70.2.2. Multiple Time Servers
70.2.3. Protocols of Time Servers
70.2.4. Using Ports for Time Servers
70.2.5. Time Servers Options
70.2.6. Using Different Time Servers
70.2.7. Information from Time Servers
70.2.8. Handling Exceptions
71. Zend_Tool
71.1. Using Zend_Tool On The Command Line
71.1.1. Installation
71.1.1.1. Download And Go
71.1.1.2. Installing Via Pear
71.1.1.3. Installing by Hand
71.1.2. General Purpose Commands
71.1.2.1. Version
71.1.2.2. Built-in Help
71.1.2.3. Manifest
71.1.3. Project Specific Commands
71.1.3.1. Project
71.1.3.2. Module
71.1.3.3. Controller
71.1.3.4. Action
71.1.3.5. View
71.1.3.6. Model
71.1.3.7. Form
71.1.3.8. DbAdapter
71.1.3.9. DbTable
71.1.3.10. Layout
71.1.4. Environment Customization
71.1.4.1. The Storage Directory
71.1.4.2. The Configuration File
71.1.4.3. Environment Locations
71.2. Extending Zend_Tool
71.2.1. Overview of Zend_Tool
71.2.2. Zend_Tool_Framework Extensions
71.2.2.1. Overall Architecture
71.2.2.2. Understanding the CLI Client
71.2.2.2.1. Setting up the CLI tool
71.2.2.2.2. Setting up the CLI tool on Unix-like Systems
71.2.2.2.3. Setting up the CLI tool on Windows
71.2.2.2.4. Other Setup Considerations
71.2.2.3. Creating Providers
71.2.2.3.1. How Zend_Tool finds your Providers
71.2.2.3.2. Basic Instructions for Creating Providers
71.2.2.3.3. The response object
71.2.2.3.4. Advanced Development Information
71.2.3. Zend_Tool_Project Extensions
71.2.3.1. Overall Architecture
71.2.3.2. Creating Providers
72. Zend_Tool_Framework
72.1. Introduction
72.2. Using the CLI Tool
72.2.1. Setting up the CLI tool
72.2.2. Setting up the CLI tool on Unix-like Systems
72.2.3. Setting up the CLI tool on Windows
72.2.4. Other Setup Considerations
72.2.5. Where To Go Next?
72.3. Architecture
72.3.1. Registry
72.3.2. Providers
72.3.3. Loaders
72.3.4. Manifests
72.3.5. Clients
72.4. Creating Providers to use with Zend_Tool_Framework
72.4.1. How Zend_Tool finds your Providers
72.4.2. Basic Instructions for Creating Providers
72.4.3. The response object
72.4.4. Advanced Development Information
72.4.4.1. Passing Variables to a Provider
72.4.4.2. Prompt the User for Input
72.4.4.3. Pretending to execute a Provider Action
72.4.4.4. Verbose and Debug modes
72.4.4.5. Accessing User Config and Storage
72.5. Shipped System Providers
72.5.1. The Version Provider
72.5.2. The Manifest Provider
72.6. Extending and Configuring Zend_Tool_Framework
72.6.1. Customizing Zend_Tool Console Client
72.6.1.1. The Home Directory
72.6.1.2. Local Storage
72.6.1.3. User Configuration
72.6.1.4. User Configuration File Content
73. Zend_Tool_Project
73.1. Introduction
73.2. Create A Project
73.3. Zend_Tool Project Providers
73.4. Zend_Tool_Project Internals
73.4.1. Zend_Tool_Project Internal Xml Structure
73.4.2. Zend_Tool_Project Internal Extending
74. Zend_Translate
74.1. Introduction
74.1.1. Starting multi-lingual
74.2. Adapters for Zend_Translate
74.2.1. How to decide which translation adapter to use
74.2.1.1. Zend_Translate_Adapter_Array
74.2.1.2. Zend_Translate_Adapter_Csv
74.2.1.3. Zend_Translate_Adapter_Gettext
74.2.1.4. Zend_Translate_Adapter_Ini
74.2.1.5. Zend_Translate_Adapter_Tbx
74.2.1.6. Zend_Translate_Adapter_Tmx
74.2.1.7. Zend_Translate_Adapter_Qt
74.2.1.8. Zend_Translate_Adapter_Xliff
74.2.1.9. Zend_Translate_Adapter_XmlTm
74.2.2. Integrate self written Adapters
74.2.3. Speedup all Adapters
74.3. Using Translation Adapters
74.3.1. Translation Source Structures
74.4. Creating source files
74.4.1. Creating Array source files
74.4.2. Creating Gettext source files
74.4.3. Creating TMX source files
74.4.4. Creating CSV source files
74.4.5. Creating INI source files
74.5. Additional features for translation
74.5.1. Options for adapters
74.5.2. Handling languages
74.5.2.1. Automatical handling of languages
74.5.2.2. Using a country as language
74.5.3. Automatic source detection
74.5.3.1. Language through naming directories
74.5.3.2. Language through filenames
74.5.3.2.1. Complete filename
74.5.3.2.2. Extension of the file
74.5.3.2.3. Filename tokens
74.5.3.3. Ignoring special files and directories
74.5.3.3.1. Ignore a special directory or file
74.5.3.3.2. Ignore several directories or files
74.5.3.3.3. Ignore specific names
74.5.4. Routing for translations
74.5.5. Combining multiple translation sources
74.5.6. Checking for translations
74.5.7. How to log not found translations
74.5.8. Accessing source data
74.6. Plural notations for Translation
74.6.1. Traditional plural translations
74.6.2. Modern plural translations
74.6.3. Plural source files
74.6.3.1. Array source with plural definitions
74.6.3.2. Csv source with plural definitions
74.6.3.3. Gettext source with plural definitions
74.6.4. Custom plural rules
75. Zend_Uri
75.1. Zend_Uri
75.1.1. Overview
75.1.2. Creating a New URI
75.1.2.1. Creating a New Custom-Class URI
75.1.3. Manipulating an Existing URI
75.1.4. URI Validation
75.1.4.1. Allowing "Unwise" characters in URIs
75.1.5. Common Instance Methods
75.1.5.1. Getting the Scheme of the URI
75.1.5.2. Getting the Entire URI
75.1.5.3. Validating the URI
76. Zend_Validate
76.1. Introduction
76.1.1. What is a validator?
76.1.2. Basic usage of validators
76.1.3. Customizing messages
76.1.4. Using the static is() method
76.1.4.1. Namespaces
76.1.5. Translating messages
76.2. Standard Validation Classes
76.2.1. Alnum
76.2.1.1. Supported options for Zend_Validate_Alnum
76.2.1.2. Basic usage
76.2.1.3. Using whitespaces
76.2.1.4. Using different languages
76.2.2. Alpha
76.2.2.1. Supported options for Zend_Validate_Alpha
76.2.2.2. Basic usage
76.2.2.3. Using whitespaces
76.2.2.4. Using different languages
76.2.3. Barcode
76.2.3.1. Supported options for Zend_Validate_Barcode
76.2.3.2. Basic usage
76.2.3.3. Optional checksum
76.2.3.4. Writing custom adapters
76.2.4. Between
76.2.4.1. Supported options for Zend_Validate_Between
76.2.4.2. Default behaviour for Zend_Validate_Between
76.2.4.3. Validation exclusive the border values
76.2.5. Callback
76.2.5.1. Supported options for Zend_Validate_Callback
76.2.5.2. Basic usage
76.2.5.3. Usage with closures
76.2.5.4. Usage with class-based callbacks
76.2.5.5. Adding options
76.2.6. CreditCard
76.2.6.1. Supported options for Zend_Validate_CreditCard
76.2.6.2. Basic usage
76.2.6.3. Accepting defined credit cards
76.2.6.4. Validation by using foreign APIs
76.2.7. Ccnum
76.2.8. Date
76.2.8.1. Supported options for Zend_Validate_Date
76.2.8.2. Default date validation
76.2.8.3. Localized date validation
76.2.8.4. Self defined date validation
76.2.9. Db_RecordExists and Db_NoRecordExists
76.2.9.1. Supported options for Zend_Validate_Db_*
76.2.9.2. Basic usage
76.2.9.3. Excluding records
76.2.9.4. Database Adapters
76.2.9.5. Database Schemas
76.2.10. Digits
76.2.10.1. Supported options for Zend_Validate_Digits
76.2.10.2. Validating digits
76.2.11. EmailAddress
76.2.11.1. Basic usage
76.2.11.2. Options for validating Email Addresses
76.2.11.3. Complex local parts
76.2.11.4. Validating only the local part
76.2.11.5. Validating different types of hostnames
76.2.11.6. Checking if the hostname actually accepts email
76.2.11.7. Validating International Domains Names
76.2.11.8. Validating Top Level Domains
76.2.11.9. Setting messages
76.2.12. Float
76.2.12.1. Supported options for Zend_Validate_Float
76.2.12.2. Simple float validation
76.2.12.3. Localized float validation
76.2.13. GreaterThan
76.2.13.1. Supported options for Zend_Validate_GreaterThan
76.2.13.2. Basic usage
76.2.14. Hex
76.2.14.1. Supported options for Zend_Validate_Hex
76.2.15. Hostname
76.2.15.1. Supported options for Zend_Validate_Hostname
76.2.15.2. Basic usage
76.2.15.3. Validating different types of hostnames
76.2.15.4. Validating International Domains Names
76.2.15.5. Validating Top Level Domains
76.2.16. Iban
76.2.16.1. Supported options for Zend_Validate_Iban
76.2.16.2. IBAN validation
76.2.16.2.1. Application wide locale
76.2.16.2.2. Ungreedy IBAN validation
76.2.16.2.3. Region aware IBAN validation
76.2.17. Identical
76.2.17.1. Supported options for Zend_Validate_Identical
76.2.17.2. Basic usage
76.2.17.3. Identical objects
76.2.17.4. Form elements
76.2.17.5. Strict validation
76.2.17.6. Configuration
76.2.18. InArray
76.2.18.1. Supported options for Zend_Validate_InArray
76.2.18.2. Simple array validation
76.2.18.3. Strict array validation
76.2.18.4. Recursive array validation
76.2.19. Int
76.2.19.1. Supported options for Zend_Validate_Int
76.2.19.2. Simple integer validation
76.2.19.3. Localized integer validation
76.2.20. Ip
76.2.20.1. Supported options for Zend_Validate_Ip
76.2.20.2. Basic usage
76.2.20.3. Validate IPv4 or IPV6 alone
76.2.21. Isbn
76.2.21.1. Supported options for Zend_Validate_Isbn
76.2.21.2. Basic usage
76.2.21.3. Setting an explicit ISBN validation type
76.2.21.4. Specifying a separator restriction
76.2.22. LessThan
76.2.22.1. Supported options for Zend_Validate_LessThan
76.2.22.2. Basic usage
76.2.23. NotEmpty
76.2.23.1. Supported options for Zend_Validate_NotEmpty
76.2.23.2. Default behaviour for Zend_Validate_NotEmpty
76.2.23.3. Changing behaviour for Zend_Validate_NotEmpty
76.2.24. PostCode
76.2.24.1. Constructor options
76.2.24.2. Supported options for Zend_Validate_PostCode
76.2.25. Regex
76.2.25.1. Supported options for Zend_Validate_Regex
76.2.25.2. Validation with Zend_Validate_Regex
76.2.25.3. Pattern handling
76.2.26. Sitemap Validators
76.2.26.1. Sitemap_Changefreq
76.2.26.2. Sitemap_Lastmod
76.2.26.3. Sitemap_Loc
76.2.26.4. Sitemap_Priority
76.2.26.5. Supported options for Zend_Validate_Sitemap_*
76.2.27. StringLength
76.2.27.1. Supported options for Zend_Validate_StringLength
76.2.27.2. Default behaviour for Zend_Validate_StringLength
76.2.27.3. Limiting the maximum allowed length of a string
76.2.27.4. Limiting the minimal required length of a string
76.2.27.5. Limiting a string on both sides
76.2.27.6. Encoding of values
76.3. Validator Chains
76.4. Writing Validators
76.5. Validation Messages
76.5.1. Using pre-translated validation messages
76.5.2. Limit the size of a validation message
77. Zend_Version
77.1. Getting the Zend Framework Version
78. Zend_View
78.1. Introduction
78.1.1. Controller Script
78.1.2. View Script
78.1.3. Options
78.1.4. Short Tags with View Scripts
78.1.5. Utility Accessors
78.2. Controller Scripts
78.2.1. Assigning Variables
78.2.2. Rendering a View Script
78.2.3. View Script Paths
78.3. View Scripts
78.3.1. Escaping Output
78.3.2. Using Alternate Template Systems
78.3.2.1. Template Systems Using View Scripts
78.3.2.2. Template Systems Using Zend_View_Interface
78.4. View Helpers
78.4.1. Initial Helpers
78.4.1.1. Action View Helper
78.4.1.2. BaseUrl Helper
78.4.1.3. Currency Helper
78.4.1.4. Cycle Helper
78.4.1.5. Partial Helper
78.4.1.6. Placeholder Helper
78.4.1.6.1. Concrete Placeholder Implementations
78.4.1.7. Doctype Helper
78.4.1.8. Gravatar View Helper
78.4.1.8.1. Options
78.4.1.9. HeadLink Helper
78.4.1.10. HeadMeta Helper
78.4.1.11. HeadScript Helper
78.4.1.12. HeadStyle Helper
78.4.1.13. HeadTitle Helper
78.4.1.14. HTML Object Helpers
78.4.1.15. InlineScript Helper
78.4.1.16. RenderToPlaceholder Helper
78.4.1.17. JSON Helper
78.4.1.18. Navigation Helpers
78.4.1.18.1. Translation of labels and titles
78.4.1.18.2. Integration with ACL
78.4.1.18.3. Navigation setup used in examples
78.4.1.18.4. Breadcrumbs Helper
78.4.1.18.5. Links Helper
78.4.1.18.6. Menu Helper
78.4.1.18.7. Sitemap Helper
78.4.1.18.8. Navigation Helper
78.4.1.19. Translate Helper
78.4.1.20. UserAgent View Helper
78.4.1.20.1. Overview
78.4.1.20.2. Quick Start
78.4.1.20.3. Available Methods
78.4.2. Helper Paths
78.4.3. Writing Custom Helpers
78.4.4. Registering Concrete Helpers
78.5. Zend_View_Abstract
79. Zend_Wildfire
79.1. Zend_Wildfire
80. Zend_XmlRpc
80.1. Introduction
80.2. Zend_XmlRpc_Client
80.2.1. Introduction
80.2.2. Method Calls
80.2.3. Types and Conversions
80.2.3.1. PHP Native Types as Parameters
80.2.3.2. Zend_XmlRpc_Value Objects as Parameters
80.2.4. Server Proxy Object
80.2.5. Error Handling
80.2.5.1. HTTP Errors
80.2.5.2. XML-RPC Faults
80.2.6. Server Introspection
80.2.7. From Request to Response
80.2.8. HTTP Client and Testing
80.3. Zend_XmlRpc_Server
80.3.1. Introduction
80.3.2. Basic Usage
80.3.3. Server Structure
80.3.4. Anatomy of a webservice
80.3.4.1. General considerations
80.3.4.2. What to expose?
80.3.5. Conventions
80.3.6. Utilizing Namespaces
80.3.7. Custom Request Objects
80.3.8. Custom Responses
80.3.9. Handling Exceptions via Faults
80.3.10. Caching Server Definitions Between Requests
80.3.11. Usage Examples
80.3.12. Performance optimization
A. Zend Framework Requirements
A.1. Introduction
A.1.1. PHP Version
A.1.2. PHP Extensions
A.1.3. Zend Framework Components
A.1.4. Zend Framework Dependencies
B. Zend Framework Migration Notes
B.1. Zend Framework 1.12
B.1.1. Zend_View_Helper_Navigation
B.2. Zend Framework 1.10
B.2.1. Zend_Controller_Front
B.2.2. Zend_Feed_Reader
B.2.3. Zend_File_Transfer
B.2.3.1. Security change
B.2.3.2. Count validation
B.2.4. Zend_Filter_HtmlEntities
B.2.5. Zend_Filter_StripTags
B.2.6. Zend_Translate
B.2.6.1. Xliff adapter
B.2.7. Zend_Validate
B.2.7.1. Self written validators
B.2.7.2. Simplification in date validator
B.2.7.3. Fixes in Alpha, Alnum and Barcode validator
B.3. Zend Framework 1.9
B.3.1. Zend_File_Transfer
B.3.1.1. MimeType validation
B.3.2. Zend_Filter
B.3.3. Zend_Http_Client
B.3.3.1. Changes to internal uploaded file information storage
B.3.3.2. Deprecation of Zend_Http_Client::_getParametersRecursive()
B.3.4. Zend_Locale
B.3.4.1. Deprecated methods
B.3.5. Zend_View_Helper_Navigation
B.3.6. Security fixes as with 1.9.7
B.3.6.1. Zend_Dojo_View_Helper_Editor
B.3.6.2. Zend_Filter_HtmlEntities
B.3.6.3. Zend_Filter_StripTags
B.4. Zend Framework 1.8
B.4.1. Zend_Controller
B.4.1.1. Standard Route Changes
B.4.2. Zend_Locale
B.4.2.1. Default caching
B.5. Zend Framework 1.7
B.5.1. Zend_Controller
B.5.1.1. Dispatcher Interface Changes
B.5.2. Zend_File_Transfer
B.5.2.1. Changes when using filters and validators
B.5.2.1.1. Filter: Rename
B.5.2.1.2. Validator: Count
B.5.2.1.3. Validator:Extension
B.5.2.1.4. Validator: FilesSize
B.5.2.1.5. Validator: Hash
B.5.2.1.6. Validator: ImageSize
B.5.2.1.7. Validator: Size
B.5.3. Zend_Locale
B.5.3.1. Changes when using isLocale()
B.5.3.2. Changes when using getDefault()
B.5.4. Zend_Translate
B.5.4.1. Setting languages
B.5.5. Zend_View
B.5.5.1. Disabling LFI protection for the render() method
B.6. Zend Framework 1.6
B.6.1. Zend_Controller
B.6.1.1. Dispatcher Interface Changes
B.6.2. Zend_File_Transfer
B.6.2.1. Changes when using validators
B.7. Zend Framework 1.5
B.7.1. Zend_Controller
B.8. Zend Framework 1.0
B.8.1. Zend_Controller
B.8.2. Zend_Currency
B.9. Zend Framework 0.9
B.9.1. Zend_Controller
B.10. Zend Framework 0.8
B.10.1. Zend_Controller
B.11. Zend Framework 0.6
B.11.1. Zend_Controller
C. Zend Framework Coding Standard for PHP
C.1. Overview
C.1.1. Scope
C.1.2. Goals
C.2. PHP File Formatting
C.2.1. General
C.2.2. Indentation
C.2.3. Maximum Line Length
C.2.4. Line Termination
C.3. Naming Conventions
C.3.1. Classes
C.3.2. Abstract Classes
C.3.3. Interfaces
C.3.4. Filenames
C.3.5. Functions and Methods
C.3.6. Variables
C.3.7. Constants
C.4. Coding Style
C.4.1. PHP Code Demarcation
C.4.2. Strings
C.4.2.1. String Literals
C.4.2.2. String Literals Containing Apostrophes
C.4.2.3. Variable Substitution
C.4.2.4. String Concatenation
C.4.3. Arrays
C.4.3.1. Numerically Indexed Arrays
C.4.3.2. Associative Arrays
C.4.4. Classes
C.4.4.1. Class Declaration
C.4.4.2. Class Member Variables
C.4.5. Functions and Methods
C.4.5.1. Function and Method Declaration
C.4.5.2. Function and Method Usage
C.4.6. Control Statements
C.4.6.1. If/Else/Elseif
C.4.6.2. Switch
C.4.7. Inline Documentation
C.4.7.1. Documentation Format
C.4.7.2. Files
C.4.7.3. Classes
C.4.7.4. Functions
D. Zend Framework Documentation Standard
D.1. Overview
D.1.1. Scope
D.2. Documentation File Formatting
D.2.1. XML Tags
D.2.2. Maximum Line Length
D.2.3. Indentation
D.2.4. Line Termination
D.2.5. Empty tags
D.2.6. Usage of whitespace within documents
D.2.6.1. Whitespace within tags
D.2.6.2. Multiple line breaks
D.2.6.3. Separation between tags
D.2.7. Program Listings
D.2.8. Notes on specific inline tags
D.2.8.1. classname
D.2.8.2. varname
D.2.8.3. methodname
D.2.8.4. constant
D.2.8.5. filename
D.2.8.6. command
D.2.8.7. code
D.2.9. Notes on specific block tags
D.2.9.1. title
D.3. Recommendations
D.3.1. Use editors without autoformatting
D.3.2. Use Images
D.3.3. Use Case Examples
D.3.4. Avoid Replicating phpdoc Contents
D.3.5. Use Links
E. Recommended Project Structure for Zend Framework MVC Applications
E.1. Overview
E.2. Recommended Project Directory Structure
E.3. Module Structure
E.4. Rewrite Configuration Guide
E.4.1. Apache HTTP Server
E.4.1.1. Rewriting inside a VirtualHost
E.4.1.2. Rewriting within a .htaccess file
E.4.2. Microsoft Internet Information Server
F. Zend Framework Performance Guide
F.1. Introduction
F.2. Class Loading
F.2.1. How can I optimize my include_path?
F.2.1.1. Use absolute paths
F.2.1.2. Reduce the number of include paths you define
F.2.1.3. Define your Zend Framework include_path as early as possible
F.2.1.4. Define the current directory last, or not at all
F.2.2. How can I eliminate unnecessary require_once statements?
F.2.2.1. Strip require_once calls with find and sed
F.2.3. How can I speed up plugin loading?
F.2.3.1. Use the PluginLoader include file cache
F.3. Zend_Db Performance
F.3.1. How can I reduce overhead introduced by Zend_Db_Table for retrieving table metadata?
F.3.1.1. Use the metadata cache
F.3.1.2. Hardcode your metadata in the table definition
F.3.2. SQL generated with Zend_Db_Select s not hitting my indexes; how can I make it better?
F.3.2.1. Write your own tuned SQL
F.4. Internationalization (i18n) and Localization (l10n)
F.4.1. Which translation adapter should I use?
F.4.1.1. Use non-XML translation adapters for greatest speed
F.4.2. How can I make translation and localization even faster?
F.4.2.1. Use translation and localization caches
F.5. View Rendering
F.5.1. How can I speed up resolution of view helpers?
F.5.1.1. Use the PluginLoader include file cache
F.5.1.2. Extend Zend_View to provide often used helper methods
F.5.2. How can I speed up view partials?
F.5.2.1. Use partial() only when really necessary
F.5.3. How can I speed up calls to the action() view helper?
F.5.3.1. Use the ActionStack when possible
F.5.3.2. Favor helpers that query the model over action()
G. Copyright Information
Index

List of Tables

12.1. Access Controls for an Example CMS
14.1. Zend_Application options
14.2. Zend_Application Methods
14.3. Zend_Application_Bootstrap_Bootstrapper Interface
14.4. Zend_Application_Bootstrap_ResourceBootstrapper Interface
14.5. Zend_Application_Bootstrap_BootstrapAbstract Methods
14.6. Zend_Application_Resource_Resource Interface
14.7. Zend_Application_Resource_ResourceAbstract Methods
15.1. Configuration Options
15.2. Server Options
15.3. Debugging Messages
15.4. Options for Active Directory
15.5. Options for OpenLDAP
16.1. Common Options
16.2. Common Getters
16.3. Zend_Barcode_Object_Code25interleaved Options
16.4. Common Options
16.5. Zend_Barcode_Renderer_Image Options
16.6. Zend_Barcode_Renderer_Svg Options
17.1. Core Frontend Options
17.2. Function Frontend Options
17.3. Class Frontend Options
17.4. File Frontend Options
17.5. Page Frontend Options
17.6. File Backend Options
17.7. Sqlite Backend Options
17.8. Memcached Backend Options
17.9. Libmemcached Backend Options
17.10. Xcache Backend Options
17.11. TwoLevels Backend Options
17.12. Static Backend Options
19.1. Zend_Cloud_DocumentService_Adapter Common Options
19.2. Zend_Cloud_DocumentService_Adapter_SimpleDb Options
19.3. Zend_Cloud_DocumentService_Adapter_WindowsAzure Options
19.4. Zend_Cloud_QueueService_Adapter_Sqs Options
19.5. Zend_Cloud_QueueService_Adapter_WindowsAzure Options
19.6. Zend_Cloud_QueueService_Adapter_ZendQueue Options
19.7. Zend_Cloud_StorageService_Adapter_S3 options
19.8. Zend_Cloud_StorageService_Adapter_WindowsAzure options
19.9. Zend_Cloud_StorageService_Adapter_Filesystem options
21.1. Zend_Config_Ini Constructor Parameters
24.1. Zend_Rest_Route Behavior
25.1. Rendered informations for a currency
25.2. Available positions for the currency
26.1. Date Parts
26.2. Basic Operations
26.3. Date Comparison Methods
26.4. Date Output Methods
26.5. Date Output Methods
26.6. Miscellaneous Methods
26.7. Operations Involving Zend_Date::HOUR
26.8. Day Constants
26.9. Week Constants
26.10. Month Constants
26.11. Year Constants
26.12. Time Constants
26.13. Timezone Constants
26.14. Date Format Constants (formats include timezone)
26.15. Date and Time Formats (format varies by locale)
26.16. Constants for ISO 8601 Date Output
26.17. Constants for PHP Date Output
26.18. Types of Supported Horizons for Sunset and Sunrise
27.1. Metadata Fields Returned by describeTable()
27.2. Constants used by getPart() and reset()
33.1. Feed Level API Methods
33.2. Extended Feed Level API Methods
33.3. Entry Level API Methods
33.4. Extended Entry Level API Methods
33.5. Core Extensions (pre-registered)
33.6. Non-Core Extensions (must register manually)
33.7. Feed Level API Methods
33.8. Entry Level API Methods
33.9. Subscription request parameters
34.1. Different notations of the rename filter and their meaning
35.1. Usage without casting
38.1. Zend_Http_Client configuration parameters
38.2. Zend_Http_Client_Adapter_Socket configuration parameters
38.3. Zend_Http_Client configuration parameters
41.1. Options for accountCanonicalForm
41.2. Zend_Ldap Options
41.3. Zend_Ldap API
41.4. Zend_Ldap_Collection API
41.5. Zend_Ldap_Attribute API
41.6. Zend_Ldap_Dn API
41.7. Zend_Ldap_Filter API
41.8. Zend_Ldap_Node API
41.9. Zend_Ldap_Node_RootDse API
41.10. Zend_Ldap_Node_RootDse_OpenLdap API
41.11. Zend_Ldap_Node_RootDse_ActiveDirectory API
41.12. Zend_Ldap_Node_RootDse_eDirectory API
41.13. Zend_Ldap_Node_Schema API
41.14. Zend_Ldap_Node_Schema_AttributeType_Interface API
41.15. Zend_Ldap_Node_Schema_ObjectClass_Interface API
41.16. Zend_Ldap_Node_Schema_Item API
41.17. Zend_Ldap_Node_Schema_OpenLDAP API
41.18. Zend_Ldap_Node_Schema_AttributeType_OpenLDAP API
41.19. Zend_Ldap_Node_Schema_ObjectClass_OpenLDAP API
41.20. Zend_Ldap_Node_Schema_AttributeType_ActiveDirectory API
41.21. Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory API
41.22. Zend_Ldif_Encoder API
42.1. Zend_Loader_Autoloader Methods
43.1. Details for getTranslationList($type = null, $locale = null, $value = null)
43.2. Details for getTranslation($value = null, $type = null, $locale = null)
43.3. Differences between Zend Framework 1.0 and 1.5
43.4. Format tokens for self generated number formats
43.5. Key values for getDate() with option 'fix_date'
43.6. Return values
43.7. Format definition
43.8. Example formats
43.9. List of all supported languages
44.1. Additional fields for Zend_Log events from PHP errors
44.2. Firebug Logging Styles
44.3. Zend_Log_Writer_Mail Options
45.1. Mail Read Feature Overview
45.2. Mail Folder Names
46.1. List of markups
47.1. List of measurement types
50.1. Adapters
50.2. Messages
50.3. Exceptions and Remediation Techniques
50.4. Exceptions and Remediation Techniques
50.5. Exceptions and Remediation Techniques
51.1. Common page options
51.2. MVC page options
51.3. URI page options
54.1. Adapters for Zend_Paginator
54.2. Scrolling styles for Zend_Paginator
54.3. Properties available to view partials
54.4. Configuration methods for Zend_Paginator
61.1. Zend_Search_Lucene_Field Types
62.1. Zend_Serializer_Adapter_Wddx Options
62.2. Zend_Serializer_Adapter_Json Options
62.3. Zend_Serializer_Adapter_PythonPickle Options
62.4. Datatype merging (PHP to Python)
62.5. Datatype merging (Python to PHP)
64.1. Zend_Service_Amazon_Item Properties
64.2. Zend_Service_Amazon_Image Properties
64.3. Zend_Service_Amazon_OfferSet Properties
64.4. Properties
64.5. Zend_Service_Amazon_SimilarProduct Properties
64.6. Zend_Service_Amazon_Accessories Properties
64.7. Zend_Service_Amazon_CustomerReview Properties
64.8. Zend_Service_Amazon_EditorialReview Properties
64.9. Zend_Service_Amazon_Listmania Properties
64.10. Available Instance Types
64.11. Valid Run Options
64.12. Launch permissions fall into three categories
64.13. Valid Attributes
64.14. Methods for retrieving public data
64.15. Methods of the Zend_Service_Delicious_SimplePost class
64.16. Zend_Service_Flickr_ResultSet Properties
64.17. Zend_Service_Flickr_Result Properties
64.18. Zend_Service_Flickr_Image Properties
64.19. Zend_Service_ReCaptcha_MailHide options
64.20. Zend_Service_Yahoo_ResultSet
64.21. Zend_Service_Yahoo_LocalResultSet Properties
64.22. Zend_Service_Yahoo_Result Properties
64.23. Zend_Service_Yahoo_WebResult Properties
64.24. Zend_Service_Yahoo_ImageResult Properties
64.25. Zend_Service_Yahoo_VideoResult Properties
64.26. Zend_Service_Yahoo_LocalResult Properties
64.27. Zend_Service_Yahoo_NewsResult Properties
64.28. Zend_Service_Yahoo_Image Properties
68.1. Zend_Test_PHPUnit_DatabaseTestCase API Methods
73.1. Project Provider Options
73.2. Project Provider Options
74.1. Adapters for Zend_Translate
74.2. Options for translation adapters
74.3. Plural support
76.1. Constants for credit card institutes
78.1. Sitemap XML elements
80.1. PHP and XML-RPC Type Conversions
80.2. Zend_XmlRpc_Value Objects for XML-RPC Types
A.1. PHP Extensions Used in Zend Framework by Component
A.2. Zend Framework Components and the PHP Extensions they use
A.3. Zend Framework Components and their dependency to other Zend Framework Components
B.1. Changed Validation Messages
B.2. Available Validation Messages
B.3. List of measurement types

List of Examples

5.1. Basic Plugin Example: Adding a single prefix path
5.2. Intermediate Plugin Usage: Overriding existing plugins
10.1. Lucene Index Creation
10.2. Lucene Index Opening
10.3. Manual Document Construction
10.4. Document loading
10.5. Index optimization
10.6. Searching through the index
10.7. Deleting an Indexed Document
10.8. Retrieving an Indexed Document
10.9. Accessing the original document's "id" and "score" fields
10.10. Querying for a single word
10.11. Querying for multiple words
10.12. Requiring words in a query
10.13. Prohibiting words in queried documents
10.14. Querying for phrases
10.15. Querying against specific fields
10.16. Querying against specific fields as well as the entire document
10.17. Querying against specific fields as well as the entire document (alternate)
10.18. Querying with the wildcard "?"
10.19. Querying with the wildcard "*"
10.20. Querying for an inclusive range of terms
10.21. Querying for an exclusive range of terms
10.22. Fuzzy searches
10.23. Boolean searches
10.24. Combining parsed and constructed queries
10.25. Search result pagination example
12.1. Multiple Inheritance among Roles
13.1. Basic AMF Server
13.2. Adding Message Headers to the AMF Response
14.1. Sample Cachemanager resource configuration
14.2. Sample DB adapter resource configuration
14.3. Sample Dojo resource configuration
14.4. Overriding the dispatcher
14.5. Sample Front Controller resource configuration
14.6. Retrieving the Front Controller in your bootstrap
14.7. Sample Layout configuration
14.8. Autodetect locale and setting a fallback
14.9. Defining a single locale to use
14.10. Defining a cache template to use
14.11. Sample Log Resource Configuration
14.12. Sample Mail Resource Configuration
14.13. Configuring Modules
14.14. Retrieving a specific module bootstrap
14.15. Setting up multiple Db Connections
14.16. Retrieving a specific database adapter
14.17. Retrieving the default database adapter
14.18. Sample Navigation resource configuration
14.19. Sample Router Resource configuration
14.20. Sample Session resource configuration
14.21. Sample translate adapter resource configuration
14.22. Sample View resource configuration
14.23. Sample doctype configuration
14.24. Sample content type and encoding configuration
14.25. Sample encoding configuration for a HTML5 document
15.1. Modifying the Session Namespace
15.2. Using a Custom Storage Class
15.3. Basic Usage
16.1. Getting a Renderer with Zend_Barcode::factory()
16.2. Using Zend_Barcode::factory() with Zend_Config objects
16.3. Drawing a barcode with the renderer object
16.4. Drawing a barcode with Zend_Barcode::draw()
16.5. Renderering a barcode with the renderer object
16.6. Renderering a barcode with Zend_Barcode::render()
16.7. Different ways to parameterize a barcode object
16.8. Different ways to parameterize a renderer object
17.1. Getting a Frontend with Zend_Cache::factory()
17.2. Caching a Database Query Result
17.3. Caching Output with Zend_Cache Output Frontend
19.1. Example: Using the SimpleDB adapter
19.2. Creating a document
19.3. Exploring the document data
19.4. Creating collection
19.5. Deleting a collection
19.6. List collections
19.7. Inserting a document
19.8. Replacing a document
19.9. Updating a document
19.10. Merging document fields
19.11. Deleting a document
19.12. Fetching a document
19.13. Querying a collection using a string query
19.14. Querying a collection with structured query
19.15. Creating a structured query
19.16. Using concrete adapters
19.17. Instantiating an Amazon SQS adapter via the factory
19.18. Creating a queue
19.19. Deleting a queue
19.20. Listing queues
19.21. Setting queue metadata
19.22. Fetching queue metadata
19.23. Sending a message
19.24. Receiving a message
19.25. Deleting a message
19.26. Using a concrete adapter
19.27. Using the StorageService Factory
19.28. Storing an item
19.29. Storing an item with options
19.30. Fetching an item
19.31. Deleting an item
19.32. Copying an item
19.33. Moving an item
19.34. Renaming an item
19.35. List items
19.36. Fetching metadata
19.37. Storing metadata
19.38. Deleting metadata
19.39. Using a concrete adapter
19.40. Get the datetime system information of an instance
19.41. Get the datetime system information of an instance
19.42. Reboot an instance and wait for the running status
20.1. Generating PHP classes
20.2. Generating PHP classes with class properties
20.3. Generating PHP classes with class methods
20.4. Generating PHP files
20.5. Seeding PHP file code generation via reflection
20.6. Seeding PHP class generation via reflection
21.1. Using Zend_Config
21.2. Using Zend_Config with a PHP Configuration File
21.3. Using Zend_Config_Ini
21.4. Using Zend_Config_Xml
21.5. Using Tag Attributes in Zend_Config_Xml
21.6. Using Zend_Config_Yaml with sfYaml
22.1. Using Zend_Config_Writer
22.2. Modifying an Existing Config
23.1. Using the Short Syntax
23.2. Using the Long Syntax
23.3. Catching Getopt Exceptions
23.4. Using getOption()
23.5. Using __get() and __isset() Magic Methods
23.6. Using getRemainingArgs()
23.7. Using addRules()
23.8. Using setHelp()
23.9. Using setAliases()
23.10. Using addArguments() and setArguments()
23.11. Using setOption()
23.12. Using setOptions()
24.1. Handling Non-Existent Actions
24.2. Adding a Task Using Action, Controller and Module Names
24.3. Adding a Task Using a Request Object
24.4. AutoCompletion with Dojo Using Zend MVC
24.5. Allowing Actions to Respond To Ajax Requests
24.6. Setting Options
24.7. Using Defaults
24.8. Using goto()'s _forward() API
24.9. Using Route Assembly with gotoRoute()
24.10. Basic Usage
24.11. Disabling Autorender
24.12. Choosing a Different View Script
24.13. Modifying the Registered View
24.14. Changing the Path Specifications
24.15. Rendering Multiple View Scripts from a Single Action
24.16. Populate Zend_Http_Header_SetCookie via constructor and add to response
24.17. Populate Zend_Http_Header_SetCookie via setters and add to response
24.18. Standard Usage
24.19. Setting a Different Error Handler
24.20. Using Accessors
25.1. Creating a currency with client settings
25.2. Selecting the currency description
25.3. Changing the currency description
25.4. Setting the currency position
25.5. Using a custom script
25.6. Caching currencies
26.1. Setting a Default Timezone
26.2. Creating the Current Date
26.3. get() - Output a Date
26.4. set() - Set a Date
26.5. add() - Adding Dates
26.6. compare() - Compare Dates
26.7. equals() - Identify a Date or Date Part
26.8. User-Specified Input Date Format
26.9. Operating on Parts of Dates
26.10. Date Creation by Instance
26.11. Static Date Creation
26.12. Quick Creation of Dates from Database Date Values
26.13. Convenient Creation of Dates from Database Date Values
26.14. Date Creation by Array
26.15. Self-Defined ISO Formats
26.16. Self-Defined Formats with PHP Specifier
26.17. Checking Dates
26.18. Getting all Available Cities
26.19. Getting the Location for a City
26.20. Calculating Sun Information
26.21. Working with Time Zones
26.22. Multiple Time Zones
27.1. Using an Adapter Constructor
27.2. Using the Adapter Factory Method
27.3. Using the Adapter Factory Method for a Custom Adapter Class
27.4. Using the Adapter Factory Method with a Zend_Config Object
27.5. Passing the Case-Folding Option to the Factory
27.6. Passing the Auto-Quoting Option to the Factory
27.7. Passing PDO Driver Options to the Factory
27.8. Passing Serialization Options to the Factory
27.9. Handling Connection Exceptions
27.10. Using fetchAll()
27.11. Using setFetchMode()
27.12. Using fetchAssoc()
27.13. Using fetchCol()
27.14. Using fetchPairs()
27.15. Using fetchRow()
27.16. Using fetchOne()
27.17. Inserting in a Table
27.18. Inserting Expressions in a Table
27.19. Using lastInsertId() for an Auto-Increment Key
27.20. Using lastInsertId() for a Sequence
27.21. Using lastSequenceId()
27.22. Updating Rows
27.23. Updating Rows Using an Array of Expressions
27.24. Updating Rows Using an Array of Arrays
27.25. Deleting Rows
27.26. Using quote()
27.27. Using quote() with a SQL Type
27.28. Using quoteInto()
27.29. Using quoteInto() with a SQL Type
27.30. Using quoteIdentifier()
27.31. Managing a Transaction to Ensure Consistency
27.32. Closing a Database Connection
27.33. Using the Persitence Flag with the Oracle Adapter
27.34. Running a Non-Prepared Statement in a PDO Adapter
27.35. Verifying server version before running a query
27.36. Creating a SQL statement object with query()
27.37. Using a SQL statement constructor
27.38. Executing a statement with positional parameters
27.39. Executing a statement with named parameters
27.40. Using fetch() in a loop
27.41. Using fetchAll()
27.42. Setting the fetch mode
27.43. Using fetchColumn()
27.44. Using fetchObject()
27.45. DB Profiling with Zend_Controller_Front
27.46. DB Profiling without Zend_Controller_Front
27.47. Example of the database adapter's select() method
27.48. Example of creating a new Select object
27.49. Example of the using methods to add clauses
27.50. Example of the using the fluent interface
27.51. Example of the from() method
27.52. Example of specifying a table correlation name
27.53. Example of specifying a schema name
27.54. Examples of specifying columns
27.55. Examples of specifying columns containing expressions
27.56. Examples of quoting columns in an expression
27.57. Examples of adding columns with the columns() method
27.58. Example of the join() method
27.59. Example of specifying no columns
27.60. Example of the joinUsing() method
27.61. Example of the where() method
27.62. Example of a parameter in the where() method
27.63. Example of an array parameter in the where() method
27.64. Example of multiple where() methods
27.65. Example of the orWhere() method
27.66. Example of parenthesizing Boolean expressions
27.67. Example of the group() method
27.68. Example of the having() method
27.69. Example of the order() method
27.70. Example of the limit() method
27.71. Example of the limitPage() method
27.72. Example of the distinct() method
27.73. Example of forUpdate() method
27.74. Example of union() method
27.75. Example using the Db adapter's query() method
27.76. Example using the Select object's query method
27.77. Example of the __toString() method
27.78. Example of the getPart() method
27.79. Example of the reset() method
27.80. Declaring a table class with just the string name
27.81. Declaring a table class with explicit table name
27.82. Declaring a table class with implicit table name
27.83. Declaring a table class with schema
27.84. Declaring table and schema names upon instantiation
27.85. Example of specifying the primary key
27.86. Example of overriding the _setupTableName() method
27.87. Example usage of init() method
27.88. Example of constructing a Table using an Adapter object
27.89. Example of constructing a Table using a the Default Adapter
27.90. Example of constructing a Table using a Registry key
27.91. Example of inserting to a Table
27.92. Example of inserting expressions to a Table
27.93. Example of declaring a Table with auto-incrementing primary key
27.94. Example of declaring a Table with a sequence
27.95. Example of declaring a Table with a natural key
27.96. Example of updating rows in a Table
27.97. Example of deleting rows from a Table
27.98. Example of finding rows by primary key values
27.99. Example of finding rows by compound primary key values
27.100. Simple usage
27.101. Example of fluent interface
27.102. Example of finding rows by an expression
27.103. Example of finding rows by an expression
27.104. Retrieving specific columns
27.105. Retrieving expressions as columns
27.106. Using a lookup table to refine the results of fetchAll()
27.107. Removing the integrity check on Zend_Db_Table_Select to allow JOINed rows
27.108. Example of finding a single row by an expression
27.109. Example of getting the table name
27.110. Using a Default Metadata Cache for all Table Objects
27.111. Using a Metadata Cache for a Specific Table Object
27.112. Example of specifying the Row and Rowset classes
27.113. Example of changing the Row and Rowset classes
27.114. Custom logic to manage timestamps
27.115. Custom method to find bugs by status
27.116. Example of an abstract table class that implements inflection
27.117. Example of fetching a row
27.118. Example of reading a row in a rowset
27.119. Example of reading a column in a row
27.120. Example of using the toArray() method
27.121. Example of changing a column in a row
27.122. Example of creating a new row for a table
27.123. Example of populating a new row for a table
27.124. Example of using setFromArray() to set values in a new Row
27.125. Example of deleting a row
27.126. Example of serializing a row
27.127. Example of unserializing a serialized row
27.128. Example of reactivating a row
27.129. Specifying a custom Row class
27.130. Example usage of init() method
27.131. Example of custom logic in a Row class
27.132. Example of a Row class that logs insert data for multiple tables
27.133. Example of defining an inflection transformation
27.134. Example of fetching a rowset
27.135. Counting the Rows in a Rowset
27.136. Reading a Single Row from a Rowset
27.137. Iterating through a Rowset
27.138. Seeking to a known position into a Rowset
27.139. Using toArray()
27.140. Serializing a Rowset
27.141. Unserializing a Serialized Rowset
27.142. Reactivating a Rowset as Live Data
27.143. Specifying a custom Rowset class
27.144. Example of Rowset class with a new method
27.145. Fetching a Dependent Rowset
27.146. Fetching a Dependent Rowset By a Specific Rule
27.147. Fetching a Dependent Rowset using a Zend_Db_Table_Select
27.148. Fetching Dependent Rowsets using the Magic Method
27.149. Fetching the Parent Row
27.150. Fetching a Parent Row By a Specific Rule
27.151. Fetching the Parent Row using the Magic Method
27.152. Fetching a Rowset with the Many-to-many Method
27.153. Fetching a Rowset with the Many-to-many Method By a Specific Rule
27.154. Fetching Rowsets using the Magic Many-to-many Method
27.155. Example of a Cascading Delete
27.156. Example Declaration of Cascading Operations
27.157. Describing the Definition of a Database Data Model
27.158. Interacting with the described definition
27.159. Interacting A Mixed Use Zend_Db_Table Definition
28.1. Example of dump() method
29.1. Zend_Dojo_Data initialization via constructor
29.2. Zend_Dojo_Data initialization via mutators
29.3. Appending data to Zend_Dojo_Data
29.4. Specifying a label field in Zend_Dojo_Data
29.5. Populating Zend_Dojo_Data from JSON
29.6. Using Dojo View Helpers
29.7. dojo() View Helper Usage Example
29.8. Specifying Declarative and Programmatic Dojo Usage
29.9. Registering the Dojo View Helper Prefix Path
29.10. BorderContainer layout dijit example
29.11. Using CustomDijit to render a dojox.layout.ContentPane
29.12. Enabling Dojo in your existing forms
29.13. DijitElement Decorator Usage
29.14. DijitContainer Decorator Usage
29.15. Example Button dijit element usage
29.16. Example CheckBox dijit element usage
29.17. ComboBox dijit element usage as select input
29.18. ComboBox dijit element usage with datastore
29.19. Example CurrencyTextBox dijit element usage
29.20. Example DateTextBox dijit element usage
29.21. Example Editor dijit element usage
29.22. Example HorizontalSlider dijit element usage
29.23. Example NumberSpinner dijit element usage
29.24. Example NumberTextBox dijit element usage
29.25. Example PasswordTextBox dijit element usage
29.26. Example RadioButton dijit element usage
29.27. Example SimpleTextarea dijit element usage
29.28. Example SubmitButton dijit element usage
29.29. Example TextBox dijit element usage
29.30. Example Textarea dijit element usage
29.31. Example TimeTextBox dijit element usage
29.32. Example ValidationTextBox dijit element usage
29.33. Example VerticalSlider dijit element usage
29.34. Using Zend_Dojo_Form
29.35. Modifying an existing form to utilize Dojo
31.1. Attaching to many events at once
31.2. Attaching using the wildcard
31.3. Attaching to many events at once via the StaticEventManager
31.4. Attaching to many events at once via the StaticEventManager
31.5. Modifying Arguments
31.6. Short Circuiting
31.7. Assigning Priority to Listeners
32.1. Catching an Exception
32.2. Catch all Zend Framework exceptions
32.3. Catch exceptions thrown by a specific component of Zend Framework
32.4. Previous exceptions
33.1. Putting Zend_Feed to Work on RSS Feed Data
33.2. Basic Use of an Atom Feed
33.3. Reading a Single-Entry Atom Feed
33.4. Using the Entry Object Directly for a Single-Entry Atom Feed
33.5. Modifying an Existing Feed Entry
33.6. Creating an Atom Entry with Elements of Custom Namespaces
33.7. Extending the Atom Entry Class with Custom Namespaces
34.1. Simple Form for Uploading Files
34.2. Checking Files
34.3. Getting the Filename
34.4. Getting the size of a file
34.5. Getting the hash of a file
34.6. Getting the mimetype of a file
34.7. Using the progressbar adapter to retrieve the actual state
34.8. Manual usage of the file progress
34.9. Add Validators to a File Transfer Object
34.10. Limit Validators to Single Files
34.11. Add Multiple Validators
34.12. Validate the Files
34.13. Using the Count Validator
34.14. Using the Crc32 Validator
34.15. Using the ExcludeExtension Validator
34.16. Using the ExcludeMimeType Validator
34.17. Using the Exists Validator
34.18. Using the Extension Validator
34.19. Using the FilesSize Validator
34.20. Using the ImageSize Validator
34.21. Using the IsCompressed Validator
34.22. Using the IsImage Validator
34.23. Using the Hash Validator
34.24. Using the Md5 Validator
34.25. Using the MimeType Validator
34.26. Using the NotExists Validator
34.27. Using the sha1 Validator
34.28. Using the Size Validator
34.29. Using the WordCount Validator
34.30. Add filters to a file transfer
34.31. Limit filters to single files
34.32. Add multiple filters
34.33. Using the Decrypt filter with Mcrypt
34.34. Using the Decrypt filter with OpenSSL
34.35. Using the Encrypt filter with Mcrypt
34.36. Using the Encrypt filter with OpenSSL
34.37. Using the LowerCase filter
34.38. Using the Rename filter
34.39. Using the UpperCase filter
35.1. Transforming MixedCase and camelCaseText to another format
35.2. Setting Multiple Rules at Once
35.3. Using Zend_Config with Zend_Filter_Inflector
36.1. Custom Label
36.2. Setting Prefix Paths for All Elements
36.3. Setting Decorators for All Elements
36.4. Setting Decorators for Some Elements
36.5. Setting Filters for All Elements
36.6. Setting Decorator Prefix Path for All Display Groups
36.7. Setting Decorators for All Display Groups
36.8. File form element usage
36.9. Explicit file retrievement
36.10. Checking if an optional file has been uploaded
36.11. Setting multiple files
36.12. Simple example of testing a CSRF-protected form
36.13. Registration Form Example
38.1. Instantiating a Zend_Http_Client Object
38.2. Performing a Simple GET Request
38.3. Using Request Methods Other Than GET
38.4. Setting GET Parameters
38.5. Setting POST Parameters
38.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
38.7. Setting Cookies Using setCookie()
38.8. Enabling Cookie Stickiness
38.9. Setting A Single Custom Request Header
38.10. Setting Multiple Custom Request Headers
38.11. Using setFileUpload to Upload Files
38.12. Sending Raw POST Data
38.13. Setting HTTP Authentication User and Password
38.14. Performing consecutive requests with one client
38.15. Sending file to HTTP server with streaming
38.16. Receiving file from HTTP server with streaming
38.17. Changing the HTTPS transport layer
38.18. Setting stream context options for the Socket adapter
38.19. Using Zend_Http_Client behind a proxy server
38.20. Setting cURL options
38.21. Transfering Files by Handle
38.22. Testing Against a Single HTTP Response Stub
38.23. Testing Against Multiple HTTP Response Stubs
38.24. Forcing the adapter to fail
38.25. Creating your own connection adapter
38.26. Instantiating a Zend_Http_Cookie object
38.27. Stringifying a Zend_Http_Cookie object
38.28. Using getter methods with Zend_Http_Cookie
38.29. Matching cookies
38.30. Instantiating a Zend_Http_Response Object Using the Factory Method
38.31. Using the isError() method to validate a response
38.32. Using Zend_Http_Response Accessor Methods
38.33. Accessing Response Headers
38.34. Determining Supported Features
38.35. Dynamically Scaling Images
39.1. Zend_Json_Server Usage
40.1. Passing options to the constructor or startMvc()
40.2. Using setOption() and setConfig()
40.3. Using Accessors
40.4. Using Zend_Layout accessors to modify the inflector
40.5. Direct modification of Zend_Layout inflector
40.6. Custom inflectors
41.1. Getting an entry by its DN
41.2. Check for the existence of a given DN
41.3. Count children of a given DN
41.4. Searching the LDAP tree
41.5. Add a new entry to the LDAP
41.6. Delete an existing entry from the LDAP
41.7. Update an existing entry on the LDAP
41.8. Copy a LDAP entry recursively with all its descendants
41.9. Move a LDAP entry recursively with all its descendants to a different subtree
41.10. Create simple LDAP filters
41.11. Create more complex LDAP filters
41.12. Traverse LDAP tree recursively
41.13. Getting hands on the RootDSE
41.14. Getting hands on the server schema
42.1. Example of the loadFile() Method
42.2. Example of the loadClass() Method
42.3. Example of isReadable() method
42.4. Example of registering the autoloader callback method
42.5. Example of registering the autoload callback method from an extended class
42.6. Using the PluginLoader class file include cache
42.7. Manual Configuration
42.8. Configuration at Instantiation
42.9. Using configuration to seed ClassMapAutoloader
43.1. Choosing a specific locale
43.2. Automatically selecting a locale
43.3. Using automatic locales
43.4. Handling locale exceptions
43.5. Setting a default locale
43.6. Dates default to correct locale of web users
43.7. Overriding default locale selection
43.8. Performance optimization when using a default locale
43.9. Usage of an application wide locale
43.10. Dates default to correct locale of web users
43.11. Using STANDARD definitions for setOptions()
43.12. clone
43.13. Check for equal locales
43.14. Get default locales
43.15. setLocale
43.16. getLanguage and getRegion
43.17. getLocaleToTerritory
43.18. getTranslationList
43.19. getTranslationList
43.20. Converting country name in one language to another
43.21. All Languages written in their native language
43.22. getQuestion()
43.23. getLocaleList()
43.24. Simple locale detection
43.25. Strict locale detection
43.26. Implement locale aware behaviour
43.27. Locale aware behaviour as with Zend Framework 1.8
43.28. Number normalization
43.29. Number normalization with precision
43.30. Number localization
43.31. Number localization with precision
43.32. Using a self defined number format
43.33. Number testing
43.34. Floating point value normalization
43.35. Floating point value localization
43.36. Floating point value testing
43.37. Integer value normalization
43.38. Integer value localization
43.39. Integer value testing
43.40. Converting numerals from Eastern Arabic scripts to European/Latin scripts
43.41. Converting numerals from Latin script to Eastern Arabic script
43.42. Getting 4 letter CLDR script code using a native-language name of the script
43.43. Normalizing a date
43.44. Normalizing a date by locale
43.45. Normalizing a date with time
43.46. Normalizing a userdefined date
43.47. Automatic correction of input dates
43.48. Date testing
43.49. Normalize an unknown time
43.50. Testing a time
44.1. Logging with Zend_Controller_Front
44.2. Logging without Zend_Controller_Front
45.1. Simple E-Mail with Zend_Mail
45.2. Passing additional parameters to the Zend_Mail_Transport_Sendmail transport
45.3. Sending E-Mail via SMTP
45.4. Sending Multiple Mails per SMTP Connection
45.5. Manually controlling the transport connection
45.6. Using Different Transports
45.7. Sending HTML E-Mail
45.8. E-Mail Messages with Attachments
45.9. Changing the MIME Boundary
45.10. Adding E-Mail Message Headers
45.11. Usage in CJK languages
45.12. Enabling authentication within Zend_Mail_Transport_Smtp
45.13. Enabling a secure connection within Zend_Mail_Transport_Smtp
46.1. Basic Zend_Markup Usage
46.2. A more complicated example of Zend_Markup
46.3. Processing incorrect input
47.1. Converting measurements
47.2. The meter measurement
47.3. Creation using integer and floating values
47.4. Creation using strings
47.5. Localized string
47.6. Automatic output
47.7. Output a value
47.8. Outputting units
47.9. Convert
47.10. Adding units
47.11. Subtract
47.12. Different measurements
47.13. Identical measurements
47.14. Difference
47.15. Changing a value
47.16. Changing the type
48.1. Using Zend_Memory component
51.1. Custom page properties
51.2. getHref() generates the page URI
51.3. isActive() determines if page is active
51.4. Using routes
51.5. Set parameters to use when assembling URL
51.6. The most simple custom page
51.7. A custom page with properties
51.8. Creating an MVC page using the page factory
51.9. Creating a URI page using the page factory
51.10. Creating a custom page type using the page factory
51.11. Creating a container using an array
51.12. Creating a container using a config object
51.13. Adding pages to a container
51.14. Removing pages from a container
51.15. Finding pages in a container
51.16. Iterating a container
51.17. Converting a container to an array
53.1. The Simple OpenID Login form
53.2. The Authentication Request Handler
53.3. The Authentication Response Verifier
53.4. The Complete OpenID Login Script
53.5. Authentication Request for Specified Realm
53.6. Immediate Check without Interaction
53.7. Database Storage
53.8. Sending Requests with a Simple Registration Extension
53.9. Verifying Responses with a Simple Registration Extension
53.10. Zend_Auth Adapter for OpenID
53.11. The Identity
53.12. Simple Identity Provider
53.13. Simple Login Screen
53.14. Simple Trust Screen
53.15. Everything Together
53.16. Identity with Profile
53.17. Provider with SREG
55.1. Create new or load existing PDF document
55.2. Requesting Specific Revisions of a PDF Document
55.3. Saving PDF Documents
55.4. PDF document pages management
55.5. Duplicating existing page
55.6. Cloning existing page
55.7. Cloning existing page using Zend_Pdf_Resource_Extractor class
55.8. Draw a string on the page
55.9. Set font color
55.10. Draw a UTF-8-encoded string on the page
55.11. Create a standard font
55.12. Create a TrueType font
55.13. Create a TrueType font, but do not embed it in the PDF document
55.14. Do not throw an exception for fonts that cannot be embedded
55.15. Do not compress an embedded font
55.16. Combining font embedding options
55.17. Combining font embedding options
55.18. Extracting fonts from a loaded document
55.19. Extracting font from a loaded document by specifying font name
55.20. Image drawing
55.21. Destinations usage example
55.22. Zend_Pdf module usage demo
56.1. Basic example for the client-side stuff
58.1. Performing reflection on a file
58.2. Performing reflection on a class
58.3. Performing reflection on a method
58.4. Performing reflection on a docblock
59.1. Example of set() Method Usage
59.2. Example of get() Method Usage
59.3. Example of Iterating over the Registry
59.4. Example of Constructing a Registry
59.5. Example of Initializing the Singleton Registry
59.6. Example of Array Access
59.7. Example of Object Access
59.8. Example of isRegistered() Method Usage
59.9. Example of isset() Method Usage
59.10. Example of Specifying the Singleton Registry's Class Name
59.11. Example of _unsetInstance() Method Usage
60.1. A basic REST request
60.2. Response Status
60.3. Using Technorati's Rest Service
60.4. Example Technorati Response
60.5. Setting Request Arguments
60.6. Basic Zend_Rest_Server Usage - Classes
60.7. Basic Zend_Rest_Server Usage - Functions
60.8. Returning Custom Status
60.9. Return Custom XML
61.1. Custom text Analyzer
62.1. Using Zend_Serializer dynamic interface
62.2. Using the Zend_Serializer static interface
64.1. isSpam() Usage
64.2. submitSpam() Usage
64.3. submitHam() Usage
64.4. Search Amazon Using the Traditional API
64.5. Search Amazon Using the Query API
64.6. Choosing an Amazon Web Service Country
64.7. Looking up a Specific Amazon Item by ASIN
64.8. Performing Amazon Item Searches
64.9. Using the ResponseGroup Option
64.10. Search Amazon Using the Alternative Query API
64.11. setKeys() Example
64.12. setRegion() Example
64.13. Starting New Ec2 Instances
64.14. Rebooting an Ec2 Instances
64.15. Terminating an Ec2 Instances
64.16. Describing Instances
64.17. Describing Instances By Image Id
64.18. Retreiving Console Output
64.19. Confirm Product Code on an Instance
64.20. Turn on CloudWatch Monitoring on an Instance(s)
64.21. Turn off CloudWatch Monitoring on an Instance(s)
64.22. Bundles an Amazon EC2 instance running Windows
64.23. Describes current bundling tasks
64.24. Cancels an Amazon EC2 bundling operation
64.25. Describes Reserved Instances that you purchased
64.26. Describe current Reserved Instance Offerings available
64.27. Turn off CloudWatch Monitoring on an Instance(s)
64.28. Listing Aviable Metrics
64.29. Return Statistics for a given metric
64.30. Register an AMI with EC2
64.31. Deregister an AMI with EC2
64.32. Describe an AMI
64.33. Modify Image Attributes
64.34. Reset an AMI Attribute
64.35. Describe AMI Attribute
64.36. Create a new EBS Volume
64.37. Create an EBS Volume from a Snapshot
64.38. Create a Snapshot of an EBS Volume
64.39. Describing an EBS Volume
64.40. Describe Attached Volumes
64.41. Describe an EBS Volume Snapshot
64.42. Attaching an EBS Volume
64.43. Detaching an EBS Volume
64.44. Deleting an EBS Volume
64.45. Deleting an EBS Volume Snapshot
64.46. Allocating a new Elastic IP
64.47. Describing Allocated Elastic IP Addresses
64.48. Releasing Elastic IP
64.49. Associates an Elastic IP to an Instance
64.50. Disassociate an Elastic IP from an instance
64.51. Creating a new Amazon Keypair
64.52. Deleting an Amazon Keypair
64.53. Describe an Amazon Keypair
64.54. Viewing the available regions
64.55. Viewing the available zones
64.56. Create a new Security Group
64.57. Describe a Security Group
64.58. Delete a Security Group
64.59. Authorizing by IP
64.60. Authorize By Group
64.61. Revoke by IP
64.62. Revoke By Group
64.63. Zend_Service_Amazon_S3 Usage Example
64.64. Zend_Service_Amazon_S3 Bucket Removal Example
64.65. Zend_Service_Amazon_S3 Bucket Listing Example
64.66. Zend_Service_Amazon_S3 Public Object Example
64.67. Zend_Service_Amazon_S3 Object Listing Example
64.68. Zend_Service_Amazon_S3 Data Streaming Example
64.69. Zend_Service_Amazon_S3 Streams Example
64.70. Zend_Service_Amazon_Sqs Usage Example
64.71. Zend_Service_Amazon_Sqs Queue Removal Example
64.72. Zend_Service_Amazon_Sqs Queue Count Example
64.73. Zend_Service_Amazon_Sqs Queue Listing Example
64.74. Zend_Service_Amazon_Sqs Message Send Example
64.75. Zend_Service_Amazon_Sqs Message Receive Example
64.76. Zend_Service_Amazon_Sqs Message Delete Example
64.77. Retrieving User Profile Information
64.78. Retrieving a User's Weekly Artist Chart
64.79. Retrieving Related Artists
64.80. Get all posts
64.81. Accessing post lists
64.82. Filtering a Post List with Specific Tags
64.83. Filtering a Post List by URL
64.84. Post editing
64.85. Method call chaining
64.86. Deleting posts
64.87. Adding a post
64.88. Tags
64.89. Bundles
64.90. Retrieving public data
64.91. Changing the HTTP client of Zend_Rest_Client
64.92. Configuring your HTTP client to keep connections alive
64.93. Creating an instance of the eBay Finding service
64.94. Creating an instance of the eBay Finding service
64.95. Many ways to find items
64.96. Searching keywords recomendation
64.97. Fetching histogram
64.98. Simple Flickr Photo Search
64.99. Finding a Flickr User's Public Photos by E-Mail Address
64.100. Retrieving a Group's Pool Photos by Group ID
64.101. Retrieving Flickr Image Details
64.102. Get Array of Field Names in Template
64.103. Get Array of Block Field Names in Template
64.104. Get Array of Fonts Installed on Server
64.105. Get Array of Supported Template File Formats
64.106. Get Array of Supported Document File Formats
64.107. Get Array of Supported Image Import File Formats
64.108. Get Array of Supported Image Export File Formats
64.109. Authenticate
64.110. Get an object
64.111. Create a container with metadata
64.112. Get the metadata of a container
64.113. Store an object in a container
64.114. Check if a container is CDN enabled
64.115. Authenticate
64.116. Create a server with metadata information and upload of a file
64.117. Reboot a server
64.118. List all the available flavors
64.119. Creating an instance of the reCAPTCHA service
64.120. Displaying the reCAPTCHA
64.121. Verifying the form fields
64.122. Validating the reCAPTCHA
64.123. Using the mail hide component
64.124. Generating many hidden email addresses
64.125. Creating the Twitter Class
64.126. Verifying credentials
64.127. Rating limit status
64.128. Blocking a user
64.129. Removing a block
64.130. Who are you blocking (identifiers only)
64.131. Who are you blocking
64.132. Retrieving recent direct messages received
64.133. Retrieving recent direct messages sent
64.134. Sending a direct message
64.135. Deleting a direct message
64.136. Retrieving favorites
64.137. Creating a favorite
64.138. Deleting favorites
64.139. Creating a friend
64.140. Deleting a friend
64.141. Searching for tweets
64.142. Retrieving public timeline
64.143. Retrieving the home timeline
64.144. Retrieving user timeline
64.145. Showing user status
64.146. Updating user status
64.147. Showing user replies
64.148. Deleting user status
64.149. Showing user informations
64.150. Searching for users
64.151. Creating a storage container
64.152. Deleting a storage container
64.153. Storing a blob
64.154. Copying a blob
64.155. Downloading a blob
64.156. Making a blob publicly available
64.157. Example usage of blob storage stream wrapper
64.158. Registering the blob storage stream wrapper
64.159. Generating a Shared Access Signature for a container
64.160. Generating a Shared Access Signature for a blob
64.161. Consuming a Shared Access Signature for a container
64.162. Checking if a diagnostics configuration for the current role instance exists
64.163. Loading the current role instance diagnostics configuration
64.164. Storing the current role instance diagnostics configuration
64.165. Subscribing to a performance counter
64.166. Getting the current role instance id
64.167. Creating a queue
64.168. Deleting a queue
64.169. Adding a message to a queue
64.170. Reading a message from a queue
64.171. Marking a message as processed
64.172. Check if there are messages in a queue
64.173. Creating a table
64.174. Listing all tables
64.175. Enforced schema used in samples
64.176. Sample enforced schema class
64.177. Enforced property
64.178. Sample enforced property
64.179. Dynamicaly adding properties to Zend_Service_WindowsAzure_Storage_DynamicTableEntity
64.180. Forcing property types on Zend_Service_WindowsAzure_Storage_DynamicTableEntity
64.181. Inserting an entity
64.182. Retrieving an entity by partition key and row key
64.183. Updating an entity
64.184. Updating an entity (with Etag check)
64.185. Deleting an entity
64.186. Performing queries using a filter condition
64.187. Performing queries using a fluent interface
64.188. Executing a batch operation
64.189. Registering table storage session handler
64.190. Using table storage session handler
64.191. Searching the Web with Yahoo!
64.192. Finding Images with Yahoo!
64.193. Finding videos with Yahoo!
64.194. Finding Local Businesses and Services with Yahoo!
64.195. Searching Yahoo! News
64.196. Searching Yahoo! Site Explorer Inbound Links
64.197. Searching Yahoo! Site Explorer's PageData
65.1. Counting Page Views
65.2. New Way: Namespaces Avoid Collisions
65.3. Old Way: PHP Session Access
65.4. Session Iteration
65.5. Accessing Session Data
65.6. Starting the Global Session
65.7. Locking Session Namespaces
65.8. Expiration Examples
65.9. Namespaced Sessions for Controllers with Automatic Expiration
65.10. Limiting Session Namespace Access to a Single Instance
65.11. Modifying Array Data with a Session Namespace
65.12. Building Arrays Prior to Session Storage
65.13. Workaround: Reassign a Modified Array
65.14. Workaround: store array containing reference
65.15. PHPUnit Testing Code Dependent on Zend_Session
65.16. Using Zend_Config to Configure Zend_Session
65.17. Session Fixation
65.18. Basic Setup
65.19. Using a Multi-Column Primary Key
67.1. Using Zend_Tag
67.2. Using Zend_Tag_Cloud
68.1. Application Login TestCase example
68.2. Testing a UserController
68.3. Database integration example
69.1. Using Zend_Text_Figlet
69.2. Using Zend_Text_Table
71.1. Exposing Your Providers with a Manifest
72.1. Exposing Your Providers with a Manifest
74.1. Example of single-language PHP code
74.2. Example of multi-lingual PHP code
74.3. Example TMX file
74.4. Example CSV file
74.5. Second CSV file example
74.6. Example INI file
74.7. Using translation options
74.8. Handling languages with adapters
74.9. Automatically language detection
74.10. Scanning a directory structure for sources
74.11. Directory scanning for languages
74.12. Filename scanning for languages
74.13. Checking if a text is translatable
74.14. Log translations
74.15. Self defined log messages
74.16. Self defined log priority
74.17. Handling languages with adapters
74.18. Example of traditional plural translations
74.19. Example of modern plural translations
74.20. Example of modern plural translations using a different source language
75.1. Creating a New URI with Zend_Uri::factory()
75.2. Creating a URI using a custom class
75.3. Manipulating an Existing URI with Zend_Uri::factory()
75.4. URI Validation with Zend_Uri::check()
75.5. Allowing special characters in URIs
75.6. Getting the Scheme from a Zend_Uri_* Object
75.7. Getting the Entire URI from a Zend_Uri_* Object
75.8. Validating a Zend_Uri_* Object
76.1. Sitemap Lastmod Validator
76.2. Sitemap Priority Validator
76.3. Creating a Simple Validation Class
76.4. Writing a Validation Class having Dependent Conditions
76.5. Validation with Independent Conditions, Multiple Reasons for Failure
77.1. Example of the compareVersion() Method
77.2. Example of the getLatest() Method
78.1. Basic Usage of Action View Helper
78.2. Registered instance
78.3. Within the view
78.4. Direct usage
78.5. Direct usage
78.6. Cycle Helper Basic Usage
78.7. Working with two or more cycles
78.8. Basic Usage of Partials
78.9. Using PartialLoop to Render Iterable Models
78.10. Rendering Partials in Other Modules
78.11. Basic Usage of Placeholders
78.12. Using Placeholders to Aggregate Content
78.13. Using Placeholders to Capture Content
78.14. Doctype Helper Basic Usage
78.15. Retrieving the Doctype
78.16. Choosing a Doctype to Use with the Open Graph Protocol
78.17. Basic Usage of Gravatar View Helper
78.18. Advanced Usage of Gravatar View Helper
78.19. HeadLink Helper Basic Usage
78.20. HeadMeta Helper Basic Usage
78.21. HeadMeta Usage with XHTML1_RDFA doctype
78.22. Headscript With Conditional Comments
78.23. Create an jQuery template with the headScript
78.24. HeadScript Helper Basic Usage
78.25. Capturing Scripts Using the HeadScript Helper
78.26. Headstyle With Conditional Comments
78.27. HeadStyle Helper Basic Usage
78.28. Capturing Style Declarations Using the HeadStyle Helper
78.29. HeadTitle Helper Basic Usage
78.30. Flash helper
78.31. Customizing the object by passing additional arguments
78.32. Basic Usage of RenderToPlaceholder
78.33. Proxying calls to the navigation container
78.34. Rendering breadcrumbs
78.35. Specifying indentation
78.36. Customize breadcrumbs output
78.37. Rendering breadcrumbs using a partial view script
78.38. Specify relations in pages
78.39. Default rendering of links
78.40. Specify which relations to render
78.41. Rendering a menu
78.42. Calling renderMenu() directly
78.43. Rendering the deepest active menu
78.44. Rendering a menu with maximum depth
78.45. Rendering a menu with minimum depth
78.46. Rendering only the active branch of a menu
78.47. Rendering only the active branch of a menu with minimum depth
78.48. Rendering only the active branch of a menu with maximum depth
78.49. Rendering only the active branch of a menu with maximum depth and no parents
78.50. Rendering a custom menu using a partial view script
78.51. Rendering only the active branch and all siblings of the active branch
78.52. Rendering an XML sitemap
78.53. Registered instance
78.54. Within the view
78.55. Direct usage
78.56. Single parameter
78.57. List of parameters
78.58. Array of parameters
78.59. Change locale dynamically
78.60. Change locale statically
78.61. Get the currently set locale
80.1. XML-RPC Method Call
80.2. XML-RPC Method Call with Parameters
80.3. Proxy the Default Namespace
80.4. Proxy Any Namespace
80.5. Handling HTTP Errors
80.6. Handling XML-RPC Faults
80.7. Processing Request to Response
80.8. Basic Usage
80.9. Attaching a class
80.10. Attaching a class with arguments
80.11. Passing arguments only to constructor
80.12. Attaching a class instance
80.13. Attaching several classes using namespaces
80.14. Specifying exceptions to use as valid fault responses
80.15. Utilizing custom request and response objects
80.16. Specifying a custom response class
80.17. Cache server definitions between requests
80.18. Optimizing XML generation
B.1. Allow the usage of the HTTP fields
B.2. Internal storage of uploaded file information
B.3. Disabling default caching
B.4. Changes for the rename filter from 1.6 to 1.7
B.5. Changes for the count validator from 1.6 to 1.7
B.6. Changes for the extension validator from 1.6 to 1.7
B.7. Changes for the filessize validator from 1.6 to 1.7
B.8. Changes for the hash validator from 1.6 to 1.7
B.9. Changes for the imagesize validator from 1.6 to 1.7
B.10. Changes for the size validator from 1.6 to 1.7
B.11. How to change isLocale() from 1.6 to 1.7
B.12. How to change getDefault() from 1.6 to 1.7
B.13. Setting languages without getting notices
B.14. How to change your file validators from 1.6.1 to 1.6.2
F.1. Example: Optimized include_path