Table of Contents

1. Introduction to Zend Framework
1.1. Overview
1.2. Installation
2. Zend_Acl
2.1. Introduction
2.1.1. Resources
2.1.2. Roles
2.1.3. Creating the Access Control List
2.1.4. Registering Roles
2.1.5. Defining Access Controls
2.1.6. Querying an ACL
2.2. Refining Access Controls
2.2.1. Precise Access Controls
2.2.2. Removing Access Controls
2.3. Advanced Usage
2.3.1. Storing ACL Data for Persistence
2.3.2. Writing Conditional ACL Rules with Assertions
3. Zend_Amf
3.1. Introduction
3.2. Zend_Amf_Server
3.2.1. Connecting to the Server from Flex
3.2.2. Error Handling
3.2.3. AMF Responses
3.2.4. Typed Objects
3.2.5. Resources
3.2.6. Connecting to the Server from Flash
3.2.7. Authentication
4. Zend_Application
4.1. Introduction
4.2. Zend_Application Quick Start
4.2.1. Using Zend_Tool
4.2.2. Adding Zend_Application to your application
4.2.3. Adding and creating resources
4.2.4. Next steps with Zend_Application
4.3. Theory of Operation
4.3.1. Bootstrapping Resource Methods Bootstraps that use resource plugins Resource Registry Dependency Tracking
4.3.2. Resource Plugins
4.4. Examples
4.5. Core Functionality
4.5.1. Zend_Application
4.5.2. Zend_Application_Bootstrap_Bootstrapper
4.5.3. Zend_Application_Bootstrap_ResourceBootstrapper
4.5.4. Zend_Application_Bootstrap_BootstrapAbstract
4.5.5. Zend_Application_Bootstrap_Bootstrap
4.5.6. Zend_Application_Resource_Resource
4.5.7. Zend_Application_Resource_ResourceAbstract Resource Names
4.6. Available Resource Plugins
4.6.1. Zend_Application_Resource_Db
4.6.2. Zend_Application_Resource_Frontcontroller
4.6.3. Zend_Application_Resource_Modules
4.6.4. Zend_Application_Resource_Navigation
4.6.5. Zend_Application_Resource_Session
4.6.6. Zend_Application_Resource_View
5. Zend_Auth
5.1. Introduction
5.1.1. Adapters
5.1.2. Results
5.1.3. Identity Persistence Default Persistence in the PHP Session Implementing Customized Storage
5.1.4. Usage
5.2. Database Table Authentication
5.2.1. Introduction
5.2.2. Advanced Usage: Persisting a DbTable Result Object
5.2.3. Advanced Usage By Example
5.3. Digest Authentication
5.3.1. Introduction
5.3.2. Specifics
5.3.3. Identity
5.4. HTTP Authentication Adapter
5.4.1. Introduction
5.4.2. Design Overview
5.4.3. Configuration Options
5.4.4. Resolvers File Resolver
5.4.5. Basic Usage
5.5. LDAP Authentication
5.5.1. Introduction
5.5.2. Usage
5.5.3. The API
5.5.4. Server Options
5.5.5. Collecting Debugging Messages
5.5.6. Common Options for Specific Servers Options for Active Directory Options for OpenLDAP
5.6. Open ID Authentication
5.6.1. Introduction
5.6.2. Specifics
6. Zend_Cache
6.1. Introduction
6.2. The Theory of Caching
6.2.1. The Zend_Cache Factory Method
6.2.2. Tagging Records
6.2.3. Cleaning the Cache
6.3. Zend_Cache Frontends
6.3.1. Zend_Cache_Core Introduction Available options Examples
6.3.2. Zend_Cache_Frontend_Output Introduction Available Options Examples
6.3.3. Zend_Cache_Frontend_Function Introduction Available Options Examples
6.3.4. Zend_Cache_Frontend_Class Introduction Available Options Examples
6.3.5. Zend_Cache_Frontend_File Introduction Available Options Examples
6.3.6. Zend_Cache_Frontend_Page Introduction Available Options Examples The Specific Cancel Method
6.4. Zend_Cache Backends
6.4.1. Zend_Cache_Backend_File
6.4.2. Zend_Cache_Backend_Sqlite
6.4.3. Zend_Cache_Backend_Memcached
6.4.4. Zend_Cache_Backend_Apc
6.4.5. Zend_Cache_Backend_Xcache
6.4.6. Zend_Cache_Backend_ZendPlatform
6.4.7. Zend_Cache_Backend_TwoLevels
6.4.8. Zend_Cache_Backend_ZendServer_Disk and Zend_Cache_Backend_ZendServer_ShMem
7. Zend_Captcha
7.1. Introduction
7.2. Captcha Operation
7.3. CAPTCHA Adapters
7.3.1. Zend_Captcha_Word
7.3.2. Zend_Captcha_Dumb
7.3.3. Zend_Captcha_Figlet
7.3.4. Zend_Captcha_Image
7.3.5. Zend_Captcha_ReCaptcha
8. Zend_CodeGenerator
8.1. Introduction
8.1.1. Theory of Operation
8.2. Zend_CodeGenerator Examples
8.3. Zend_CodeGenerator Reference
8.3.1. Abstract Classes and Interfaces Zend_CodeGenerator_Abstract Zend_CodeGenerator_Php_Abstract Zend_CodeGenerator_Php_Member_Abstract
8.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
9. Zend_Config
9.1. Introduction
9.2. Theory of Operation
9.3. Zend_Config_Ini
9.4. Zend_Config_Xml
10. Zend_Config_Writer
10.1. Zend_Config_Writer
11. Zend_Console_Getopt
11.1. Introduction
11.2. Declaring Getopt Rules
11.2.1. Declaring Options with the Short Syntax
11.2.2. Declaring Options with the Long Syntax
11.3. Fetching Options and Arguments
11.3.1. Handling Getopt Exceptions
11.3.2. Fetching Options by Name
11.3.3. Reporting Options
11.3.4. Fetching Non-option Arguments
11.4. Configuring Zend_Console_Getopt
11.4.1. Adding Option Rules
11.4.2. Adding Help Messages
11.4.3. Adding Option Aliases
11.4.4. Adding Argument Lists
11.4.5. Adding Configuration
12. Zend_Controller
12.1. Zend_Controller Quick Start
12.1.1. Introduction
12.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!
12.2. Zend_Controller Basics
12.3. The Front Controller
12.3.1. Overview
12.3.2. Primary Methods getInstance() setControllerDirectory() and addControllerDirectory addModuleDirectory() and getModuleDirectory() dispatch() run()
12.3.3. Environmental Accessor Methods
12.3.4. Front Controller Parameters
12.3.5. Extending the Front Controller
12.4. The Request Object
12.4.1. Introduction
12.4.2. HTTP Requests Accessing Request Data Base Url and Subdirectories Determining the Request Method Detecting AJAX Requests
12.4.3. Subclassing the Request Object
12.5. The Standard Router
12.5.1. Introduction
12.5.2. Using a Router
12.5.3. Basic Rewrite Router Operation
12.5.4. Default Routes
12.5.5. Base URL and Subdirectories
12.5.6. Global Parameters
12.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_Controller
12.5.8. Using Zend_Config with the RewriteRouter
12.5.9. Subclassing the Router
12.6. The Dispatcher
12.6.1. Overview
12.6.2. Subclassing the Dispatcher
12.7. Action Controllers
12.7.1. Introduction
12.7.2. Object Initialization
12.7.3. Pre- and Post-Dispatch Hooks
12.7.4. Accessors
12.7.5. View Integration View Initialization Rendering Views
12.7.6. Utility Methods
12.7.7. Subclassing the Action Controller
12.8. Action Helpers
12.8.1. Introduction
12.8.2. Helper Initialization
12.8.3. The Helper Broker
12.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
12.8.5. Writing Your Own Helpers
12.9. The Response Object
12.9.1. Usage
12.9.2. Manipulating Headers
12.9.3. Named Segments
12.9.4. Testing for Exceptions in the Response Object
12.9.5. Subclassing the Response Object
12.10. Plugins
12.10.1. Introduction
12.10.2. Writing Plugins
12.10.3. Using Plugins
12.10.4. Retrieving and Manipulating Plugins
12.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
12.11. Using a Conventional Modular Directory Structure
12.11.1. Introduction
12.11.2. Specifying Module Controller Directories
12.11.3. Routing to Modules
12.11.4. Module or Global Default Controller
12.12. MVC Exceptions
12.12.1. Introduction
12.12.2. Handling Exceptions
12.12.3. MVC Exceptions You May Encounter
12.13. Migrating from Previous Versions
12.13.1. Migrating from 1.7.x to 1.8.0 or newer Standard Route Changes
12.13.2. Migrating from 1.6.x to 1.7.0 or newer Dispatcher Interface Changes
12.13.3. Migrating from 1.5.x to 1.6.0 or Newer Dispatcher Interface Changes
12.13.4. Migrating from 1.0.x to 1.5.0 or Newer
12.13.5. Migrating from 0.9.3 to 1.0.0RC1 or Newer
12.13.6. Migrating from 0.9.2 to 0.9.3 or Newer
12.13.7. Migrating from 0.6.0 to 0.8.0 or Newer
12.13.8. Migrating from 0.2.0 or before to 0.6.0
13. Zend_Currency
13.1. Introduction to Zend_Currency
13.1.1. Why use Zend_Currency?
13.2. How to Work with Currencies
13.2.1. Creating and Output String from a Currency
13.2.2. Changing the Format of a Currency
13.2.3. Reference Methods for Zend_Currency
13.2.4. Settings new default values
13.2.5. Zend_Currency Performance Optimization
13.3. Migrating from Previous Versions
13.3.1. Migrating from 1.0.2 to 1.0.3 or Newer
14. Zend_Date
14.1. Introduction
14.1.1. Always Set a Default Timezone
14.1.2. Why Use Zend_Date?
14.2. Theory of Operation
14.2.1. Internals
14.3. Basic Methods
14.3.1. Current Date
14.3.2. Zend_Date by Example Output a Date Setting a Date Adding and Subtracting Dates Comparison of Dates
14.4. Zend_Date API Overview
14.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
14.4.2. Working with Date Values
14.4.3. Basic Zend_Date Operations Common to Many Date Parts List of Date Parts List of Date Operations
14.4.4. Comparing Dates
14.4.5. Getting Dates and Date Parts
14.4.6. Working with Fractions of Seconds
14.4.7. Sunrise / Sunset
14.5. Creation of Dates
14.5.1. Create the Actual Date
14.5.2. Create a Date from Database
14.5.3. Create Dates from an Array
14.6. Constants for General Date Functions
14.6.1. Using Constants
14.6.2. List of All Constants
14.6.3. Self-Defined OUTPUT Formats with ISO
14.6.4. Self-Defined OUTPUT Formats Using PHP's date() Format Specifiers
14.7. Working Examples
14.7.1. Checking Dates
14.7.2. Sunrise and Sunset
14.7.3. Time Zones
15. Zend_Db
15.1. Zend_Db_Adapter
15.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
15.1.2. Example Database
15.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
15.1.4. Writing Changes to the Database Inserting Data Retrieving a Generated Value Updating Data Deleting Data
15.1.5. Quoting Values and Identifiers Using quote() Using quoteInto() Using quoteIdentifier()
15.1.6. Controlling Database Transactions
15.1.7. Listing and Describing Tables
15.1.8. Closing a Connection
15.1.9. Running Other Database Statements
15.1.10. Retrieving Server Version
15.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
15.2. Zend_Db_Statement
15.2.1. Creating a Statement
15.2.2. Executing a Statement
15.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
15.3. Zend_Db_Profiler
15.3.1. Introduction
15.3.2. Using the Profiler
15.3.3. Advanced Profiler Usage Filter by query elapsed time Filter by query type Retrieve profiles by query type
15.3.4. Specialized Profilers Profiling with Firebug
15.4. Zend_Db_Select
15.4.1. Introduction
15.4.2. Creating a Select Object
15.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
15.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
15.4.5. Other methods Retrieving Parts of the Select Object Resetting Parts of the Select Object
15.5. Zend_Db_Table
15.5.1. Introduction
15.5.2. Using Zend_Db_Table as a concrete class
15.5.3. Defining a Table Class Defining the Table Name and Schema Defining the Table Primary Key Overriding Table Setup Methods Table initialization
15.5.4. Creating an Instance of a Table Specifying a Database Adapter Setting a Default Database Adapter Storing a Database Adapter in the Registry
15.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
15.5.6. Updating Rows in a Table
15.5.7. Deleting Rows from a Table
15.5.8. Finding Rows by Primary Key
15.5.9. Querying for a Set of Rows Select API Fetching a rowset Advanced usage
15.5.10. Querying for a Single Row
15.5.11. Retrieving Table Metadata Information
15.5.12. Caching Table Metadata Hardcoding Table Metadata
15.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
15.6. Zend_Db_Table_Row
15.6.1. Introduction
15.6.2. Fetching a Row Reading column values from a row Retrieving Row Data as an Array Fetching data from related tables
15.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
15.6.4. Serializing and unserializing rows Serializing a Row Unserializing Row Data Reactivating a Row as Live Data
15.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
15.7. Zend_Db_Table_Rowset
15.7.1. Introduction
15.7.2. Fetching a Rowset
15.7.3. Retrieving Rows from a Rowset
15.7.4. Retrieving a Rowset as an Array
15.7.5. Serializing and Unserializing a Rowset
15.7.6. Extending the Rowset class
15.8. Zend_Db_Table Relationships
15.8.1. Introduction
15.8.2. Defining Relationships
15.8.3. Fetching a Dependent Rowset
15.8.4. Fetching a Parent Row
15.8.5. Fetching a Rowset via a Many-to-many Relationship
15.8.6. Cascading Write Operations Notes Regarding Cascading Operations
15.9. Zend_Db_Table_Definition
15.9.1. Introduction
15.9.2. Basic Usage
15.9.3. Advanced Usage
16. Zend_Debug
16.1. Dumping Variables
17. Zend_Dojo
17.1. Introduction
17.2. Zend_Dojo_Data: Envelopes
17.2.1. Zend_Dojo_Data Usage
17.2.2. Adding metadata to your containers
17.2.3. Advanced Use Cases Available Methods
17.3. Dojo View Helpers
17.3.1. dojo() View Helper Programmatic and Declarative Usage of Dojo Themes Using Layers (Custom Builds) Methods Available
17.3.2. Dijit-Specific View Helpers Dijit Layout Elements Dijit Form Elements Custom Dijits
17.4. Dojo Form Elements and Decorators
17.4.1. Dijit-Specific Form Decorators DijitElement Decorator DijitForm Decorator DijitContainer-based Decorators
17.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
17.4.3. Dojo Form Examples
17.5. Zend_Dojo build layer support
17.5.1. Introduction
17.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
17.5.3. Generating Build Profiles with Zend_Dojo_BuildLayer Build Profile options
18. Zend_Dom
18.1. Introduction
18.2. Zend_Dom_Query
18.2.1. Theory of Operation
18.2.2. Methods Available Zend_Dom_Query Zend_Dom_Query_Result
19. Zend_Exception
19.1. Using Exceptions
20. Zend_Feed
20.1. Introduction
20.2. Importing Feeds
20.2.1. Custom feeds Importing a custom array Importing a custom data source Dumping the contents of a feed
20.3. Retrieving Feeds from Web Pages
20.4. Consuming an RSS Feed
20.5. Consuming an Atom Feed
20.6. Consuming a Single Atom Entry
20.7. Modifying Feed and Entry structures
20.8. Custom Feed and Entry Classes
20.9. Zend_Feed_Reader
20.9.1. Introduction
20.9.2. Importing Feeds
20.9.3. Retrieving Underlying Feed and Entry Sources
20.9.4. Cache Support and Intelligent Requests Adding Cache Support to Zend_Feed_Reader HTTP Conditional GET Support
20.9.5. Locating Feed URIs from Websites
20.9.6. Retrieving Feed Information
20.9.7. Retrieving Entry/Item Information
20.9.8. Extending Feed and Entry APIs Writing Zend_Feed_Reader Extensions
21. Zend_File
21.1. Zend_File_Transfer
21.1.1. Supported Adapters for Zend_File_Transfer
21.1.2. Options for Zend_File_Transfer
21.1.3. Checking Files
21.1.4. Additional File Informations
21.1.5. Progress for file uploads Using a progressbar adapter Using getProgress() manually
21.2. Validators for Zend_File_Transfer
21.2.1. Using Validators with Zend_File_Transfer
21.2.2. Count Validator
21.2.3. Crc32 Validator
21.2.4. ExcludeExtension Validator
21.2.5. ExcludeMimeType Validator
21.2.6. Exists Validator
21.2.7. Extension Validator
21.2.8. FilesSize Validator
21.2.9. ImageSize Validator
21.2.10. IsCompressed Validator
21.2.11. IsImage Validator
21.2.12. Hash Validator
21.2.13. Md5 Validator
21.2.14. MimeType Validator
21.2.15. NotExists Validator
21.2.16. Sha1 Validator
21.2.17. Size Validator
21.2.18. WordCount Validator
21.3. Filters for Zend_File_Transfer
21.3.1. Using filters with Zend_File_Transfer
21.3.2. Decrypt filter
21.3.3. Encrypt filter
21.3.4. LowerCase filter
21.3.5. Rename filter
21.3.6. UpperCase filter
21.4. Migrating from previous versions
21.4.1. Migrating from 1.6 to 1.7 or newer Changes when using filters and validators Filter: Rename Validator: Count Validator:Extension Validator: FilesSize Validator: Hash Validator: ImageSize Validator: Size
21.4.2. Migrating from 1.6.1 to 1.6.2 or newer Changes when using validators
22. Zend_Filter
22.1. Introduction
22.1.1. What is a filter?
22.1.2. Basic usage of filters
22.1.3. Using the static staticFilter() method Namespaces
22.2. Standard Filter Classes
22.2.1. Alnum
22.2.2. Alpha
22.2.3. BaseName
22.2.4. Callback
22.2.5. Decrypt Decryption with Mcrypt Decryption with OpenSSL
22.2.6. Digits
22.2.7. Dir
22.2.8. Encrypt Encryption with Mcrypt Encryption with OpenSSL
22.2.9. HtmlEntities
22.2.10. Int
22.2.11. LocalizedToNormalized Normalization for numbers Normalization for date and time
22.2.12. NormalizedToLocalized Localization for numbers Localization for date and time
22.2.13. StripNewlines
22.2.14. RealPath
22.2.15. StringToLower
22.2.16. StringToUpper
22.2.17. StringTrim
22.2.18. StripTags
22.3. Filter Chains
22.4. Writing Filters
22.5. Zend_Filter_Input
22.5.1. Declaring Filter and Validator Rules
22.5.2. Creating the Filter and Validator Processor
22.5.3. Retrieving Validated Fields and other Reports Querying if the input is valid Getting Invalid, Missing, or Unknown Fields Getting Valid Fields
22.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
22.5.5. Adding Filter Class Namespaces
22.6. Zend_Filter_Inflector
22.6.1. Operation
22.6.2. Setting Paths To Alternate Filters
22.6.3. Setting the Inflector Target
22.6.4. Inflection Rules Static Rules Filter Inflector Rules Setting Many Rules At Once
22.6.5. Utility Methods
22.6.6. Using Zend_Config with Zend_Filter_Inflector
22.7. Migrating from Previous Versions
22.7.1. Migrating from versions prior to 1.9
23. Zend_Form
23.1. Zend_Form
23.2. Zend_Form Quick Start
23.2.1. Create a form object
23.2.2. Add elements to the form
23.2.3. Render a form
23.2.4. Check if a form is valid
23.2.5. Get error status
23.2.6. Putting it together
23.2.7. Using a Zend_Config Object
23.2.8. Conclusion
23.3. Creating Form Elements Using Zend_Form_Element
23.3.1. Plugin Loaders
23.3.2. Filters
23.3.3. Validators Custom Error Messages
23.3.4. Decorators
23.3.5. Metadata and Attributes
23.3.6. Standard Elements
23.3.7. Zend_Form_Element Methods
23.3.8. Configuration
23.3.9. Custom Elements
23.4. Creating Forms Using Zend_Form
23.4.1. Plugin Loaders
23.4.2. Elements Populating and Retrieving Values Global Operations Methods For Interacting With Elements
23.4.3. Display Groups Global Operations Using Custom Display Group Classes Methods for Interacting With Display Groups Zend_Form_DisplayGroup Methods
23.4.4. Sub Forms Global Operations Methods for Interacting With Sub Forms
23.4.5. Metadata and Attributes
23.4.6. Decorators
23.4.7. Validation Custom Error Messages
23.4.8. Methods
23.4.9. Configuration
23.4.10. Custom forms
23.5. Creating Custom Form Markup Using Zend_Form_Decorator
23.5.1. Operation
23.5.2. Standard Decorators
23.5.3. Custom Decorators
23.5.4. Rendering Individual Decorators
23.6. Standard Form Elements Shipped With Zend Framework
23.6.1. Zend_Form_Element_Button
23.6.2. Zend_Form_Element_Captcha
23.6.3. Zend_Form_Element_Checkbox
23.6.4. Zend_Form_Element_File
23.6.5. Zend_Form_Element_Hidden
23.6.6. Zend_Form_Element_Hash
23.6.7. Zend_Form_Element_Image
23.6.8. Zend_Form_Element_MultiCheckbox
23.6.9. Zend_Form_Element_Multiselect
23.6.10. Zend_Form_Element_Password
23.6.11. Zend_Form_Element_Radio
23.6.12. Zend_Form_Element_Reset
23.6.13. Zend_Form_Element_Select
23.6.14. Zend_Form_Element_Submit
23.6.15. Zend_Form_Element_Text
23.6.16. Zend_Form_Element_Textarea
23.7. Standard Form Decorators Shipped With Zend Framework
23.7.1. Zend_Form_Decorator_Callback
23.7.2. Zend_Form_Decorator_Captcha
23.7.3. Zend_Form_Decorator_Description
23.7.4. Zend_Form_Decorator_DtDdWrapper
23.7.5. Zend_Form_Decorator_Errors
23.7.6. Zend_Form_Decorator_Fieldset
23.7.7. Zend_Form_Decorator_File
23.7.8. Zend_Form_Decorator_Form
23.7.9. Zend_Form_Decorator_FormElements
23.7.10. Zend_Form_Decorator_FormErrors
23.7.11. Zend_Form_Decorator_HtmlTag
23.7.12. Zend_Form_Decorator_Image
23.7.13. Zend_Form_Decorator_Label
23.7.14. Zend_Form_Decorator_PrepareElements
23.7.15. Zend_Form_Decorator_ViewHelper
23.7.16. Zend_Form_Decorator_ViewScript
23.8. Internationalization of Zend_Form
23.8.1. Initializing I18n in Forms
23.8.2. Standard I18n Targets
23.9. Advanced Zend_Form Usage
23.9.1. Array Notation
23.9.2. Multi-Page Forms
24. Zend_Gdata
24.1. Introduction
24.1.1. Structure of Zend_Gdata
24.1.2. Interacting with Google Services
24.1.3. Obtaining instances of Zend_Gdata classes
24.1.4. Google Data Client Authentication
24.1.5. Dependencies
24.1.6. Creating a new Gdata client
24.1.7. Common Query Parameters
24.1.8. Fetching a Feed
24.1.9. Working with Multi-page Feeds
24.1.10. Working with Data in Feeds and Entries
24.1.11. Updating Entries
24.1.12. Posting Entries to Google Servers
24.1.13. Deleting Entries on Google Servers
24.2. Authenticating with AuthSub
24.2.1. Creating an AuthSub authenticated Http Client
24.2.2. Revoking AuthSub authentication
24.3. Using the Book Search Data API
24.3.1. Authenticating to the Book Search service
24.3.2. Searching for books Partner Co-Branded Search
24.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
24.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
24.4. Authenticating with ClientLogin
24.4.1. Creating a ClientLogin authenticated Http Client
24.4.2. Terminating a ClientLogin authenticated Http Client
24.5. Using Google Calendar
24.5.1. Connecting To The Calendar Service Authentication Creating A Service Instance
24.5.2. Retrieving A Calendar List
24.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
24.5.4. Creating Events Creating Single-Occurrence Events Event Schedules and Reminders Creating Recurring Events Using QuickAdd
24.5.5. Modifying Events
24.5.6. Deleting Events
24.5.7. Accessing Event Comments
24.6. Using Google Documents List Data API
24.6.1. Get a List of Documents
24.6.2. Upload a Document
24.6.3. Searching the documents feed Get a List of Word Processing Documents Get a List of Spreadsheets Performing a text query
24.7. Using Google Health
24.7.1. Connect To The Health Service Authentication Create A Health Service Instance
24.7.2. Profile Feed Send a Structured Query Query The Feed Iterate Through The Profile Entries
24.7.3. Profile List Feed Query The Feed
24.7.4. Sending Notices to the Register Feed Sending a notice
24.8. Using Google Spreadsheets
24.8.1. Create a Spreadsheet
24.8.2. Get a List of Spreadsheets
24.8.3. Get a List of Worksheets
24.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
24.8.5. Interacting With Cell-based Feeds Get a Cell-based Feed Send a Cell Range Query Change Contents of a Cell
24.9. Using Google Apps Provisioning
24.9.1. Setting the current domain Setting the domain for the service class Setting the domain for query classes
24.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
24.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
24.9.4. 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
24.9.5. 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
24.9.6. Handling errors
24.10. Using Google Base
24.10.1. Connect To The Base Service Authentication Create A Service Instance
24.10.2. Retrieve Items Send a Structured Query Query Customer Items Feed Query Snippets Feed Iterate through the Items
24.10.3. Insert, Update, and Delete Customer Items Insert an Item Modify an Item Delete an Item
24.11. Using Picasa Web Albums
24.11.1. Connecting To The Service Authentication Creating A Service Instance
24.11.2. Understanding and Constructing Queries
24.11.3. Retrieving Feeds And Entries Retrieving A User Retrieving An Album Retrieving A Photo Retrieving A Comment Retrieving A Tag
24.11.4. Creating Entries Creating An Album Creating A Photo Creating A Comment Creating A Tag
24.11.5. Deleting Entries Deleting An Album Deleting A Photo Deleting A Comment Deleting A Tag Optimistic Concurrency (Notes On Deletion)
24.12. Using the YouTube Data API
24.12.1. Authentication
24.12.2. Developer Keys and Client ID
24.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
24.12.4. Retrieving video comments
24.12.5. Retrieving playlist feeds Retrieving the playlists of a user Retrieving a specific playlist
24.12.6. Retrieving a list of a user's subscriptions
24.12.7. Retrieving a user's profile
24.12.8. Uploading Videos to YouTube
24.12.9. Browser-based upload
24.12.10. Checking upload status
24.12.11. Other Functions
24.13. Catching Gdata Exceptions
25. Zend_Http
25.1. Introduction
25.1.1. Using Zend_Http_Client
25.1.2. Configuration Parameters
25.1.3. Performing Basic HTTP Requests
25.1.4. Adding GET and POST parameters
25.1.5. Accessing Last Request and Response
25.2. Zend_Http_Client - Advanced Usage
25.2.1. HTTP Redirections
25.2.2. Adding Cookies and Using Cookie Persistence
25.2.3. Setting Custom Request Headers
25.2.4. File Uploads
25.2.5. Sending Raw POST Data
25.2.6. HTTP Authentication
25.2.7. Sending Multiple Requests With the Same Client
25.3. Zend_Http_Client - Connection Adapters
25.3.1. Overview
25.3.2. The Socket Adapter Customizing and accessing the Socket adapter stream context
25.3.3. The Proxy Adapter
25.3.4. The cURL Adapter
25.3.5. The Test Adapter
25.3.6. Creating your own connection adapters
25.4. Migrating from previous versions
25.4.1. Migrating from 1.8 or older to 1.9 or newer Changes to internal uploaded file information storage Deprecation of Zend_Http_Client::_getParametersRecursive()
25.5. Zend_Http_Cookie and Zend_Http_CookieJar
25.5.1. Introduction
25.5.2. Instantiating Zend_Http_Cookie Objects
25.5.3. Zend_Http_Cookie getter methods
25.5.4. Zend_Http_Cookie: Matching against a scenario
25.5.5. The Zend_Http_CookieJar Class: Instantiation
25.5.6. Adding Cookies to a Zend_Http_CookieJar object
25.5.7. Retrieving Cookies From a Zend_Http_CookieJar object
25.6. Zend_Http_Response
25.6.1. Introduction
25.6.2. Boolean Tester Methods
25.6.3. Accessor Methods
25.6.4. Static HTTP Response Parsers
26. Zend_InfoCard
26.1. Introduction
26.1.1. Basic Theory of Usage
26.1.2. Using as part of Zend_Auth
26.1.3. Using the Zend_InfoCard component standalone
26.1.4. Working with a Claims object
26.1.5. Attaching Information Cards to existing accounts
26.1.6. Creating Zend_InfoCard Adapters
27. Zend_Json
27.1. Introduction
27.2. Basic Usage
27.3. Advanced Usage of Zend_Json
27.3.1. JSON Objects
27.3.2. Encoding PHP objects
27.3.3. Internal Encoder/Decoder
27.3.4. JSON Expressions
27.4. XML to JSON conversion
27.5. Zend_Json_Server - JSON-RPC server
27.5.1. Advanced Details Zend_Json_Server Zend_Json_Server_Request Zend_Json_Server_Response Zend_Json_Server_Error Zend_Json_Server_Smd
28. Zend_Layout
28.1. Introduction
28.2. Zend_Layout Quick Start
28.2.1. Layout scripts
28.2.2. Using Zend_Layout with the Zend Framework MVC
28.2.3. Using Zend_Layout as a Standalone Component
28.2.4. Sample Layout
28.3. Zend_Layout Configuration Options
28.3.1. Examples
28.4. Zend_Layout Advanced Usage
28.4.1. Custom View Objects
28.4.2. Custom Front Controller Plugins
28.4.3. Custom Action Helpers
28.4.4. Custom Layout Script Path Resolution: Using the Inflector
29. Zend_Ldap
29.1. Introduction
29.1.1. Theory of operation Automatic Username Canonicalization When Binding Account Name Canonicalization Multi-domain Authentication and Failover
29.2. API overview
29.2.1. Configuration / options
29.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
29.3. Usage Scenarios
29.3.1. Authentication scenarios OpenLDAP ActiveDirectory
29.3.2. Basic CRUD operations Retrieving data from the LDAP Adding data to the LDAP Deleting from the LDAP Updating the LDAP
29.3.3. Extended operations Copy and move entries in the LDAP
29.4. Tools
29.4.1. Creation and modification of DN strings
29.4.2. Using the filter API to create search filters
29.4.3. Modify LDAP entries using the Attribute API
29.5. Object oriented access to the LDAP tree using Zend_Ldap_Node
29.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
29.5.2. Extended operations Copy and move nodes in the LDAP
29.5.3. Tree traversal
29.6. Getting information from the LDAP server
29.6.1. RootDSE
29.6.2. Schema Browsing OpenLDAP ActiveDirectory
29.7. Serializing LDAP data to and from LDIF
29.7.1. Serialize a LDAP entry to LDIF
29.7.2. Deserialize a LDIF string into a LDAP entry
30. Zend_Loader
30.1. Loading Files and Classes Dynamically
30.1.1. Loading Files
30.1.2. Loading Classes
30.1.3. Testing if a File is Readable
30.1.4. Using the Autoloader
30.2. The Autoloader
30.2.1. Using the Autoloader
30.2.2. Selecting a Zend Framework version
30.2.3. The Autoloader Interface
30.2.4. Autoloader Reference
30.3. Resource Autoloaders
30.3.1. Resource autoloader usage
30.3.2. The Module Resource Autoloader
30.3.3. Using Resource Autoloaders as Object Factories
30.3.4. Resource Autoloader Reference
30.4. Loading Plugins
30.4.1. Basic Use Case
30.4.2. Manipulating Plugin Paths
30.4.3. Testing for Plugins and Retrieving Class Names
30.4.4. Getting Better Performance for Plugins
31. Zend_Locale
31.1. Introduction
31.1.1. What is Localization
31.1.2. What is a Locale?
31.1.3. How are Locales Represented?
31.1.4. Selecting the Right Locale
31.1.5. Usage of automatic Locales
31.1.6. Using a default Locale
31.1.7. ZF Locale-Aware Classes
31.1.8. Application wide locale
31.1.9. Zend_Locale_Format::setOptions(array $options)
31.1.10. Speed up Zend_Locale and its subclasses
31.2. Using Zend_Locale
31.2.1. Copying, Cloning, and Serializing Locale Objects
31.2.2. Equality
31.2.3. Default locales
31.2.4. Set a new locale
31.2.5. Getting the language and region
31.2.6. Obtaining localized strings
31.2.7. Obtaining translations for "yes" and "no"
31.2.8. Get a list of all known locales
31.2.9. Detecting locales
31.3. Normalization and Localization
31.3.1. Number normalization: getNumber($input, Array $options) Precision and Calculations
31.3.2. Number localization
31.3.3. Number testing
31.3.4. Float value normalization
31.3.5. Floating point value localization
31.3.6. Floating point value testing
31.3.7. Integer value normalization
31.3.8. Integer point value localization
31.3.9. Integer value testing
31.3.10. Numeral System Conversion
31.4. Working with Dates and Times
31.4.1. Normalizing Dates and Times
31.4.2. Testing Dates
31.4.3. Normalizing a Time
31.4.4. Testing Times
31.5. Supported locales
31.6. Migrating from previous versions
31.6.1. Migrating from 1.8 to 1.9 or newer Depreciated methods
31.6.2. Migrating from 1.7 to 1.8 or newer Default caching
31.6.3. Migrating from 1.6 to 1.7 or newer Changes when using isLocale() Changes when using getDefault()
32. Zend_Log
32.1. Overview
32.1.1. Creating a Log
32.1.2. Logging Messages
32.1.3. Destroying a Log
32.1.4. Using Built-in Priorities
32.1.5. Adding User-defined Priorities
32.1.6. Understanding Log Events
32.2. Writers
32.2.1. Writing to Streams
32.2.2. Writing to Databases
32.2.3. Writing to Firebug Setting Styles for Priorities Preparing data for Logging Exception Logging Table Logging
32.2.4. Writing to Email Zend_Layout Usage Subject Line Error Level Summary Caveats
32.2.5. Writing to the System Log
32.2.6. Stubbing Out the Writer
32.2.7. Testing with the Mock
32.2.8. Compositing Writers
32.3. Formatters
32.3.1. Simple Formatting
32.3.2. Formatting to XML
32.4. Filters
32.4.1. Filtering for All Writers
32.4.2. Filtering for a Writer Instance
33. Zend_Mail
33.1. Introduction
33.1.1. Getting started
33.1.2. Configuring the default sendmail transport
33.2. Sending via SMTP
33.3. Sending Multiple Mails per SMTP Connection
33.4. Using Different Transports
33.5. HTML E-Mail
33.6. Attachments
33.7. Adding Recipients
33.8. Controlling the MIME Boundary
33.9. Additional Headers
33.10. Character Sets
33.11. Encoding
33.12. SMTP Authentication
33.13. Securing SMTP Transport
33.14. Reading Mail Messages
33.14.1. Simple example using Pop3
33.14.2. Opening a local storage
33.14.3. Opening a remote storage
33.14.4. Fetching messages and simple methods
33.14.5. Working with messages
33.14.6. Checking for flags
33.14.7. Using folders
33.14.8. Advanced Use Using NOOP Caching instances Extending Protocol Classes Using Quota (since 1.5)
34. Zend_Measure
34.1. Introduction
34.2. Creation of Measurements
34.2.1. Creating measurements from integers and floats
34.2.2. Creating measurements from strings
34.2.3. Measurements from localized strings
34.3. Outputting measurements
34.3.1. Automatic output
34.3.2. Outputting values
34.3.3. Output with unit of measurement
34.3.4. Output as localized string
34.4. Manipulating Measurements
34.4.1. Convert
34.4.2. Add and subtract
34.4.3. Compare
34.4.4. Compare
34.4.5. Manually change values
34.4.6. Manually change types
34.5. Types of measurements
34.5.1. Hints for Zend_Measure_Binary
34.5.2. Hints for Zend_Measure_Number
34.5.3. Roman numbers
35. Zend_Memory
35.1. Overview
35.1.1. Introduction
35.1.2. Theory of Operation Memory manager Memory container Locked memory Movable memory
35.2. Memory Manager
35.2.1. Creating a Memory Manager
35.2.2. Managing Memory Objects Creating Movable Objects Creating Locked Objects Destroying Objects
35.2.3. Memory Manager Settings Memory Limit MinSize
35.3. Memory Objects
35.3.1. Movable
35.3.2. Locked
35.3.3. Memory container 'value' property
35.3.4. Memory container interface getRef() method touch() method lock() method unlock() method isLocked() method
36. Zend_Mime
36.1. Zend_Mime
36.1.1. Introduction
36.1.2. Static Methods and Constants
36.1.3. Instantiating Zend_Mime
36.2. Zend_Mime_Message
36.2.1. Introduction
36.2.2. Instantiation
36.2.3. Adding MIME Parts
36.2.4. Boundary handling
36.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
36.3. Zend_Mime_Part
36.3.1. Introduction
36.3.2. Instantiation
36.3.3. Methods for rendering the message part to a string
37. Zend_Navigation
37.1. Introduction
37.1.1. Pages and Containers Pages Containers
37.1.2. Separation of data (model) and rendering (view)
37.2. Pages
37.2.1. Common page features
37.2.2. Zend_Navigation_Page_Mvc
37.2.3. Zend_Navigation_Page_Uri
37.2.4. Creating custom page types
37.2.5. Creating pages using the page factory
37.3. Containers
37.3.1. Creating containers
37.3.2. Adding pages
37.3.3. Removing pages
37.3.4. Finding pages
37.3.5. Iterating containers
37.3.6. Other operations
37.4. Migrating from Previous Versions
37.4.1. Migrating from versions prior to 1.9
38. Zend_OpenId
38.1. Introduction
38.1.1. What is OpenID?
38.1.2. How Does it Work?
38.1.3. Zend_OpenId Structure
38.1.4. Supported OpenID Standards
38.2. Zend_OpenId_Consumer Basics
38.2.1. OpenID Authentication
38.2.2. Combining all Steps in One Page
38.2.3. Consumer Realm
38.2.4. Immediate Check
38.2.5. Zend_OpenId_Consumer_Storage
38.2.6. Simple Registration Extension
38.2.7. Integration with Zend_Auth
38.2.8. Integration with Zend_Controller
38.3. Zend_OpenId_Provider
38.3.1. Quick Start
38.3.2. Combined Provide Scripts
38.3.3. Simple Registration Extension
38.3.4. Anything Else?
39. Zend_Paginator
39.1. Introduction
39.2. Usage
39.2.1. Paginating data collections
39.2.2. The DbSelect and DbTableSelect adapter
39.2.3. Rendering pages with view scripts Example pagination controls Listing of properties
39.3. Configuration
39.4. Advanced usage
39.4.1. Custom data source adapters
39.4.2. Custom scrolling styles
39.4.3. Caching features
40. Zend_Pdf
40.1. Introduction
40.2. Creating and Loading PDF Documents
40.3. Save Changes to PDF Documents
40.4. Working with Pages
40.4.1. Page Creation
40.4.2. Page cloning
40.5. Drawing
40.5.1. Geometry
40.5.2. Colors
40.5.3. Shape Drawing
40.5.4. Text Drawing
40.5.5. Using fonts
40.5.6. Standard PDF fonts limitations
40.5.7. Extracting fonts
40.5.8. Image Drawing
40.5.9. Line drawing style
40.5.10. Fill style
40.5.11. Linear Transformations Rotations Starting from ZF 1.8, scaling Starting from ZF 1.8, translating Starting from ZF 1.8, skewing
40.5.12. Save/restore graphics state
40.5.13. Clipping draw area
40.5.14. Styles
40.5.15. Transparency
40.6. Interactive Features
40.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
40.6.2. Actions Supported action types Actions chaining Document Open Action
40.6.3. Document Outline (bookmarks)
40.6.4. Annotations
40.7. Document Info and Metadata
40.8. Zend_Pdf module usage example
41. Zend_ProgressBar
41.1. Zend_ProgressBar
41.1.1. Introduction
41.1.2. Basic Usage of Zend_Progressbar
41.1.3. Persistent progress
41.1.4. Standard adapters Zend_ProgressBar_Adapter_Console Zend_ProgressBar_Adapter_JsPush Zend_ProgressBar_Adapter_JsPull
42. Zend_Queue
42.1. Introduction
42.2. Example usage
42.3. Framework
42.3.1. Introduction
42.3.2. Commonality among adapters
42.4. Adapters
42.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
42.4.2. Notes for Specific Adapters Apache ActiveMQ Zend_Db MemcacheQ Zend Platform Job Queue Array (local)
42.5. Customizing Zend_Queue
42.5.1. Creating your own adapter
42.5.2. Creating your own message class
42.5.3. Creating your own message iterator class
42.5.4. Creating your own queue class
42.6. Stomp
42.6.1. Stomp - Supporting classes
43. Zend_Reflection
43.1. Introduction
43.2. Zend_Reflection Examples
43.3. Zend_Reflection Reference
43.3.1. Zend_Reflection_Docblock
43.3.2. Zend_Reflection_Docblock_Tag
43.3.3. Zend_Reflection_Docblock_Tag_Param
43.3.4. Zend_Reflection_Docblock_Tag_Return
43.3.5. Zend_Reflection_File
43.3.6. Zend_Reflection_Class
43.3.7. Zend_Reflection_Extension
43.3.8. Zend_Reflection_Function
43.3.9. Zend_Reflection_Method
43.3.10. Zend_Reflection_Parameter
43.3.11. Zend_Reflection_Property
44. Zend_Registry
44.1. Using the Registry
44.1.1. Setting Values in the Registry
44.1.2. Getting Values from the Registry
44.1.3. Constructing a Registry Object
44.1.4. Accessing the Registry as an Array
44.1.5. Accessing the Registry as an Object
44.1.6. Querying if an Index Exists
44.1.7. Extending the Registry
44.1.8. Unsetting the Static Registry
45. Zend_Rest
45.1. Introduction
45.2. Zend_Rest_Client
45.2.1. Introduction
45.2.2. Responses
45.2.3. Request Arguments
45.3. Zend_Rest_Server
45.3.1. Introduction
45.3.2. REST Server Usage
45.3.3. Calling a Zend_Rest_Server Service
45.3.4. Sending A Custom Status
45.3.5. Returning Custom XML Responses
46. Zend_Search_Lucene
46.1. Overview
46.1.1. Introduction
46.1.2. Document and Field Objects
46.1.3. Understanding Field Types
46.1.4. HTML documents
46.1.5. Word 2007 documents
46.1.6. Powerpoint 2007 documents
46.1.7. Excel 2007 documents
46.2. Building Indexes
46.2.1. Creating a New Index
46.2.2. Updating Index
46.2.3. Updating Documents
46.2.4. Retrieving Index Size
46.2.5. Index optimization MaxBufferedDocs auto-optimization option MaxMergeDocs auto-optimization option MergeFactor auto-optimization option
46.2.6. Permissions
46.2.7. Limitations Index size Supported Filesystems
46.3. Searching an Index
46.3.1. Building Queries Query Parsing
46.3.2. Search Results
46.3.3. Limiting the Result Set
46.3.4. Results Scoring
46.3.5. Search Result Sorting
46.3.6. Search Results Highlighting
46.4. Query Language
46.4.1. Terms
46.4.2. Fields
46.4.3. Wildcards
46.4.4. Term Modifiers
46.4.5. Range Searches
46.4.6. Fuzzy Searches
46.4.7. Matched terms limitation
46.4.8. Proximity Searches
46.4.9. Boosting a Term
46.4.10. Boolean Operators AND OR NOT &&, ||, and ! operators + - No Operator
46.4.11. Grouping
46.4.12. Field Grouping
46.4.13. Escaping Special Characters
46.5. Query Construction API
46.5.1. Query Parser Exceptions
46.5.2. Term Query
46.5.3. Multi-Term Query
46.5.4. Boolean Query
46.5.5. Wildcard Query
46.5.6. Fuzzy Query
46.5.7. Phrase Query
46.5.8. Range Query
46.6. Character Set
46.6.1. UTF-8 and single-byte character set support
46.6.2. Default text analyzer
46.6.3. UTF-8 compatible text analyzers
46.7. Extensibility
46.7.1. Text Analysis
46.7.2. Tokens Filtering
46.7.3. Scoring Algorithms
46.7.4. Storage Containers
46.8. Interoperating with Java Lucene
46.8.1. File Formats
46.8.2. Index Directory
46.8.3. Java Source Code
46.9. Advanced
46.9.1. Starting from 1.6, handling index format transformations
46.9.2. Using the index as static property
46.10. Best Practices
46.10.1. Field names
46.10.2. Indexing performance
46.10.3. Index during Shut Down
46.10.4. Retrieving documents by unique id
46.10.5. Memory Usage
46.10.6. Encoding
46.10.7. Index maintenance
47. Zend_Server
47.1. Introduction
47.2. Zend_Server_Reflection
47.2.1. Introduction
47.2.2. Usage
48. Zend_Service
48.1. Introduction
48.2. Zend_Service_Akismet
48.2.1. Introduction
48.2.2. Verify an API key
48.2.3. Check for spam
48.2.4. Submitting known spam
48.2.5. Submitting false positives (ham)
48.2.6. Zend-specific Accessor Methods
48.3. Zend_Service_Amazon
48.3.1. Introduction
48.3.2. Country Codes
48.3.3. Looking up a Specific Amazon Item by ASIN
48.3.4. Performing Amazon Item Searches
48.3.5. Using the Alternative Query API Introduction
48.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
48.4. Zend_Service_Amazon_Ec2
48.4.1. Introduction
48.4.2. What is Amazon Ec2?
48.4.3. Static Methods
48.5. Zend_Service_Amazon_Ec2: Instances
48.5.1. Instance Types
48.5.2. Running Amazon EC2 Instances
48.5.3. Amazon Instance Utilities
48.6. Zend_Service_Amazon_Ec2: Windows Instances
48.6.1. Windows Instances Usage
48.7. Zend_Service_Amazon_Ec2: Reserved Instances
48.7.1. How Reserved Instances are Applied
48.7.2. Reserved Instances Usage
48.8. Zend_Service_Amazon_Ec2: CloudWatch Monitoring
48.8.1. CloudWatch Usage
48.9. Zend_Service_Amazon_Ec2: Amazon Machine Images (AMI)
48.9.1. AMI Information Utilities
48.9.2. AMI Attribute Utilities
48.10. Zend_Service_Amazon_Ec2: Elastic Block Stroage (EBS)
48.10.1. Create EBS Volumes and Snapshots
48.10.2. Describing EBS Volumes and Snapshots
48.10.3. Attach and Detaching Volumes from Instances
48.10.4. Deleting EBS Volumes and Snapshots
48.11. Zend_Service_Amazon_Ec2: Elastic IP Addresses
48.12. Zend_Service_Amazon_Ec2: Keypairs
48.13. Zend_Service_Amazon_Ec2: Regions and Availability Zones
48.13.1. Amazon EC2 Regions
48.13.2. Amazon EC2 Availability Zones
48.14. Zend_Service_Amazon_Ec2: Security Groups
48.14.1. Security Group Maintenance
48.14.2. Authorizing Access
48.14.3. Revoking Access
48.15. Zend_Service_Amazon_S3
48.15.1. Introduction
48.15.2. Registering with Amazon S3
48.15.3. API Documentation
48.15.4. Features
48.15.5. Getting Started
48.15.6. Bucket operations
48.15.7. Object operations
48.15.8. Stream wrapper
48.16. Zend_Service_Amazon_Sqs
48.16.1. Introduction
48.16.2. Registering with Amazon SQS
48.16.3. API Documentation
48.16.4. Features
48.16.5. Getting Started
48.16.6. Queue operations
48.16.7. Message operations
48.17. Zend_Service_Audioscrobbler
48.17.1. Introduction
48.17.2. Users
48.17.3. Artists
48.17.4. Tracks
48.17.5. Tags
48.17.6. Groups
48.17.7. Forums
48.18. Zend_Service_Delicious
48.18.1. Introduction
48.18.2. Retrieving posts
48.18.3. Zend_Service_Delicious_PostList
48.18.4. Editing posts
48.18.5. Deleting posts
48.18.6. Adding new posts
48.18.7. Tags
48.18.8. Bundles
48.18.9. Public data Public posts
48.18.10. HTTP client
48.19. Zend_Service_Flickr
48.19.1. Introduction
48.19.2. Finding Flickr Users' Photos and Information
48.19.3. Finding photos From a Group Pool
48.19.4. Retrieving Flickr Image Details
48.19.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
48.20. Zend_Service_Nirvanix
48.20.1. Introduction
48.20.2. Registering with Nirvanix
48.20.3. API Documentation
48.20.4. Features
48.20.5. Getting Started
48.20.6. Understanding the Proxy
48.20.7. Examining Results
48.20.8. Handling Errors
48.21. Zend_Service_ReCaptcha
48.21.1. Introduction
48.21.2. Simplest use
48.22. Zend_Service_Simpy
48.22.1. Introduction
48.22.2. Links
48.22.3. Tags
48.22.4. Notes
48.22.5. Watchlists
48.23. Introduction
48.23.1. Getting Started with Zend_Service_SlideShare
48.23.2. The SlideShow object
48.23.3. Retrieving a single slide show
48.23.4. Retrieving Groups of Slide Shows
48.23.5. Zend_Service_SlideShare Caching policies
48.23.6. Changing the behavior of the HTTP Client
48.24. Zend_Service_StrikeIron
48.24.1. Overview
48.24.2. Registering with StrikeIron
48.24.3. Getting Started
48.24.4. Making Your First Query
48.24.5. Examining Results
48.24.6. Handling Errors
48.24.7. Checking Your Subscription
48.25. Zend_Service_StrikeIron: Bundled Services
48.25.1. ZIP Code Information
48.25.2. U.S. Address Verification
48.25.3. Sales & Use Tax Basic
48.26. Zend_Service_StrikeIron: Advanced Uses
48.26.1. Using Services by WSDL
48.26.2. Viewing SOAP Transactions
48.27. Zend_Service_Technorati
48.27.1. Introduction
48.27.2. Getting Started
48.27.3. Making Your First Query
48.27.4. Consuming Results
48.27.5. Handling Errors
48.27.6. Checking Your API Key Daily Usage
48.27.7. Available Technorati Queries Technorati Cosmos Technorati Search Technorati Tag Technorati DailyCounts Technorati TopTags Technorati BlogInfo Technorati BlogPostTags Technorati GetInfo Technorati KeyInfo
48.27.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
48.28. Zend_Service_Twitter
48.28.1. Introduction
48.28.2. Authentication
48.28.3. Account Methods
48.28.4. Status Methods
48.28.5. User Methods
48.28.6. Direct Message Methods
48.28.7. Friendship Methods
48.28.8. Favorite Methods
48.28.9. Block Methods
48.28.10. Zend_Service_Twitter_Search Introduction Twitter Trends Searching Twitter Zend-specific Accessor Methods
48.29. Zend_Service_Yahoo
48.29.1. Introduction
48.29.2. Searching the Web with Yahoo!
48.29.3. Finding Images with Yahoo!
48.29.4. Finding videos with Yahoo!
48.29.5. Finding Local Businesses and Services with Yahoo!
48.29.6. Searching Yahoo! News
48.29.7. Searching Yahoo! Site Explorer Inbound Links
48.29.8. Searching Yahoo! Site Explorer's PageData
48.29.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
49. Zend_Session
49.1. Introduction
49.2. Basic Usage
49.2.1. Tutorial Examples
49.2.2. Iterating Over Session Namespaces
49.2.3. Accessors for Session Namespaces
49.3. Advanced Usage
49.3.1. Starting a Session
49.3.2. Locking Session Namespaces
49.3.3. Namespace Expiration
49.3.4. Session Encapsulation and Controllers
49.3.5. Preventing Multiple Instances per Namespace
49.3.6. Working with Arrays
49.3.7. Using Sessions with Objects
49.3.8. Using Sessions with Unit Tests
49.4. Global Session Management
49.4.1. Configuration Options
49.4.2. Error: Headers Already Sent
49.4.3. Session Identifiers Session Hijacking and Fixation
49.4.4. rememberMe(integer $seconds)
49.4.5. forgetMe()
49.4.6. sessionExists()
49.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
49.4.8. stop()
49.4.9. writeClose($readonly = true)
49.4.10. expireSessionCookie()
49.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
49.4.12. namespaceIsset($namespace)
49.4.13. namespaceUnset($namespace)
49.4.14. namespaceGet($namespace)
49.4.15. getIterator()
49.5. Zend_Session_SaveHandler_DbTable
50. Zend_Soap
50.1. Zend_Soap_Server
50.1.1. Zend_Soap_Server constructor Zend_Soap_Server constructor for the WSDL mode Zend_Soap_Server constructor for the non-WSDL mode
50.1.2. Methods to define Web Service API
50.1.3. Request and response objects handling Request processing Response pre-processing
50.2. Zend_Soap_Client
50.2.1. Zend_Soap_Client Constructor
50.2.2. Performing SOAP Requests
50.3. WSDL Accessor
50.3.1. Zend_Soap_Wsdl constructor
50.3.2. addMessage() method
50.3.3. addPortType() method
50.3.4. addPortOperation() method
50.3.5. addBinding() method
50.3.6. addBindingOperation() method
50.3.7. addSoapBinding() method
50.3.8. addSoapOperation() method
50.3.9. addService() method
50.3.10. Type mapping Retrieving type information Adding complex type information
50.3.11. addDocumentation() method
50.3.12. Get finalized WSDL document
50.3.13. Parsing WSDL documents
50.4. AutoDiscovery
50.4.1. AutoDiscovery Introduction
50.4.2. Class autodiscovering
50.4.3. Functions autodiscovering
50.4.4. Autodiscovering Datatypes
50.4.5. WSDL Binding Styles
51. Zend_Tag
51.1. Introduction
51.2. Zend_Tag_Cloud
51.2.1. Decorators HTML Tag decorator HTML Cloud decorator
52. Zend_Test
52.1. Introduction
52.2. Zend_Test_PHPUnit
52.2.1. Bootstrapping your TestCase
52.2.2. Testing your Controllers and MVC Applications
52.2.3. Assertions CSS Selector Assertions XPath Assertions Redirect Assertions Response Header Assertions Request Assertions
52.2.4. Examples
52.3. Zend_Test_PHPUnit_Db
52.3.1. Quickstart Setup a Database TestCase Specify a seed dataset A few initial database tests
52.3.2. Usage, API and Extensions Points The Zend_Test_PHPUnit_DatabaseTestCase class Integrating Database Testing with the ControllerTestCase
52.3.3. Using the Database Testing Adapter
53. Zend_Text
53.1. Zend_Text_Figlet
53.2. Zend_Text_Table
54. Zend_TimeSync
54.1. Introduction
54.1.1. Why Zend_TimeSync ?
54.1.2. What is NTP ?
54.1.3. What is SNTP?
54.1.4. Problematic usage
54.1.5. Decide which server to use
54.2. Working with Zend_TimeSync
54.2.1. Generic Time Server Request
54.2.2. Multiple Time Servers
54.2.3. Protocols of Time Servers
54.2.4. Using Ports for Time Servers
54.2.5. Time Servers Options
54.2.6. Using Different Time Servers
54.2.7. Information from Time Servers
54.2.8. Handling Exceptions
55. Zend_Tool_Framework
55.1. Introduction
55.2. Using the CLI Tool
55.2.1. Setting up the CLI tool
55.2.2. Setting up the CLI tool on Unix-like Systems
55.2.3. Setting up the CLI tool on Windows
55.2.4. Other Setup Considerations
55.2.5. Where To Go Next?
55.3. Architecture
55.3.1. Registry
55.3.2. Providers
55.3.3. Loaders
55.3.4. Manifests
55.3.5. Clients
55.4. Creating Providers to use with Zend_Tool_Framework
55.4.1. How Zend Tool finds your Providers
55.4.2. Basic Instructions for Creating Providers
55.4.3. The response object
55.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
55.5. Shipped System Providers
55.5.1. The Version Provider
55.5.2. The Manifest Provider
55.6. Extending and Configuring Zend_Tool_Framework
55.6.1. Customizing Zend_Tool Console Client The Home Directory Local Storage User Configuration User Configuration File Content
56. Zend_Tool_Project
56.1. Introduction
56.2. Create A Project
56.3. Zend Tool Project Providers
57. Zend_Translate
57.1. Introduction
57.1.1. Starting multi-lingual
57.2. Adapters for Zend_Translate
57.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
57.2.2. Integrate self written Adapters
57.2.3. Speedup all Adapters
57.3. Using Translation Adapters
57.3.1. Translation Source Structures
57.4. Creating source files
57.4.1. Creating Array source files
57.4.2. Creating Gettext source files
57.4.3. Creating TMX source files
57.4.4. Creating CSV source files
57.4.5. Creating INI source files
57.5. Additional features for translation
57.5.1. Options for adapters
57.5.2. Handling languages Automatical handling of languages
57.5.3. Automatic source detection Language through naming directories Language through filenames Complete filename Extension of the file Filename tokens
57.5.4. Checking for translations
57.5.5. How to log not found translations
57.5.6. Accessing source data
57.6. Plural notations for Translation
57.6.1. Traditional plural translations
57.6.2. Modern plural translations
57.6.3. Plural source files Array source with plural definitions Csv source with plural definitions Gettext source with plural definitions
57.7. Migrating from previous versions
57.7.1. Migrating from 1.6 to 1.7 or newer Setting languages
58. Zend_Uri
58.1. Zend_Uri
58.1.1. Overview
58.1.2. Creating a New URI
58.1.3. Manipulating an Existing URI
58.1.4. URI Validation Allowing "Unwise" characters in URIs
58.1.5. Common Instance Methods Getting the Scheme of the URI Getting the Entire URI Validating the URI
59. Zend_Validate
59.1. Introduction
59.1.1. What is a validator?
59.1.2. Basic usage of validators
59.1.3. Customizing messages
59.1.4. Using the static is() method Namespaces
59.1.5. Translating messages
59.2. Standard Validation Classes
59.2.1. Alnum
59.2.2. Alpha
59.2.3. Barcode
59.2.4. Between
59.2.5. Ccnum
59.2.6. Date
59.2.7. Db_RecordExists and Db_NoRecordExists Basic usage Excluding records Database Adapters Database Schemas
59.2.8. Digits
59.2.9. EmailAddress
59.2.10. Float
59.2.11. GreaterThan
59.2.12. Hex
59.2.13. Hostname
59.2.14. Iban
59.2.15. Identical
59.2.16. InArray
59.2.17. Int
59.2.18. Ip
59.2.19. LessThan
59.2.20. NotEmpty
59.2.21. Regex
59.2.22. Sitemap Validators Sitemap_Changefreq Sitemap_Lastmod Sitemap_Loc Sitemap_Priority
59.2.23. StringLength
59.3. Validator Chains
59.4. Writing Validators
59.5. Validation Messages
59.5.1. Limit the size of a validation message
60. Zend_Version
60.1. Getting the Zend Framework Version
61. Zend_View
61.1. Introduction
61.1.1. Controller Script
61.1.2. View Script
61.1.3. Options
61.1.4. Short Tags with View Scripts
61.1.5. Utility Accessors
61.2. Controller Scripts
61.2.1. Assigning Variables
61.2.2. Rendering a View Script
61.2.3. View Script Paths
61.3. View Scripts
61.3.1. Escaping Output
61.3.2. Using Alternate Template Systems Template Systems Using View Scripts Template Systems Using Zend_View_Interface
61.4. View Helpers
61.4.1. Initial Helpers Action View Helper BaseUrl Helper Cycle Helper Partial Helper Placeholder Helper Concrete Placeholder Implementations Doctype Helper 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 Translate Helper
61.4.2. Helper Paths
61.4.3. Writing Custom Helpers
61.5. Zend_View_Abstract
61.6. Migrating from Previous Versions
61.6.1. Migrating from versions prior to 1.7.5 Disabling LFI protection for the render() method
62. Zend_Wildfire
62.1. Zend_Wildfire
63. Zend_XmlRpc
63.1. Introduction
63.2. Zend_XmlRpc_Client
63.2.1. Introduction
63.2.2. Method Calls
63.2.3. Types and Conversions PHP Native Types as Parameters Zend_XmlRpc_Value Objects as Parameters
63.2.4. Server Proxy Object
63.2.5. Error Handling HTTP Errors XML-RPC Faults
63.2.6. Server Introspection
63.2.7. From Request to Response
63.2.8. HTTP Client and Testing
63.3. Zend_XmlRpc_Server
63.3.1. Introduction
63.3.2. Basic Usage
63.3.3. Server Structure
63.3.4. Conventions
63.3.5. Utilizing Namespaces
63.3.6. Custom Request Objects
63.3.7. Custom Responses
63.3.8. Handling Exceptions via Faults
63.3.9. Caching Server Definitions Between Requests
63.3.10. Usage Examples Basic Usage Attaching a class Attaching several classes using namespaces Specifying exceptions to use as valid fault responses Utilizing a custom request object Utilizing a custom response object Cache server definitions between requests
64. ZendX_Console_Process_Unix
64.1. ZendX_Console_Process_Unix
64.1.1. Introduction
64.1.2. Basic usage of ZendX_Console_Process_Unix
65. ZendX_JQuery
65.1. Introduction
65.2. ZendX_JQuery View Helpers
65.2.1. jQuery() View Helper jQuery NoConflict Mode jQuery UI Themes Methods Available jQuery Core Library methods jQuery UI Library methods jQuery Helper Utility methods Refactoring jQuery environment with setRenderMode() Migrations
65.2.2. JQuery Helpers AjaxLink Helper Shortcut Effects jQuery UI Library Helpers jQuery UI Form Helpers Using an Action Helper to Send Data to AutoComplete jQuery UI Layout Helpers
65.3. ZendX_JQuery Form Elements and Decorators
65.3.1. General Elements and Decorator Usage
65.3.2. Form Elements
65.3.3. Form Decorators
A. Zend Framework Requirements
A.1. Introduction
A.1.1. PHP Version
A.1.2. PHP Extensions
A.1.3. Zend Framework Components
A.1.4. Zend Framework Dependencies
B. Zend Framework Coding Standard for PHP
B.1. Overview
B.1.1. Scope
B.1.2. Goals
B.2. PHP File Formatting
B.2.1. General
B.2.2. Indentation
B.2.3. Maximum Line Length
B.2.4. Line Termination
B.3. Naming Conventions
B.3.1. Classes
B.3.2. Abstract Classes
B.3.3. Interfaces
B.3.4. Filenames
B.3.5. Functions and Methods
B.3.6. Variables
B.3.7. Constants
B.4. Coding Style
B.4.1. PHP Code Demarcation
B.4.2. Strings
B.4.2.1. String Literals
B.4.2.2. String Literals Containing Apostrophes
B.4.2.3. Variable Substitution
B.4.2.4. String Concatenation
B.4.3. Arrays
B.4.3.1. Numerically Indexed Arrays
B.4.3.2. Associative Arrays
B.4.4. Classes
B.4.4.1. Class Declaration
B.4.4.2. Class Member Variables
B.4.5. Functions and Methods
B.4.5.1. Function and Method Declaration
B.4.5.2. Function and Method Usage
B.4.6. Control Statements
B.4.6.1. If/Else/Elseif
B.4.6.2. Switch
B.4.7. Inline Documentation
B.4.7.1. Documentation Format
B.4.7.2. Files
B.4.7.3. Classes
B.4.7.4. Functions
C. Zend Framework Documentation Standard
C.1. Overview
C.1.1. Scope
C.2. Documentation File Formatting
C.2.1. XML Tags
C.2.2. Maximum Line Length
C.2.3. Indentation
C.2.4. Line Termination
C.2.5. Empty tags
C.2.6. Usage of whitespace within documents
C.2.6.1. Whitespace within tags
C.2.6.2. Multiple line breaks
C.2.6.3. Separation between tags
C.2.7. Program Listings
C.2.8. Notes on specific inline tags
C.2.8.1. classname
C.2.8.2. varname
C.2.8.3. methodname
C.2.8.4. constant
C.2.8.5. filename
C.2.8.6. command
C.2.8.7. code
C.2.9. Notes on specific block tags
C.2.9.1. title
C.3. Recommendations
C.3.1. Use editors without autoformatting
C.3.2. Use Images
C.3.3. Use Case Examples
C.3.4. Avoid Replicating phpdoc Contents
C.3.5. Use Links
D. Recommended Project Structure for Zend Framework MVC Applications
D.1. Overview
D.2. Recommended Project Directory Structure
D.3. Module Structure
D.4. Rewrite Configuration Guide
D.4.1. Apache HTTP Server
D.4.1.1. Rewriting inside a VirtualHost
D.4.1.2. Rewriting within a .htaccess file
D.4.2. Microsoft Internet Information Server
E. Zend Framework Performance Guide
E.1. Introduction
E.2. Class Loading
E.2.1. How can I optimize my include_path?
E.2.1.1. Use absolute paths
E.2.1.2. Reduce the number of include paths you define
E.2.1.3. Define your Zend Framework include_path as early as possible
E.2.1.4. Define the current directory last, or not at all
E.2.2. How can I eliminate unnecessary require_once statements?
E.2.2.1. Strip require_once calls with find and sed
E.2.3. How can I speed up plugin loading?
E.2.3.1. Use the PluginLoader include file cache
E.3. Zend_Db Performance
E.3.1. How can I reduce overhead introduced by Zend_Db_Table for retrieving table metadata?
E.3.1.1. Use the metadata cache
E.3.1.2. Hardcode your metadata in the table definition
E.3.2. SQL generated with Zend_Db_Select s not hitting my indexes; how can I make it better?
E.3.2.1. Write your own tuned SQL
E.4. Internationalization (i18n) and Localization (l10n)
E.4.1. Which translation adapter should I use?
E.4.1.1. Use non-XML translation adapters for greatest speed
E.4.2. How can I make translation and localization even faster?
E.4.2.1. Use translation and localization caches
E.5. View Rendering
E.5.1. How can I speed up resolution of view helpers?
E.5.1.1. Use the PluginLoader include file cache
E.5.1.2. Extend Zend_View to provide often used helper methods
E.5.2. How can I speed up view partials?
E.5.2.1. Use partial() only when really necessary
E.5.3. How can I speed up calls to the action() view helper?
E.5.3.1. Use the ActionStack when possible
E.5.3.2. Favor helpers that query the model over action()
F. Copyright Information

