Introduction to Zend Framework

 Learning Zend Framework


 Zend Framework Reference

  •  Zend_Gdata
  •  Zend_Http
  •  Zend_InfoCard
  •  Zend_Json
  •  Zend_Layout
  •  Zend_Ldap
  •  Zend_Loader
  •  Zend_Locale
  •  Zend_Log
  •  Zend_Mail
  •  Zend_Markup
  •  Zend_Measure
  •  Zend_Memory
  •  Zend_Mime
  •  Zend_Navigation
  •  Zend_Oauth
  •  Zend_OpenId
  •  Zend_Paginator
  •  Zend_Pdf
  •  Zend_ProgressBar
  •  Zend_Queue
  •  Zend_Reflection
  •  Zend_Registry
  •  Zend_Rest

  •  Zend_Search_Lucene
  •  Zend_Serializer
  •  Zend_Server
  •  Zend_Service
  •  Zend_Session
  •  Zend_Soap
  •  Zend_Tag
  •  Zend_Test
  •  Zend_Text
  •  Zend_TimeSync
  •  Zend_Tool
  •  Zend_Tool_Framework
  •  Zend_Tool_Project
  •  Zend_Translate
  •  Zend_Uri
  •  Zend_Validate
  •  Zend_Version
  •  Zend_View
  •  Zend_Wildfire
  •  Zend_XmlRpc
  • ZendX_Console_Process_Unix
  • ZendX_JQuery
  • Update 2011-11-16 - Revision 24438 - Version ZF 1.11.x

    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 Resource Methods Bootstraps that use resource plugins Resource Registry 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 Enabling Application Autoloading
    14.5.6. Zend_Application_Resource_Resource
    14.5.7. Zend_Application_Resource_ResourceAbstract 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 Autodetect the locale to use Autodetect the locale and adding a own fallback Forcing a specific locale to use 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 Overview Quick Start Configuration Options Available Methods
    14.6.16. Zend_Application_Resource_View Defining doctype to use 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 Default Persistence in the PHP Session 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 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 Options for Active Directory 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 Particular case of static setBarcodeFont()
    16.3.2. Common Additional Getters
    16.3.3. Description of shipped barcodes Zend_Barcode_Object_Error Zend_Barcode_Object_Code128 Zend_Barcode_Object_Code25 Zend_Barcode_Object_Code25interleaved Zend_Barcode_Object_Ean2 Zend_Barcode_Object_Ean5 Zend_Barcode_Object_Ean8 Zend_Barcode_Object_Ean13 Zend_Barcode_Object_Code39 Zend_Barcode_Object_Identcode Zend_Barcode_Object_Itf14 Zend_Barcode_Object_Leitcode Zend_Barcode_Object_Planet Zend_Barcode_Object_Postnet Zend_Barcode_Object_Royalmail Zend_Barcode_Object_Upca 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 Introduction Available options Examples
    17.3.2. Zend_Cache_Frontend_Output Introduction Available Options Examples
    17.3.3. Zend_Cache_Frontend_Function Introduction Available Options Examples
    17.3.4. Zend_Cache_Frontend_Class Introduction Available Options Examples
    17.3.5. Zend_Cache_Frontend_File Introduction Available Options Examples
    17.3.6. Zend_Cache_Frontend_Page Introduction Available Options Examples The Specific Cancel Method
    17.3.7. Zend_Cache_Frontend_Capture 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 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 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
    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 Zend_CodeGenerator_Abstract Zend_CodeGenerator_Php_Abstract Zend_CodeGenerator_Php_Member_Abstract
    20.3.2. Concrete CodeGenerator Classes Zend_CodeGenerator_Php_Body Zend_CodeGenerator_Php_Class Zend_CodeGenerator_Php_Docblock Zend_CodeGenerator_Php_Docblock_Tag Zend_CodeGenerator_Php_DocBlock_Tag_Param Zend_CodeGenerator_Php_DocBlock_Tag_Return Zend_CodeGenerator_Php_File Zend_CodeGenerator_Php_Member_Container Zend_CodeGenerator_Php_Method Zend_CodeGenerator_Php_Parameter 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 Create the Filesystem Layout Set the Document Root Create the Rewrite Rules Create the Bootstrap File Create the Default Action Controller Create the View Script Create the Error Controller View the Site!
    24.2. Zend_Controller Basics
    24.3. The Front Controller
    24.3.1. Overview
    24.3.2. Primary Methods getInstance() setControllerDirectory() and addControllerDirectory addModuleDirectory() and getModuleDirectory() dispatch() 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 Accessing Request Data Base Url and Subdirectories Determining the Request Method 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 Zend_Controller_Router_Route Variable Defaults Variable Requirements Translated segments Zend_Controller_Router_Route_Static Zend_Controller_Router_Route_Regex Zend_Controller_Router_Route_Hostname Zend_Controller_Router_Route_Chain Chain Routes via Zend_Config Zend_Rest_Route Zend_Rest_Route Usage Zend_Rest_Route with Zend_Config_Ini 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 View Initialization 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 ActionStack AutoComplete AutoCompletion with Dojo AutoCompletion with Scriptaculous ContextSwitch and AjaxContext Default Contexts Available Creating Custom Contexts Setting Contexts Per Action Initializing Context Switching Additional Functionality AjaxContext Functionality FlashMessenger Introduction Basic Usage Example JSON Redirector Introduction Basic Usage Examples ViewRenderer Introduction API Basic Usage Examples 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.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 ActionStack Zend_Controller_Plugin_ErrorHandler Using the ErrorHandler as a 404 Handler Handling Previously Rendered Output Plugin Usage Examples Error Controller Example 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 Output a Date Setting a Date Adding and Subtracting Dates Comparison of Dates
    26.4. Zend_Date API Overview
    26.4.1. Zend_Date Options Selecting the Date Format Type DST and Date Math Month Calculations Speed up Date Localization and Normalization with Zend_Cache 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 List of Date Parts 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 Using a Zend_Db Adapter Constructor Using the Zend_Db Factory Using Zend_Config with the Zend_Db Factory Adapter Parameters Managing Lazy Connections
    27.1.2. Example Database
    27.1.3. Reading Query Results Fetching a Complete Result Set Changing the Fetch Mode Fetching a Result Set as an Associative Array Fetching a Single Column from a Result Set Fetching Key-Value Pairs from a Result Set Fetching a Single Row from a Result Set Fetching a Single Scalar from a Result Set
    27.1.4. Writing Changes to the Database Inserting Data Retrieving a Generated Value Updating Data Deleting Data
    27.1.5. Quoting Values and Identifiers Using quote() Using quoteInto() 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 IBM DB2 MySQLi Oracle Microsoft SQL Server PDO for IBM DB2 and Informix Dynamic Server (IDS) PDO Microsoft SQL Server PDO MySQL PDO Oracle PDO PostgreSQL PDO SQLite 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 Fetching a Single Row from a Result Set Fetching a Complete Result Set Changing the Fetch Mode Fetching a Single Column from a Result Set 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 Filter by query elapsed time Filter by query type Retrieve profiles by query type
    27.3.4. Specialized Profilers 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 Adding a FROM clause Adding Columns Adding Expression Columns Adding columns to an existing FROM or JOIN table Adding Another Table to the Query with JOIN Adding a WHERE Clause Adding a GROUP BY Clause Adding a HAVING Clause Adding an ORDER BY Clause Adding a LIMIT Clause Adding the DISTINCT Query Modifier Adding the FOR UPDATE Query Modifier Building a UNION Query
    27.4.4. Executing Select Queries Executing Select Queries from the Db Adapter Executing Select Queries from the Object Converting a Select Object to a SQL String
    27.4.5. Other methods Retrieving Parts of the Select Object 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 Defining the Table Name and Schema Defining the Table Primary Key Overriding Table Setup Methods Table initialization
    27.5.4. Creating an Instance of a Table Specifying a Database Adapter Setting a Default Database Adapter Storing a Database Adapter in the Registry
    27.5.5. Inserting Rows to a Table Using a Table with an Auto-incrementing Key Using a Table with a Sequence 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 Select API Fetching a rowset Advanced usage
    27.5.10. Querying for a Single Row
    27.5.11. Retrieving Table Metadata Information
    27.5.12. Caching Table Metadata Hardcoding Table Metadata
    27.5.13. Customizing and Extending a Table Class Using Custom Row or Rowset Classes Defining Custom Logic for Insert, Update, and Delete Define Custom Search Methods in Zend_Db_Table Define Inflection in Zend_Db_Table
    27.6. Zend_Db_Table_Row
    27.6.1. Introduction
    27.6.2. Fetching a Row Reading column values from a row Retrieving Row Data as an Array Fetching data from related tables
    27.6.3. Writing rows to the database Changing column values in a row Inserting a new row Changing values in multiple columns Deleting a row
    27.6.4. Serializing and unserializing rows Serializing a Row Unserializing Row Data Reactivating a Row as Live Data
    27.6.5. Extending the Row class Row initialization Defining Custom Logic for Insert, Update, and Delete in Zend_Db_Table_Row 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 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: Envelopes
    29.2.1. Zend_Dojo_Data Usage
    29.2.2. Adding metadata to your containers
    29.2.3. Advanced Use Cases Available Methods
    29.3. Dojo View Helpers
    29.3.1. dojo() View Helper Programmatic and Declarative Usage of Dojo Themes Using Layers (Custom Builds) Methods Available
    29.3.2. Dijit-Specific View Helpers Dijit Layout Elements Dijit Form Elements Custom Dijits
    29.4. Dojo Form Elements and Decorators
    29.4.1. Dijit-Specific Form Decorators DijitElement Decorator DijitForm Decorator DijitContainer-based Decorators
    29.4.2. Dijit-Specific Form Elements Button CheckBox ComboBox and FilteringSelect CurrencyTextBox DateTextBox Editor HorizontalSlider NumberSpinner NumberTextBox PasswordTextBox RadioButton SimpleTextarea Slider abstract element SubmitButton TextBox Textarea TimeTextBox ValidationTextBox 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 BuildLayer options Setting the view object Setting the layer name Including onLoad events in the generated layer Including captured JavaScript in the generated layer
    29.5.3. Generating Build Profiles with Zend_Dojo_BuildLayer 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 Zend_Dom_Query Zend_Dom_Query_Result
    31. Zend_Exception
    31.1. Using Exceptions
    31.2. Basic usage
    31.3. Previous Exceptions
    32. Zend_Feed
    32.1. Introduction
    32.2. Importing Feeds
    32.2.1. Custom feeds Importing a custom array Importing a custom data source Dumping the contents of a feed
    32.3. Retrieving Feeds from Web Pages
    32.4. Consuming an RSS Feed
    32.5. Consuming an Atom Feed
    32.6. Consuming a Single Atom Entry
    32.7. Modifying Feed and Entry structures
    32.8. Custom Feed and Entry Classes
    32.9. Zend_Feed_Reader
    32.9.1. Introduction
    32.9.2. Importing Feeds
    32.9.3. Retrieving Underlying Feed and Entry Sources
    32.9.4. Cache Support and Intelligent Requests Adding Cache Support to Zend_Feed_Reader HTTP Conditional GET Support
    32.9.5. Locating Feed URIs from Websites
    32.9.6. Attribute Collections
    32.9.7. Retrieving Feed Information
    32.9.8. Retrieving Entry/Item Information
    32.9.9. Extending Feed and Entry APIs Writing Zend_Feed_Reader Extensions
    32.10. Zend_Feed_Writer
    32.10.1. Introduction
    32.10.2. Architecture
    32.10.3. Getting Started
    32.10.4. Setting Feed Data Points
    32.10.5. Setting Entry Data Points
    32.11. Zend_Feed_Pubsubhubbub
    32.11.1. What is Pubsubhubbub?
    32.11.2. Architecture
    32.11.3. Zend_Feed_Pubsubhubbub_Publisher
    32.11.4. Zend_Feed_Pubsubhubbub_Subscriber Subscribing and Unsubscribing Handling Subscriber Callbacks Setting Up And Using A Callback URL Route
    33. Zend_File
    33.1. Zend_File_Transfer
    33.1.1. Supported Adapters for Zend_File_Transfer
    33.1.2. Options for Zend_File_Transfer
    33.1.3. Checking Files
    33.1.4. Additional File Informations
    33.1.5. Progress for file uploads Using a progressbar adapter Using getProgress() manually
    33.2. Validators for Zend_File_Transfer
    33.2.1. Using Validators with Zend_File_Transfer
    33.2.2. Count Validator
    33.2.3. Crc32 Validator
    33.2.4. ExcludeExtension Validator
    33.2.5. ExcludeMimeType Validator
    33.2.6. Exists Validator
    33.2.7. Extension Validator
    33.2.8. FilesSize Validator
    33.2.9. ImageSize Validator
    33.2.10. IsCompressed Validator
    33.2.11. IsImage Validator
    33.2.12. Hash Validator
    33.2.13. Md5 Validator
    33.2.14. MimeType Validator
    33.2.15. NotExists Validator
    33.2.16. Sha1 Validator
    33.2.17. Size Validator
    33.2.18. WordCount Validator
    33.3. Filters for Zend_File_Transfer
    33.3.1. Using filters with Zend_File_Transfer
    33.3.2. Decrypt filter
    33.3.3. Encrypt filter
    33.3.4. LowerCase filter
    33.3.5. Rename filter
    33.3.6. UpperCase filter
    34. Zend_Filter
    34.1. Introduction
    34.1.1. What is a filter?
    34.1.2. Basic usage of filters
    34.1.3. Using the static staticFilter() method Namespaces
    34.1.4. Double filtering
    34.2. Standard Filter Classes
    34.2.1. Alnum Supported options for Zend_Filter_Alnum Basic usage Allow whitespaces
    34.2.2. Alpha Supported options for Zend_Filter_Alpha Basic usage Allow whitespace characters
    34.2.3. BaseName Supported options for Zend_Filter_BaseName Basic usage
    34.2.4. Boolean Supported options for Zend_Filter_Boolean Default behaviour for Zend_Filter_Boolean Changing behaviour for Zend_Filter_Boolean Localized booleans Disable casting
    34.2.5. Callback Supported options for Zend_Filter_Callback Basic usage Default parameters within a callback
    34.2.6. Compress and Decompress Supported options for Zend_Filter_Compress and Zend_Filter_Decompress Supported compression adapters Generic handling Creating an archive Decompressing an archive Bz2 Adapter Gz Adapter Lzf Adapter Rar Adapter Tar Adapter Zip Adapter
    34.2.7. Digits Supported options for Zend_Filter_Digits Basic usage
    34.2.8. Dir Supported options for Zend_Filter_Dir Basic usage
    34.2.9. Encrypt and Decrypt Supported options for Zend_Filter_Encrypt and Zend_Filter_Decrypt Adapter usage Encryption with Mcrypt Decryption with Mcrypt Encryption with OpenSSL Simplified usage with Openssl Compressing the content Decryption with OpenSSL
    34.2.10. HtmlEntities Supported options for Zend_Filter_HtmlEntities Basic usage Quote Style Helper Methods
    34.2.11. Int Supported options for Zend_Filter_Int Basic usage
    34.2.12. LocalizedToNormalized and NormalizedToLocalized Supported options for Zend_Filter_LocalizedToNormalized and Zend_Filter_NormalizedToLocalized Workflow Normalization for numbers Normalization for date and time Localization for numbers Localization for date and time
    34.2.13. Null Supported options for Zend_Filter_Null Default behaviour for Zend_Filter_Null Changing behaviour for Zend_Filter_Null
    34.2.14. PregReplace Supported options for Zend_Filter_PregReplace Basic usage
    34.2.15. RealPath Supported options for Zend_Filter_RealPath Basic usage Non existing paths
    34.2.16. StringToLower Supported options for Zend_Filter_StringToLower Basic usage Different encoded strings
    34.2.17. StringToUpper Supported options for Zend_Filter_StringToUpper Basic usage Different encoded strings
    34.2.18. StringTrim Supported options for Zend_Filter_StringTrim Basic usage Default behaviour for Zend_Filter_StringTrim
    34.2.19. StripNewLines Supported options for Zend_Filter_StripNewLines Basic usage
    34.2.20. StripTags Supported options for Zend_Filter_StripTags Basic usage Allowing defined tags Allowing defined attributes
    34.3. Filter Chains
    34.3.1. Changing filter chain order
    34.4. Writing Filters
    34.5. Zend_Filter_Input
    34.5.1. Declaring Filter and Validator Rules
    34.5.2. Creating the Filter and Validator Processor
    34.5.3. Retrieving Validated Fields and other Reports Querying if the input is valid Getting Invalid, Missing, or Unknown Fields Getting Valid Fields
    34.5.4. Using Metacommands to Control Filter or Validator Rules The FIELDS metacommand The PRESENCE metacommand The DEFAULT_VALUE metacommand The ALLOW_EMPTY metacommand The BREAK_CHAIN metacommand The MESSAGES metacommand Using options to set metacommands for all rules
    34.5.5. Adding Filter Class Namespaces
    34.6. Zend_Filter_Inflector
    34.6.1. Operation
    34.6.2. Setting Paths To Alternate Filters
    34.6.3. Setting the Inflector Target
    34.6.4. Inflection Rules Static Rules Filter Inflector Rules Setting Many Rules At Once
    34.6.5. Utility Methods
    34.6.6. Using Zend_Config with Zend_Filter_Inflector
    35. Zend_Form
    35.1. Zend_Form
    35.2. Zend_Form Quick Start
    35.2.1. Create a form object
    35.2.2. Add elements to the form
    35.2.3. Render a form
    35.2.4. Check if a form is valid
    35.2.5. Get error status
    35.2.6. Putting it together
    35.2.7. Using a Zend_Config Object
    35.2.8. Conclusion
    35.3. Creating Form Elements Using Zend_Form_Element
    35.3.1. Plugin Loaders
    35.3.2. Filters
    35.3.3. Validators Custom Error Messages
    35.3.4. Decorators
    35.3.5. Metadata and Attributes
    35.3.6. Standard Elements
    35.3.7. Zend_Form_Element Methods
    35.3.8. Configuration
    35.3.9. Custom Elements
    35.4. Creating Forms Using Zend_Form
    35.4.1. Plugin Loaders
    35.4.2. Elements Populating and Retrieving Values Global Operations Methods For Interacting With Elements
    35.4.3. Display Groups Global Operations Using Custom Display Group Classes Methods for Interacting With Display Groups Zend_Form_DisplayGroup Methods
    35.4.4. Sub Forms Global Operations Methods for Interacting With Sub Forms
    35.4.5. Metadata and Attributes
    35.4.6. Decorators
    35.4.7. Validation Custom Error Messages Retrieving Valid Values Only
    35.4.8. Methods
    35.4.9. Configuration
    35.4.10. Custom forms
    35.5. Creating Custom Form Markup Using Zend_Form_Decorator
    35.5.1. Operation
    35.5.2. Standard Decorators
    35.5.3. Custom Decorators
    35.5.4. Rendering Individual Decorators
    35.6. Standard Form Elements Shipped With Zend Framework
    35.6.1. Zend_Form_Element_Button
    35.6.2. Zend_Form_Element_Captcha
    35.6.3. Zend_Form_Element_Checkbox
    35.6.4. Zend_Form_Element_File
    35.6.5. Zend_Form_Element_Hidden
    35.6.6. Zend_Form_Element_Hash
    35.6.7. Zend_Form_Element_Image
    35.6.8. Zend_Form_Element_MultiCheckbox
    35.6.9. Zend_Form_Element_Multiselect
    35.6.10. Zend_Form_Element_Password
    35.6.11. Zend_Form_Element_Radio
    35.6.12. Zend_Form_Element_Reset
    35.6.13. Zend_Form_Element_Select
    35.6.14. Zend_Form_Element_Submit
    35.6.15. Zend_Form_Element_Text
    35.6.16. Zend_Form_Element_Textarea
    35.7. Standard Form Decorators Shipped With Zend Framework
    35.7.1. Zend_Form_Decorator_Callback
    35.7.2. Zend_Form_Decorator_Captcha
    35.7.3. Zend_Form_Decorator_Description
    35.7.4. Zend_Form_Decorator_DtDdWrapper
    35.7.5. Zend_Form_Decorator_Errors
    35.7.6. Zend_Form_Decorator_Fieldset
    35.7.7. Zend_Form_Decorator_File
    35.7.8. Zend_Form_Decorator_Form
    35.7.9. Zend_Form_Decorator_FormElements
    35.7.10. Zend_Form_Decorator_FormErrors
    35.7.11. Zend_Form_Decorator_HtmlTag
    35.7.12. Zend_Form_Decorator_Image
    35.7.13. Zend_Form_Decorator_Label
    35.7.14. Zend_Form_Decorator_PrepareElements
    35.7.15. Zend_Form_Decorator_ViewHelper
    35.7.16. Zend_Form_Decorator_ViewScript
    35.8. Internationalization of Zend_Form
    35.8.1. Initializing I18n in Forms
    35.8.2. Standard I18n Targets
    35.9. Advanced Zend_Form Usage
    35.9.1. Array Notation
    35.9.2. Multi-Page Forms
    36. Zend_Gdata
    36.1. Introduction
    36.1.1. Structure of Zend_Gdata
    36.1.2. Interacting with Google Services
    36.1.3. Obtaining instances of Zend_Gdata classes
    36.1.4. Google Data Client Authentication
    36.1.5. Dependencies
    36.1.6. Creating a new Gdata client
    36.1.7. Common Query Parameters
    36.1.8. Fetching a Feed
    36.1.9. Working with Multi-page Feeds
    36.1.10. Working with Data in Feeds and Entries
    36.1.11. Updating Entries
    36.1.12. Posting Entries to Google Servers
    36.1.13. Deleting Entries on Google Servers
    36.2. Authenticating with AuthSub
    36.2.1. Creating an AuthSub authenticated Http Client
    36.2.2. Revoking AuthSub authentication
    36.3. Using the Book Search Data API
    36.3.1. Authenticating to the Book Search service
    36.3.2. Searching for books Partner Co-Branded Search
    36.3.3. Using community features Adding a rating Reviews Adding a review Editing a review Labels Submitting a set of labels Retrieving annotations: reviews, ratings, and labels Deleting Annotations
    36.3.4. Book collections and My Library Retrieving books in a user's library Retrieving all books in a user's library Searching for books in a user's library Updating books in a user's library Adding a book to a library Removing a book from a library
    36.4. Authenticating with ClientLogin
    36.4.1. Creating a ClientLogin authenticated Http Client
    36.4.2. Terminating a ClientLogin authenticated Http Client
    36.5. Using Google Calendar
    36.5.1. Connecting To The Calendar Service Authentication Creating A Service Instance
    36.5.2. Retrieving A Calendar List
    36.5.3. Retrieving Events Queries Retrieving Events In Order Of Start Time Retrieving Events In A Specified Date Range Retrieving Events By Fulltext Query Retrieving Individual Events
    36.5.4. Creating Events Creating Single-Occurrence Events Event Schedules and Reminders Creating Recurring Events Using QuickAdd
    36.5.5. Modifying Events
    36.5.6. Deleting Events
    36.5.7. Accessing Event Comments
    36.6. Using Google Documents List Data API
    36.6.1. Get a List of Documents
    36.6.2. Upload a Document
    36.6.3. Searching the documents feed Get a List of Word Processing Documents Get a List of Spreadsheets Performing a text query
    36.7. Using Google Health
    36.7.1. Connect To The Health Service Authentication Create A Health Service Instance
    36.7.2. Profile Feed Send a Structured Query Query The Feed Iterate Through The Profile Entries
    36.7.3. Profile List Feed Query The Feed
    36.7.4. Sending Notices to the Register Feed Sending a notice
    36.8. Using Google Spreadsheets
    36.8.1. Create a Spreadsheet
    36.8.2. Get a List of Spreadsheets
    36.8.3. Get a List of Worksheets
    36.8.4. Interacting With List-based Feeds Get a List-based Feed Reverse-sort Rows Send a Structured Query Add a Row Edit a Row Delete a Row
    36.8.5. Interacting With Cell-based Feeds Get a Cell-based Feed Send a Cell Range Query Change Contents of a Cell
    36.9. Using Google Apps Provisioning
    36.9.1. Setting the current domain Setting the domain for the service class Setting the domain for query classes
    36.9.2. Interacting with users Creating a user account Retrieving a user account Retrieving all users in a domain Updating a user account Resetting a user's password Forcing a user to change their password Suspending a user account Granting administrative rights Deleting user accounts
    36.9.3. Interacting with nicknames Creating a nickname Retrieving a nickname Retrieving all nicknames for a user Retrieving all nicknames in a domain Deleting a nickname
    36.9.4. Interacting with groups Creating a group Retrieving an individual group Retrieving all groups in a domain Deleting a group Updating a group Retrieving all groups to which a person is a member
    36.9.5. Interacting with group members Adding a member to a group Check to see if member belongs to group Removing a member from a group Retrieving the list of members to a group
    36.9.6. Interacting with group owners Adding an owner to a group Retrieving the list of the owner of a group Check to see if an email is the owner of a group Removing an owner from a group
    36.9.7. Interacting with email lists Creating an email list Retrieving all email lists to which a recipient is subscribed Retrieving all email lists in a domain Deleting an email list
    36.9.8. Interacting with email list recipients Adding a recipient to an email list Retrieving the list of subscribers to an email list Removing a recipient from an email list
    36.9.9. Handling errors
    36.10. Using Google Base
    36.10.1. Connect To The Base Service Authentication Create A Service Instance
    36.10.2. Retrieve Items Send a Structured Query Query Customer Items Feed Query Snippets Feed Iterate through the Items
    36.10.3. Insert, Update, and Delete Customer Items Insert an Item Modify an Item Delete an Item
    36.11. Using Picasa Web Albums
    36.11.1. Connecting To The Service Authentication Creating A Service Instance
    36.11.2. Understanding and Constructing Queries
    36.11.3. Retrieving Feeds And Entries Retrieving A User Retrieving An Album Retrieving A Photo Retrieving A Comment Retrieving A Tag
    36.11.4. Creating Entries Creating An Album Creating A Photo Creating A Comment Creating A Tag
    36.11.5. Deleting Entries Deleting An Album Deleting A Photo Deleting A Comment Deleting A Tag Optimistic Concurrency (Notes On Deletion)
    36.12. Using the YouTube Data API
    36.12.1. Authentication
    36.12.2. Developer Keys and Client ID
    36.12.3. Retrieving public video feeds Searching for videos by metadata Searching for videos by categories and tags/keywords Retrieving standard feeds Retrieving videos uploaded by a user Retrieving videos favorited by a user Retrieving video responses for a video
    36.12.4. Retrieving video comments
    36.12.5. Retrieving playlist feeds Retrieving the playlists of a user Retrieving a specific playlist
    36.12.6. Retrieving a list of a user's subscriptions
    36.12.7. Retrieving a user's profile
    36.12.8. Uploading Videos to YouTube
    36.12.9. Browser-based upload
    36.12.10. Checking upload status
    36.12.11. Other Functions
    36.13. Catching Gdata Exceptions
    37. Zend_Http
    37.1. Introduction
    37.1.1. Using Zend_Http_Client
    37.1.2. Configuration Parameters
    37.1.3. Performing Basic HTTP Requests
    37.1.4. Adding GET and POST parameters
    37.1.5. Accessing Last Request and Response
    37.2. Zend_Http_Client - Advanced Usage
    37.2.1. HTTP Redirections
    37.2.2. Adding Cookies and Using Cookie Persistence
    37.2.3. Setting Custom Request Headers
    37.2.4. File Uploads
    37.2.5. Sending Raw POST Data
    37.2.6. HTTP Authentication
    37.2.7. Sending Multiple Requests With the Same Client
    37.2.8. Data Streaming
    37.3. Zend_Http_Client - Connection Adapters
    37.3.1. Overview
    37.3.2. The Socket Adapter Customizing and accessing the Socket adapter stream context
    37.3.3. The Proxy Adapter
    37.3.4. The cURL Adapter
    37.3.5. The Test Adapter
    37.3.6. Creating your own connection adapters
    37.4. Zend_Http_Cookie and Zend_Http_CookieJar
    37.4.1. Introduction
    37.4.2. Instantiating Zend_Http_Cookie Objects
    37.4.3. Zend_Http_Cookie getter methods
    37.4.4. Zend_Http_Cookie: Matching against a scenario
    37.4.5. The Zend_Http_CookieJar Class: Instantiation
    37.4.6. Adding Cookies to a Zend_Http_CookieJar object
    37.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
    37.5. Zend_Http_Response
    37.5.1. Introduction
    37.5.2. Boolean Tester Methods
    37.5.3. Accessor Methods
    37.5.4. Static HTTP Response Parsers
    37.6. Zend_Http_UserAgent
    37.6.1. Overview
    37.6.2. Quick Start
    37.6.3. Configuration Options
    37.6.4. Available Methods
    37.6.5. Examples
    37.7. The UserAgent Device Interface
    37.7.1. Overview
    37.7.2. Quick Start
    37.7.3. Configuration Options
    37.7.4. Available Methods
    37.7.5. Examples
    37.8. The UserAgent Features Adapter
    37.8.1. Overview
    37.8.2. Quick Start
    37.8.3. Configuration Options
    37.8.4. Available Methods
    37.9. The WURFL UserAgent Features Adapter
    37.9.1. Overview
    37.9.2. Quick Start
    37.9.3. Configuration Options
    37.9.4. Available Methods
    37.10. The DeviceAtlas UserAgent Features Adapter
    37.10.1. Overview
    37.10.2. Quick Start
    37.10.3. Configuration Options
    37.10.4. Available Methods
    37.11. The TeraWurfl UserAgent Features Adapter
    37.11.1. Overview
    37.11.2. Quick Start
    37.11.3. Configuration Options
    37.11.4. Available Methods
    37.12. The UserAgent Storage Interface
    37.12.1. Overview
    37.12.2. Quick Start
    37.12.3. Configuration Options
    37.12.4. Available Methods
    37.13. The Session UserAgent Storage Adapter
    37.13.1. Overview
    37.13.2. Quick Start
    37.13.3. Configuration Options
    37.13.4. Available Methods
    38. Zend_InfoCard
    38.1. Introduction
    38.1.1. Basic Theory of Usage
    38.1.2. Using as part of Zend_Auth
    38.1.3. Using the Zend_InfoCard component standalone
    38.1.4. Working with a Claims object
    38.1.5. Attaching Information Cards to existing accounts
    38.1.6. Creating Zend_InfoCard Adapters
    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 Changes in 1.11.6
    39.5. Zend_Json_Server - JSON-RPC server
    39.5.1. Advanced Details Zend_Json_Server Zend_Json_Server_Request Zend_Json_Server_Response Zend_Json_Server_Error 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 Automatic Username Canonicalization When Binding Account Name Canonicalization Multi-domain Authentication and Failover
    41.2. API overview
    41.2.1. Configuration / options
    41.2.2. API Reference Zend_Ldap Zend_Ldap_Collection Zend_Ldap_Attribute Zend_Ldap_Dn Zend_Ldap_Filter Zend_Ldap_Node Zend_Ldap_Node_RootDse OpenLDAP ActiveDirectory eDirectory Zend_Ldap_Node_Schema OpenLDAP ActiveDirectory Zend_Ldif_Encoder
    41.3. Usage Scenarios
    41.3.1. Authentication scenarios OpenLDAP ActiveDirectory
    41.3.2. Basic CRUD operations Retrieving data from the LDAP Adding data to the LDAP Deleting from the LDAP Updating the LDAP
    41.3.3. Extended operations 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 Retrieving data from the LDAP Getting a node by its DN Searching a node's subtree Adding a new node to the LDAP Deleting a node from the LDAP Updating a node on the LDAP
    41.5.2. Extended operations 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 OpenLDAP 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
    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) 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 Setting Styles for Priorities Preparing data for Logging Exception Logging Table Logging
    44.2.4. Writing to Email Zend_Layout Usage Subject Line Error Level Summary 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 Zend_Log_Writer_Db Options Zend_Log_Writer_Firebug Options Zend_Log_Writer_Mail Options Zend_Log_Writer_Mock Options Zend_Log_Writer_Null Options Zend_Log_Writer_Stream Options Zend_Log_Writer_Syslog Options Zend_Log_Writer_ZendMonitor Options
    44.5.2. Filter Options Zend_Log_Filter_Message Options Zend_Log_Filter_Priority Options 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 Using NOOP Caching instances Extending Protocol Classes 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.3.3. The Textile parser Lists
    46.4. Zend_Markup Renderers
    46.4.1. Adding your own markups 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 Memory manager Memory container Locked memory Movable memory
    48.2. Memory Manager
    48.2.1. Creating a Memory Manager
    48.2.2. Managing Memory Objects Creating Movable Objects Creating Locked Objects Destroying Objects
    48.2.3. Memory Manager Settings Memory Limit 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 getRef() method touch() method lock() method unlock() method 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_Navigation
    50.1. Introduction
    50.1.1. Pages and Containers Pages Containers
    50.1.2. Separation of data (model) and rendering (view)
    50.2. Pages
    50.2.1. Common page features
    50.2.2. Zend_Navigation_Page_Mvc
    50.2.3. Zend_Navigation_Page_Uri
    50.2.4. Creating custom page types
    50.2.5. Creating pages using the page factory
    50.3. Containers
    50.3.1. Creating containers
    50.3.2. Adding pages
    50.3.3. Removing pages
    50.3.4. Finding pages
    50.3.5. Iterating containers
    50.3.6. Other operations
    51. Zend_Oauth
    51.1. Introduction to OAuth
    51.1.1. Protocol Workflow
    51.1.2. Security Architecture
    51.1.3. Getting Started
    52. Zend_OpenId
    52.1. Introduction
    52.1.1. What is OpenID?
    52.1.2. How Does it Work?
    52.1.3. Zend_OpenId Structure
    52.1.4. Supported OpenID Standards
    52.2. Zend_OpenId_Consumer Basics
    52.2.1. OpenID Authentication
    52.2.2. Combining all Steps in One Page
    52.2.3. Consumer Realm
    52.2.4. Immediate Check
    52.2.5. Zend_OpenId_Consumer_Storage
    52.2.6. Simple Registration Extension
    52.2.7. Integration with Zend_Auth
    52.2.8. Integration with Zend_Controller
    52.3. Zend_OpenId_Provider
    52.3.1. Quick start
    52.3.2. Combined Provide Scripts
    52.3.3. Simple Registration Extension
    52.3.4. Anything Else?
    53. Zend_Paginator
    53.1. Introduction
    53.2. Usage
    53.2.1. Paginating data collections
    53.2.2. The DbSelect and DbTableSelect adapter
    53.2.3. Rendering pages with view scripts Example pagination controls Listing of properties
    53.3. Configuration
    53.4. Advanced usage
    53.4.1. Custom data source adapters
    53.4.2. Custom scrolling styles
    53.4.3. Caching features
    53.4.4. Zend_Paginator_AdapterAggregate Interface
    54. Zend_Pdf
    54.1. Introduction
    54.2. Creating and Loading PDF Documents
    54.3. Save Changes to PDF Documents
    54.4. Working with Pages
    54.4.1. Page Creation
    54.4.2. Page cloning
    54.5. Drawing
    54.5.1. Geometry
    54.5.2. Colors
    54.5.3. Shape Drawing
    54.5.4. Text Drawing
    54.5.5. Using fonts
    54.5.6. Standard PDF fonts limitations
    54.5.7. Extracting fonts
    54.5.8. Image Drawing
    54.5.9. Line drawing style
    54.5.10. Fill style
    54.5.11. Linear Transformations Rotations Starting from ZF 1.8, scaling Starting from ZF 1.8, translating Starting from ZF 1.8, skewing
    54.5.12. Save/restore graphics state
    54.5.13. Clipping draw area
    54.5.14. Styles
    54.5.15. Transparency
    54.6. Interactive Features
    54.6.1. Destinations Supported Destination Types Zend_Pdf_Destination_Zoom Zend_Pdf_Destination_Fit Zend_Pdf_Destination_FitHorizontally Zend_Pdf_Destination_FitVertically Zend_Pdf_Destination_FitRectangle Zend_Pdf_Destination_FitBoundingBox Zend_Pdf_Destination_FitBoundingBoxHorizontally Zend_Pdf_Destination_FitBoundingBoxVertically Zend_Pdf_Destination_Named Document level destination processing
    54.6.2. Actions Supported action types Actions chaining Document Open Action
    54.6.3. Document Outline (bookmarks)
    54.6.4. Annotations
    54.7. Document Info and Metadata
    54.8. Zend_Pdf module usage example
    55. Zend_ProgressBar
    55.1. Zend_ProgressBar
    55.1.1. Introduction
    55.1.2. Basic Usage of Zend_Progressbar
    55.1.3. Persistent progress
    55.1.4. Standard adapters Zend_ProgressBar_Adapter_Console Zend_ProgressBar_Adapter_JsPush Zend_ProgressBar_Adapter_JsPull
    56. Zend_Queue
    56.1. Introduction
    56.2. Example usage
    56.3. Framework
    56.3.1. Introduction
    56.3.2. Commonality among adapters
    56.4. Adapters
    56.4.1. Specific Adapters - Configuration settings Apache ActiveMQ - Zend_Queue_Adapter_Activemq Db - Zend_Queue_Adapter_Db MemcacheQ - Zend_Queue_Adapter_Memcacheq Zend Platform Job Queue - Zend_Queue_Adapter_PlatformJobQueue Array - Zend_Queue_Adapter_Array
    56.4.2. Notes for Specific Adapters Apache ActiveMQ Zend_Db MemcacheQ Zend Platform Job Queue Array (local)
    56.5. Customizing Zend_Queue
    56.5.1. Creating your own adapter
    56.5.2. Creating your own message class
    56.5.3. Creating your own message iterator class
    56.5.4. Creating your own queue class
    56.6. Stomp
    56.6.1. Stomp - Supporting classes
    57. Zend_Reflection
    57.1. Introduction
    57.2. Zend_Reflection Examples
    57.3. Zend_Reflection Reference
    57.3.1. Zend_Reflection_Docblock
    57.3.2. Zend_Reflection_Docblock_Tag
    57.3.3. Zend_Reflection_Docblock_Tag_Param
    57.3.4. Zend_Reflection_Docblock_Tag_Return
    57.3.5. Zend_Reflection_File
    57.3.6. Zend_Reflection_Class
    57.3.7. Zend_Reflection_Extension
    57.3.8. Zend_Reflection_Function
    57.3.9. Zend_Reflection_Method
    57.3.10. Zend_Reflection_Parameter
    57.3.11. Zend_Reflection_Property
    58. Zend_Registry
    58.1. Using the Registry
    58.1.1. Setting Values in the Registry
    58.1.2. Getting Values from the Registry
    58.1.3. Constructing a Registry Object
    58.1.4. Accessing the Registry as an Array
    58.1.5. Accessing the Registry as an Object
    58.1.6. Querying if an Index Exists
    58.1.7. Extending the Registry
    58.1.8. Unsetting the Static Registry
    59. Zend_Rest
    59.1. Introduction
    59.2. Zend_Rest_Client
    59.2.1. Introduction
    59.2.2. Responses
    59.2.3. Request Arguments
    59.3. Zend_Rest_Server
    59.3.1. Introduction
    59.3.2. REST Server Usage
    59.3.3. Calling a Zend_Rest_Server Service
    59.3.4. Sending A Custom Status
    59.3.5. Returning Custom XML Responses
    60. Zend_Search_Lucene
    60.1. Overview
    60.1.1. Introduction
    60.1.2. Document and Field Objects
    60.1.3. Understanding Field Types
    60.1.4. HTML documents
    60.1.5. Word 2007 documents
    60.1.6. Powerpoint 2007 documents
    60.1.7. Excel 2007 documents
    60.2. Building Indexes
    60.2.1. Creating a New Index
    60.2.2. Updating Index
    60.2.3. Updating Documents
    60.2.4. Retrieving Index Size
    60.2.5. Index optimization MaxBufferedDocs auto-optimization option MaxMergeDocs auto-optimization option MergeFactor auto-optimization option
    60.2.6. Permissions
    60.2.7. Limitations Index size Supported Filesystems
    60.3. Searching an Index
    60.3.1. Building Queries Query Parsing
    60.3.2. Search Results
    60.3.3. Limiting the Result Set
    60.3.4. Results Scoring
    60.3.5. Search Result Sorting
    60.3.6. Search Results Highlighting
    60.4. Query Language
    60.4.1. Terms
    60.4.2. Fields
    60.4.3. Wildcards
    60.4.4. Term Modifiers
    60.4.5. Range Searches
    60.4.6. Fuzzy Searches
    60.4.7. Matched terms limitation
    60.4.8. Proximity Searches
    60.4.9. Boosting a Term
    60.4.10. Boolean Operators AND OR NOT &&, ||, and ! operators + - No Operator
    60.4.11. Grouping
    60.4.12. Field Grouping
    60.4.13. Escaping Special Characters
    60.5. Query Construction API
    60.5.1. Query Parser Exceptions
    60.5.2. Term Query
    60.5.3. Multi-Term Query
    60.5.4. Boolean Query
    60.5.5. Wildcard Query
    60.5.6. Fuzzy Query
    60.5.7. Phrase Query
    60.5.8. Range Query
    60.6. Character Set
    60.6.1. UTF-8 and single-byte character set support
    60.6.2. Default text analyzer
    60.6.3. UTF-8 compatible text analyzers
    60.7. Extensibility
    60.7.1. Text Analysis
    60.7.2. Tokens Filtering
    60.7.3. Scoring Algorithms
    60.7.4. Storage Containers
    60.8. Interoperating with Java Lucene
    60.8.1. File Formats
    60.8.2. Index Directory
    60.8.3. Java Source Code
    60.9. Advanced
    60.9.1. Starting from 1.6, handling index format transformations
    60.9.2. Using the index as static property
    60.10. Best Practices
    60.10.1. Field names
    60.10.2. Indexing performance
    60.10.3. Index during Shut Down
    60.10.4. Retrieving documents by unique id
    60.10.5. Memory Usage
    60.10.6. Encoding
    60.10.7. Index maintenance
    61. Zend_Serializer
    61.1. Introduction
    61.2. Zend_Serializer_Adapter
    61.2.1. Zend_Serializer_Adapter_PhpSerialize
    61.2.2. Zend_Serializer_Adapter_Igbinary
    61.2.3. Zend_Serializer_Adapter_Wddx
    61.2.4. Zend_Serializer_Adapter_Json
    61.2.5. Zend_Serializer_Adapter_Amf 0 and 3
    61.2.6. Zend_Serializer_Adapter_PythonPickle
    61.2.7. Zend_Serializer_Adapter_PhpCode
    62. Zend_Server
    62.1. Introduction
    62.2. Zend_Server_Reflection
    62.2.1. Introduction
    62.2.2. Usage
    63. Zend_Service
    63.1. Introduction
    63.2. Zend_Service_Akismet
    63.2.1. Introduction
    63.2.2. Verify an API key
    63.2.3. Check for spam
    63.2.4. Submitting known spam
    63.2.5. Submitting false positives (ham)
    63.2.6. Zend-specific Methods
    63.3. Zend_Service_Amazon
    63.3.1. Introduction
    63.3.2. Country Codes
    63.3.3. Looking up a Specific Amazon Item by ASIN
    63.3.4. Performing Amazon Item Searches
    63.3.5. Using the Alternative Query API Introduction
    63.3.6. Zend_Service_Amazon Classes Zend_Service_Amazon_Item Zend_Service_Amazon_Item::asXML() Properties Zend_Service_Amazon_Image Properties Zend_Service_Amazon_ResultSet Zend_Service_Amazon_ResultSet::totalResults() Zend_Service_Amazon_OfferSet Properties Zend_Service_Amazon_Offer Zend_Service_Amazon_Offer Properties Zend_Service_Amazon_SimilarProduct Properties Zend_Service_Amazon_Accessories Properties Zend_Service_Amazon_CustomerReview Properties Zend_Service_Amazon_EditorialReview Properties Zend_Service_Amazon_Listmania Properties
    63.4. Zend_Service_Amazon_Ec2
    63.4.1. Introduction
    63.4.2. What is Amazon Ec2?
    63.4.3. Static Methods
    63.5. Zend_Service_Amazon_Ec2: Instances
    63.5.1. Instance Types
    63.5.2. Running Amazon EC2 Instances
    63.5.3. Amazon Instance Utilities
    63.6. Zend_Service_Amazon_Ec2: Windows Instances
    63.6.1. Windows Instances Usage
    63.7. Zend_Service_Amazon_Ec2: Reserved Instances
    63.7.1. How Reserved Instances are Applied
    63.7.2. Reserved Instances Usage
    63.8. Zend_Service_Amazon_Ec2: CloudWatch Monitoring
    63.8.1. CloudWatch Usage
    63.9. Zend_Service_Amazon_Ec2: Amazon Machine Images (AMI)
    63.9.1. AMI Information Utilities
    63.9.2. AMI Attribute Utilities
    63.10. Zend_Service_Amazon_Ec2: Elastic Block Storage (EBS)
    63.10.1. Create EBS Volumes and Snapshots
    63.10.2. Describing EBS Volumes and Snapshots
    63.10.3. Attach and Detaching Volumes from Instances
    63.10.4. Deleting EBS Volumes and Snapshots
    63.11. Zend_Service_Amazon_Ec2: Elastic IP Addresses
    63.12. Zend_Service_Amazon_Ec2: Keypairs
    63.13. Zend_Service_Amazon_Ec2: Regions and Availability Zones
    63.13.1. Amazon EC2 Regions
    63.13.2. Amazon EC2 Availability Zones
    63.14. Zend_Service_Amazon_Ec2: Security Groups
    63.14.1. Security Group Maintenance
    63.14.2. Authorizing Access
    63.14.3. Revoking Access
    63.15. Zend_Service_Amazon_S3
    63.15.1. Introduction
    63.15.2. Registering with Amazon S3
    63.15.3. API Documentation
    63.15.4. Features
    63.15.5. Getting Started
    63.15.6. Bucket operations
    63.15.7. Object operations
    63.15.8. Data Streaming
    63.15.9. Stream wrapper
    63.16. Zend_Service_Amazon_Sqs
    63.16.1. Introduction
    63.16.2. Registering with Amazon SQS
    63.16.3. API Documentation
    63.16.4. Features
    63.16.5. Getting Started
    63.16.6. Queue operations
    63.16.7. Message operations
    63.17. Zend_Service_Audioscrobbler
    63.17.1. Introduction
    63.17.2. Users
    63.17.3. Artists
    63.17.4. Tracks
    63.17.5. Tags
    63.17.6. Groups
    63.17.7. Forums
    63.18. Zend_Service_Delicious
    63.18.1. Introduction
    63.18.2. Retrieving posts
    63.18.3. Zend_Service_Delicious_PostList
    63.18.4. Editing posts
    63.18.5. Deleting posts
    63.18.6. Adding new posts
    63.18.7. Tags
    63.18.8. Bundles
    63.18.9. Public data Public posts
    63.18.10. HTTP client
    63.19. Zend_Service_DeveloperGarden
    63.19.1. Introduction to DeveloperGarden Sign Up for an Account The Environment Your configuration
    63.19.2. BaseUserService Get quota information Change quota information
    63.19.3. IP Location
    63.19.4. Local Search
    63.19.5. Send SMS
    63.19.6. SMS Validation
    63.19.7. Voice Call
    63.19.8. ConferenceCall
    63.19.9. Performance and Caching
    63.20. Zend_Service_Ebay
    63.20.1. Introduction
    63.21. Zend_Service_Ebay_Finding
    63.21.1. Introduction
    63.21.2. Create a client object
    63.21.3. Finding items
    63.21.4. Keywords Recommendation
    63.21.5. Histograms
    63.22. Zend_Service_Flickr
    63.22.1. Introduction
    63.22.2. Finding Flickr Users' Photos and Information
    63.22.3. Finding photos From a Group Pool
    63.22.4. Retrieving Flickr Image Details
    63.22.5. Zend_Service_Flickr Result Classes Zend_Service_Flickr_ResultSet Properties Zend_Service_Flickr_ResultSet::totalResults() Zend_Service_Flickr_Result Properties Zend_Service_Flickr_Image Properties
    63.23. Zend_Service_LiveDocx
    63.23.1. Introduction to LiveDocx Sign Up for an Account Templates and Documents Supported File Formats Template File Formats (input) Document File Formats (output): Image File Formats (import): Image File Formats (output):
    63.23.2. Zend_Service_LiveDocx_MailMerge Document Generation Process Creating Templates in Microsoft Word 2007 Merging image data Advanced Mail-Merge Generating bitmaps image files Local vs. Remote Templates Getting Information
    63.24. Zend_Service_Nirvanix
    63.24.1. Introduction
    63.24.2. Registering with Nirvanix
    63.24.3. API Documentation
    63.24.4. Features
    63.24.5. Getting Started
    63.24.6. Understanding the Proxy
    63.24.7. Examining Results
    63.24.8. Handling Errors
    63.25. Zend_Service_ReCaptcha
    63.25.1. Introduction
    63.25.2. Simplest use
    63.25.3. Hiding email addresses
    63.26. Zend_Service_ShortUrl
    63.26.1. Overview
    63.26.2. Quick Start
    63.26.3. Available Methods
    63.27. Zend_Service_Simpy
    63.27.1. Introduction
    63.27.2. Links
    63.27.3. Tags
    63.27.4. Notes
    63.27.5. Watchlists
    63.28. Zend_Service_SlideShare
    63.28.1. Getting Started with Zend_Service_SlideShare
    63.28.2. The SlideShow object
    63.28.3. Retrieving a single slide show
    63.28.4. Retrieving Groups of Slide Shows
    63.28.5. Zend_Service_SlideShare Caching policies
    63.28.6. Changing the behavior of the HTTP Client
    63.29. Zend_Service_StrikeIron
    63.29.1. Overview
    63.29.2. Registering with StrikeIron
    63.29.3. Getting Started
    63.29.4. Making Your First Query
    63.29.5. Examining Results
    63.29.6. Handling Errors
    63.29.7. Checking Your Subscription
    63.30. Zend_Service_StrikeIron: Bundled Services
    63.30.1. ZIP Code Information
    63.30.2. U.S. Address Verification
    63.30.3. Sales & Use Tax Basic
    63.31. Zend_Service_StrikeIron: Advanced Uses
    63.31.1. Using Services by WSDL
    63.31.2. Viewing SOAP Transactions
    63.32. Zend_Service_Technorati
    63.32.1. Introduction
    63.32.2. Getting Started
    63.32.3. Making Your First Query
    63.32.4. Consuming Results
    63.32.5. Handling Errors
    63.32.6. Checking Your API Key Daily Usage
    63.32.7. Available Technorati Queries Technorati Cosmos Technorati Search Technorati Tag Technorati DailyCounts Technorati TopTags Technorati BlogInfo Technorati BlogPostTags Technorati GetInfo Technorati KeyInfo
    63.32.8. Zend_Service_Technorati Classes Zend_Service_Technorati_ResultSet Zend_Service_Technorati_CosmosResultSet Zend_Service_Technorati_SearchResultSet Zend_Service_Technorati_TagResultSet Zend_Service_Technorati_DailyCountsResultSet Zend_Service_Technorati_TagsResultSet Zend_Service_Technorati_Result Zend_Service_Technorati_CosmosResult Zend_Service_Technorati_SearchResult Zend_Service_Technorati_TagResult Zend_Service_Technorati_DailyCountsResult Zend_Service_Technorati_TagsResult Zend_Service_Technorati_GetInfoResult Zend_Service_Technorati_BlogInfoResult Zend_Service_Technorati_KeyInfoResult
    63.33. Zend_Service_Twitter
    63.33.1. Introduction
    63.33.2. Authentication
    63.33.3. Account Methods
    63.33.4. Status Methods
    63.33.5. User Methods
    63.33.6. Direct Message Methods
    63.33.7. Friendship Methods
    63.33.8. Favorite Methods
    63.33.9. Block Methods
    63.33.10. Zend_Service_Twitter_Search Introduction Twitter Trends Searching Twitter Zend-specific Accessor Methods
    63.34. Zend_Service_WindowsAzure
    63.34.1. Introduction
    63.34.2. Installing the Windows Azure SDK
    63.34.3. API Documentation
    63.34.4. Features
    63.34.5. Architecture
    63.35. Zend_Service_WindowsAzure_Storage_Blob
    63.35.1. API Examples Creating a storage container Deleting a storage container Storing a blob Copying a blob Downloading a blob Making a blob publicly available
    63.35.2. Root container
    63.35.3. Blob storage stream wrapper
    63.35.4. Shared Access Signature Generating a Shared Access Signature Working with Shared Access Signatures from others
    63.36. Zend_Service_WindowsAzure_Diagnostics_Manager
    63.36.1. API Examples Checking if a diagnostics configuration for the current role instance exists Loading the current role instance diagnostics configuration Storing the current role instance diagnostics configuration Subscribing to a performance counter Getting the current role instance id
    63.37. Zend_Service_WindowsAzure_Storage_Queue
    63.37.1. API Examples Creating a queue Deleting a queue Adding a message to a queue Reading a message from a queue Check if there are messages in a queue
    63.38. Zend_Service_WindowsAzure_Storage_Table
    63.38.1. Operations on tables Creating a table Listing all tables
    63.38.2. Operations on entities Enforced schema entities No enforced schema entities (a.k.a. DynamicEntity) Entities API examples Inserting an entity Retrieving an entity by partition key and row key Updating an entity Deleting an entity Performing queries Batch operations
    63.38.3. Table storage session handler
    63.39. Zend_Service_Yahoo
    63.39.1. Introduction
    63.39.2. Searching the Web with Yahoo!
    63.39.3. Finding Images with Yahoo!
    63.39.4. Finding videos with Yahoo!
    63.39.5. Finding Local Businesses and Services with Yahoo!
    63.39.6. Searching Yahoo! News
    63.39.7. Searching Yahoo! Site Explorer Inbound Links
    63.39.8. Searching Yahoo! Site Explorer's PageData
    63.39.9. Zend_Service_Yahoo Classes Zend_Service_Yahoo_ResultSet Zend_Service_Yahoo_ResultSet::totalResults() Properties Zend_Service_Yahoo_WebResultSet Zend_Service_Yahoo_ImageResultSet Zend_Service_Yahoo_VideoResultSet Zend_Service_Yahoo_LocalResultSet Zend_Service_Yahoo_NewsResultSet Zend_Service_Yahoo_InlinkDataResultSet Zend_Service_Yahoo_PageDataResultSet Zend_Service_Yahoo_Result Properties Zend_Service_Yahoo_WebResult Properties Zend_Service_Yahoo_ImageResult Properties Zend_Service_Yahoo_VideoResult Properties Zend_Service_Yahoo_LocalResult Properties Zend_Service_Yahoo_NewsResult Properties Zend_Service_Yahoo_InlinkDataResult Zend_Service_Yahoo_PageDataResult Zend_Service_Yahoo_Image Properties
    64. Zend_Session
    64.1. Introduction
    64.2. Basic Usage
    64.2.1. Tutorial Examples
    64.2.2. Iterating Over Session Namespaces
    64.2.3. Accessors for Session Namespaces
    64.3. Advanced Usage
    64.3.1. Starting a Session
    64.3.2. Locking Session Namespaces
    64.3.3. Namespace Expiration
    64.3.4. Session Encapsulation and Controllers
    64.3.5. Preventing Multiple Instances per Namespace
    64.3.6. Working with Arrays
    64.3.7. Using Sessions with Objects
    64.3.8. Using Sessions with Unit Tests
    64.4. Global Session Management
    64.4.1. Configuration Options
    64.4.2. Error: Headers Already Sent
    64.4.3. Session Identifiers Session Hijacking and Fixation
    64.4.4. rememberMe(integer $seconds)
    64.4.5. forgetMe()
    64.4.6. sessionExists()
    64.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
    64.4.8. stop()
    64.4.9. writeClose($readonly = true)
    64.4.10. expireSessionCookie()
    64.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
    64.4.12. namespaceIsset($namespace)
    64.4.13. namespaceUnset($namespace)
    64.4.14. namespaceGet($namespace)
    64.4.15. getIterator()
    64.5. Zend_Session_SaveHandler_DbTable
    65. Zend_Soap
    65.1. Zend_Soap_Server
    65.1.1. Zend_Soap_Server constructor Zend_Soap_Server constructor for the WSDL mode Zend_Soap_Server constructor for the non-WSDL mode
    65.1.2. Methods to define Web Service API
    65.1.3. Request and response objects handling Request processing Response pre-processing
    65.2. Zend_Soap_Client
    65.2.1. Zend_Soap_Client Constructor
    65.2.2. Performing SOAP Requests
    65.3. WSDL Accessor
    65.3.1. Zend_Soap_Wsdl constructor
    65.3.2. addMessage() method
    65.3.3. addPortType() method
    65.3.4. addPortOperation() method
    65.3.5. addBinding() method
    65.3.6. addBindingOperation() method
    65.3.7. addSoapBinding() method
    65.3.8. addSoapOperation() method
    65.3.9. addService() method
    65.3.10. Type mapping Retrieving type information Adding complex type information
    65.3.11. addDocumentation() method
    65.3.12. Get finalized WSDL document
    65.4. AutoDiscovery
    65.4.1. AutoDiscovery Introduction
    65.4.2. Class autodiscovering
    65.4.3. Functions autodiscovering
    65.4.4. Autodiscovering Datatypes
    65.4.5. WSDL Binding Styles
    66. Zend_Tag
    66.1. Introduction
    66.2. Zend_Tag_Cloud
    66.2.1. Decorators HTML Tag decorator HTML Cloud decorator
    67. Zend_Test
    67.1. Introduction
    67.2. Zend_Test_PHPUnit
    67.2.1. Bootstrapping your TestCase
    67.2.2. Testing your Controllers and MVC Applications Controller Tests and the Redirector Action Helper
    67.2.3. Assertions CSS Selector Assertions XPath Assertions Redirect Assertions Response Header Assertions Request Assertions
    67.2.4. Examples
    67.3. Zend_Test_PHPUnit_Db
    67.3.1. Quickstart Setup a Database TestCase Specify a seed dataset A few initial database tests
    67.3.2. Usage, API and Extensions Points The Zend_Test_PHPUnit_DatabaseTestCase class Integrating Database Testing with the ControllerTestCase
    67.3.3. Using the Database Testing Adapter
    68. Zend_Text
    68.1. Zend_Text_Figlet
    68.2. Zend_Text_Table
    69. Zend_TimeSync
    69.1. Introduction
    69.1.1. Why Zend_TimeSync ?
    69.1.2. What is NTP ?
    69.1.3. What is SNTP?
    69.1.4. Problematic usage
    69.1.5. Decide which server to use
    69.2. Working with Zend_TimeSync
    69.2.1. Generic Time Server Request
    69.2.2. Multiple Time Servers
    69.2.3. Protocols of Time Servers
    69.2.4. Using Ports for Time Servers
    69.2.5. Time Servers Options
    69.2.6. Using Different Time Servers
    69.2.7. Information from Time Servers
    69.2.8. Handling Exceptions
    70. Zend_Tool
    70.1. Using Zend_Tool On The Command Line
    70.1.1. Installation Download And Go Installing Via Pear Installing by Hand
    70.1.2. General Purpose Commands Version Built-in Help Manifest
    70.1.3. Project Specific Commands Project Module Controller Action View Model Form DbAdapter DbTable Layout
    70.1.4. Environment Customization The Storage Directory The Configuration File Environment Locations
    70.2. Extending Zend_Tool
    70.2.1. Overview of Zend_Tool
    70.2.2. Zend_Tool_Framework Extensions Overall Architecture Understanding the CLI Client Setting up the CLI tool Setting up the CLI tool on Unix-like Systems Setting up the CLI tool on Windows Other Setup Considerations Creating Providers How Zend_Tool finds your Providers Basic Instructions for Creating Providers The response object Advanced Development Information
    70.2.3. Zend_Tool_Project Extensions Overall Architecture Creating Providers
    71. Zend_Tool_Framework
    71.1. Introduction
    71.2. Using the CLI Tool
    71.2.1. Setting up the CLI tool
    71.2.2. Setting up the CLI tool on Unix-like Systems
    71.2.3. Setting up the CLI tool on Windows
    71.2.4. Other Setup Considerations
    71.2.5. Where To Go Next?
    71.3. Architecture
    71.3.1. Registry
    71.3.2. Providers
    71.3.3. Loaders
    71.3.4. Manifests
    71.3.5. Clients
    71.4. Creating Providers to use with Zend_Tool_Framework
    71.4.1. How Zend_Tool finds your Providers
    71.4.2. Basic Instructions for Creating Providers
    71.4.3. The response object
    71.4.4. Advanced Development Information Passing Variables to a Provider Prompt the User for Input Pretending to execute a Provider Action Verbose and Debug modes Accessing User Config and Storage
    71.5. Shipped System Providers
    71.5.1. The Version Provider
    71.5.2. The Manifest Provider
    71.6. Extending and Configuring Zend_Tool_Framework
    71.6.1. Customizing Zend_Tool Console Client The Home Directory Local Storage User Configuration User Configuration File Content
    72. Zend_Tool_Project
    72.1. Introduction
    72.2. Create A Project
    72.3. Zend_Tool Project Providers
    72.4. Zend_Tool_Project Internals
    72.4.1. Zend_Tool_Project Internal Xml Structure
    72.4.2. Zend_Tool_Project Internal Extending
    73. Zend_Translate
    73.1. Introduction
    73.1.1. Starting multi-lingual
    73.2. Adapters for Zend_Translate
    73.2.1. How to decide which translation adapter to use Zend_Translate_Adapter_Array Zend_Translate_Adapter_Csv Zend_Translate_Adapter_Gettext Zend_Translate_Adapter_Ini Zend_Translate_Adapter_Tbx Zend_Translate_Adapter_Tmx Zend_Translate_Adapter_Qt Zend_Translate_Adapter_Xliff Zend_Translate_Adapter_XmlTm
    73.2.2. Integrate self written Adapters
    73.2.3. Speedup all Adapters
    73.3. Using Translation Adapters
    73.3.1. Translation Source Structures
    73.4. Creating source files
    73.4.1. Creating Array source files
    73.4.2. Creating Gettext source files
    73.4.3. Creating TMX source files
    73.4.4. Creating CSV source files
    73.4.5. Creating INI source files
    73.5. Additional features for translation
    73.5.1. Options for adapters
    73.5.2. Handling languages Automatical handling of languages Using a country as language
    73.5.3. Automatic source detection Language through naming directories Language through filenames Complete filename Extension of the file Filename tokens Ignoring special files and directories Ignore a special directory or file Ignore several directories or files Ignore specific names
    73.5.4. Routing for translations
    73.5.5. Combining multiple translation sources
    73.5.6. Checking for translations
    73.5.7. How to log not found translations
    73.5.8. Accessing source data
    73.6. Plural notations for Translation
    73.6.1. Traditional plural translations
    73.6.2. Modern plural translations
    73.6.3. Plural source files Array source with plural definitions Csv source with plural definitions Gettext source with plural definitions
    73.6.4. Custom plural rules
    74. Zend_Uri
    74.1. Zend_Uri
    74.1.1. Overview
    74.1.2. Creating a New URI Creating a New Custom-Class URI
    74.1.3. Manipulating an Existing URI
    74.1.4. URI Validation Allowing "Unwise" characters in URIs
    74.1.5. Common Instance Methods Getting the Scheme of the URI Getting the Entire URI Validating the URI
    75. Zend_Validate
    75.1. Introduction
    75.1.1. What is a validator?
    75.1.2. Basic usage of validators
    75.1.3. Customizing messages
    75.1.4. Using the static is() method Namespaces
    75.1.5. Translating messages
    75.2. Standard Validation Classes
    75.2.1. Alnum Supported options for Zend_Validate_Alnum Basic usage Using whitespaces Using different languages
    75.2.2. Alpha Supported options for Zend_Validate_Alpha Basic usage Using whitespaces Using different languages
    75.2.3. Barcode Supported options for Zend_Validate_Barcode Basic usage Optional checksum Writing custom adapters
    75.2.4. Between Supported options for Zend_Validate_Between Default behaviour for Zend_Validate_Between Validation exclusive the border values
    75.2.5. Callback Supported options for Zend_Validate_Callback Basic usage Usage with closures Usage with class-based callbacks Adding options
    75.2.6. CreditCard Supported options for Zend_Validate_CreditCard Basic usage Accepting defined credit cards Validation by using foreign APIs
    75.2.7. Ccnum
    75.2.8. Date Supported options for Zend_Validate_Date Default date validation Localized date validation Self defined date validation
    75.2.9. Db_RecordExists and Db_NoRecordExists Supported options for Zend_Validate_Db_* Basic usage Excluding records Database Adapters Database Schemas
    75.2.10. Digits Supported options for Zend_Validate_Digits Validating digits
    75.2.11. EmailAddress Basic usage Options for validating Email Addresses Complex local parts Validating only the local part Validating different types of hostnames Checking if the hostname actually accepts email Validating International Domains Names Validating Top Level Domains Setting messages
    75.2.12. Float Supported options for Zend_Validate_Float Simple float validation Localized float validation
    75.2.13. GreaterThan Supported options for Zend_Validate_GreaterThan Basic usage
    75.2.14. Hex Supported options for Zend_Validate_Hex
    75.2.15. Hostname Supported options for Zend_Validate_Hostname Basic usage Validating different types of hostnames Validating International Domains Names Validating Top Level Domains
    75.2.16. Iban Supported options for Zend_Validate_Iban IBAN validation Application wide locale Ungreedy IBAN validation Region aware IBAN validation
    75.2.17. Identical Supported options for Zend_Validate_Identical Basic usage Identical objects Form elements Strict validation Configuration
    75.2.18. InArray Supported options for Zend_Validate_InArray Simple array validation Strict array validation Recursive array validation
    75.2.19. Int Supported options for Zend_Validate_Int Simple integer validation Localized integer validation
    75.2.20. Ip Supported options for Zend_Validate_Ip Basic usage Validate IPv4 or IPV6 alone
    75.2.21. Isbn Supported options for Zend_Validate_Isbn Basic usage Setting an explicit ISBN validation type Specifying a separator restriction
    75.2.22. LessThan Supported options for Zend_Validate_LessThan Basic usage
    75.2.23. NotEmpty Supported options for Zend_Validate_NotEmpty Default behaviour for Zend_Validate_NotEmpty Changing behaviour for Zend_Validate_NotEmpty
    75.2.24. PostCode Constructor options Supported options for Zend_Validate_PostCode
    75.2.25. Regex Supported options for Zend_Validate_Regex Validation with Zend_Validate_Regex Pattern handling
    75.2.26. Sitemap Validators Sitemap_Changefreq Sitemap_Lastmod Sitemap_Loc Sitemap_Priority Supported options for Zend_Validate_Sitemap_*
    75.2.27. StringLength Supported options for Zend_Validate_StringLength Default behaviour for Zend_Validate_StringLength Limiting the maximum allowed length of a string Limiting the minimal required length of a string Limiting a string on both sides Encoding of values
    75.3. Validator Chains
    75.4. Writing Validators
    75.5. Validation Messages
    75.5.1. Using pre-translated validation messages
    75.5.2. Limit the size of a validation message
    76. Zend_Version
    76.1. Getting the Zend Framework Version
    77. Zend_View
    77.1. Introduction
    77.1.1. Controller Script
    77.1.2. View Script
    77.1.3. Options
    77.1.4. Short Tags with View Scripts
    77.1.5. Utility Accessors
    77.2. Controller Scripts
    77.2.1. Assigning Variables
    77.2.2. Rendering a View Script
    77.2.3. View Script Paths
    77.3. View Scripts
    77.3.1. Escaping Output
    77.3.2. Using Alternate Template Systems Template Systems Using View Scripts Template Systems Using Zend_View_Interface
    77.4. View Helpers
    77.4.1. Initial Helpers Action View Helper BaseUrl Helper Currency Helper Cycle Helper Partial Helper Placeholder Helper Concrete Placeholder Implementations Doctype Helper Gravatar View Helper Options HeadLink Helper HeadMeta Helper HeadScript Helper HeadStyle Helper HeadTitle Helper HTML Object Helpers InlineScript Helper JSON Helper Navigation Helpers Translation of labels and titles Integration with ACL Navigation setup used in examples Breadcrumbs Helper Links Helper Menu Helper Sitemap Helper Navigation Helper TinySrc Helper Overview Quick Start Configuration Options Available Methods Examples Translate Helper UserAgent View Helper Overview Quick Start Available Methods
    77.4.2. Helper Paths
    77.4.3. Writing Custom Helpers
    77.4.4. Registering Concrete Helpers
    77.5. Zend_View_Abstract
    78. Zend_Wildfire
    78.1. Zend_Wildfire
    79. Zend_XmlRpc
    79.1. Introduction
    79.2. Zend_XmlRpc_Client
    79.2.1. Introduction
    79.2.2. Method Calls
    79.2.3. Types and Conversions PHP Native Types as Parameters Zend_XmlRpc_Value Objects as Parameters
    79.2.4. Server Proxy Object
    79.2.5. Error Handling HTTP Errors XML-RPC Faults
    79.2.6. Server Introspection
    79.2.7. From Request to Response
    79.2.8. HTTP Client and Testing
    79.3. Zend_XmlRpc_Server
    79.3.1. Introduction
    79.3.2. Basic Usage
    79.3.3. Server Structure
    79.3.4. Anatomy of a webservice General considerations What to expose?
    79.3.5. Conventions
    79.3.6. Utilizing Namespaces
    79.3.7. Custom Request Objects
    79.3.8. Custom Responses
    79.3.9. Handling Exceptions via Faults
    79.3.10. Caching Server Definitions Between Requests
    79.3.11. Usage Examples
    79.3.12. Performance optimization
    digg delicious meneame google twitter technorati facebook