Español | English
Update 2010-02-15 - Revision 21049

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_Frontcontroller
14.6.4. Zend_Application_Resource_Layout
14.6.5. Zend_Application_Resource_Locale
14.6.5.1. Autodetect the locale to use
14.6.5.2. Autodetect the locale and adding a own fallback
14.6.5.3. Forcing a specific locale to use
14.6.6. Zend_Application_Resource_Log
14.6.7. Zend_Application_Resource_Mail
14.6.8. Zend_Application_Resource_Modules
14.6.9. Zend_Application_Resource_Multidb
14.6.10. Zend_Application_Resource_Navigation
14.6.11. Zend_Application_Resource_Router
14.6.12. Zend_Application_Resource_Session
14.6.13. Zend_Application_Resource_View
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_Code25
16.3.3.3. Zend_Barcode_Object_Code25interleaved
16.3.3.4. Zend_Barcode_Object_Ean2
16.3.3.5. Zend_Barcode_Object_Ean5
16.3.3.6. Zend_Barcode_Object_Ean8
16.3.3.7. Zend_Barcode_Object_Ean13
16.3.3.8. Zend_Barcode_Object_Code39
16.3.3.9. Zend_Barcode_Object_Identcode
16.3.3.10. Zend_Barcode_Object_Itf14
16.3.3.11. Zend_Barcode_Object_Leitcode
16.3.3.12. Zend_Barcode_Object_Planet
16.3.3.13. Zend_Barcode_Object_Postnet
16.3.3.14. Zend_Barcode_Object_Royalmail
16.3.3.15. Zend_Barcode_Object_Upca
16.3.3.16. 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
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.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_Apc
17.4.5. Zend_Cache_Backend_Xcache
17.4.6. Zend_Cache_Backend_ZendPlatform
17.4.7. Zend_Cache_Backend_TwoLevels
17.4.8. Zend_Cache_Backend_ZendServer_Disk and Zend_Cache_Backend_ZendServer_ShMem
17.4.9. 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. Zend_CodeGenerator
19.1. Introduction
19.1.1. Theory of Operation
19.2. Zend_CodeGenerator Examples
19.3. Zend_CodeGenerator Reference
19.3.1. Abstract Classes and Interfaces
19.3.1.1. Zend_CodeGenerator_Abstract
19.3.1.2. Zend_CodeGenerator_Php_Abstract
19.3.1.3. Zend_CodeGenerator_Php_Member_Abstract
19.3.2. Concrete CodeGenerator Classes
19.3.2.1. Zend_CodeGenerator_Php_Body
19.3.2.2. Zend_CodeGenerator_Php_Class
19.3.2.3. Zend_CodeGenerator_Php_Docblock
19.3.2.4. Zend_CodeGenerator_Php_Docblock_Tag
19.3.2.5. Zend_CodeGenerator_Php_DocBlock_Tag_Param
19.3.2.6. Zend_CodeGenerator_Php_DocBlock_Tag_Return
19.3.2.7. Zend_CodeGenerator_Php_File
19.3.2.8. Zend_CodeGenerator_Php_Member_Container
19.3.2.9. Zend_CodeGenerator_Php_Method
19.3.2.10. Zend_CodeGenerator_Php_Parameter
19.3.2.11. Zend_CodeGenerator_Php_Property
20. Zend_Config
20.1. Introduction
20.2. Theory of Operation
20.3. Zend_Config_Ini
20.4. Zend_Config_Xml
21. Zend_Config_Writer
21.1. Zend_Config_Writer
22. Zend_Console_Getopt
22.1. Introduction
22.2. Declaring Getopt Rules
22.2.1. Declaring Options with the Short Syntax
22.2.2. Declaring Options with the Long Syntax
22.3. Fetching Options and Arguments
22.3.1. Handling Getopt Exceptions
22.3.2. Fetching Options by Name
22.3.3. Reporting Options
22.3.4. Fetching Non-option Arguments
22.4. Configuring Zend_Console_Getopt
22.4.1. Adding Option Rules
22.4.2. Adding Help Messages
22.4.3. Adding Option Aliases
22.4.4. Adding Argument Lists
22.4.5. Adding Configuration
23. Zend_Controller
23.1. Zend_Controller Quick Start
23.1.1. Introduction
23.1.2. Quick Start
23.1.2.1. Create the Filesystem Layout
23.1.2.2. Set the Document Root
23.1.2.3. Create the Rewrite Rules
23.1.2.4. Create the Bootstrap File
23.1.2.5. Create the Default Action Controller
23.1.2.6. Create the View Script
23.1.2.7. Create the Error Controller
23.1.2.8. View the Site!
23.2. Zend_Controller Basics
23.3. The Front Controller
23.3.1. Overview
23.3.2. Primary Methods
23.3.2.1. getInstance()
23.3.2.2. setControllerDirectory() and addControllerDirectory
23.3.2.3. addModuleDirectory() and getModuleDirectory()
23.3.2.4. dispatch()
23.3.2.5. run()
23.3.3. Environmental Accessor Methods
23.3.4. Front Controller Parameters
23.3.5. Extending the Front Controller
23.4. The Request Object
23.4.1. Introduction
23.4.2. HTTP Requests
23.4.2.1. Accessing Request Data
23.4.2.2. Base Url and Subdirectories
23.4.2.3. Determining the Request Method
23.4.2.4. Detecting AJAX Requests
23.4.3. Subclassing the Request Object
23.5. The Standard Router
23.5.1. Introduction
23.5.2. Using a Router
23.5.3. Basic Rewrite Router Operation
23.5.4. Default Routes
23.5.5. Base URL and Subdirectories
23.5.6. Global Parameters
23.5.7. Route Types
23.5.7.1. Zend_Controller_Router_Route
23.5.7.1.1. Variable Defaults
23.5.7.1.2. Variable Requirements
23.5.7.1.3. Translated segments
23.5.7.2. Zend_Controller_Router_Route_Static
23.5.7.3. Zend_Controller_Router_Route_Regex
23.5.7.4. Zend_Controller_Router_Route_Hostname
23.5.7.5. Zend_Controller_Router_Route_Chain
23.5.7.5.1. Chain Routes via Zend_Config
23.5.7.6. Zend_Rest_Route
23.5.7.6.1. Zend_Rest_Route Usage
23.5.7.6.2. Zend_Rest_Route with Zend_Config_Ini
23.5.7.6.3. Zend_Rest_Controller
23.5.8. Using Zend_Config with the RewriteRouter
23.5.9. Subclassing the Router
23.6. The Dispatcher
23.6.1. Overview
23.6.2. Subclassing the Dispatcher
23.7. Action Controllers
23.7.1. Introduction
23.7.2. Object Initialization
23.7.3. Pre- and Post-Dispatch Hooks
23.7.4. Accessors
23.7.5. View Integration
23.7.5.1. View Initialization
23.7.5.2. Rendering Views
23.7.6. Utility Methods
23.7.7. Subclassing the Action Controller
23.8. Action Helpers
23.8.1. Introduction
23.8.2. Helper Initialization
23.8.3. The Helper Broker
23.8.4. Built-in Action Helpers
23.8.4.1. ActionStack
23.8.4.2. AutoComplete
23.8.4.2.1. AutoCompletion with Dojo
23.8.4.2.2. AutoCompletion with Scriptaculous
23.8.4.3. ContextSwitch and AjaxContext
23.8.4.3.1. Default Contexts Available
23.8.4.3.2. Creating Custom Contexts
23.8.4.3.3. Setting Contexts Per Action
23.8.4.3.4. Initializing Context Switching
23.8.4.3.5. Additional Functionality
23.8.4.3.6. AjaxContext Functionality
23.8.4.4. FlashMessenger
23.8.4.4.1. Introduction
23.8.4.4.2. Basic Usage Example
23.8.4.5. JSON
23.8.4.6. Redirector
23.8.4.6.1. Introduction
23.8.4.6.2. Basic Usage Examples
23.8.4.7. ViewRenderer
23.8.4.7.1. Introduction
23.8.4.7.2. API
23.8.4.7.3. Basic Usage Examples
23.8.4.7.4. Advanced Usage Examples
23.8.5. Writing Your Own Helpers
23.9. The Response Object
23.9.1. Usage
23.9.2. Manipulating Headers
23.9.3. Named Segments
23.9.4. Testing for Exceptions in the Response Object
23.9.5. Subclassing the Response Object
23.10. Plugins
23.10.1. Introduction
23.10.2. Writing Plugins
23.10.3. Using Plugins
23.10.4. Retrieving and Manipulating Plugins
23.10.5. Plugins Included in the Standard Distribution
23.10.5.1. ActionStack
23.10.5.2. Zend_Controller_Plugin_ErrorHandler
23.10.5.2.1. Using the ErrorHandler as a 404 Handler
23.10.5.2.2. Handling Previously Rendered Output
23.10.5.2.3. Plugin Usage Examples
23.10.5.2.4. Error Controller Example
23.10.5.3. Zend_Controller_Plugin_PutHandler
23.11. Using a Conventional Modular Directory Structure
23.11.1. Introduction
23.11.2. Specifying Module Controller Directories
23.11.3. Routing to Modules
23.11.4. Module or Global Default Controller
23.12. MVC Exceptions
23.12.1. Introduction
23.12.2. Handling Exceptions
23.12.3. MVC Exceptions You May Encounter
24. Zend_Currency
24.1. Introduction to Zend_Currency
24.1.1. Why should you use Zend_Currency?
24.2. Using Zend_Currency
24.2.1. Generic usage
24.2.2. Currency creation based on a locale
24.3. Options for currencies
24.4. What makes a currency?
24.5. Where is the currency?
24.6. How does the currency look like?
24.7. How much is my currency?
24.7.1. Working with currency values
24.7.2. Using precision on currencies
24.8. Calculating with currencies
24.9. Exchanging currencies
24.10. Additional informations on Zend_Currency
24.10.1. Currency informations
24.10.2. Currency Performance Optimization
25. Zend_Date
25.1. Introduction
25.1.1. Always Set a Default Timezone
25.1.2. Why Use Zend_Date?
25.2. Theory of Operation
25.2.1. Internals
25.3. Basic Methods
25.3.1. Current Date
25.3.2. Zend_Date by Example
25.3.2.1. Output a Date
25.3.2.2. Setting a Date
25.3.2.3. Adding and Subtracting Dates
25.3.2.4. Comparison of Dates
25.4. Zend_Date API Overview
25.4.1. Zend_Date Options
25.4.1.1. Selecting the Date Format Type
25.4.1.2. DST and Date Math
25.4.1.3. Month Calculations
25.4.1.4. Speed up Date Localization and Normalization with Zend_Cache
25.4.1.5. Receiving Syncronised Timestamps with Zend_TimeSync
25.4.2. Working with Date Values
25.4.3. Basic Zend_Date Operations Common to Many Date Parts
25.4.3.1. List of Date Parts
25.4.3.2. List of Date Operations
25.4.4. Comparing Dates
25.4.5. Getting Dates and Date Parts
25.4.6. Working with Fractions of Seconds
25.4.7. Sunrise / Sunset
25.5. Creation of Dates
25.5.1. Create the Actual Date
25.5.2. Create a Date from Database
25.5.3. Create Dates from an Array
25.6. Constants for General Date Functions
25.6.1. Using Constants
25.6.2. List of All Constants
25.6.3. Self-Defined OUTPUT Formats with ISO
25.6.4. Self-Defined OUTPUT Formats Using PHP's date() Format Specifiers
25.7. Working Examples
25.7.1. Checking Dates
25.7.2. Sunrise and Sunset
25.7.3. Time Zones
26. Zend_Db
26.1. Zend_Db_Adapter
26.1.1. Connecting to a Database Using an Adapter
26.1.1.1. Using a Zend_Db Adapter Constructor
26.1.1.2. Using the Zend_Db Factory
26.1.1.3. Using Zend_Config with the Zend_Db Factory
26.1.1.4. Adapter Parameters
26.1.1.5. Managing Lazy Connections
26.1.2. Example Database
26.1.3. Reading Query Results
26.1.3.1. Fetching a Complete Result Set
26.1.3.2. Changing the Fetch Mode
26.1.3.3. Fetching a Result Set as an Associative Array
26.1.3.4. Fetching a Single Column from a Result Set
26.1.3.5. Fetching Key-Value Pairs from a Result Set
26.1.3.6. Fetching a Single Row from a Result Set
26.1.3.7. Fetching a Single Scalar from a Result Set
26.1.4. Writing Changes to the Database
26.1.4.1. Inserting Data
26.1.4.2. Retrieving a Generated Value
26.1.4.3. Updating Data
26.1.4.4. Deleting Data
26.1.5. Quoting Values and Identifiers
26.1.5.1. Using quote()
26.1.5.2. Using quoteInto()
26.1.5.3. Using quoteIdentifier()
26.1.6. Controlling Database Transactions
26.1.7. Listing and Describing Tables
26.1.8. Closing a Connection
26.1.9. Running Other Database Statements
26.1.10. Retrieving Server Version
26.1.11. Notes on Specific Adapters
26.1.11.1. IBM DB2
26.1.11.2. MySQLi
26.1.11.3. Oracle
26.1.11.4. Microsoft SQL Server
26.1.11.5. PDO for IBM DB2 and Informix Dynamic Server (IDS)
26.1.11.6. PDO Microsoft SQL Server
26.1.11.7. PDO MySQL
26.1.11.8. PDO Oracle
26.1.11.9. PDO PostgreSQL
26.1.11.10. PDO SQLite
26.1.11.11. Firebird/Interbase
26.2. Zend_Db_Statement
26.2.1. Creating a Statement
26.2.2. Executing a Statement
26.2.3. Fetching Results from a SELECT Statement
26.2.3.1. Fetching a Single Row from a Result Set
26.2.3.2. Fetching a Complete Result Set
26.2.3.3. Changing the Fetch Mode
26.2.3.4. Fetching a Single Column from a Result Set
26.2.3.5. Fetching a Row as an Object
26.3. Zend_Db_Profiler
26.3.1. Introduction
26.3.2. Using the Profiler
26.3.3. Advanced Profiler Usage
26.3.3.1. Filter by query elapsed time
26.3.3.2. Filter by query type
26.3.3.3. Retrieve profiles by query type
26.3.4. Specialized Profilers
26.3.4.1. Profiling with Firebug
26.4. Zend_Db_Select
26.4.1. Introduction
26.4.2. Creating a Select Object
26.4.3. Building Select queries
26.4.3.1. Adding a FROM clause
26.4.3.2. Adding Columns
26.4.3.3. Adding Expression Columns
26.4.3.4. Adding columns to an existing FROM or JOIN table
26.4.3.5. Adding Another Table to the Query with JOIN
26.4.3.6. Adding a WHERE Clause
26.4.3.7. Adding a GROUP BY Clause
26.4.3.8. Adding a HAVING Clause
26.4.3.9. Adding an ORDER BY Clause
26.4.3.10. Adding a LIMIT Clause
26.4.3.11. Adding the DISTINCT Query Modifier
26.4.3.12. Adding the FOR UPDATE Query Modifier
26.4.3.13. Building a UNION Query
26.4.4. Executing Select Queries
26.4.4.1. Executing Select Queries from the Db Adapter
26.4.4.2. Executing Select Queries from the Object
26.4.4.3. Converting a Select Object to a SQL String
26.4.5. Other methods
26.4.5.1. Retrieving Parts of the Select Object
26.4.5.2. Resetting Parts of the Select Object
26.5. Zend_Db_Table
26.5.1. Introduction
26.5.2. Using Zend_Db_Table as a concrete class
26.5.3. Defining a Table Class
26.5.3.1. Defining the Table Name and Schema
26.5.3.2. Defining the Table Primary Key
26.5.3.3. Overriding Table Setup Methods
26.5.3.4. Table initialization
26.5.4. Creating an Instance of a Table
26.5.4.1. Specifying a Database Adapter
26.5.4.2. Setting a Default Database Adapter
26.5.4.3. Storing a Database Adapter in the Registry
26.5.5. Inserting Rows to a Table
26.5.5.1. Using a Table with an Auto-incrementing Key
26.5.5.2. Using a Table with a Sequence
26.5.5.3. Using a Table with a Natural Key
26.5.6. Updating Rows in a Table
26.5.7. Deleting Rows from a Table
26.5.8. Finding Rows by Primary Key
26.5.9. Querying for a Set of Rows
26.5.9.1. Select API
26.5.9.2. Fetching a rowset
26.5.9.3. Advanced usage
26.5.10. Querying for a Single Row
26.5.11. Retrieving Table Metadata Information
26.5.12. Caching Table Metadata
26.5.12.1. Hardcoding Table Metadata
26.5.13. Customizing and Extending a Table Class
26.5.13.1. Using Custom Row or Rowset Classes
26.5.13.2. Defining Custom Logic for Insert, Update, and Delete
26.5.13.3. Define Custom Search Methods in Zend_Db_Table
26.5.13.4. Define Inflection in Zend_Db_Table
26.6. Zend_Db_Table_Row
26.6.1. Introduction
26.6.2. Fetching a Row
26.6.2.1. Reading column values from a row
26.6.2.2. Retrieving Row Data as an Array
26.6.2.3. Fetching data from related tables
26.6.3. Writing rows to the database
26.6.3.1. Changing column values in a row
26.6.3.2. Inserting a new row
26.6.3.3. Changing values in multiple columns
26.6.3.4. Deleting a row
26.6.4. Serializing and unserializing rows
26.6.4.1. Serializing a Row
26.6.4.2. Unserializing Row Data
26.6.4.3. Reactivating a Row as Live Data
26.6.5. Extending the Row class
26.6.5.1. Row initialization
26.6.5.2. Defining Custom Logic for Insert, Update, and Delete in Zend_Db_Table_Row
26.6.5.3. Define Inflection in Zend_Db_Table_Row
26.7. Zend_Db_Table_Rowset
26.7.1. Introduction
26.7.2. Fetching a Rowset
26.7.3. Retrieving Rows from a Rowset
26.7.4. Retrieving a Rowset as an Array
26.7.5. Serializing and Unserializing a Rowset
26.7.6. Extending the Rowset class
26.8. Zend_Db_Table Relationships
26.8.1. Introduction
26.8.2. Defining Relationships
26.8.3. Fetching a Dependent Rowset
26.8.4. Fetching a Parent Row
26.8.5. Fetching a Rowset via a Many-to-many Relationship
26.8.6. Cascading Write Operations
26.8.6.1. Notes Regarding Cascading Operations
26.9. Zend_Db_Table_Definition
26.9.1. Introduction
26.9.2. Basic Usage
26.9.3. Advanced Usage
27. Zend_Debug
27.1. Dumping Variables
28. Zend_Dojo
28.1. Introduction
28.2. Zend_Dojo_Data: dojo.data Envelopes
28.2.1. Zend_Dojo_Data Usage
28.2.2. Adding metadata to your containers
28.2.3. Advanced Use Cases
28.2.3.1. Available Methods
28.3. Dojo View Helpers
28.3.1. dojo() View Helper
28.3.1.1. Programmatic and Declarative Usage of Dojo
28.3.1.2. Themes
28.3.1.3. Using Layers (Custom Builds)
28.3.1.4. Methods Available
28.3.2. Dijit-Specific View Helpers
28.3.2.1. Dijit Layout Elements
28.3.2.2. Dijit Form Elements
28.3.2.3. Custom Dijits
28.4. Dojo Form Elements and Decorators
28.4.1. Dijit-Specific Form Decorators
28.4.1.1. DijitElement Decorator
28.4.1.2. DijitForm Decorator
28.4.1.3. DijitContainer-based Decorators
28.4.2. Dijit-Specific Form Elements
28.4.2.1. Button
28.4.2.2. CheckBox
28.4.2.3. ComboBox and FilteringSelect
28.4.2.4. CurrencyTextBox
28.4.2.5. DateTextBox
28.4.2.6. Editor
28.4.2.7. HorizontalSlider
28.4.2.8. NumberSpinner
28.4.2.9. NumberTextBox
28.4.2.10. PasswordTextBox
28.4.2.11. RadioButton
28.4.2.12. SimpleTextarea
28.4.2.13. Slider abstract element
28.4.2.14. SubmitButton
28.4.2.15. TextBox
28.4.2.16. Textarea
28.4.2.17. TimeTextBox
28.4.2.18. ValidationTextBox
28.4.2.19. VerticalSlider
28.4.3. Dojo Form Examples
28.5. Zend_Dojo build layer support
28.5.1. Introduction
28.5.2. Generating Custom Module Layers with Zend_Dojo_BuildLayer
28.5.2.1. BuildLayer options
28.5.2.1.1. Setting the view object
28.5.2.1.2. Setting the layer name
28.5.2.1.3. Including onLoad events in the generated layer
28.5.2.1.4. Including captured JavaScript in the generated layer
28.5.3. Generating Build Profiles with Zend_Dojo_BuildLayer
28.5.3.1. Build Profile options
29. Zend_Dom
29.1. Introduction
29.2. Zend_Dom_Query
29.2.1. Theory of Operation
29.2.2. Methods Available
29.2.2.1. Zend_Dom_Query
29.2.2.2. Zend_Dom_Query_Result
30. Zend_Exception
30.1. Using Exceptions
30.2. Basic usage
30.3. Previous Exceptions
31. Zend_Feed
31.1. Introduction
31.2. Importing Feeds
31.2.1. Custom feeds
31.2.1.1. Importing a custom array
31.2.1.2. Importing a custom data source
31.2.1.3. Dumping the contents of a feed
31.3. Retrieving Feeds from Web Pages
31.4. Consuming an RSS Feed
31.5. Consuming an Atom Feed
31.6. Consuming a Single Atom Entry
31.7. Modifying Feed and Entry structures
31.8. Custom Feed and Entry Classes
31.9. Zend_Feed_Reader
31.9.1. Introduction
31.9.2. Importing Feeds
31.9.3. Retrieving Underlying Feed and Entry Sources
31.9.4. Cache Support and Intelligent Requests
31.9.4.1. Adding Cache Support to Zend_Feed_Reader
31.9.4.2. HTTP Conditional GET Support
31.9.5. Locating Feed URIs from Websites
31.9.6. Attribute Collections
31.9.7. Retrieving Feed Information
31.9.8. Retrieving Entry/Item Information
31.9.9. Extending Feed and Entry APIs
31.9.9.1. Writing Zend_Feed_Reader Extensions
31.10. Zend_Feed_Writer
31.10.1. Introduction
31.10.2. Architecture
31.10.3. Getting Started
31.10.4. Setting Feed Data Points
31.10.5. Setting Entry Data Points
31.11. Zend_Feed_Pubsubhubbub
31.11.1. What is Pubsubhubbub?
31.11.2. Architecture
31.11.3. Zend_Feed_Pubsubhubbub_Publisher
31.11.4. Zend_Feed_Pubsubhubbub_Subscriber
31.11.4.1. Subscribing and Unsubscribing
31.11.4.2. Handling Subscriber Callbacks
31.11.4.3. Setting Up And Using A Callback URL Route
32. Zend_File
32.1. Zend_File_Transfer
32.1.1. Supported Adapters for Zend_File_Transfer
32.1.2. Options for Zend_File_Transfer
32.1.3. Checking Files
32.1.4. Additional File Informations
32.1.5. Progress for file uploads
32.1.5.1. Using a progressbar adapter
32.1.5.2. Using getProgress() manually
32.2. Validators for Zend_File_Transfer
32.2.1. Using Validators with Zend_File_Transfer
32.2.2. Count Validator
32.2.3. Crc32 Validator
32.2.4. ExcludeExtension Validator
32.2.5. ExcludeMimeType Validator
32.2.6. Exists Validator
32.2.7. Extension Validator
32.2.8. FilesSize Validator
32.2.9. ImageSize Validator
32.2.10. IsCompressed Validator
32.2.11. IsImage Validator
32.2.12. Hash Validator
32.2.13. Md5 Validator
32.2.14. MimeType Validator
32.2.15. NotExists Validator
32.2.16. Sha1 Validator
32.2.17. Size Validator
32.2.18. WordCount Validator
32.3. Filters for Zend_File_Transfer
32.3.1. Using filters with Zend_File_Transfer
32.3.2. Decrypt filter
32.3.3. Encrypt filter
32.3.4. LowerCase filter
32.3.5. Rename filter
32.3.6. UpperCase filter
33. Zend_Filter
33.1. Introduction
33.1.1. What is a filter?
33.1.2. Basic usage of filters
33.1.3. Using the static staticFilter() method
33.1.3.1. Namespaces
33.2. Standard Filter Classes
33.2.1. Alnum
33.2.2. Alpha
33.2.3. BaseName
33.2.4. Boolean
33.2.4.1. Default behaviour for Zend_Filter_Boolean
33.2.4.2. Changing behaviour for Zend_Filter_Boolean
33.2.4.3. Localized booleans
33.2.4.4. Disable casting
33.2.5. Callback
33.2.6. Compress and Decompress
33.2.6.1. Generic handling
33.2.6.2. Creating an archive
33.2.6.3. Decompressing an archive
33.2.6.4. Bz2 Adapter
33.2.6.5. Gz Adapter
33.2.6.6. Lzf Adapter
33.2.6.7. Rar Adapter
33.2.6.8. Tar Adapter
33.2.6.9. Zip Adapter
33.2.7. Decrypt
33.2.7.1. Decryption with Mcrypt
33.2.7.2. Decryption with OpenSSL
33.2.8. Digits
33.2.9. Dir
33.2.10. Encrypt
33.2.10.1. Encryption with Mcrypt
33.2.10.2. Encryption with OpenSSL
33.2.11. HtmlEntities
33.2.12. Int
33.2.13. LocalizedToNormalized
33.2.13.1. Normalization for numbers
33.2.13.2. Normalization for date and time
33.2.14. NormalizedToLocalized
33.2.14.1. Localization for numbers
33.2.14.2. Localization for date and time
33.2.15. Null
33.2.15.1. Default behaviour for Zend_Filter_Null
33.2.15.2. Changing behaviour for Zend_Filter_Null
33.2.16. PregReplace
33.2.17. RealPath
33.2.18. StringToLower
33.2.19. StringToUpper
33.2.20. StringTrim
33.2.21. StripNewlines
33.2.22. StripTags
33.3. Filter Chains
33.3.1. Changing filter chain order
33.4. Writing Filters
33.5. Zend_Filter_Input
33.5.1. Declaring Filter and Validator Rules
33.5.2. Creating the Filter and Validator Processor
33.5.3. Retrieving Validated Fields and other Reports
33.5.3.1. Querying if the input is valid
33.5.3.2. Getting Invalid, Missing, or Unknown Fields
33.5.3.3. Getting Valid Fields
33.5.4. Using Metacommands to Control Filter or Validator Rules
33.5.4.1. The FIELDS metacommand
33.5.4.2. The PRESENCE metacommand
33.5.4.3. The DEFAULT_VALUE metacommand
33.5.4.4. The ALLOW_EMPTY metacommand
33.5.4.5. The BREAK_CHAIN metacommand
33.5.4.6. The MESSAGES metacommand
33.5.4.7. Using options to set metacommands for all rules
33.5.5. Adding Filter Class Namespaces
33.6. Zend_Filter_Inflector
33.6.1. Operation
33.6.2. Setting Paths To Alternate Filters
33.6.3. Setting the Inflector Target
33.6.4. Inflection Rules
33.6.4.1. Static Rules
33.6.4.2. Filter Inflector Rules
33.6.4.3. Setting Many Rules At Once
33.6.5. Utility Methods
33.6.6. Using Zend_Config with Zend_Filter_Inflector
34. Zend_Form
34.1. Zend_Form
34.2. Zend_Form Quick Start
34.2.1. Create a form object
34.2.2. Add elements to the form
34.2.3. Render a form
34.2.4. Check if a form is valid
34.2.5. Get error status
34.2.6. Putting it together
34.2.7. Using a Zend_Config Object
34.2.8. Conclusion
34.3. Creating Form Elements Using Zend_Form_Element
34.3.1. Plugin Loaders
34.3.2. Filters
34.3.3. Validators
34.3.3.1. Custom Error Messages
34.3.4. Decorators
34.3.5. Metadata and Attributes
34.3.6. Standard Elements
34.3.7. Zend_Form_Element Methods
34.3.8. Configuration
34.3.9. Custom Elements
34.4. Creating Forms Using Zend_Form
34.4.1. Plugin Loaders
34.4.2. Elements
34.4.2.1. Populating and Retrieving Values
34.4.2.2. Global Operations
34.4.2.3. Methods For Interacting With Elements
34.4.3. Display Groups
34.4.3.1. Global Operations
34.4.3.2. Using Custom Display Group Classes
34.4.3.3. Methods for Interacting With Display Groups
34.4.3.4. Zend_Form_DisplayGroup Methods
34.4.4. Sub Forms
34.4.4.1. Global Operations
34.4.4.2. Methods for Interacting With Sub Forms
34.4.5. Metadata and Attributes
34.4.6. Decorators
34.4.7. Validation
34.4.7.1. Custom Error Messages
34.4.7.2. Retrieving Valid Values Only
34.4.8. Methods
34.4.9. Configuration
34.4.10. Custom forms
34.5. Creating Custom Form Markup Using Zend_Form_Decorator
34.5.1. Operation
34.5.2. Standard Decorators
34.5.3. Custom Decorators
34.5.4. Rendering Individual Decorators
34.6. Standard Form Elements Shipped With Zend Framework
34.6.1. Zend_Form_Element_Button
34.6.2. Zend_Form_Element_Captcha
34.6.3. Zend_Form_Element_Checkbox
34.6.4. Zend_Form_Element_File
34.6.5. Zend_Form_Element_Hidden
34.6.6. Zend_Form_Element_Hash
34.6.7. Zend_Form_Element_Image
34.6.8. Zend_Form_Element_MultiCheckbox
34.6.9. Zend_Form_Element_Multiselect
34.6.10. Zend_Form_Element_Password
34.6.11. Zend_Form_Element_Radio
34.6.12. Zend_Form_Element_Reset
34.6.13. Zend_Form_Element_Select
34.6.14. Zend_Form_Element_Submit
34.6.15. Zend_Form_Element_Text
34.6.16. Zend_Form_Element_Textarea
34.7. Standard Form Decorators Shipped With Zend Framework
34.7.1. Zend_Form_Decorator_Callback
34.7.2. Zend_Form_Decorator_Captcha
34.7.3. Zend_Form_Decorator_Description
34.7.4. Zend_Form_Decorator_DtDdWrapper
34.7.5. Zend_Form_Decorator_Errors
34.7.6. Zend_Form_Decorator_Fieldset
34.7.7. Zend_Form_Decorator_File
34.7.8. Zend_Form_Decorator_Form
34.7.9. Zend_Form_Decorator_FormElements
34.7.10. Zend_Form_Decorator_FormErrors
34.7.11. Zend_Form_Decorator_HtmlTag
34.7.12. Zend_Form_Decorator_Image
34.7.13. Zend_Form_Decorator_Label
34.7.14. Zend_Form_Decorator_PrepareElements
34.7.15. Zend_Form_Decorator_ViewHelper
34.7.16. Zend_Form_Decorator_ViewScript
34.8. Internationalization of Zend_Form
34.8.1. Initializing I18n in Forms
34.8.2. Standard I18n Targets
34.9. Advanced Zend_Form Usage
34.9.1. Array Notation
34.9.2. Multi-Page Forms
35. Zend_Gdata
35.1. Introduction
35.1.1. Structure of Zend_Gdata
35.1.2. Interacting with Google Services
35.1.3. Obtaining instances of Zend_Gdata classes
35.1.4. Google Data Client Authentication
35.1.5. Dependencies
35.1.6. Creating a new Gdata client
35.1.7. Common Query Parameters
35.1.8. Fetching a Feed
35.1.9. Working with Multi-page Feeds
35.1.10. Working with Data in Feeds and Entries
35.1.11. Updating Entries
35.1.12. Posting Entries to Google Servers
35.1.13. Deleting Entries on Google Servers
35.2. Authenticating with AuthSub
35.2.1. Creating an AuthSub authenticated Http Client
35.2.2. Revoking AuthSub authentication
35.3. Using the Book Search Data API
35.3.1. Authenticating to the Book Search service
35.3.2. Searching for books
35.3.2.1. Partner Co-Branded Search
35.3.3. Using community features
35.3.3.1. Adding a rating
35.3.3.2. Reviews
35.3.3.2.1. Adding a review
35.3.3.2.2. Editing a review
35.3.3.3. Labels
35.3.3.3.1. Submitting a set of labels
35.3.3.4. Retrieving annotations: reviews, ratings, and labels
35.3.3.5. Deleting Annotations
35.3.4. Book collections and My Library
35.3.4.1. Retrieving books in a user's library
35.3.4.1.1. Retrieving all books in a user's library
35.3.4.1.2. Searching for books in a user's library
35.3.4.2. Updating books in a user's library
35.3.4.2.1. Adding a book to a library
35.3.4.2.2. Removing a book from a library
35.4. Authenticating with ClientLogin
35.4.1. Creating a ClientLogin authenticated Http Client
35.4.2. Terminating a ClientLogin authenticated Http Client
35.5. Using Google Calendar
35.5.1. Connecting To The Calendar Service
35.5.1.1. Authentication
35.5.1.2. Creating A Service Instance
35.5.2. Retrieving A Calendar List
35.5.3. Retrieving Events
35.5.3.1. Queries
35.5.3.2. Retrieving Events In Order Of Start Time
35.5.3.3. Retrieving Events In A Specified Date Range
35.5.3.4. Retrieving Events By Fulltext Query
35.5.3.5. Retrieving Individual Events
35.5.4. Creating Events
35.5.4.1. Creating Single-Occurrence Events
35.5.4.2. Event Schedules and Reminders
35.5.4.3. Creating Recurring Events
35.5.4.4. Using QuickAdd
35.5.5. Modifying Events
35.5.6. Deleting Events
35.5.7. Accessing Event Comments
35.6. Using Google Documents List Data API
35.6.1. Get a List of Documents
35.6.2. Upload a Document
35.6.3. Searching the documents feed
35.6.3.1. Get a List of Word Processing Documents
35.6.3.2. Get a List of Spreadsheets
35.6.3.3. Performing a text query
35.7. Using Google Health
35.7.1. Connect To The Health Service
35.7.1.1. Authentication
35.7.1.2. Create A Health Service Instance
35.7.2. Profile Feed
35.7.2.1. Send a Structured Query
35.7.2.1.1. Query The Feed
35.7.2.2. Iterate Through The Profile Entries
35.7.3. Profile List Feed
35.7.3.1. Query The Feed
35.7.4. Sending Notices to the Register Feed
35.7.4.1. Sending a notice
35.8. Using Google Spreadsheets
35.8.1. Create a Spreadsheet
35.8.2. Get a List of Spreadsheets
35.8.3. Get a List of Worksheets
35.8.4. Interacting With List-based Feeds
35.8.4.1. Get a List-based Feed
35.8.4.2. Reverse-sort Rows
35.8.4.3. Send a Structured Query
35.8.4.4. Add a Row
35.8.4.5. Edit a Row
35.8.4.6. Delete a Row
35.8.5. Interacting With Cell-based Feeds
35.8.5.1. Get a Cell-based Feed
35.8.5.2. Send a Cell Range Query
35.8.5.3. Change Contents of a Cell
35.9. Using Google Apps Provisioning
35.9.1. Setting the current domain
35.9.1.1. Setting the domain for the service class
35.9.1.2. Setting the domain for query classes
35.9.2. Interacting with users
35.9.2.1. Creating a user account
35.9.2.2. Retrieving a user account
35.9.2.3. Retrieving all users in a domain
35.9.2.4. Updating a user account
35.9.2.4.1. Resetting a user's password
35.9.2.4.2. Forcing a user to change their password
35.9.2.4.3. Suspending a user account
35.9.2.4.4. Granting administrative rights
35.9.2.5. Deleting user accounts
35.9.3. Interacting with nicknames
35.9.3.1. Creating a nickname
35.9.3.2. Retrieving a nickname
35.9.3.3. Retrieving all nicknames for a user
35.9.3.4. Retrieving all nicknames in a domain
35.9.3.5. Deleting a nickname
35.9.4. Interacting with email lists
35.9.4.1. Creating an email list
35.9.4.2. Retrieving all email lists to which a recipient is subscribed
35.9.4.3. Retrieving all email lists in a domain
35.9.4.4. Deleting an email list
35.9.5. Interacting with email list recipients
35.9.5.1. Adding a recipient to an email list
35.9.5.2. Retrieving the list of subscribers to an email list
35.9.5.3. Removing a recipient from an email list
35.9.6. Handling errors
35.10. Using Google Base
35.10.1. Connect To The Base Service
35.10.1.1. Authentication
35.10.1.2. Create A Service Instance
35.10.2. Retrieve Items
35.10.2.1. Send a Structured Query
35.10.2.1.1. Query Customer Items Feed
35.10.2.1.2. Query Snippets Feed
35.10.2.2. Iterate through the Items
35.10.3. Insert, Update, and Delete Customer Items
35.10.3.1. Insert an Item
35.10.3.2. Modify an Item
35.10.3.3. Delete an Item
35.11. Using Picasa Web Albums
35.11.1. Connecting To The Service
35.11.1.1. Authentication
35.11.1.2. Creating A Service Instance
35.11.2. Understanding and Constructing Queries
35.11.3. Retrieving Feeds And Entries
35.11.3.1. Retrieving A User
35.11.3.2. Retrieving An Album
35.11.3.3. Retrieving A Photo
35.11.3.4. Retrieving A Comment
35.11.3.5. Retrieving A Tag
35.11.4. Creating Entries
35.11.4.1. Creating An Album
35.11.4.2. Creating A Photo
35.11.4.3. Creating A Comment
35.11.4.4. Creating A Tag
35.11.5. Deleting Entries
35.11.5.1. Deleting An Album
35.11.5.2. Deleting A Photo
35.11.5.3. Deleting A Comment
35.11.5.4. Deleting A Tag
35.11.5.5. Optimistic Concurrency (Notes On Deletion)
35.12. Using the YouTube Data API
35.12.1. Authentication
35.12.2. Developer Keys and Client ID
35.12.3. Retrieving public video feeds
35.12.3.1. Searching for videos by metadata
35.12.3.2. Searching for videos by categories and tags/keywords
35.12.3.3. Retrieving standard feeds
35.12.3.4. Retrieving videos uploaded by a user
35.12.3.5. Retrieving videos favorited by a user
35.12.3.6. Retrieving video responses for a video
35.12.4. Retrieving video comments
35.12.5. Retrieving playlist feeds
35.12.5.1. Retrieving the playlists of a user
35.12.5.2. Retrieving a specific playlist
35.12.6. Retrieving a list of a user's subscriptions
35.12.7. Retrieving a user's profile
35.12.8. Uploading Videos to YouTube
35.12.9. Browser-based upload
35.12.10. Checking upload status
35.12.11. Other Functions
35.13. Catching Gdata Exceptions
36. Zend_Http
36.1. Introduction
36.1.1. Using Zend_Http_Client
36.1.2. Configuration Parameters
36.1.3. Performing Basic HTTP Requests
36.1.4. Adding GET and POST parameters
36.1.5. Accessing Last Request and Response
36.2. Zend_Http_Client - Advanced Usage
36.2.1. HTTP Redirections
36.2.2. Adding Cookies and Using Cookie Persistence
36.2.3. Setting Custom Request Headers
36.2.4. File Uploads
36.2.5. Sending Raw POST Data
36.2.6. HTTP Authentication
36.2.7. Sending Multiple Requests With the Same Client
36.2.8. Data Streaming
36.3. Zend_Http_Client - Connection Adapters
36.3.1. Overview
36.3.2. The Socket Adapter
36.3.2.1. Customizing and accessing the Socket adapter stream context
36.3.3. The Proxy Adapter
36.3.4. The cURL Adapter
36.3.5. The Test Adapter
36.3.6. Creating your own connection adapters
36.4. Zend_Http_Cookie and Zend_Http_CookieJar
36.4.1. Introduction
36.4.2. Instantiating Zend_Http_Cookie Objects
36.4.3. Zend_Http_Cookie getter methods
36.4.4. Zend_Http_Cookie: Matching against a scenario
36.4.5. The Zend_Http_CookieJar Class: Instantiation
36.4.6. Adding Cookies to a Zend_Http_CookieJar object
36.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
36.5. Zend_Http_Response
36.5.1. Introduction
36.5.2. Boolean Tester Methods
36.5.3. Accessor Methods
36.5.4. Static HTTP Response Parsers
37. Zend_InfoCard
37.1. Introduction
37.1.1. Basic Theory of Usage
37.1.2. Using as part of Zend_Auth
37.1.3. Using the Zend_InfoCard component standalone
37.1.4. Working with a Claims object
37.1.5. Attaching Information Cards to existing accounts
37.1.6. Creating Zend_InfoCard Adapters
38. Zend_Json
38.1. Introduction
38.2. Basic Usage
38.2.1. Pretty-printing JSON
38.3. Advanced Usage of Zend_Json
38.3.1. JSON Objects
38.3.2. Encoding PHP objects
38.3.3. Internal Encoder/Decoder
38.3.4. JSON Expressions
38.4. XML to JSON conversion
38.5. Zend_Json_Server - JSON-RPC server
38.5.1. Advanced Details
38.5.1.1. Zend_Json_Server
38.5.1.2. Zend_Json_Server_Request
38.5.1.3. Zend_Json_Server_Response
38.5.1.4. Zend_Json_Server_Error
38.5.1.5. Zend_Json_Server_Smd
39. Zend_Layout
39.1. Introduction
39.2. Zend_Layout Quick Start
39.2.1. Layout scripts
39.2.2. Using Zend_Layout with the Zend Framework MVC
39.2.3. Using Zend_Layout as a Standalone Component
39.2.4. Sample Layout
39.3. Zend_Layout Configuration Options
39.3.1. Examples
39.4. Zend_Layout Advanced Usage
39.4.1. Custom View Objects
39.4.2. Custom Front Controller Plugins
39.4.3. Custom Action Helpers
39.4.4. Custom Layout Script Path Resolution: Using the Inflector
40. Zend_Ldap
40.1. Introduction
40.1.1. Theory of operation
40.1.1.1. Automatic Username Canonicalization When Binding
40.1.1.2. Account Name Canonicalization
40.1.1.3. Multi-domain Authentication and Failover
40.2. API overview
40.2.1. Configuration / options
40.2.2. API Reference
40.2.2.1. Zend_Ldap
40.2.2.1.1. Zend_Ldap_Collection
40.2.2.2. Zend_Ldap_Attribute
40.2.2.3. Zend_Ldap_Dn
40.2.2.4. Zend_Ldap_Filter
40.2.2.5. Zend_Ldap_Node
40.2.2.6. Zend_Ldap_Node_RootDse
40.2.2.6.1. OpenLDAP
40.2.2.6.2. ActiveDirectory
40.2.2.6.3. eDirectory
40.2.2.7. Zend_Ldap_Node_Schema
40.2.2.7.1. OpenLDAP
40.2.2.7.2. ActiveDirectory
40.2.2.8. Zend_Ldif_Encoder
40.3. Usage Scenarios
40.3.1. Authentication scenarios
40.3.1.1. OpenLDAP
40.3.1.2. ActiveDirectory
40.3.2. Basic CRUD operations
40.3.2.1. Retrieving data from the LDAP
40.3.2.2. Adding data to the LDAP
40.3.2.3. Deleting from the LDAP
40.3.2.4. Updating the LDAP
40.3.3. Extended operations
40.3.3.1. Copy and move entries in the LDAP
40.4. Tools
40.4.1. Creation and modification of DN strings
40.4.2. Using the filter API to create search filters
40.4.3. Modify LDAP entries using the Attribute API
40.5. Object oriented access to the LDAP tree using Zend_Ldap_Node
40.5.1. Basic CRUD operations
40.5.1.1. Retrieving data from the LDAP
40.5.1.1.1. Getting a node by its DN
40.5.1.1.2. Searching a node's subtree
40.5.1.2. Adding a new node to the LDAP
40.5.1.3. Deleting a node from the LDAP
40.5.1.4. Updating a node on the LDAP
40.5.2. Extended operations
40.5.2.1. Copy and move nodes in the LDAP
40.5.3. Tree traversal
40.6. Getting information from the LDAP server
40.6.1. RootDSE
40.6.2. Schema Browsing
40.6.2.1. OpenLDAP
40.6.2.2. ActiveDirectory
40.7. Serializing LDAP data to and from LDIF
40.7.1. Serialize a LDAP entry to LDIF
40.7.2. Deserialize a LDIF string into a LDAP entry
41. Zend_Loader
41.1. Loading Files and Classes Dynamically
41.1.1. Loading Files
41.1.2. Loading Classes
41.1.3. Testing if a File is Readable
41.1.4. Using the Autoloader
41.2. The Autoloader
41.2.1. Using the Autoloader
41.2.2. Selecting a Zend Framework version
41.2.3. The Autoloader Interface
41.2.4. Autoloader Reference
41.3. Resource Autoloaders
41.3.1. Resource autoloader usage
41.3.2. The Module Resource Autoloader
41.3.3. Using Resource Autoloaders as Object Factories
41.3.4. Resource Autoloader Reference
41.4. Loading Plugins
41.4.1. Basic Use Case
41.4.2. Manipulating Plugin Paths
41.4.3. Testing for Plugins and Retrieving Class Names
41.4.4. Getting Better Performance for Plugins
42. Zend_Locale
42.1. Introduction
42.1.1. What is Localization
42.1.2. What is a Locale?
42.1.3. How are Locales Represented?
42.1.4. Selecting the Right Locale
42.1.5. Usage of automatic Locales
42.1.6. Using a default Locale
42.1.7. ZF Locale-Aware Classes
42.1.8. Application wide locale
42.1.9. Zend_Locale_Format::setOptions(array $options)
42.1.10. Speed up Zend_Locale and its subclasses
42.2. Using Zend_Locale
42.2.1. Copying, Cloning, and Serializing Locale Objects
42.2.2. Equality
42.2.3. Default locales
42.2.4. Set a new locale
42.2.5. Getting the language and region
42.2.6. Obtaining localized strings
42.2.7. Obtaining translations for "yes" and "no"
42.2.8. Get a list of all known locales
42.2.9. Detecting locales
42.3. Normalization and Localization
42.3.1. Number normalization: getNumber($input, Array $options)
42.3.1.1. Precision and Calculations
42.3.2. Number localization
42.3.3. Number testing
42.3.4. Float value normalization
42.3.5. Floating point value localization
42.3.6. Floating point value testing
42.3.7. Integer value normalization
42.3.8. Integer point value localization
42.3.9. Integer value testing
42.3.10. Numeral System Conversion
42.4. Working with Dates and Times
42.4.1. Normalizing Dates and Times
42.4.2. Testing Dates
42.4.3. Normalizing a Time
42.4.4. Testing Times
42.5. Supported locales
43. Zend_Log
43.1. Overview
43.1.1. Creating a Log
43.1.2. Logging Messages
43.1.3. Destroying a Log
43.1.4. Using Built-in Priorities
43.1.5. Adding User-defined Priorities
43.1.6. Understanding Log Events
43.2. Writers
43.2.1. Writing to Streams
43.2.2. Writing to Databases
43.2.3. Writing to Firebug
43.2.3.1. Setting Styles for Priorities
43.2.3.2. Preparing data for Logging
43.2.3.3. Exception Logging
43.2.3.4. Table Logging
43.2.4. Writing to Email
43.2.4.1. Zend_Layout Usage
43.2.4.2. Subject Line Error Level Summary
43.2.4.3. Caveats
43.2.5. Writing to the System Log
43.2.6. Writing to the Zend Server Monitor
43.2.7. Stubbing Out the Writer
43.2.8. Testing with the Mock
43.2.9. Compositing Writers
43.3. Formatters
43.3.1. Simple Formatting
43.3.2. Formatting to XML
43.4. Filters
43.4.1. Filtering for All Writers
43.4.2. Filtering for a Writer Instance
43.5. Using the Factory to Create a Log
43.5.1. Writer Options
43.5.1.1. Zend_Log_Writer_Db Options
43.5.1.2. Zend_Log_Writer_Firebug Options
43.5.1.3. Zend_Log_Writer_Mail Options
43.5.1.4. Zend_Log_Writer_Mock Options
43.5.1.5. Zend_Log_Writer_Null Options
43.5.1.6. Zend_Log_Writer_Stream Options
43.5.1.7. Zend_Log_Writer_Syslog Options
43.5.1.8. Zend_Log_Writer_ZendMonitor Options
43.5.2. Filter Options
43.5.2.1. Zend_Log_Filter_Message Options
43.5.2.2. Zend_Log_Filter_Priority Options
43.5.2.3. Zend_Log_Writer_Suppress Options
43.5.3. Creating Configurable Writers and Filters
44. Zend_Mail
44.1. Introduction
44.1.1. Getting started
44.1.2. Configuring the default sendmail transport
44.2. Sending via SMTP
44.3. Sending Multiple Mails per SMTP Connection
44.4. Using Different Transports
44.5. HTML E-Mail
44.6. Attachments
44.7. Adding Recipients
44.8. Controlling the MIME Boundary
44.9. Additional Headers
44.10. Character Sets
44.11. Encoding
44.12. SMTP Authentication
44.13. Securing SMTP Transport
44.14. Reading Mail Messages
44.14.1. Simple example using Pop3
44.14.2. Opening a local storage
44.14.3. Opening a remote storage
44.14.4. Fetching messages and simple methods
44.14.5. Working with messages
44.14.6. Checking for flags
44.14.7. Using folders
44.14.8. Advanced Use
44.14.8.1. Using NOOP
44.14.8.2. Caching instances
44.14.8.3. Extending Protocol Classes
44.14.8.4. Using Quota (since 1.5)
45. Zend_Markup
45.1. Introduction
45.2. Getting Started With Zend_Markup
45.3. Zend_Markup Parsers
45.3.1. Theory of Parsing
45.3.2. The BBCode parser
45.3.3. The Textile parser
45.3.3.1. Lists
45.4. Zend_Markup Renderers
45.4.1. Adding your own markups
45.4.1.1. Add a callback markup
45.4.2. List of markups
46. Zend_Measure
46.1. Introduction
46.2. Creation of Measurements
46.2.1. Creating measurements from integers and floats
46.2.2. Creating measurements from strings
46.2.3. Measurements from localized strings
46.3. Outputting measurements
46.3.1. Automatic output
46.3.2. Outputting values
46.3.3. Output with unit of measurement
46.3.4. Output as localized string
46.4. Manipulating Measurements
46.4.1. Convert
46.4.2. Add and subtract
46.4.3. Compare
46.4.4. Compare
46.4.5. Manually change values
46.4.6. Manually change types
46.5. Types of measurements
46.5.1. Hints for Zend_Measure_Binary
46.5.2. Hints for Zend_Measure_Number
46.5.3. Roman numbers
47. Zend_Memory
47.1. Overview
47.1.1. Introduction
47.1.2. Theory of Operation
47.1.2.1. Memory manager
47.1.2.2. Memory container
47.1.2.3. Locked memory
47.1.2.4. Movable memory
47.2. Memory Manager
47.2.1. Creating a Memory Manager
47.2.2. Managing Memory Objects
47.2.2.1. Creating Movable Objects
47.2.2.2. Creating Locked Objects
47.2.2.3. Destroying Objects
47.2.3. Memory Manager Settings
47.2.3.1. Memory Limit
47.2.3.2. MinSize
47.3. Memory Objects
47.3.1. Movable
47.3.2. Locked
47.3.3. Memory container 'value' property
47.3.4. Memory container interface
47.3.4.1. getRef() method
47.3.4.2. touch() method
47.3.4.3. lock() method
47.3.4.4. unlock() method
47.3.4.5. isLocked() method
48. Zend_Mime
48.1. Zend_Mime
48.1.1. Introduction
48.1.2. Static Methods and Constants
48.1.3. Instantiating Zend_Mime
48.2. Zend_Mime_Message
48.2.1. Introduction
48.2.2. Instantiation
48.2.3. Adding MIME Parts
48.2.4. Boundary handling
48.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
48.3. Zend_Mime_Part
48.3.1. Introduction
48.3.2. Instantiation
48.3.3. Methods for rendering the message part to a string
49. Zend_Navigation
49.1. Introduction
49.1.1. Pages and Containers
49.1.1.1. Pages
49.1.1.2. Containers
49.1.2. Separation of data (model) and rendering (view)
49.2. Pages
49.2.1. Common page features
49.2.2. Zend_Navigation_Page_Mvc
49.2.3. Zend_Navigation_Page_Uri
49.2.4. Creating custom page types
49.2.5. Creating pages using the page factory
49.3. Containers
49.3.1. Creating containers
49.3.2. Adding pages
49.3.3. Removing pages
49.3.4. Finding pages
49.3.5. Iterating containers
49.3.6. Other operations
50. Zend_Oauth
50.1. Introduction to OAuth
50.1.1. Protocol Workflow
50.1.2. Security Architecture
50.1.3. Getting Started
51. Zend_OpenId
51.1. Introduction
51.1.1. What is OpenID?
51.1.2. How Does it Work?
51.1.3. Zend_OpenId Structure
51.1.4. Supported OpenID Standards
51.2. Zend_OpenId_Consumer Basics
51.2.1. OpenID Authentication
51.2.2. Combining all Steps in One Page
51.2.3. Consumer Realm
51.2.4. Immediate Check
51.2.5. Zend_OpenId_Consumer_Storage
51.2.6. Simple Registration Extension
51.2.7. Integration with Zend_Auth
51.2.8. Integration with Zend_Controller
51.3. Zend_OpenId_Provider
51.3.1. Quick start
51.3.2. Combined Provide Scripts
51.3.3. Simple Registration Extension
51.3.4. Anything Else?
52. Zend_Paginator
52.1. Introduction
52.2. Usage
52.2.1. Paginating data collections
52.2.2. The DbSelect and DbTableSelect adapter
52.2.3. Rendering pages with view scripts
52.2.3.1. Example pagination controls
52.2.3.2. Listing of properties
52.3. Configuration
52.4. Advanced usage
52.4.1. Custom data source adapters
52.4.2. Custom scrolling styles
52.4.3. Caching features
52.4.4. Zend_Paginator_AdapterAggregate Interface
53. Zend_Pdf
53.1. Introduction
53.2. Creating and Loading PDF Documents
53.3. Save Changes to PDF Documents
53.4. Working with Pages
53.4.1. Page Creation
53.4.2. Page cloning
53.5. Drawing
53.5.1. Geometry
53.5.2. Colors
53.5.3. Shape Drawing
53.5.4. Text Drawing
53.5.5. Using fonts
53.5.6. Standard PDF fonts limitations
53.5.7. Extracting fonts
53.5.8. Image Drawing
53.5.9. Line drawing style
53.5.10. Fill style
53.5.11. Linear Transformations
53.5.11.1. Rotations
53.5.11.2. Starting from ZF 1.8, scaling
53.5.11.3. Starting from ZF 1.8, translating
53.5.11.4. Starting from ZF 1.8, skewing
53.5.12. Save/restore graphics state
53.5.13. Clipping draw area
53.5.14. Styles
53.5.15. Transparency
53.6. Interactive Features
53.6.1. Destinations
53.6.1.1. Supported Destination Types
53.6.1.1.1. Zend_Pdf_Destination_Zoom
53.6.1.1.2. Zend_Pdf_Destination_Fit
53.6.1.1.3. Zend_Pdf_Destination_FitHorizontally
53.6.1.1.4. Zend_Pdf_Destination_FitVertically
53.6.1.1.5. Zend_Pdf_Destination_FitRectangle
53.6.1.1.6. Zend_Pdf_Destination_FitBoundingBox
53.6.1.1.7. Zend_Pdf_Destination_FitBoundingBoxHorizontally
53.6.1.1.8. Zend_Pdf_Destination_FitBoundingBoxVertically
53.6.1.1.9. Zend_Pdf_Destination_Named
53.6.1.2. Document level destination processing
53.6.2. Actions
53.6.2.1. Supported action types
53.6.2.2. Actions chaining
53.6.2.3. Document Open Action
53.6.3. Document Outline (bookmarks)
53.6.4. Annotations
53.7. Document Info and Metadata
53.8. Zend_Pdf module usage example
54. Zend_ProgressBar
54.1. Zend_ProgressBar
54.1.1. Introduction
54.1.2. Basic Usage of Zend_Progressbar
54.1.3. Persistent progress
54.1.4. Standard adapters
54.1.4.1. Zend_ProgressBar_Adapter_Console
54.1.4.2. Zend_ProgressBar_Adapter_JsPush
54.1.4.3. Zend_ProgressBar_Adapter_JsPull
55. Zend_Queue
55.1. Introduction
55.2. Example usage
55.3. Framework
55.3.1. Introduction
55.3.2. Commonality among adapters
55.4. Adapters
55.4.1. Specific Adapters - Configuration settings
55.4.1.1. Apache ActiveMQ - Zend_Queue_Adapter_Activemq
55.4.1.2. Db - Zend_Queue_Adapter_Db
55.4.1.3. MemcacheQ - Zend_Queue_Adapter_Memcacheq
55.4.1.4. Zend Platform Job Queue - Zend_Queue_Adapter_PlatformJobQueue
55.4.1.5. Array - Zend_Queue_Adapter_Array
55.4.2. Notes for Specific Adapters
55.4.2.1. Apache ActiveMQ
55.4.2.2. Zend_Db
55.4.2.3. MemcacheQ
55.4.2.4. Zend Platform Job Queue
55.4.2.5. Array (local)
55.5. Customizing Zend_Queue
55.5.1. Creating your own adapter
55.5.2. Creating your own message class
55.5.3. Creating your own message iterator class
55.5.4. Creating your own queue class
55.6. Stomp
55.6.1. Stomp - Supporting classes
56. Zend_Reflection
56.1. Introduction
56.2. Zend_Reflection Examples
56.3. Zend_Reflection Reference
56.3.1. Zend_Reflection_Docblock
56.3.2. Zend_Reflection_Docblock_Tag
56.3.3. Zend_Reflection_Docblock_Tag_Param
56.3.4. Zend_Reflection_Docblock_Tag_Return
56.3.5. Zend_Reflection_File
56.3.6. Zend_Reflection_Class
56.3.7. Zend_Reflection_Extension
56.3.8. Zend_Reflection_Function
56.3.9. Zend_Reflection_Method
56.3.10. Zend_Reflection_Parameter
56.3.11. Zend_Reflection_Property
57. Zend_Registry
57.1. Using the Registry
57.1.1. Setting Values in the Registry
57.1.2. Getting Values from the Registry
57.1.3. Constructing a Registry Object
57.1.4. Accessing the Registry as an Array
57.1.5. Accessing the Registry as an Object
57.1.6. Querying if an Index Exists
57.1.7. Extending the Registry
57.1.8. Unsetting the Static Registry
58. Zend_Rest
58.1. Introduction
58.2. Zend_Rest_Client
58.2.1. Introduction
58.2.2. Responses
58.2.3. Request Arguments
58.3. Zend_Rest_Server
58.3.1. Introduction
58.3.2. REST Server Usage
58.3.3. Calling a Zend_Rest_Server Service
58.3.4. Sending A Custom Status
58.3.5. Returning Custom XML Responses
59. Zend_Search_Lucene
59.1. Overview
59.1.1. Introduction
59.1.2. Document and Field Objects
59.1.3. Understanding Field Types
59.1.4. HTML documents
59.1.5. Word 2007 documents
59.1.6. Powerpoint 2007 documents
59.1.7. Excel 2007 documents
59.2. Building Indexes
59.2.1. Creating a New Index
59.2.2. Updating Index
59.2.3. Updating Documents
59.2.4. Retrieving Index Size
59.2.5. Index optimization
59.2.5.1. MaxBufferedDocs auto-optimization option
59.2.5.2. MaxMergeDocs auto-optimization option
59.2.5.3. MergeFactor auto-optimization option
59.2.6. Permissions
59.2.7. Limitations
59.2.7.1. Index size
59.2.7.2. Supported Filesystems
59.3. Searching an Index
59.3.1. Building Queries
59.3.1.1. Query Parsing
59.3.2. Search Results
59.3.3. Limiting the Result Set
59.3.4. Results Scoring
59.3.5. Search Result Sorting
59.3.6. Search Results Highlighting
59.4. Query Language
59.4.1. Terms
59.4.2. Fields
59.4.3. Wildcards
59.4.4. Term Modifiers
59.4.5. Range Searches
59.4.6. Fuzzy Searches
59.4.7. Matched terms limitation
59.4.8. Proximity Searches
59.4.9. Boosting a Term
59.4.10. Boolean Operators
59.4.10.1. AND
59.4.10.2. OR
59.4.10.3. NOT
59.4.10.4. &&, ||, and ! operators
59.4.10.5. +
59.4.10.6. -
59.4.10.7. No Operator
59.4.11. Grouping
59.4.12. Field Grouping
59.4.13. Escaping Special Characters
59.5. Query Construction API
59.5.1. Query Parser Exceptions
59.5.2. Term Query
59.5.3. Multi-Term Query
59.5.4. Boolean Query
59.5.5. Wildcard Query
59.5.6. Fuzzy Query
59.5.7. Phrase Query
59.5.8. Range Query
59.6. Character Set
59.6.1. UTF-8 and single-byte character set support
59.6.2. Default text analyzer
59.6.3. UTF-8 compatible text analyzers
59.7. Extensibility
59.7.1. Text Analysis
59.7.2. Tokens Filtering
59.7.3. Scoring Algorithms
59.7.4. Storage Containers
59.8. Interoperating with Java Lucene
59.8.1. File Formats
59.8.2. Index Directory
59.8.3. Java Source Code
59.9. Advanced
59.9.1. Starting from 1.6, handling index format transformations
59.9.2. Using the index as static property
59.10. Best Practices
59.10.1. Field names
59.10.2. Indexing performance
59.10.3. Index during Shut Down
59.10.4. Retrieving documents by unique id
59.10.5. Memory Usage
59.10.6. Encoding
59.10.7. Index maintenance
60. Zend_Serializer
60.1. Introduction
60.2. Zend_Serializer_Adapter
60.2.1. Zend_Serializer_Adapter_PhpSerialize
60.2.2. Zend_Serializer_Adapter_Igbinary
60.2.3. Zend_Serializer_Adapter_Wddx
60.2.4. Zend_Serializer_Adapter_Json
60.2.5. Zend_Serializer_Adapter_Amf 0 and 3
60.2.6. Zend_Serializer_Adapter_PythonPickle
60.2.7. Zend_Serializer_Adapter_PhpCode
61. Zend_Server
61.1. Introduction
61.2. Zend_Server_Reflection
61.2.1. Introduction
61.2.2. Usage
62. Zend_Service
62.1. Introduction
62.2. Zend_Service_Akismet
62.2.1. Introduction
62.2.2. Verify an API key
62.2.3. Check for spam
62.2.4. Submitting known spam
62.2.5. Submitting false positives (ham)
62.2.6. Zend-specific Methods
62.3. Zend_Service_Amazon
62.3.1. Introduction
62.3.2. Country Codes
62.3.3. Looking up a Specific Amazon Item by ASIN
62.3.4. Performing Amazon Item Searches
62.3.5. Using the Alternative Query API
62.3.5.1. Introduction
62.3.6. Zend_Service_Amazon Classes
62.3.6.1. Zend_Service_Amazon_Item
62.3.6.1.1. Zend_Service_Amazon_Item::asXML()
62.3.6.1.2. Properties
62.3.6.2. Zend_Service_Amazon_Image
62.3.6.2.1. Properties
62.3.6.3. Zend_Service_Amazon_ResultSet
62.3.6.3.1. Zend_Service_Amazon_ResultSet::totalResults()
62.3.6.4. Zend_Service_Amazon_OfferSet
62.3.6.4.1. Properties
62.3.6.5. Zend_Service_Amazon_Offer
62.3.6.5.1. Zend_Service_Amazon_Offer Properties
62.3.6.6. Zend_Service_Amazon_SimilarProduct
62.3.6.6.1. Properties
62.3.6.7. Zend_Service_Amazon_Accessories
62.3.6.7.1. Properties
62.3.6.8. Zend_Service_Amazon_CustomerReview
62.3.6.8.1. Properties
62.3.6.9. Zend_Service_Amazon_EditorialReview
62.3.6.9.1. Properties
62.3.6.10. Zend_Service_Amazon_Listmania
62.3.6.10.1. Properties
62.4. Zend_Service_Amazon_Ec2
62.4.1. Introduction
62.4.2. What is Amazon Ec2?
62.4.3. Static Methods
62.5. Zend_Service_Amazon_Ec2: Instances
62.5.1. Instance Types
62.5.2. Running Amazon EC2 Instances
62.5.3. Amazon Instance Utilities
62.6. Zend_Service_Amazon_Ec2: Windows Instances
62.6.1. Windows Instances Usage
62.7. Zend_Service_Amazon_Ec2: Reserved Instances
62.7.1. How Reserved Instances are Applied
62.7.2. Reserved Instances Usage
62.8. Zend_Service_Amazon_Ec2: CloudWatch Monitoring
62.8.1. CloudWatch Usage
62.9. Zend_Service_Amazon_Ec2: Amazon Machine Images (AMI)
62.9.1. AMI Information Utilities
62.9.2. AMI Attribute Utilities
62.10. Zend_Service_Amazon_Ec2: Elastic Block Stroage (EBS)
62.10.1. Create EBS Volumes and Snapshots
62.10.2. Describing EBS Volumes and Snapshots
62.10.3. Attach and Detaching Volumes from Instances
62.10.4. Deleting EBS Volumes and Snapshots
62.11. Zend_Service_Amazon_Ec2: Elastic IP Addresses
62.12. Zend_Service_Amazon_Ec2: Keypairs
62.13. Zend_Service_Amazon_Ec2: Regions and Availability Zones
62.13.1. Amazon EC2 Regions
62.13.2. Amazon EC2 Availability Zones
62.14. Zend_Service_Amazon_Ec2: Security Groups
62.14.1. Security Group Maintenance
62.14.2. Authorizing Access
62.14.3. Revoking Access
62.15. Zend_Service_Amazon_S3
62.15.1. Introduction
62.15.2. Registering with Amazon S3
62.15.3. API Documentation
62.15.4. Features
62.15.5. Getting Started
62.15.6. Bucket operations
62.15.7. Object operations
62.15.8. Data Streaming
62.15.9. Stream wrapper
62.16. Zend_Service_Amazon_Sqs
62.16.1. Introduction
62.16.2. Registering with Amazon SQS
62.16.3. API Documentation
62.16.4. Features
62.16.5. Getting Started
62.16.6. Queue operations
62.16.7. Message operations
62.17. Zend_Service_Audioscrobbler
62.17.1. Introduction
62.17.2. Users
62.17.3. Artists
62.17.4. Tracks
62.17.5. Tags
62.17.6. Groups
62.17.7. Forums
62.18. Zend_Service_Delicious
62.18.1. Introduction
62.18.2. Retrieving posts
62.18.3. Zend_Service_Delicious_PostList
62.18.4. Editing posts
62.18.5. Deleting posts
62.18.6. Adding new posts
62.18.7. Tags
62.18.8. Bundles
62.18.9. Public data
62.18.9.1. Public posts
62.18.10. HTTP client
62.19. Zend_Service_DeveloperGarden
62.19.1. Introduction to DeveloperGarden
62.19.1.1. Sign Up for an Account
62.19.1.2. The Environment
62.19.1.3. Your configuration
62.19.2. BaseUserService
62.19.2.1. Get quota information
62.19.2.2. Change quota information
62.19.3. IP Location
62.19.4. Local Search
62.19.5. Send SMS
62.19.6. SMS Validation
62.19.7. Voice Call
62.19.8. ConferenceCall
62.19.9. Performance and Caching
62.20. Zend_Service_Flickr
62.20.1. Introduction
62.20.2. Finding Flickr Users' Photos and Information
62.20.3. Finding photos From a Group Pool
62.20.4. Retrieving Flickr Image Details
62.20.5. Zend_Service_Flickr Result Classes
62.20.5.1. Zend_Service_Flickr_ResultSet
62.20.5.1.1. Properties
62.20.5.1.2. Zend_Service_Flickr_ResultSet::totalResults()
62.20.5.2. Zend_Service_Flickr_Result
62.20.5.2.1. Properties
62.20.5.3. Zend_Service_Flickr_Image
62.20.5.3.1. Properties
62.21. Zend_Service_LiveDocx
62.21.1. Introduction to LiveDocx
62.21.1.1. Sign Up for an Account
62.21.1.2. Templates and Documents
62.21.1.3. Supported File Formats
62.21.1.3.1. Template File Formats (input)
62.21.1.3.2. Document File Formats (output):
62.21.1.3.3. Image File Formats (output):
62.21.2. Zend_Service_LiveDocx_MailMerge
62.21.2.1. Document Generation Process
62.21.2.2. Creating Templates in Microsoft Word 2007
62.21.2.3. Advanced Mail-Merge
62.21.2.4. Generating bitmaps image files
62.21.2.5. Local vs. Remote Templates
62.21.2.6. Getting Information
62.22. Zend_Service_Nirvanix
62.22.1. Introduction
62.22.2. Registering with Nirvanix
62.22.3. API Documentation
62.22.4. Features
62.22.5. Getting Started
62.22.6. Understanding the Proxy
62.22.7. Examining Results
62.22.8. Handling Errors
62.23. Zend_Service_ReCaptcha
62.23.1. Introduction
62.23.2. Simplest use
62.23.3. Hiding email addresses
62.24. Zend_Service_Simpy
62.24.1. Introduction
62.24.2. Links
62.24.3. Tags
62.24.4. Notes
62.24.5. Watchlists
62.25. Zend_Service_SlideShare
62.25.1. Getting Started with Zend_Service_SlideShare
62.25.2. The SlideShow object
62.25.3. Retrieving a single slide show
62.25.4. Retrieving Groups of Slide Shows
62.25.5. Zend_Service_SlideShare Caching policies
62.25.6. Changing the behavior of the HTTP Client
62.26. Zend_Service_StrikeIron
62.26.1. Overview
62.26.2. Registering with StrikeIron
62.26.3. Getting Started
62.26.4. Making Your First Query
62.26.5. Examining Results
62.26.6. Handling Errors
62.26.7. Checking Your Subscription
62.27. Zend_Service_StrikeIron: Bundled Services
62.27.1. ZIP Code Information
62.27.2. U.S. Address Verification
62.27.3. Sales & Use Tax Basic
62.28. Zend_Service_StrikeIron: Advanced Uses
62.28.1. Using Services by WSDL
62.28.2. Viewing SOAP Transactions
62.29. Zend_Service_Technorati
62.29.1. Introduction
62.29.2. Getting Started
62.29.3. Making Your First Query
62.29.4. Consuming Results
62.29.5. Handling Errors
62.29.6. Checking Your API Key Daily Usage
62.29.7. Available Technorati Queries
62.29.7.1. Technorati Cosmos
62.29.7.2. Technorati Search
62.29.7.3. Technorati Tag
62.29.7.4. Technorati DailyCounts
62.29.7.5. Technorati TopTags
62.29.7.6. Technorati BlogInfo
62.29.7.7. Technorati BlogPostTags
62.29.7.8. Technorati GetInfo
62.29.7.9. Technorati KeyInfo
62.29.8. Zend_Service_Technorati Classes
62.29.8.1. Zend_Service_Technorati_ResultSet
62.29.8.2. Zend_Service_Technorati_CosmosResultSet
62.29.8.3. Zend_Service_Technorati_SearchResultSet
62.29.8.4. Zend_Service_Technorati_TagResultSet
62.29.8.5. Zend_Service_Technorati_DailyCountsResultSet
62.29.8.6. Zend_Service_Technorati_TagsResultSet
62.29.8.7. Zend_Service_Technorati_Result
62.29.8.8. Zend_Service_Technorati_CosmosResult
62.29.8.9. Zend_Service_Technorati_SearchResult
62.29.8.10. Zend_Service_Technorati_TagResult
62.29.8.11. Zend_Service_Technorati_DailyCountsResult
62.29.8.12. Zend_Service_Technorati_TagsResult
62.29.8.13. Zend_Service_Technorati_GetInfoResult
62.29.8.14. Zend_Service_Technorati_BlogInfoResult
62.29.8.15. Zend_Service_Technorati_KeyInfoResult
62.30. Zend_Service_Twitter
62.30.1. Introduction
62.30.2. Authentication
62.30.3. Account Methods
62.30.4. Status Methods
62.30.5. User Methods
62.30.6. Direct Message Methods
62.30.7. Friendship Methods
62.30.8. Favorite Methods
62.30.9. Block Methods
62.30.10. Zend_Service_Twitter_Search
62.30.10.1. Introduction
62.30.10.2. Twitter Trends
62.30.10.3. Searching Twitter
62.30.10.4. Zend-specific Accessor Methods
62.31. Zend_Service_WindowsAzure
62.31.1. Introduction
62.31.2. Installing the Windows Azure SDK
62.31.3. API Documentation
62.31.4. Features
62.31.5. Architecture
62.31.6. Zend_Service_WindowsAzure_Storage_Blob
62.31.6.1. API Examples
62.31.6.1.1. Creating a storage container
62.31.6.1.2. Deleting a storage container
62.31.6.1.3. Storing a blob
62.31.6.1.4. Copying a blob
62.31.6.1.5. Downloading a blob
62.31.6.1.6. Making a blob publicly available
62.31.6.2. Root container
62.31.6.3. Blob storage stream wrapper
62.31.6.4. Shared Access Signature
62.31.6.4.1. Generating a Shared Access Signature
62.31.6.4.2. Working with Shared Access Signatures from others
62.31.7. Zend_Service_WindowsAzure_Storage_Table
62.31.7.1. Operations on tables
62.31.7.1.1. Creating a table
62.31.7.1.2. Listing all tables
62.31.7.2. Operations on entities
62.31.7.2.1. Enforced schema entities
62.31.7.2.2. No enforced schema entities (a.k.a. DynamicEntity)
62.31.7.2.3. Entities API examples
62.31.7.2.4. Performing queries
62.31.7.2.5. Batch operations
62.31.7.3. Table storage session handler
62.31.8. Zend_Service_WindowsAzure_Storage_Queue
62.31.8.1. API Examples
62.31.8.1.1. Creating a queue
62.31.8.1.2. Deleting a queue
62.31.8.1.3. Adding a message to a queue
62.31.8.1.4. Reading a message from a queue
62.31.8.1.5. Check if there are messages in a queue
62.32. Zend_Service_Yahoo
62.32.1. Introduction
62.32.2. Searching the Web with Yahoo!
62.32.3. Finding Images with Yahoo!
62.32.4. Finding videos with Yahoo!
62.32.5. Finding Local Businesses and Services with Yahoo!
62.32.6. Searching Yahoo! News
62.32.7. Searching Yahoo! Site Explorer Inbound Links
62.32.8. Searching Yahoo! Site Explorer's PageData
62.32.9. Zend_Service_Yahoo Classes
62.32.9.1. Zend_Service_Yahoo_ResultSet
62.32.9.1.1. Zend_Service_Yahoo_ResultSet::totalResults()
62.32.9.1.2. Properties
62.32.9.2. Zend_Service_Yahoo_WebResultSet
62.32.9.3. Zend_Service_Yahoo_ImageResultSet
62.32.9.4. Zend_Service_Yahoo_VideoResultSet
62.32.9.5. Zend_Service_Yahoo_LocalResultSet
62.32.9.6. Zend_Service_Yahoo_NewsResultSet
62.32.9.7. Zend_Service_Yahoo_InlinkDataResultSet
62.32.9.8. Zend_Service_Yahoo_PageDataResultSet
62.32.9.9. Zend_Service_Yahoo_Result
62.32.9.9.1. Properties
62.32.9.10. Zend_Service_Yahoo_WebResult
62.32.9.10.1. Properties
62.32.9.11. Zend_Service_Yahoo_ImageResult
62.32.9.11.1. Properties
62.32.9.12. Zend_Service_Yahoo_VideoResult
62.32.9.12.1. Properties
62.32.9.13. Zend_Service_Yahoo_LocalResult
62.32.9.13.1. Properties
62.32.9.14. Zend_Service_Yahoo_NewsResult
62.32.9.14.1. Properties
62.32.9.15. Zend_Service_Yahoo_InlinkDataResult
62.32.9.16. Zend_Service_Yahoo_PageDataResult
62.32.9.17. Zend_Service_Yahoo_Image
62.32.9.17.1. Properties
63. Zend_Session
63.1. Introduction
63.2. Basic Usage
63.2.1. Tutorial Examples
63.2.2. Iterating Over Session Namespaces
63.2.3. Accessors for Session Namespaces
63.3. Advanced Usage
63.3.1. Starting a Session
63.3.2. Locking Session Namespaces
63.3.3. Namespace Expiration
63.3.4. Session Encapsulation and Controllers
63.3.5. Preventing Multiple Instances per Namespace
63.3.6. Working with Arrays
63.3.7. Using Sessions with Objects
63.3.8. Using Sessions with Unit Tests
63.4. Global Session Management
63.4.1. Configuration Options
63.4.2. Error: Headers Already Sent
63.4.3. Session Identifiers
63.4.3.1. Session Hijacking and Fixation
63.4.4. rememberMe(integer $seconds)
63.4.5. forgetMe()
63.4.6. sessionExists()
63.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
63.4.8. stop()
63.4.9. writeClose($readonly = true)
63.4.10. expireSessionCookie()
63.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
63.4.12. namespaceIsset($namespace)
63.4.13. namespaceUnset($namespace)
63.4.14. namespaceGet($namespace)
63.4.15. getIterator()
63.5. Zend_Session_SaveHandler_DbTable
64. Zend_Soap
64.1. Zend_Soap_Server
64.1.1. Zend_Soap_Server constructor
64.1.1.1. Zend_Soap_Server constructor for the WSDL mode
64.1.1.2. Zend_Soap_Server constructor for the non-WSDL mode
64.1.2. Methods to define Web Service API
64.1.3. Request and response objects handling
64.1.3.1. Request processing
64.1.3.2. Response pre-processing
64.2. Zend_Soap_Client
64.2.1. Zend_Soap_Client Constructor
64.2.2. Performing SOAP Requests
64.3. WSDL Accessor
64.3.1. Zend_Soap_Wsdl constructor
64.3.2. addMessage() method
64.3.3. addPortType() method
64.3.4. addPortOperation() method
64.3.5. addBinding() method
64.3.6. addBindingOperation() method
64.3.7. addSoapBinding() method
64.3.8. addSoapOperation() method
64.3.9. addService() method
64.3.10. Type mapping
64.3.10.1. Retrieving type information
64.3.10.2. Adding complex type information
64.3.11. addDocumentation() method
64.3.12. Get finalized WSDL document
64.4. AutoDiscovery
64.4.1. AutoDiscovery Introduction
64.4.2. Class autodiscovering
64.4.3. Functions autodiscovering
64.4.4. Autodiscovering Datatypes
64.4.5. WSDL Binding Styles
65. Zend_Tag
65.1. Introduction
65.2. Zend_Tag_Cloud
65.2.1. Decorators
65.2.1.1. HTML Tag decorator
65.2.1.2. HTML Cloud decorator
66. Zend_Test
66.1. Introduction
66.2. Zend_Test_PHPUnit
66.2.1. Bootstrapping your TestCase
66.2.2. Testing your Controllers and MVC Applications
66.2.2.1. Controller Tests and the Redirector Action Helper
66.2.3. Assertions
66.2.3.1. CSS Selector Assertions
66.2.3.2. XPath Assertions
66.2.3.3. Redirect Assertions
66.2.3.4. Response Header Assertions
66.2.3.5. Request Assertions
66.2.4. Examples
66.3. Zend_Test_PHPUnit_Db
66.3.1. Quickstart
66.3.1.1. Setup a Database TestCase
66.3.1.2. Specify a seed dataset
66.3.1.3. A few initial database tests
66.3.2. Usage, API and Extensions Points
66.3.2.1. The Zend_Test_PHPUnit_DatabaseTestCase class
66.3.2.2. Integrating Database Testing with the ControllerTestCase
66.3.3. Using the Database Testing Adapter
67. Zend_Text
67.1. Zend_Text_Figlet
67.2. Zend_Text_Table
68. Zend_TimeSync
68.1. Introduction
68.1.1. Why Zend_TimeSync ?
68.1.2. What is NTP ?
68.1.3. What is SNTP?
68.1.4. Problematic usage
68.1.5. Decide which server to use
68.2. Working with Zend_TimeSync
68.2.1. Generic Time Server Request
68.2.2. Multiple Time Servers
68.2.3. Protocols of Time Servers
68.2.4. Using Ports for Time Servers
68.2.5. Time Servers Options
68.2.6. Using Different Time Servers
68.2.7. Information from Time Servers
68.2.8. Handling Exceptions
69. Zend_Tool
69.1. Using Zend_Tool On The Command Line
69.1.1. Installation
69.1.1.1. Download And Go
69.1.1.2. Installing Via Pear
69.1.1.3. Installing by Hand
69.1.2. General Purpose Commands
69.1.2.1. Version
69.1.2.2. Built-in Help
69.1.2.3. Manifest
69.1.3. Project Specific Commands
69.1.3.1. Project
69.1.3.2. Project
69.1.3.3. Controller
69.1.3.4. Action
69.1.3.5. View
69.1.3.6. Model
69.1.3.7. Form
69.1.3.8. DbAdapter
69.1.3.9. DbTable
69.1.3.10. Layout
69.1.4. Environment Customization
69.1.4.1. The Storage Directory
69.1.4.2. The Configuration File
69.1.4.3. Environment Locations
69.2. Extending Zend_Tool
69.2.1. Overview of Zend_Tool
69.2.2. Zend_Tool_Framework Extensions
69.2.2.1. Overall Architecture
69.2.2.2. Understanding the CLI Client
69.2.2.2.1. Setting up the CLI tool
69.2.2.2.2. Setting up the CLI tool on Unix-like Systems
69.2.2.2.3. Setting up the CLI tool on Windows
69.2.2.2.4. Other Setup Considerations
69.2.2.3. Creating Providers
69.2.2.3.1. How Zend Tool finds your Providers
69.2.2.3.2. Basic Instructions for Creating Providers
69.2.2.3.3. The response object
69.2.2.3.4. Advanced Development Information
69.2.3. Zend_Tool_Project Extensions
69.2.3.1. Overall Architecture
69.2.3.2. Creating Providers
70. Zend_Tool_Framework
70.1. Introduction
70.2. Using the CLI Tool
70.2.1. Setting up the CLI tool
70.2.2. Setting up the CLI tool on Unix-like Systems
70.2.3. Setting up the CLI tool on Windows
70.2.4. Other Setup Considerations
70.2.5. Where To Go Next?
70.3. Architecture
70.3.1. Registry
70.3.2. Providers
70.3.3. Loaders
70.3.4. Manifests
70.3.5. Clients
70.4. Creating Providers to use with Zend_Tool_Framework
70.4.1. How Zend Tool finds your Providers
70.4.2. Basic Instructions for Creating Providers
70.4.3. The response object
70.4.4. Advanced Development Information
70.4.4.1. Passing Variables to a Provider
70.4.4.2. Prompt the User for Input
70.4.4.3. Pretending to execute a Provider Action
70.4.4.4. Verbose and Debug modes
70.4.4.5. Accessing User Config and Storage
70.5. Shipped System Providers
70.5.1. The Version Provider
70.5.2. The Manifest Provider
70.6. Extending and Configuring Zend_Tool_Framework
70.6.1. Customizing Zend_Tool Console Client
70.6.1.1. The Home Directory
70.6.1.2. Local Storage
70.6.1.3. User Configuration
70.6.1.4. User Configuration File Content
71. Zend_Tool_Project
71.1. Introduction
71.2. Create A Project
71.3. Zend Tool Project Providers
71.4. Zend_Tool_Project Internals
71.4.1. Zend_Tool_Project Internal Xml Structure
71.4.2. Zend_Tool_Project Internal Extending
72. Zend_Translate
72.1. Introduction
72.1.1. Starting multi-lingual
72.2. Adapters for Zend_Translate
72.2.1. How to decide which translation adapter to use
72.2.1.1. Zend_Translate_Adapter_Array
72.2.1.2. Zend_Translate_Adapter_Csv
72.2.1.3. Zend_Translate_Adapter_Gettext
72.2.1.4. Zend_Translate_Adapter_Ini
72.2.1.5. Zend_Translate_Adapter_Tbx
72.2.1.6. Zend_Translate_Adapter_Tmx
72.2.1.7. Zend_Translate_Adapter_Qt
72.2.1.8. Zend_Translate_Adapter_Xliff
72.2.1.9. Zend_Translate_Adapter_XmlTm
72.2.2. Integrate self written Adapters
72.2.3. Speedup all Adapters
72.3. Using Translation Adapters
72.3.1. Translation Source Structures
72.4. Creating source files
72.4.1. Creating Array source files
72.4.2. Creating Gettext source files
72.4.3. Creating TMX source files
72.4.4. Creating CSV source files
72.4.5. Creating INI source files
72.5. Additional features for translation
72.5.1. Options for adapters
72.5.2. Handling languages
72.5.2.1. Automatical handling of languages
72.5.3. Automatic source detection
72.5.3.1. Language through naming directories
72.5.3.2. Language through filenames
72.5.3.2.1. Complete filename
72.5.3.2.2. Extension of the file
72.5.3.2.3. Filename tokens
72.5.4. Checking for translations
72.5.5. How to log not found translations
72.5.6. Accessing source data
72.6. Plural notations for Translation
72.6.1. Traditional plural translations
72.6.2. Modern plural translations
72.6.3. Plural source files
72.6.3.1. Array source with plural definitions
72.6.3.2. Csv source with plural definitions
72.6.3.3. Gettext source with plural definitions
72.6.4. Custom plural rules
73. Zend_Uri
73.1. Zend_Uri
73.1.1. Overview
73.1.2. Creating a New URI
73.1.3. Manipulating an Existing URI
73.1.4. URI Validation
73.1.4.1. Allowing "Unwise" characters in URIs
73.1.5. Common Instance Methods
73.1.5.1. Getting the Scheme of the URI
73.1.5.2. Getting the Entire URI
73.1.5.3. Validating the URI
74. Zend_Validate
74.1. Introduction
74.1.1. What is a validator?
74.1.2. Basic usage of validators
74.1.3. Customizing messages
74.1.4. Using the static is() method
74.1.4.1. Namespaces
74.1.5. Translating messages
74.2. Standard Validation Classes
74.2.1. Alnum
74.2.2. Alpha
74.2.3. Barcode
74.2.3.1. Basic usage
74.2.3.2. Optional checksum
74.2.3.3. Writing custom adapters
74.2.4. Between
74.2.5. Callback
74.2.5.1. Basic usage
74.2.5.2. Usage with closures
74.2.5.3. Usage with class-based callbacks
74.2.5.4. Adding options
74.2.6. CreditCard
74.2.6.1. Basic usage
74.2.6.2. Accepting defined credit cards
74.2.6.3. Validation by using foreign APIs
74.2.7. Ccnum
74.2.8. Date
74.2.9. Db_RecordExists and Db_NoRecordExists
74.2.9.1. Basic usage
74.2.9.2. Excluding records
74.2.9.3. Database Adapters
74.2.9.4. Database Schemas
74.2.10. Digits
74.2.11. EmailAddress
74.2.11.1. Basic usage
74.2.11.2. Options for validating Email Addresses
74.2.11.3. Complex local parts
74.2.11.4. Validating only the local part
74.2.11.5. Validating different types of hostnames
74.2.11.6. Checking if the hostname actually accepts email
74.2.11.7. Validating International Domains Names
74.2.11.8. Validating Top Level Domains
74.2.11.9. Setting messages
74.2.12. Float
74.2.13. GreaterThan
74.2.14. Hex
74.2.15. Hostname
74.2.16. Iban
74.2.17. Identical
74.2.17.1. Basic usage
74.2.17.2. Identical objects
74.2.17.3. Configuration
74.2.18. InArray
74.2.18.1. Simple array validation
74.2.18.2. Strict array validation
74.2.18.3. Recursive array validation
74.2.19. Int
74.2.20. Ip
74.2.20.1. Basic usage
74.2.20.2. Validate IPv4 or IPV6 alone
74.2.21. Isbn
74.2.21.1. Basic usage
74.2.21.2. Setting an explicit ISBN validation type
74.2.21.3. Specifying a separator restriction
74.2.22. LessThan
74.2.23. NotEmpty
74.2.23.1. Default behaviour for Zend_Validate_NotEmpty
74.2.23.2. Changing behaviour for Zend_Validate_NotEmpty
74.2.24. PostCode
74.2.24.1. Constructor options
74.2.25. Regex
74.2.26. Sitemap Validators
74.2.26.1. Sitemap_Changefreq
74.2.26.2. Sitemap_Lastmod
74.2.26.3. Sitemap_Loc
74.2.26.4. Sitemap_Priority
74.2.27. StringLength
74.3. Validator Chains
74.4. Writing Validators
74.5. Validation Messages
74.5.1. Using pre-translated validation messages
74.5.2. Limit the size of a validation message
75. Zend_Version
75.1. Getting the Zend Framework Version
76. Zend_View
76.1. Introduction
76.1.1. Controller Script
76.1.2. View Script
76.1.3. Options
76.1.4. Short Tags with View Scripts
76.1.5. Utility Accessors
76.2. Controller Scripts
76.2.1. Assigning Variables
76.2.2. Rendering a View Script
76.2.3. View Script Paths
76.3. View Scripts
76.3.1. Escaping Output
76.3.2. Using Alternate Template Systems
76.3.2.1. Template Systems Using View Scripts
76.3.2.2. Template Systems Using Zend_View_Interface
76.4. View Helpers
76.4.1. Initial Helpers
76.4.1.1. Action View Helper
76.4.1.2. BaseUrl Helper
76.4.1.3. Currency Helper
76.4.1.4. Cycle Helper
76.4.1.5. Partial Helper
76.4.1.6. Placeholder Helper
76.4.1.6.1. Concrete Placeholder Implementations
76.4.1.7. Doctype Helper
76.4.1.8. HeadLink Helper
76.4.1.9. HeadMeta Helper
76.4.1.10. HeadScript Helper
76.4.1.11. HeadStyle Helper
76.4.1.12. HeadTitle Helper
76.4.1.13. HTML Object Helpers
76.4.1.14. InlineScript Helper
76.4.1.15. JSON Helper
76.4.1.16. Navigation Helpers
76.4.1.16.1. Translation of labels and titles
76.4.1.16.2. Integration with ACL
76.4.1.16.3. Navigation setup used in examples
76.4.1.16.4. Breadcrumbs Helper
76.4.1.16.5. Links Helper
76.4.1.16.6. Menu Helper
76.4.1.16.7. Sitemap Helper
76.4.1.16.8. Navigation Helper
76.4.1.17. Translate Helper
76.4.2. Helper Paths
76.4.3. Writing Custom Helpers
76.4.4. Registering Concrete Helpers
76.5. Zend_View_Abstract
77. Zend_Wildfire
77.1. Zend_Wildfire
78. Zend_XmlRpc
78.1. Introduction
78.2. Zend_XmlRpc_Client
78.2.1. Introduction
78.2.2. Method Calls
78.2.3. Types and Conversions
78.2.3.1. PHP Native Types as Parameters
78.2.3.2. Zend_XmlRpc_Value Objects as Parameters
78.2.4. Server Proxy Object
78.2.5. Error Handling
78.2.5.1. HTTP Errors
78.2.5.2. XML-RPC Faults
78.2.6. Server Introspection
78.2.7. From Request to Response
78.2.8. HTTP Client and Testing
78.3. Zend_XmlRpc_Server
78.3.1. Introduction
78.3.2. Basic Usage
78.3.3. Server Structure
78.3.4. Anatomy of a webservice
78.3.4.1. General considerations
78.3.4.2. What to expose?
78.3.5. Conventions
78.3.6. Utilizing Namespaces
78.3.7. Custom Request Objects
78.3.8. Custom Responses
78.3.9. Handling Exceptions via Faults
78.3.10. Caching Server Definitions Between Requests
78.3.11. Usage Examples
78.3.12. Performance optimization

Comments

Loading...