List of Tables

2.1. Access Controls for an Example CMS
4.1. Zend_Application options
4.2. Zend_Application Methods
4.3. Zend_Application_Bootstrap_Bootstrapper Interface
4.4. Zend_Application_Bootstrap_ResourceBootstrapper Interface
4.5. Zend_Application_Bootstrap_BootstrapAbstract Methods
4.6. Zend_Application_Resource_Resource Interface
4.7. Zend_Application_Resource_ResourceAbstract Methods
5.1. Configuration Options
5.2. Server Options
5.3. Debugging Messages
5.4. Options for Active Directory
5.5. Options for OpenLDAP
6.1. Core Frontend Options
6.2. Function Frontend Options
6.3. Class Frontend Options
6.4. File Frontend Options
6.5. Page Frontend Options
6.6. File Backend Options
6.7. Sqlite Backend Options
6.8. Memcached Backend Options
6.9. Xcache Backend Options
6.10. TwoLevels Backend Options
9.1. Zend_Config_Ini Constructor Parameters
12.1. Zend_Rest_Route Behavior
13.1. Constants for the selecting the currency description
13.2. Constants for the selecting the position of the currency description
14.1. Date Parts
14.2. Basic Operations
14.3. Date Comparison Methods
14.4. Date Output Methods
14.5. Date Output Methods
14.6. Miscellaneous Methods
14.7. Operations Involving Zend_Date::HOUR
14.8. Day Constants
14.9. Week Constants
14.10. Month Constants
14.11. Year Constants
14.12. Time Constants
14.13. Timezone Constants
14.14. Date Format Constants (formats include timezone)
14.15. Date and Time Formats (format varies by locale)
14.16. Constants for ISO 8601 Date Output
14.17. Constants for PHP Date Output
14.18. Types of Supported Horizons for Sunset and Sunrise
15.1. Metadata Fields Returned by describeTable()
15.2. Constants used by getPart() and reset()
20.1. Feed Level API Methods
20.2. Extended Feed Level API Methods
20.3. Entry Level API Methods
20.4. Extended Entry Level API Methods
20.5. Core Extensions (pre-registered)
20.6. Non-Core Extensions (must register manually)
21.1. Different notations of the rename filter and their meaning
24.1. Metadata used in the code-sample below
25.1. Zend_Http_Client configuration parameters
25.2. Zend_Http_Client_Adapter_Socket configuration parameters
25.3. Zend_Http_Client configuration parameters
29.1. Options for accountCanonicalForm
29.2. Zend_Ldap Options
29.3. Zend_Ldap API
29.4. Zend_Ldap_Collection API
29.5. Zend_Ldap_Attribute API
29.6. Zend_Ldap_Dn API
29.7. Zend_Ldap_Filter API
29.8. Zend_Ldap_Node API
29.9. Zend_Ldap_Node_RootDse API
29.10. Zend_Ldap_Node_RootDse_OpenLdap API
29.11. Zend_Ldap_Node_RootDse_ActiveDirectory API
29.12. Zend_Ldap_Node_RootDse_eDirectory API
29.13. Zend_Ldap_Node_Schema API
29.14. Zend_Ldap_Node_Schema_AttributeType_Interface API
29.15. Zend_Ldap_Node_Schema_ObjectClass_Interface API
29.16. Zend_Ldap_Node_Schema_Item API
29.17. Zend_Ldap_Node_Schema_OpenLDAP API
29.18. Zend_Ldap_Node_Schema_AttributeType_OpenLDAP API
29.19. Zend_Ldap_Node_Schema_ObjectClass_OpenLDAP API
29.20. Zend_Ldap_Node_Schema_AttributeType_ActiveDirectory API
29.21. Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory API
29.22. Zend_Ldif_Encoder API
30.1. Zend_Loader_Autoloader Methods
31.1. Details for getTranslationList($type = null, $locale = null, $value = null)
31.2. Details for getTranslation($value = null, $type = null, $locale = null)
31.3. Differences between Zend Framework 1.0 and 1.5
31.4. Format tokens for self generated number formats
31.5. Key values for getDate() with option 'fix_date'
31.6. Return values
31.7. Format definition
31.8. Example formats
31.9. List of all supported languages
31.10. List of measurement types
32.1. Firebug Logging Styles
33.1. Mail Read Feature Overview
33.2. Mail Folder Names
34.1. List of measurement types
37.1. Common page options
37.2. MVC page options
37.3. URI page options
39.1. Adapters for Zend_Paginator
39.2. Scrolling styles for Zend_Paginator
39.3. Properties available to view partials
39.4. Configuration methods for Zend_Paginator
46.1. Zend_Search_Lucene_Field Types
48.1. Zend_Service_Amazon_Item Properties
48.2. Zend_Service_Amazon_Image Properties
48.3. Zend_Service_Amazon_OfferSet Properties
48.4. Properties
48.5. Zend_Service_Amazon_SimilarProduct Properties
48.6. Zend_Service_Amazon_Accessories Properties
48.7. Zend_Service_Amazon_CustomerReview Properties
48.8. Zend_Service_Amazon_EditorialReview Properties
48.9. Zend_Service_Amazon_Listmania Properties
48.10. Available Instance Types
48.11. Valid Run Options
48.12. Launch permissions fall into three categories
48.13. Valid Attributes
48.14. Methods for retrieving public data
48.15. Methods of the Zend_Service_Delicious_SimplePost class
48.16. Zend_Service_Flickr_ResultSet Properties
48.17. Zend_Service_Flickr_Result Properties
48.18. Zend_Service_Flickr_Image Properties
48.19. Zend_Service_Yahoo_ResultSet
48.20. Zend_Service_Yahoo_LocalResultSet Properties
48.21. Zend_Service_Yahoo_Result Properties
48.22. Zend_Service_Yahoo_WebResult Properties
48.23. Zend_Service_Yahoo_ImageResult Properties
48.24. Zend_Service_Yahoo_VideoResult Properties
48.25. Zend_Service_Yahoo_LocalResult Properties
48.26. Zend_Service_Yahoo_NewsResult Properties
48.27. Zend_Service_Yahoo_Image Properties
52.1. Zend_Test_PHPUnit_DatabaseTestCase API Methods
56.1. Project Provider Options
56.2. Project Provider Options
57.1. Adapters for Zend_Translate
57.2. Options for translation adapters
57.3. Plural support
59.1. Available Validation Messages
61.1. Sitemap XML elements
63.1. PHP and XML-RPC Type Conversions
63.2. Zend_XmlRpc_Value Objects for XML-RPC Types
65.1. AjaxLink options
A.1. PHP Extensions Used in Zend Framework by Component
A.2. Zend Framework Components and the PHP Extensions they use
A.3. Zend Framework Components and their dependency to other Zend Framework Components

