TigerZF
🌐English

Part III. Zend Framework Reference

Table of Contents

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