List of Examples

2.1. Multiple Inheritance among Roles
3.1. Basic AMF Server
3.2. Adding Message Headers to the AMF Response
4.1. Sample DB adapter resource configuration
4.2. Sample Front Controller resource configuration
4.3. Retrieving the Front Controller in your bootstrap
4.4. Configuring Modules
4.5. Retrieving a specific module bootstrap
4.6. Sample Navigation resource configuration
4.7. Sample Session resource configuration
4.8. Sample View resource configuration
5.1. Modifying the Session Namespace
5.2. Using a Custom Storage Class
5.3. Basic Usage
6.1. Getting a Frontend with Zend_Cache::factory()
6.2. Caching a Database Query Result
6.3. Caching Output with Zend_Cache Output Frontend
8.1. Generating PHP classes
8.2. Generating PHP classes with class properties
8.3. Generating PHP classes with class methods
8.4. Generating PHP files
8.5. Seeding PHP file code generation via reflection
8.6. Seeding PHP class generation via reflection
9.1. Using Zend_Config
9.2. Using Zend_Config with a PHP Configuration File
9.3. Using Zend_Config_Ini
9.4. Using Zend_Config_Xml
9.5. Using Tag Attributes in Zend_Config_Xml
10.1. Using Zend_Config_Writer
10.2. Modifying an Existing Config
11.1. Using the Short Syntax
11.2. Using the Long Syntax
11.3. Catching Getopt Exceptions
11.4. Using getOption()
11.5. Using __get() and __isset() Magic Methods
11.6. Using getRemainingArgs()
11.7. Using addRules()
11.8. Using setHelp()
11.9. Using setAliases()
11.10. Using addArguments() and setArguments()
11.11. Using setOption()
11.12. Using setOptions()
12.1. Handling Non-Existent Actions
12.2. Adding a Task Using Action, Controller and Module Names
12.3. Adding a Task Using a Request Object
12.4. AutoCompletion with Dojo Using Zend MVC
12.5. Allowing Actions to Respond To Ajax Requests
12.6. Setting Options
12.7. Using Defaults
12.8. Using goto()'s _forward() API
12.9. Using Route Assembly with gotoRoute()
12.10. Basic Usage
12.11. Disabling Autorender
12.12. Choosing a Different View Script
12.13. Modifying the Registered View
12.14. Changing the Path Specifications
12.15. Rendering Multiple View Scripts from a Single Action
12.16. Standard Usage
12.17. Setting a Different Error Handler
12.18. Using Accessors
13.1. Creating an Instance of Zend_Currency from the Locale
13.2. Other Ways to Create Instances of Zend_Currency
13.3. Creating an Output String for a Currency
13.4. Changing the displayed format of a currency
13.5. Getting Information about Currencies
13.6. Setting a New Locale
13.7. Caching currencies
14.1. Setting a Default Timezone
14.2. Creating the Current Date
14.3. get() - Output a Date
14.4. set() - Set a Date
14.5. add() - Adding Dates
14.6. compare() - Compare Dates
14.7. equals() - Identify a Date or Date Part
14.8. User-Specified Input Date Format
14.9. Operating on Parts of Dates
14.10. Date Creation by Instance
14.11. Static Date Creation
14.12. Quick Creation of Dates from Database Date Values
14.13. Convenient Creation of Dates from Database Date Values
14.14. Date Creation by Array
14.15. Self-Defined ISO Formats
14.16. Self-Defined Formats with PHP Specifier
14.17. Checking Dates
14.18. Getting all Available Cities
14.19. Getting the Location for a City
14.20. Calculating Sun Information
14.21. Working with Time Zones
14.22. Multiple Time Zones
15.1. Using an Adapter Constructor
15.2. Using the Adapter Factory Method
15.3. Using the Adapter Factory Method for a Custom Adapter Class
15.4. Using the Adapter Factory Method with a Zend_Config Object
15.5. Passing the Case-Folding Option to the Factory
15.6. Passing the Auto-Quoting Option to the Factory
15.7. Passing PDO Driver Options to the Factory
15.8. Passing Serialization Options to the Factory
15.9. Handling Connection Exceptions
15.10. Using fetchAll()
15.11. Using setFetchMode()
15.12. Using fetchAssoc()
15.13. Using fetchCol()
15.14. Using fetchPairs()
15.15. Using fetchRow()
15.16. Using fetchOne()
15.17. Inserting in a Table
15.18. Inserting Expressions in a Table
15.19. Using lastInsertId() for an Auto-Increment Key
15.20. Using lastInsertId() for a Sequence
15.21. Using lastSequenceId()
15.22. Updating Rows
15.23. Updating Rows Using an Array of Expressions
15.24. Updating Rows Using an Array of Arrays
15.25. Deleting Rows
15.26. Using quote()
15.27. Using quote() with a SQL Type
15.28. Using quoteInto()
15.29. Using quoteInto() with a SQL Type
15.30. Using quoteIdentifier()
15.31. Managing a Transaction to Ensure Consistency
15.32. Closing a Database Connection
15.33. Using the Persitence Flag with the Oracle Adapter
15.34. Running a Non-Prepared Statement in a PDO Adapter
15.35. Verifying server version before running a query
15.36. Creating a SQL statement object with query()
15.37. Using a SQL statement constructor
15.38. Executing a statement with positional parameters
15.39. Executing a statement with named parameters
15.40. Using fetch() in a loop
15.41. Using fetchAll()
15.42. Setting the fetch mode
15.43. Using fetchColumn()
15.44. Using fetchObject()
15.45. DB Profiling with Zend_Controller_Front
15.46. DB Profiling without Zend_Controller_Front
15.47. Example of the database adapter's select() method
15.48. Example of creating a new Select object
15.49. Example of the using methods to add clauses
15.50. Example of the using the fluent interface
15.51. Example of the from() method
15.52. Example of specifying a table correlation name
15.53. Example of specifying a schema name
15.54. Examples of specifying columns
15.55. Examples of specifying columns containing expressions
15.56. Examples of quoting columns in an expression
15.57. Examples of adding columns with the columns() method
15.58. Example of the join() method
15.59. Example of specifying no columns
15.60. Example of the joinUsing() method
15.61. Example of the where() method
15.62. Example of a parameter in the where() method
15.63. Example of an array parameter in the where() method
15.64. Example of multiple where() methods
15.65. Example of the orWhere() method
15.66. Example of parenthesizing Boolean expressions
15.67. Example of the group() method
15.68. Example of the having() method
15.69. Example of the order() method
15.70. Example of the limit() method
15.71. Example of the limitPage() method
15.72. Example of the distinct() method
15.73. Example of forUpdate() method
15.74. Example using the Db adapter's query() method
15.75. Example using the Select object's query method
15.76. Example of the __toString() method
15.77. Example of the getPart() method
15.78. Example of the reset() method
15.79. Declaring a table class with just the string name
15.80. Declaring a table class with explicit table name
15.81. Declaring a table class with implicit table name
15.82. Declaring a table class with schema
15.83. Declaring table and schema names upon instantiation
15.84. Example of specifying the primary key
15.85. Example of overriding the _setupTableName() method
15.86. Example usage of init() method
15.87. Example of constructing a Table using an Adapter object
15.88. Example of constructing a Table using a the Default Adapter
15.89. Example of constructing a Table using a Registry key
15.90. Example of inserting to a Table
15.91. Example of inserting expressions to a Table
15.92. Example of declaring a Table with auto-incrementing primary key
15.93. Example of declaring a Table with a sequence
15.94. Example of declaring a Table with a natural key
15.95. Example of updating rows in a Table
15.96. Example of deleting rows from a Table
15.97. Example of finding rows by primary key values
15.98. Example of finding rows by compound primary key values
15.99. Simple usage
15.100. Example of fluent interface
15.101. Example of finding rows by an expression
15.102. Example of finding rows by an expression
15.103. Retrieving specific columns
15.104. Retrieving expressions as columns
15.105. Using a lookup table to refine the results of fetchAll()
15.106. Removing the integrity check on Zend_Db_Table_Select to allow JOINed rows
15.107. Example of finding a single row by an expression
15.108. Example of getting the table name
15.109. Using a Default Metadata Cache for all Table Objects
15.110. Using a Metadata Cache for a Specific Table Object
15.111. Example of specifying the Row and Rowset classes
15.112. Example of changing the Row and Rowset classes
15.113. Custom logic to manage timestamps
15.114. Custom method to find bugs by status
15.115. Example of an abstract table class that implements inflection
15.116. Example of fetching a row
15.117. Example of reading a row in a rowset
15.118. Example of reading a column in a row
15.119. Example of using the toArray() method
15.120. Example of changing a column in a row
15.121. Example of creating a new row for a table
15.122. Example of populating a new row for a table
15.123. Example of using setFromArray() to set values in a new Row
15.124. Example of deleting a row
15.125. Example of serializing a row
15.126. Example of unserializing a serialized row
15.127. Example of reactivating a row
15.128. Specifying a custom Row class
15.129. Example usage of init() method
15.130. Example of custom logic in a Row class
15.131. Example of a Row class that logs insert data for multiple tables
15.132. Example of defining an inflection transformation
15.133. Example of fetching a rowset
15.134. Counting the Rows in a Rowset
15.135. Reading a Single Row from a Rowset
15.136. Iterating through a Rowset
15.137. Seeking to a known position into a Rowset
15.138. Using toArray()
15.139. Serializing a Rowset
15.140. Unserializing a Serialized Rowset
15.141. Reactivating a Rowset as Live Data
15.142. Specifying a custom Rowset class
15.143. Example of Rowset class with a new method
15.144. Fetching a Dependent Rowset
15.145. Fetching a Dependent Rowset By a Specific Rule
15.146. Fetching a Dependent Rowset using a Zend_Db_Table_Select
15.147. Fetching Dependent Rowsets using the Magic Method
15.148. Fetching the Parent Row
15.149. Fetching a Parent Row By a Specific Rule
15.150. Fetching the Parent Row using the Magic Method
15.151. Fetching a Rowset with the Many-to-many Method
15.152. Fetching a Rowset with the Many-to-many Method By a Specific Rule
15.153. Fetching Rowsets using the Magic Many-to-many Method
15.154. Example of a Cascading Delete
15.155. Example Declaration of Cascading Operations
15.156. Describing the Definition of a Database Data Model
15.157. Interacting with the described definition
15.158. Interacting A Mixed Use Zend_Db_Table Definition
16.1. Example of dump() method
17.1. Zend_Dojo_Data initialization via constructor
17.2. Zend_Dojo_Data initialization via mutators
17.3. Appending data to Zend_Dojo_Data
17.4. Specifying a label field in Zend_Dojo_Data
17.5. Populating Zend_Dojo_Data from JSON
17.6. Using Dojo View Helpers
17.7. dojo() View Helper Usage Example
17.8. Specifying Declarative and Programmatic Dojo Usage
17.9. Registering the Dojo View Helper Prefix Path
17.10. BorderContainer layout dijit example
17.11. Using CustomDijit to render a dojox.layout.ContentPane
17.12. Enabling Dojo in your existing forms
17.13. DijitElement Decorator Usage
17.14. DijitContainer Decorator Usage
17.15. Example Button dijit element usage
17.16. Example CheckBox dijit element usage
17.17. ComboBox dijit element usage as select input
17.18. ComboBox dijit element usage with datastore
17.19. Example CurrencyTextBox dijit element usage
17.20. Example DateTextBox dijit element usage
17.21. Example Editor dijit element usage
17.22. Example HorizontalSlider dijit element usage
17.23. Example NumberSpinner dijit element usage
17.24. Example NumberTextBox dijit element usage
17.25. Example PasswordTextBox dijit element usage
17.26. Example RadioButton dijit element usage
17.27. Example SimpleTextarea dijit element usage
17.28. Example SubmitButton dijit element usage
17.29. Example TextBox dijit element usage
17.30. Example Textarea dijit element usage
17.31. Example TimeTextBox dijit element usage
17.32. Example ValidationTextBox dijit element usage
17.33. Example VerticalSlider dijit element usage
17.34. Using Zend_Dojo_Form
17.35. Modifying an existing form to utilize Dojo
19.1. Catching an Exception
20.1. Putting Zend_Feed to Work on RSS Feed Data
20.2. Basic Use of an Atom Feed
20.3. Reading a Single-Entry Atom Feed
20.4. Using the Entry Object Directly for a Single-Entry Atom Feed
20.5. Modifying an Existing Feed Entry
20.6. Creating an Atom Entry with Elements of Custom Namespaces
20.7. Extending the Atom Entry Class with Custom Namespaces
21.1. Simple Form for Uploading Files
21.2. Checking Files
21.3. Getting the Filename
21.4. Getting the size of a file
21.5. Getting the hash of a file
21.6. Getting the mimetype of a file
21.7. Using the progressbar adapter to retrieve the actual state
21.8. Manual usage of the file progress
21.9. Add Validators to a File Transfer Object
21.10. Limit Validators to Single Files
21.11. Add Multiple Validators
21.12. Validate the Files
21.13. Using the Count Validator
21.14. Using the Crc32 Validator
21.15. Using the ExcludeExtension Validator
21.16. Using the ExcludeMimeType Validator
21.17. Using the Exists Validator
21.18. Using the Extension Validator
21.19. Using the FilesSize Validator
21.20. Using the ImageSize Validator
21.21. Using the IsCompressed Validator
21.22. Using the IsImage Validator
21.23. Using the Hash Validator
21.24. Using the Md5 Validator
21.25. Using the MimeType Validator
21.26. Using the NotExists Validator
21.27. Using the sha1 Validator
21.28. Using the Size Validator
21.29. Using the WordCount Validator
21.30. Add filters to a file transfer
21.31. Limit filters to single files
21.32. Add multiple filters
21.33. Using the Decrypt filter with Mcrypt
21.34. Using the Decrypt filter with OpenSSL
21.35. Using the Encrypt filter with Mcrypt
21.36. Using the Encrypt filter with OpenSSL
21.37. Using the LowerCase filter
21.38. Using the Rename filter
21.39. Using the UpperCase filter
21.40. Changes for the rename filter from 1.6 to 1.7
21.41. Changes for the count validator from 1.6 to 1.7
21.42. Changes for the extension validator from 1.6 to 1.7
21.43. Changes for the filessize validator from 1.6 to 1.7
21.44. Changes for the hash validator from 1.6 to 1.7
21.45. Changes for the imagesize validator from 1.6 to 1.7
21.46. Changes for the size validator from 1.6 to 1.7
21.47. How to change your file validators from 1.6.1 to 1.6.2
22.1. Transforming MixedCase and camelCaseText to another format
22.2. Setting Multiple Rules at Once
22.3. Using Zend_Config with Zend_Filter_Inflector
23.1. Custom Label
23.2. Setting Prefix Paths for All Elements
23.3. Setting Decorators for All Elements
23.4. Setting Decorators for Some Elements
23.5. Setting Filters for All Elements
23.6. Setting Decorator Prefix Path for All Display Groups
23.7. Setting Decorators for All Display Groups
23.8. File form element usage
23.9. Explicit file retrievement
23.10. Checking if an optional file has been uploaded
23.11. Setting multiple files
23.12. Registration Form Example
24.1. Passing a Developer Key and ClientID to Zend_Gdata_YouTube
24.2. Searching for videos
24.3. Searching for videos in specific categories
24.4. Retrieving a standard video feed
24.5. Using a Zend_Gdata_YouTube_VideoQuery to Retrieve Videos
24.6. Retrieving a video feed by URL
24.7. Retrieving videos uploaded by a specific user
24.8. Retrieving a user's favorite videos
24.9. Retrieving a feed of video responses
24.10. Retrieving a feed of video comments from a video ID
24.11. Retrieving a Feed of Video Comments from a Zend_Gdata_YouTube_VideoEntry
24.12. Retrieving the playlists of a user
24.13. Retrieving a specific playlist
24.14. Retrieving all subscriptions for a user
24.15. Retrieving a user's profile
24.16. Uploading a video
24.17. Browser-based upload
24.18. Browser-based upload: Creating the HTML form
24.19. Checking video upload status
25.1. Instantiating a Zend_Http_Client Object
25.2. Performing a Simple GET Request
25.3. Using Request Methods Other Than GET
25.4. Setting GET Parameters
25.5. Setting POST Parameters
25.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
25.7. Setting Cookies Using setCookie()
25.8. Enabling Cookie Stickiness
25.9. Setting A Single Custom Request Header
25.10. Setting Multiple Custom Request Headers
25.11. Using setFileUpload to Upload Files
25.12. Sending Raw POST Data
25.13. Setting HTTP Authentication User and Password
25.14. Performing consecutive requests with one client
25.15. Changing the HTTPS transport layer
25.16. Setting stream context options for the Socket adapter
25.17. Using Zend_Http_Client behind a proxy server
25.18. Setting cURL options
25.19. Transfering Files by Handle
25.20. Testing Against a Single HTTP Response Stub
25.21. Testing Against Multiple HTTP Response Stubs
25.22. Creating your own connection adapter
25.23. Internal storage of uploaded file information
25.24. Instantiating a Zend_Http_Cookie object
25.25. Stringifying a Zend_Http_Cookie object
25.26. Using getter methods with Zend_Http_Cookie
25.27. Matching cookies
25.28. Instantiating a Zend_Http_Response Object Using the Factory Method
25.29. Using the isError() method to validate a response
25.30. Using Zend_Http_Response Accessor Methods
25.31. Accessing Response Headers
27.1. Zend_Json_Server Usage
28.1. Passing options to the constructor or startMvc()
28.2. Using setOption() and setConfig()
28.3. Using Accessors
28.4. Using Zend_Layout accessors to modify the inflector
28.5. Direct modification of Zend_Layout inflector
28.6. Custom inflectors
29.1. Getting an entry by its DN
29.2. Check for the existence of a given DN
29.3. Count children of a given DN
29.4. Searching the LDAP tree
29.5. Add a new entry to the LDAP
29.6. Delete an existing entry from the LDAP
29.7. Update an existing entry on the LDAP
29.8. Copy a LDAP entry recursively with all its descendants
29.9. Move a LDAP entry recursively with all its descendants to a different subtree
29.10. Create simple LDAP filters
29.11. Create more complex LDAP filters
29.12. Traverse LDAP tree recursively
29.13. Getting hands on the RootDSE
29.14. Getting hands on the server schema
30.1. Example of the loadFile() Method
30.2. Example of the loadClass() Method
30.3. Example of isReadable() method
30.4. Example of registering the autoloader callback method
30.5. Example of registering the autoload callback method from an extended class
30.6. Using the PluginLoader class file include cache
31.1. Choosing a specific locale
31.2. Automatically selecting a locale
31.3. Using automatic locales
31.4. Handling locale exceptions
31.5. Setting a default locale
31.6. Dates default to correct locale of web users
31.7. Overriding default locale selection
31.8. Performance optimization when using a default locale
31.9. Usage of an application wide locale
31.10. Dates default to correct locale of web users
31.11. Using STANDARD definitions for setOptions()
31.12. clone
31.13. Check for equal locales
31.14. Get default locales
31.15. setLocale
31.16. getLanguage and getRegion
31.17. getTranslationList
31.18. getTranslationList
31.19. Converting country name in one language to another
31.20. All Languages written in their native language
31.21. getQuestion()
31.22. getLocaleList()
31.23. Simple locale detection
31.24. Strict locale detection
31.25. Implement locale aware behaviour
31.26. Locale aware behaviour as with Zend Framework 1.8
31.27. Number normalization
31.28. Number normalization with precision
31.29. Number localization
31.30. Number localization with precision
31.31. Using a self defined number format
31.32. Number testing
31.33. Floating point value normalization
31.34. Floating point value localization
31.35. Floating point value testing
31.36. Integer value normalization
31.37. Integer value localization
31.38. Integer value testing
31.39. Converting numerals from Eastern Arabic scripts to European/Latin scripts
31.40. Converting numerals from Latin script to Eastern Arabic script
31.41. Getting 4 letter CLDR script code using a native-language name of the script
31.42. Normalizing a date
31.43. Normalizing a date by locale
31.44. Normalizing a date with time
31.45. Normalizing a userdefined date
31.46. Automatic correction of input dates
31.47. Date testing
31.48. Normalize an unknown time
31.49. Testing a time
31.50. Disabling default caching
31.51. How to change isLocale() from 1.6 to 1.7
31.52. How to change getDefault() from 1.6 to 1.7
32.1. Logging with Zend_Controller_Front
32.2. Logging without Zend_Controller_Front
33.1. Simple E-Mail with Zend_Mail
33.2. Passing additional parameters to the Zend_Mail_Transport_Sendmail transport
33.3. Sending E-Mail via SMTP
33.4. Sending Multiple Mails per SMTP Connection
33.5. Manually controlling the transport connection
33.6. Using Different Transports
33.7. Sending HTML E-Mail
33.8. E-Mail Messages with Attachments
33.9. Changing the MIME Boundary
33.10. Adding E-Mail Message Headers
33.11. Enabling authentication within Zend_Mail_Transport_Smtp
33.12. Enabling a secure connection within Zend_Mail_Transport_Smtp
34.1. Converting measurements
34.2. The meter measurement
34.3. Creation using integer and floating values
34.4. Creation using strings
34.5. Arbitrary text input containing measurements
34.6. Localized string
34.7. Automatic output
34.8. Output a value
34.9. Outputting units
34.10. Convert
34.11. Adding units
34.12. Subtract
34.13. Different measurements
34.14. Identical measurements
34.15. Difference
34.16. Changing a value
34.17. Changing the type
35.1. Using Zend_Memory component
37.1. Custom page properties
37.2. getHref() generates the page URI
37.3. isActive() determines if page is active
37.4. Using routes
37.5. The most simple custom page
37.6. A custom page with properties
37.7. Creating an MVC page using the page factory
37.8. Creating a URI page using the page factory
37.9. Creating a custom page type using the page factory
37.10. Creating a container using an array
37.11. Creating a container using a config object
37.12. Adding pages to a container
37.13. Removing pages from a container
37.14. Finding pages in a container
37.15. Iterating a container
37.16. Converting a container to an array
38.1. The Simple OpenID Login form
38.2. The Authentication Request Handler
38.3. The Authentication Response Verifier
38.4. The Complete OpenID Login Script
38.5. Authentication Request for Specified Realm
38.6. Immediate Check without Interaction
38.7. Database Storage
38.8. Sending Requests with a Simple Registration Extension
38.9. Verifying Responses with a Simple Registration Extension
38.10. Zend_Auth Adapter for OpenID
38.11. The Identity
38.12. Simple Identity Provider
38.13. Simple Login Screen
38.14. Simple Trust Screen
38.15. Everything Together
38.16. Identity with Profile
38.17. Provider with SREG
40.1. Create new or load existing PDF document
40.2. Requesting Specific Revisions of a PDF Document
40.3. Saving PDF Documents
40.4. PDF document pages management
40.5. Cloning existing page
40.6. Draw a string on the page
40.7. Draw a UTF-8-encoded string on the page
40.8. Create a standard font
40.9. Create a TrueType font
40.10. Create a TrueType font, but do not embed it in the PDF document
40.11. Do not throw an exception for fonts that cannot be embedded
40.12. Do not compress an embedded font
40.13. Combining font embedding options
40.14. Combining font embedding options
40.15. Extracting fonts from a loaded document
40.16. Extracting font from a loaded document by specifying font name
40.17. Image drawing
40.18. Destinations usage example
40.19. Zend_Pdf module usage demo
41.1. Basic example for the client-side stuff
43.1. Performing reflection on a file
43.2. Performing reflection on a class
43.3. Performing reflection on a method
43.4. Performing reflection on a docblock
44.1. Example of set() Method Usage
44.2. Example of get() Method Usage
44.3. Example of Iterating over the Registry
44.4. Example of Constructing a Registry
44.5. Example of Initializing the Singleton Registry
44.6. Example of Array Access
44.7. Example of Object Access
44.8. Example of isRegistered() Method Usage
44.9. Example of isset() Method Usage
44.10. Example of Specifying the Singleton Registry's Class Name
44.11. Example of _unsetInstance() Method Usage
45.1. A basic REST request
45.2. Response Status
45.3. Using Technorati's Rest Service
45.4. Example Technorati Response
45.5. Setting Request Arguments
45.6. Basic Zend_Rest_Server Usage - Classes
45.7. Basic Zend_Rest_Server Usage - Functions
45.8. Returning Custom Status
45.9. Return Custom XML
46.1. Custom text Analyzer
48.1. isSpam() Usage
48.2. submitSpam() Usage
48.3. submitHam() Usage
48.4. Search Amazon Using the Traditional API
48.5. Search Amazon Using the Query API
48.6. Choosing an Amazon Web Service Country
48.7. Looking up a Specific Amazon Item by ASIN
48.8. Performing Amazon Item Searches
48.9. Using the ResponseGroup Option
48.10. Search Amazon Using the Alternative Query API
48.11. setKeys() Example
48.12. setRegion() Example
48.13. Starting New Ec2 Instances
48.14. Rebooting an Ec2 Instances
48.15. Terminating an Ec2 Instances
48.16. Describing Instances
48.17. Describing Instances By Image Id
48.18. Retreiving Console Output
48.19. Confirm Product Code on an Instance
48.20. Turn on CloudWatch Monitoring on an Instance(s)
48.21. Turn off CloudWatch Monitoring on an Instance(s)
48.22. Bundles an Amazon EC2 instance running Windows
48.23. Describes current bundling tasks
48.24. Cancels an Amazon EC2 bundling operation
48.25. Describes Reserved Instances that you purchased
48.26. Describe current Reserved Instance Offerings available
48.27. Turn off CloudWatch Monitoring on an Instance(s)
48.28. Listing Aviable Metrics
48.29. Return Statistics for a given metric
48.30. Register an AMI with EC2
48.31. Deregister an AMI with EC2
48.32. Describe an AMI
48.33. Modify Image Attributes
48.34. Reset an AMI Attribute
48.35. Describe AMI Attribute
48.36. Create a new EBS Volume
48.37. Create an EBS Volume from a Snapshot
48.38. Create a Snapshot of an EBS Volume
48.39. Describing an EBS Volume
48.40. Describe Attached Volumes
48.41. Describe an EBS Volume Snapshot
48.42. Attaching an EBS Volume
48.43. Detaching an EBS Volume
48.44. Deleting an EBS Volume
48.45. Deleting an EBS Volume Snapshot
48.46. Allocating a new Elastic IP
48.47. Describing Allocated Elastic IP Addresses
48.48. Releasing Elastic IP
48.49. Associates an Elastic IP to an Instance
48.50. Disassociate an Elastic IP from an instance
48.51. Creating a new Amazon Keypair
48.52. Deleting an Amazon Keypair
48.53. Describe an Amazon Keypair
48.54. Viewing the available regions
48.55. Viewing the available zones
48.56. Create a new Security Group
48.57. Describe a Security Group
48.58. Delete a Security Group
48.59. Authorizing by IP
48.60. Authorize By Group
48.61. Revoke by IP
48.62. Revoke By Group
48.63. Zend_Service_Amazon_S3 Usage Example
48.64. Zend_Service_Amazon_S3 Bucket Removal Example
48.65. Zend_Service_Amazon_S3 Bucket Listing Example
48.66. Zend_Service_Amazon_S3 Public Object Example
48.67. Zend_Service_Amazon_S3 Object Listing Example
48.68. Zend_Service_Amazon_S3 Streams Example
48.69. Zend_Service_Amazon_Sqs Usage Example
48.70. Zend_Service_Amazon_Sqs Queue Removal Example
48.71. Zend_Service_Amazon_Sqs Queue Count Example
48.72. Zend_Service_Amazon_Sqs Queue Listing Example
48.73. Zend_Service_Amazon_Sqs Message Send Example
48.74. Zend_Service_Amazon_Sqs Message Receive Example
48.75. Zend_Service_Amazon_Sqs Message Delete Example
48.76. Retrieving User Profile Information
48.77. Retrieving a User's Weekly Artist Chart
48.78. Retrieving Related Artists
48.79. Get all posts
48.80. Accessing post lists
48.81. Filtering a Post List with Specific Tags
48.82. Filtering a Post List by URL
48.83. Post editing
48.84. Method call chaining
48.85. Deleting posts
48.86. Adding a post
48.87. Tags
48.88. Bundles
48.89. Retrieving public data
48.90. Changing the HTTP client of Zend_Rest_Client
48.91. Configuring your HTTP client to keep connections alive
48.92. Simple Flickr Photo Search
48.93. Finding a Flickr User's Public Photos by E-Mail Address
48.94. Retrieving a Group's Pool Photos by Group ID
48.95. Retrieving Flickr Image Details
48.96. Querying Links
48.97. Modifying Links
48.98. Working With Tags
48.99. Working With Notes
48.100. Retrieving Watchlists
48.101. Sending your first query
48.102. Refining your query
48.103. Sending multiple queries with the same Zend_Service_Technorati instance
48.104. Consuming a result set object
48.105. Seeking a specific result set object
48.106. Consuming a standalone result object
48.107. Handling a Query Exception
48.108. Getting API key daily usage information
48.109. Cosmos Query
48.110. Search Query
48.111. Tag Query
48.112. DailyCounts Query
48.113. TopTags Query
48.114. BlogInfo Query
48.115. BlogPostTags Query
48.116. GetInfo Query
48.117. Iterating result objects from a resultset collection
48.118. Creating the Twitter Class
48.119. Verifying credentials
48.120. Sessions ending
48.121. Rating limit status
48.122. Retrieving public timeline
48.123. Retrieving friends timeline
48.124. Retrieving user timeline
48.125. Showing user status
48.126. Updating user status
48.127. Showing user replies
48.128. Deleting user status
48.129. Retrieving user friends
48.130. Retrieving user followers
48.131. Showing user informations
48.132. Retrieving recent direct messages received
48.133. Retrieving recent direct messages sent
48.134. Sending direct message
48.135. Deleting direct message
48.136. Creating friend
48.137. Deleting friend
48.138. Checking friend existence
48.139. Retrieving favorites
48.140. Creating favorites
48.141. Deleting favorites
48.142. Checking if block exists
48.143. Blocking a user
48.144. Removing a block
48.145. Who are you blocking
48.146. JSON Search Example
48.147. ATOM Search Example
48.148. Searching the Web with Yahoo!
48.149. Finding Images with Yahoo!
48.150. Finding videos with Yahoo!
48.151. Finding Local Businesses and Services with Yahoo!
48.152. Searching Yahoo! News
48.153. Searching Yahoo! Site Explorer Inbound Links
48.154. Searching Yahoo! Site Explorer's PageData
49.1. Counting Page Views
49.2. New Way: Namespaces Avoid Collisions
49.3. Old Way: PHP Session Access
49.4. Session Iteration
49.5. Accessing Session Data
49.6. Starting the Global Session
49.7. Locking Session Namespaces
49.8. Expiration Examples
49.9. Namespaced Sessions for Controllers with Automatic Expiration
49.10. Limiting Session Namespace Access to a Single Instance
49.11. Modifying Array Data with a Session Namespace
49.12. Building Arrays Prior to Session Storage
49.13. Workaround: Reassign a Modified Array
49.14. Workaround: store array containing reference
49.15. PHPUnit Testing Code Dependent on Zend_Session
49.16. Using Zend_Config to Configure Zend_Session
49.17. Session Fixation
49.18. Basic Setup
49.19. Using a Multi-Column Primary Key
51.1. Using Zend_Tag
51.2. Using Zend_Tag_Cloud
52.1. Application Login TestCase example
52.2. Testing a UserController
52.3. Database integration example
53.1. Using Zend_Text_Figlet
53.2. Using Zend_Text_Table
55.1. Exposing Your Providers with a Manifest
57.1. Example of single-language PHP code
57.2. Example of multi-lingual PHP code
57.3. Example TMX file
57.4. Example CSV file
57.5. Second CSV file example
57.6. Example INI file
57.7. Using translation options
57.8. Handling languages with adapters
57.9. Automatically language detection
57.10. Scanning a directory structure for sources
57.11. Directory scanning for languages
57.12. Filename scanning for languages
57.13. Checking if a text is translatable
57.14. Log translations
57.15. Self defined log messages
57.16. Handling languages with adapters
57.17. Example of traditional plural translations
57.18. Example of modern plural translations
57.19. Example of modern plural translations using a different source language
57.20. Setting languages without getting notices
58.1. Creating a New URI with Zend_Uri::factory()
58.2. Manipulating an Existing URI with Zend_Uri::factory()
58.3. URI Validation with Zend_Uri::check()
58.4. Allowing special characters in URIs
58.5. Getting the Scheme from a Zend_Uri_* Object
58.6. Getting the Entire URI from a Zend_Uri_* Object
58.7. Validating a Zend_Uri_* Object
59.1. Sitemap Lastmod Validator
59.2. Sitemap Priority Validator
59.3. Creating a Simple Validation Class
59.4. Writing a Validation Class having Dependent Conditions
59.5. Validation with Independent Conditions, Multiple Reasons for Failure
60.1. Example of the compareVersion() Method
61.1. Basic Usage of Action View Helper
61.2. Cycle Helper Basic Usage
61.3. Working with two or more cycles
61.4. Basic Usage of Partials
61.5. Using PartialLoop to Render Iterable Models
61.6. Rendering Partials in Other Modules
61.7. Basic Usage of Placeholders
61.8. Using Placeholders to Aggregate Content
61.9. Using Placeholders to Capture Content
61.10. Doctype Helper Basic Usage
61.11. Retrieving the Doctype
61.12. HeadLink Helper Basic Usage
61.13. HeadMeta Helper Basic Usage
61.14. Headscript With Conditional Comments
61.15. HeadScript Helper Basic Usage
61.16. Capturing Scripts Using the HeadScript Helper
61.17. Headstyle With Conditional Comments
61.18. HeadStyle Helper Basic Usage
61.19. Capturing Style Declarations Using the HeadStyle Helper
61.20. HeadTitle Helper Basic Usage
61.21. Flash helper
61.22. Customizing the object by passing additional arguments
61.23. Proxying calls to the navigation container
61.24. Rendering breadcrumbs
61.25. Specifying indentation
61.26. Customize breadcrumbs output
61.27. Rendering breadcrumbs using a partial view script
61.28. Specify relations in pages
61.29. Default rendering of links
61.30. Specify which relations to render
61.31. Rendering a menu
61.32. Calling renderMenu() directly
61.33. Rendering the deepest active menu
61.34. Rendering a menu with maximum depth
61.35. Rendering a menu with minimum depth
61.36. Rendering only the active branch of a menu
61.37. Rendering only the active branch of a menu with minimum depth
61.38. Rendering only the active branch of a menu with maximum depth
61.39. Rendering only the active branch of a menu with maximum depth and no parents
61.40. Rendering a custom menu using a partial view script
61.41. Rendering an XML sitemap
61.42. Registered instance
61.43. Within the view
61.44. Direct usage
61.45. Single parameter
61.46. List of parameters
61.47. Array of parameters
61.48. Change locale dynamically
61.49. Change locale statically
61.50. Get the currently set locale
63.1. XML-RPC Method Call
63.2. XML-RPC Method Call with Parameters
63.3. Proxy the Default Namespace
63.4. Proxy Any Namespace
63.5. Handling HTTP Errors
63.6. Handling XML-RPC Faults
63.7. Processing Request to Response
64.1. Basic example for processing
65.1. jQuery() View Helper Example
65.2. Building your own Helper with No Conflict Mode
65.3. Showing jQuery Form View Helper Usage
65.4. Showing the latest news in a Tab Container
65.5. SubForms with TabContainer Decorator
E.1. Example: Optimized include_path

Next topic



© 2006-2019 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.