Programmer's Reference Guide

Zend Framework 1.7.x

Published 2009-12-14 by mikaelkael (SVN 13454)


Table of Contents

Introduction to Zend Framework
1. Overview
2. Installation
Zend_Acl
1. Introduction
1.1. Resources
1.2. Roles
1.3. Creating the Access Control List
1.4. Registering Roles
1.5. Defining Access Controls
1.6. Querying an ACL
2. Refining Access Controls
2.1. Precise Access Controls
2.2. Removing Access Controls
3. Advanced Usage
3.1. Storing ACL Data for Persistence
3.2. Writing Conditional ACL Rules with Assertions
Zend_Amf
1. Introduction
2. Zend_Amf_Server
2.1. Connecting to the server from Flex
2.2. Error Handling
2.3. AMF Responses
2.4. Typed Objects
2.5. Connecting to the server from Flash
Zend_Auth
1. Introduction
1.1. Adapters
1.2. Results
1.3. Identity Persistence
1.4. Using Zend_Auth
2. Database Table Authentication
2.1. Introduction
2.2. Advanced Use: Persisting a DbTable Result Object
2.3. Advanced Usage By Example
3. Digest Authentication
3.1. Introduction
3.2. Specifics
3.3. Identity
4. HTTP Authentication Adapter
4.1. Introduction
4.2. Design Overview
4.3. Configuration Options
4.4. Resolvers
4.5. Basic Usage
5. LDAP Authentication
5.1. Introduction
5.2. Usage
5.3. The API
5.4. Server Options
5.5. Collecting Debugging Messages
5.6. Common Options for Specific Servers
6. Open ID Authentication
6.1. Introduction
6.2. Specifics
Zend_Cache
1. Introduction
2. The theory of caching
2.1. The Zend_Cache factory method
2.2. Tagging records
2.3. Cleaning the cache
3. Zend_Cache frontends
3.1. Zend_Cache_Core
3.2. Zend_Cache_Frontend_Output
3.3. Zend_Cache_Frontend_Function
3.4. Zend_Cache_Frontend_Class
3.5. Zend_Cache_Frontend_File
3.6. Zend_Cache_Frontend_Page
4. Zend_Cache backends
4.1. Zend_Cache_Backend_File
4.2. Zend_Cache_Backend_Sqlite
4.3. Zend_Cache_Backend_Memcached
4.4. Zend_Cache_Backend_Apc
4.5. Zend_Cache_Backend_Xcache
4.6. Zend_Cache_Backend_ZendPlatform
4.7. Zend_Cache_Backend_TwoLevels
Zend_Captcha
1. Introduction
2. Captcha Operation
3. Captcha Adapters
3.1. Zend_Captcha_Word
3.2. Zend_Captcha_Dumb
3.3. Zend_Captcha_Figlet
3.4. Zend_Captcha_Image
3.5. Zend_Captcha_ReCaptcha
Zend_Config
1. Introduction
2. Theory of Operation
3. Zend_Config_Ini
4. Zend_Config_Xml
Zend_Config_Writer
1. Zend_Config_Writer
Zend_Console_Getopt
1. Introduction to Getopt
2. Declaring Getopt Rules
2.1. Declaring Options with the Short Syntax
2.2. Declaring Options with the Long Syntax
3. Fetching Options and Arguments
3.1. Handling Getopt Exceptions
3.2. Fetching Options by Name
3.3. Reporting Options
3.4. Fetching Non-option Arguments
4. Configuring Zend_Console_Getopt
4.1. Adding Option Rules
4.2. Adding Help Messages
4.3. Adding Option Aliases
4.4. Adding Argument Lists
4.5. Adding Configuration
Zend_Controller
1. Zend_Controller Quick Start
1.1. Introduction
1.2. Quick Start
2. Zend_Controller Basics
3. The Front Controller
3.1. Overview
3.2. Primary Methods
3.3. Environmental Accessor Methods
3.4. Front Controller Parameters
3.5. Subclassing the Front Controller
4. The Request Object
4.1. Introduction
4.2. HTTP Requests
4.3. Subclassing the Request Object
5. The Standard Router
5.1. Introduction
5.2. Using a router
5.3. Basic Rewrite Router operation
5.4. Default routes
5.5. Base URL and subdirectories
5.6. Global parameters
5.7. Route Types
5.8. Using Zend_Config with the RewriteRouter
5.9. Subclassing the Router
6. The Dispatcher
6.1. Overview
6.2. Subclassing the Dispatcher
7. Action Controllers
7.1. Introduction
7.2. Object initialization
7.3. Pre- and Post-Dispatch Hooks
7.4. Accessors
7.5. View Integration
7.6. Utility Methods
7.7. Subclassing the Action Controller
8. Action Helpers
8.1. Introduction
8.2. Helper Initialization
8.3. The Helper Broker
8.4. Built-in Action Helpers
8.5. Writing Your Own Helpers
9. The Response Object
9.1. Usage
9.2. Manipulating Headers
9.3. Named Segments
9.4. Testing for Exceptions in the Response Object
9.5. Subclassing the Response Object
10. Plugins
10.1. Introduction
10.2. Writing Plugins
10.3. Using Plugins
10.4. Retrieving and Manipulating Plugins
10.5. Plugins Included in the Standard Distribution
11. Using a Conventional Modular Directory Structure
11.1. Introduction
11.2. Specifying Module Controller Directories
11.3. Routing to modules
11.4. Module or Global Default Controller
12. MVC Exceptions
12.1. Introduction
12.2. How can you handle exceptions?
12.3. MVC Exceptions You May Encounter
13. Migrating from Previous Versions
13.1. Migrating from 1.6.x to 1.7.0 or newer
13.2. Migrating from 1.5.x to 1.6.0 or newer
13.3. Migrating from 1.0.x to 1.5.0 or newer
13.4. Migrating from 0.9.3 to 1.0.0RC1 or newer
13.5. Migrating from 0.9.2 to 0.9.3 or newer
13.6. Migrating from 0.6.0 to 0.8.0 or newer
13.7. Migrating from 0.2.0 or before to 0.6.0
Zend_Currency
1. Introduction to Zend_Currency
1.1. Why use Zend_Currency?
2. How to Work with Currencies
2.1. Creating and Output String from a Currency
2.2. Changing the Format of a Currency
2.3. Reference Methods for Zend_Currency
2.4. Settings new default values
2.5. Zend_Currency Performance Optimization
3. Migrating from Previous Versions
3.1. Migrating from 1.0.2 to 1.0.3 or newer
Zend_Date
1. Introduction
1.1. Always Set a Default Timezone
1.2. Why Use Zend_Date?
2. Theory of Operation
2.1. Internals
3. Basic Methods
3.1. The current date
3.2. Zend_Date by Example
4. Zend_Date API Overview
4.1. Zend_Date Options
4.2. Working with Date Values
4.3. Basic Zend_Date Operations Common to Many Date Parts
4.4. Comparing Dates
4.5. Getting Dates and Date Parts
4.6. Working with Fractions of Seconds
4.7. Sunrise / Sunset
5. Creation of dates
5.1. Create the actual date
5.2. Create a date from database
5.3. Create dates from an array
6. Constants for General Date Functions
6.1. Using Constants
6.2. List of All Constants
6.3. Self-Defined OUTPUT Formats with ISO
6.4. Self-defined OUTPUT formats using PHP's date() format specifiers
7. Working examples
7.1. Checking dates
7.2. Sunrise and Sunset
7.3. Timezones
Zend_Db
1. Zend_Db_Adapter
1.1. Connecting to a Database Using an Adapter
1.2. The example database
1.3. Reading Query Results
1.4. Writing Changes to the Database
1.5. Quoting Values and Identifiers
1.6. Controlling Database Transactions
1.7. Listing and Describing Tables
1.8. Closing a Connection
1.9. Running Other Database Statements
1.10. Retrieving Server Version
1.11. Notes on Specific Adapters
2. Zend_Db_Statement
2.1. Creating a Statement
2.2. Executing a Statement
2.3. Fetching Results from a SELECT Statement
3. Zend_Db_Profiler
3.1. Introduction
3.2. Using the Profiler
3.3. Advanced Profiler Usage
3.4. Specialized Profilers
4. Zend_Db_Select
4.1. Overview of the Select Object
4.2. Creating a Select Object
4.3. Building Select queries
4.4. Executing Select Queries
4.5. Other methods
5. Zend_Db_Table
5.1. Introduction to Table Class
5.2. Defining a Table Class
5.3. Creating an Instance of a Table
5.4. Inserting Rows to a Table
5.5. Updating Rows in a Table
5.6. Deleting Rows from a Table
5.7. Finding Rows by Primary Key
5.8. Querying for a Set of Rows
5.9. Querying for a Single Row
5.10. Retrieving Table Metadata Information
5.11. Caching Table Metadata
5.12. Customizing and Extending a Table Class
6. Zend_Db_Table_Row
6.1. Introduction
6.2. Fetching a Row
6.3. Writing rows to the database
6.4. Serializing and unserializing rows
6.5. Extending the Row class
7. Zend_Db_Table_Rowset
7.1. Introduction
7.2. Fetching a Rowset
7.3. Retrieving Rows from a Rowset
7.4. Retrieving a Rowset as an Array
7.5. Serializing and Unserializing a Rowset
7.6. Extending the Rowset class
8. Zend_Db_Table Relationships
8.1. Introduction
8.2. Defining Relationships
8.3. Fetching a Dependent Rowset
8.4. Fetching a Parent Row
8.5. Fetching a Rowset via a Many-to-many Relationship
8.6. Cascading Write Operations
Zend_Debug
1. Dumping Variables
Zend_Dojo
1. Introduction
2. Zend_Dojo_Data: dojo.data Envelopes
2.1. Zend_Dojo_Data Usage
2.2. Adding metadata to your containers
2.3. Advanced Use Cases
3. Dojo View Helpers
3.1. dojo() View Helper
3.2. Dijit-Specific View Helpers
4. Dojo Form Elements and Decorators
4.1. Dijit-Specific Form Decorators
4.2. Dijit-Specific Form Elements
4.3. Dojo Form Examples
Zend_Dom
1. Introduction
2. Zend_Dom_Query
2.1. Theory of Operation
2.2. Methods Available
Zend_Exception
1. Using Exceptions
Zend_Feed
1. Introduction
2. Importing Feeds
2.1. Custom feeds
3. Retrieving Feeds from Web Pages
4. Consuming an RSS Feed
5. Consuming an Atom Feed
6. Consuming a Single Atom Entry
7. Modifying Feed and Entry structures
8. Custom Feed and Entry Classes
Zend_File
1. Zend_File_Transfer
1.1. Supported Adapters for Zend_File_Transfer
1.2. Options for Zend_File_Transfer
1.3. Checking Files
1.4. Additional File Informations
2. Validators for Zend_File_Transfer
2.1. Using Validators with Zend_File_Transfer
2.2. Count Validator
2.3. Crc32 Validator
2.4. ExcludeExtension Validator
2.5. ExcludeMimeType Validator
2.6. Exists Validator
2.7. Extension Validator
2.8. FilesSize Validator
2.9. ImageSize Validator
2.10. IsCompressed Validator
2.11. IsImage Validator
2.12. Hash Validator
2.13. Md5 Validator
2.14. MimeType Validator
2.15. NotExists Validator
2.16. Sha1 Validator
2.17. Size Validator
3. Filters for Zend_File_Transfer
3.1. Using filters with Zend_File_Transfer
3.2. LowerCase filter
3.3. Rename filter
3.4. UpperCase filter
4. Migrating from previous versions
4.1. Migrating from 1.6 to 1.7 or newer
4.2. Migrating from 1.6.1 to 1.6.2 or newer
Zend_Filter
1. Introduction
1.1. What is a filter?
1.2. Basic usage of filters
1.3. Using the static get() method
2. Standard Filter Classes
2.1. Alnum
2.2. Alpha
2.3. BaseName
2.4. Digits
2.5. Dir
2.6. HtmlEntities
2.7. Int
2.8. StripNewlines
2.9. RealPath
2.10. StringToLower
2.11. StringToUpper
2.12. StringTrim
2.13. StripTags
3. Filter Chains
4. Writing Filters
5. Zend_Filter_Input
5.1. Declaring Filter and Validator Rules
5.2. Creating the Filter and Validator Processor
5.3. Retrieving Validated Fields and other Reports
5.4. Using Metacommands to Control Filter or Validator Rules
5.5. Adding Filter Class Namespaces
6. Zend_Filter_Inflector
6.1. Operation
6.2. Setting Paths To Alternate Filters
6.3. Setting the Inflector Target
6.4. Inflection Rules
6.5. Utility Methods
6.6. Using Zend_Config with Zend_Filter_Inflector
Zend_Form
1. Zend_Form
2. Zend_Form Quick Start
2.1. Create a form object
2.2. Add elements to the form
2.3. Render a form
2.4. Check if a form is valid
2.5. Get error status
2.6. Putting it together
2.7. Using a Zend_Config object
2.8. Conclusion
3. Creating Form Elements Using Zend_Form_Element
3.1. Plugin Loaders
3.2. Filters
3.3. Validators
3.4. Decorators
3.5. Metadata and Attributes
3.6. Standard Elements
3.7. Zend_Form_Element Methods
3.8. Configuration
3.9. Custom Elements
4. Creating Forms Using Zend_Form
4.1. Plugin Loaders
4.2. Elements
4.3. Display Groups
4.4. Sub Forms
4.5. Metadata and Attributes
4.6. Decorators
4.7. Validation
4.8. Methods
4.9. Configuration
4.10. Custom forms
5. Creating Custom Form Markup Using Zend_Form_Decorator
5.1. Operation
5.2. Standard Decorators
5.3. Custom Decorators
5.4. Rendering Individual Decorators
6. Standard Form Elements Shipped With Zend Framework
6.1. Zend_Form_Element_Button
6.2. Zend_Form_Element_Captcha
6.3. Zend_Form_Element_Checkbox
6.4. Zend_Form_Element_File
6.5. Zend_Form_Element_Hidden
6.6. Zend_Form_Element_Hash
6.7. Zend_Form_Element_Image
6.8. Zend_Form_Element_MultiCheckbox
6.9. Zend_Form_Element_Multiselect
6.10. Zend_Form_Element_Password
6.11. Zend_Form_Element_Radio
6.12. Zend_Form_Element_Reset
6.13. Zend_Form_Element_Select
6.14. Zend_Form_Element_Submit
6.15. Zend_Form_Element_Text
6.16. Zend_Form_Element_Textarea
7. Standard Form Decorators Shipped With Zend Framework
7.1. Zend_Form_Decorator_Callback
7.2. Zend_Form_Decorator_Captcha
7.3. Zend_Form_Decorator_Description
7.4. Zend_Form_Decorator_DtDdWrapper
7.5. Zend_Form_Decorator_Errors
7.6. Zend_Form_Decorator_Fieldset
7.7. Zend_Form_Decorator_File
7.8. Zend_Form_Decorator_Form
7.9. Zend_Form_Decorator_FormElements
7.10. Zend_Form_Decorator_FormErrors
7.11. Zend_Form_Decorator_HtmlTag
7.12. Zend_Form_Decorator_Image
7.13. Zend_Form_Decorator_Label
7.14. Zend_Form_Decorator_PrepareElements
7.15. Zend_Form_Decorator_ViewHelper
7.16. Zend_Form_Decorator_ViewScript
8. Internationalization of Zend_Form
8.1. Initializing I18n in Forms
8.2. Standard I18n Targets
9. Advanced Zend_Form Usage
9.1. Array Notation
9.2. Multi-Page Forms
Zend_Gdata
1. Introduction to Gdata
1.1. Structure of Zend_Gdata
1.2. Interacting with Google Services
1.3. Obtaining instances of Zend_Gdata classes
1.4. Google Data Client Authentication
1.5. Dependencies
1.6. Creating a new Gdata client
1.7. Common query parameters
1.8. Fetching a feed
1.9. Working with multi-page feeds
1.10. Working with data in feeds and entries
1.11. Updating entries
1.12. Posting entries to Google servers
1.13. Deleting entries on Google servers
2. Authenticating with AuthSub
2.1. Creating an AuthSub authenticated Http Client
2.2. Revoking AuthSub authentication
3. Using the Book Search Data API
3.1. Authenticating to the Book Search service
3.2. Searching for books
3.3. Using community features
3.4. Book collections and My Library
4. Authenticating with ClientLogin
4.1. Creating a ClientLogin authenticated Http Client
4.2. Terminating a ClientLogin authenticated Http Client
5. Using Google Calendar
5.1. Connecting To The Calendar Service
5.2. Retrieving A Calendar List
5.3. Retrieving Events
5.4. Creating Events
5.5. Modifying Events
5.6. Deleting Events
5.7. Accessing Event Comments
6. Using Google Documents List Data API
6.1. Get a List of Documents
6.2. Upload a Document
6.3. Searching the documents feed
7. Using Google Health
7.1. Connect To The Health Service
7.2. Profile Feed
7.3. Profile List Feed
7.4. Sending Notices to the Register Feed
8. Using Google Spreadsheets
8.1. Create a Spreadsheet
8.2. Get a List of Spreadsheets
8.3. Get a List of Worksheets
8.4. Interacting With List-based Feeds
8.5. Interacting With Cell-based Feeds
9. Using Google Apps Provisioning
9.1. Setting the current domain
9.2. Interacting with users
9.3. Interacting with nicknames
9.4. Interacting with email lists
9.5. Interacting with email list recipients
9.6. Handling errors
10. Using Google Base
10.1. Connect To The Base Service
10.2. Retrieve Items
10.3. Insert, Update, and Delete Customer Items
11. Using Picasa Web Albums
11.1. Connecting To The Service
11.2. Understanding and Constructing Queries
11.3. Retrieving Feeds And Entries
11.4. Creating Entries
11.5. Deleting Entries
12. Using the YouTube Data API
12.1. Authentication
12.2. Developer Keys and Client ID
12.3. Retrieving public video feeds
12.4. Retrieving video comments
12.5. Retrieving playlist feeds
12.6. Retrieving a list of a user's subscriptions
12.7. Retrieving a user's profile
12.8. Uploading Videos to YouTube
12.9. Browser-based upload
12.10. Checking upload status
12.11. Other Functions
13. Catching Gdata Exceptions
Zend_Http
1. Zend_Http_Client - Introduction
1.1. Introduction
1.2. Configuration Parameters
1.3. Performing Basic HTTP Requests
1.4. Adding GET and POST parameters
1.5. Accessing Last Request and Response
2. Zend_Http_Client - Advanced Usage
2.1. HTTP Redirections
2.2. Adding Cookies and Using Cookie Persistence
2.3. Setting Custom Request Headers
2.4. File Uploads
2.5. Sending Raw POST Data
2.6. HTTP Authentication
2.7. Sending Multiple Requests With the Same Client
3. Zend_Http_Client - Connection Adapters
3.1. Overview
3.2. The Socket Adapter
3.3. The Proxy Adapter
3.4. The Test Adapter
3.5. Creating your own connection adapters
4. Zend_Http_Cookie and Zend_Http_CookieJar
4.1. Introduction
4.2. Instantiating Zend_Http_Cookie Objects
4.3. Zend_Http_Cookie getter methods
4.4. Zend_Http_Cookie: Matching against a scenario
4.5. The Zend_Http_CookieJar Class: Instantiation
4.6. Adding Cookies to a Zend_Http_CookieJar object
4.7. Retrieving Cookies From a Zend_Http_CookieJar object
5. Zend_Http_Response
5.1. Introduction
5.2. Boolean Tester Methods
5.3. Accessor Methods
5.4. Static HTTP Response Parsers
Zend_InfoCard
1. Introduction
1.1. Basic Theory of Usage
1.2. Using as part of Zend_Auth
1.3. Using the Zend_InfoCard component standalone
1.4. Working with a Claims object
1.5. Attaching Information Cards to existing accounts
1.6. Creating Zend_InfoCard Adapters
Zend_Json
1. Introduction
2. Basic Usage
3. JSON Objects
4. XML to JSON conversion
5. Zend_Json_Server - JSON-RPC server
5.1. Advanced Details
Zend_Layout
1. Introduction
2. Zend_Layout Quick Start
2.1. Layout scripts
2.2. Using Zend_Layout with the Zend Framework MVC
2.3. Using Zend_Layout as a Standalone Component
2.4. Sample Layout
3. Zend_Layout Configuration Options
3.1. Examples
4. Zend_Layout Advanced Usage
4.1. Custom View Objects
4.2. Custom Front Controller Plugins
4.3. Custom Action Helpers
4.4. Custom Layout Script Path Resolution: Using the Inflector
Zend_Ldap
1. Introduction
1.1. Theory of Operation
Zend_Loader
1. Loading Files and Classes Dynamically
1.1. Loading Files
1.2. Loading Classes
1.3. Testing if a File is Readable
1.4. Using the Autoloader
2. Loading Plugins
2.1. Basic Use Case
2.2. Manipulating Plugin Paths
2.3. Testing for Plugins and Retrieving Class Names
2.4. Getting Better Performance for Plugins
Zend_Locale
1. Introduction
1.1. What is Localization
1.2. What is a Locale?
1.3. How are Locales Represented?
1.4. Selecting the Right Locale
1.5. Usage of automatic Locales
1.6. Using a default Locale
1.7. ZF Locale-Aware Classes
1.8. Application wide locale
1.9. Zend_Locale_Format::setOptions(array $options)
1.10. Speed up Zend_Locale and its subclasses
2. Using Zend_Locale
2.1. Copying, Cloning, and Serializing Locale Objects
2.2. Equality
2.3. Default locales
2.4. Set a new locale
2.5. Getting the language and region
2.6. Obtaining localized strings
2.7. Obtaining translations for "yes" and "no"
2.8. Get a list of all known locales
2.9. Detecting locales
3. Normalization and Localization
3.1. Number normalization: getNumber($input, Array $options)
3.2. Number localization
3.3. Number testing
3.4. Float value normalization
3.5. Floating point value localization
3.6. Floating point value testing
3.7. Integer value normalization
3.8. Integer point value localization
3.9. Integer value testing
3.10. Numeral System Conversion
4. Working with Dates and Times
4.1. Normalizing Dates and Times
4.2. Testing Dates
4.3. Normalizing a Time
4.4. Testing Times
5. Supported locales
6. Migrating from previous versions
6.1. Migrating from 1.6 to 1.7 or newer
Zend_Log
1. Overview
1.1. Creating a Log
1.2. Logging Messages
1.3. Destroying a Log
1.4. Using Built-in Priorities
1.5. Adding User-defined Priorities
1.6. Understanding Log Events
2. Writers
2.1. Writing to Streams
2.2. Writing to Databases
2.3. Writing to Firebug
2.4. Stubbing Out the Writer
2.5. Testing with the Mock
2.6. Compositing Writers
3. Formatters
3.1. Simple Formatting
3.2. Formatting to XML
4. Filters
4.1. Filtering for All Writers
4.2. Filtering for a Writer Instance
Zend_Mail
1. Introduction
1.1. Getting started
1.2. Configuring the default sendmail transport
2. Sending via SMTP
3. Sending Multiple Mails per SMTP Connection
4. Using Different Transports
5. HTML E-Mail
6. Attachments
7. Adding Recipients
8. Controlling the MIME Boundary
9. Additional Headers
10. Character Sets
11. Encoding
12. SMTP Authentication
13. Securing SMTP Transport
14. Reading Mail Messages
14.1. Simple example using Pop3
14.2. Opening a local storage
14.3. Opening a remote storage
14.4. Fetching messages and simple methods
14.5. Working with messages
14.6. Checking for flags
14.7. Using folders
14.8. Advanced Use
Zend_Measure
1. Introduction
2. Creation of Measurements
2.1. Creating measurements from integers and floats
2.2. Creating measurements from strings
2.3. Measurements from localized strings
3. Outputting measurements
3.1. Automatic output
3.2. Outputting values
3.3. Output with unit of measurement
3.4. Output as localized string
4. Manipulating Measurements
4.1. Convert
4.2. Add and subtract
4.3. Compare
4.4. Compare
4.5. Manually change values
4.6. Manually change types
5. Types of measurements
5.1. Hints for Zend_Measure_Binary
5.2. Hints for Zend_Measure_Number
5.3. Roman numbers
Zend_Memory
1. Overview
1.1. Introduction
1.2. Theory of Operation
2. Memory Manager
2.1. Creating a Memory Manager
2.2. Managing Memory Objects
2.3. Memory Manager Settings
3. Memory Objects
3.1. Movable
3.2. Locked
3.3. Memory container 'value' property.
3.4. Memory container interface
Zend_Mime
1. Zend_Mime
1.1. Introduction
1.2. Static Methods and Constants
1.3. Instantiating Zend_Mime
2. Zend_Mime_Message
2.1. Introduction
2.2. Instantiation
2.3. Adding MIME Parts
2.4. Boundary handling
2.5. parsing a string to create a Zend_Mime_Message object (experimental)
3. Zend_Mime_Part
3.1. Introduction
3.2. Instantiation
3.3. Methods for rendering the message part to a string
Zend_OpenId
1. Introduction
1.1. What is OpenID?
1.2. How Does it Work?
1.3. Zend_OpenId Structure
1.4. Supported OpenID Standards
2. Zend_OpenId_Consumer Basics
2.1. OpenID Authentication
2.2. Combining all Steps in One Page
2.3. Consumer Realm
2.4. Immediate Check
2.5. Zend_OpenId_Consumer_Storage
2.6. Simple Registration Extension
2.7. Integration with Zend_Auth
2.8. Integration with Zend_Controller
3. Zend_OpenId_Provider
3.1. Quick Start
3.2. Combined Provide Scripts
3.3. Simple Registration Extension
3.4. Anything Else?
Zend_Paginator
1. Introduction
2. Usage
2.1. Paginating data collections
2.2. Rendering pages with view scripts
3. Configuration
4. Advanced usage
4.1. Custom data source adapters
4.2. Custom scrolling styles
4.3. Caching features
Zend_Pdf
1. Introduction
2. Creating and Loading PDF Documents
3. Save Changes to PDF Documents
4. Working with Pages
4.1. Page Creation
4.2. Page cloning.
5. Drawing
5.1. Geometry
5.2. Colors
5.3. Shape Drawing
5.4. Text Drawing
5.5. Using fonts
5.6. Standard PDF fonts limitations.
5.7. Extracting fonts.
5.8. Image Drawing
5.9. Line drawing style
5.10. Fill style
5.11. Linear Transformations
5.12. Save/restore graphics state
5.13. Clipping draw area
5.14. Styles
5.15. Transparency
6. Document Info and Metadata.
7. Zend_Pdf module usage example
Zend_ProgressBar
1. Zend_ProgressBar
1.1. Introduction
1.2. Basic usage of Zend_Progressbar
1.3. Persistent progress
1.4. Standard adapters
Zend_Registry
1. Using the Registry
1.1. Setting Values in the Registry
1.2. Getting Values from the Registry
1.3. Constructing a Registry Object
1.4. Accessing the Registry as an Array
1.5. Accessing the Registry as an Object
1.6. Querying if an index exists
1.7. Extending the Registry
1.8. Unsetting the Static Registry
Zend_Rest
1. Introduction
2. Zend_Rest_Client
2.1. Introduction
2.2. Responses
2.3. Request Arguments
3. Zend_Rest_Server
3.1. Introduction
3.2. REST Server Usage
3.3. Calling a Zend_Rest_Server Service
3.4. Sending A Custom Status
3.5. Returning Custom XML Responses
Zend_Search_Lucene
1. Overview
1.1. Introduction
1.2. Document and Field Objects
1.3. Understanding Field Types
1.4. HTML documents
1.5. Word 2007 documents
1.6. Powerpoint 2007 documents
1.7. Excel 2007 documents
2. Building Indexes
2.1. Creating a New Index
2.2. Updating Index
2.3. Updating Documents
2.4. Retrieving Index Size
2.5. Index optimization
2.6. Permissions
2.7. Limitations
3. Searching an Index
3.1. Building Queries
3.2. Search Results
3.3. Limiting the Result Set
3.4. Results Scoring
3.5. Search Result Sorting
3.6. Search Results Highlighting
4. Query Language
4.1. Terms
4.2. Fields
4.3. Wildcards
4.4. Term Modifiers
4.5. Range Searches
4.6. Fuzzy Searches
4.7. Proximity Searches
4.8. Boosting a Term
4.9. Boolean Operators
4.10. Grouping
4.11. Field Grouping
4.12. Escaping Special Characters
5. Query Construction API
5.1. Query Parser Exceptions
5.2. Term Query
5.3. Multi-Term Query
5.4. Boolean Query
5.5. Wildcard Query
5.6. Fuzzy Query
5.7. Phrase Query
5.8. Range Query
6. Character Set
6.1. UTF-8 and single-byte character set support
6.2. Default text analyzer
6.3. UTF-8 compatible text analyzers
7. Extensibility
7.1. Text Analysis
7.2. Tokens Filtering
7.3. Scoring Algorithms
7.4. Storage Containers
8. Interoperating with Java Lucene
8.1. File Formats
8.2. Index Directory
8.3. Java Source Code
9. Advanced
9.1. Starting from 1.6, handling index format transformations.
9.2. Using the index as static property
10. Best Practices
10.1. Field names
10.2. Indexing performance
10.3. Index during Shut Down
10.4. Retrieving documents by unique id
10.5. Memory Usage
10.6. Encoding
10.7. Index maintenance
Zend_Server
1. Introduction
2. Zend_Server_Reflection
2.1. Introduction
2.2. Usage
Zend_Service
1. Introduction
2. Zend_Service_Akismet
2.1. Introduction
2.2. Verify an API key
2.3. Check for spam
2.4. Submitting known spam
2.5. Submitting false positives (ham)
2.6. Zend-specific Accessor Methods
3. Zend_Service_Amazon
3.1. Introduction
3.2. Country Codes
3.3. Looking up a Specific Amazon Item by ASIN
3.4. Performing Amazon Item Searches
3.5. Using the Alternative Query API
3.6. Zend_Service_Amazon Classes
4. Zend_Service_Audioscrobbler
4.1. Introduction to Searching Audioscrobbler
4.2. Users
4.3. Artists
4.4. Tracks
4.5. Tags
4.6. Groups
4.7. Forums
5. Zend_Service_Delicious
5.1. Introduction
5.2. Retrieving posts
5.3. Zend_Service_Delicious_PostList
5.4. Editing posts
5.5. Deleting posts
5.6. Adding new posts
5.7. Tags
5.8. Bundles
5.9. Public data
5.10. HTTP client
6. Zend_Service_Flickr
6.1. Introduction to Searching Flickr
6.2. Finding Flickr Users' Photos and Information
6.3. Finding photos From a Group Pool
6.4. Retrieving Flickr Image Details
6.5. Zend_Service_Flickr Result Classes
7. Zend_Service_Nirvanix
7.1. Introduction
7.2. Registering with Nirvanix
7.3. API Documentation
7.4. Features
7.5. Getting Started
7.6. Understanding the Proxy
7.7. Examining Results
7.8. Handling Errors
8. Zend_Service_ReCaptcha
8.1. Introduction
8.2. Simplest use
9. Zend_Service_Simpy
9.1. Introduction
9.2. Links
9.3. Tags
9.4. Notes
9.5. Watchlists
10. Introduction
10.1. Getting Started with Zend_Service_SlideShare
10.2. The SlideShow object
10.3. Retrieving a single slide show
10.4. Retrieving Groups of Slide Shows
10.5. Zend_Service_SlideShare Caching policies
10.6. Changing the behavior of the HTTP Client
11. Zend_Service_StrikeIron
11.1. Overview
11.2. Registering with StrikeIron
11.3. Getting Started
11.4. Making Your First Query
11.5. Examining Results
11.6. Handling Errors
11.7. Checking Your Subscription
12. Zend_Service_StrikeIron: Bundled Services
12.1. ZIP Code Information
12.2. U.S. Address Verification
12.3. Sales & Use Tax Basic
13. Zend_Service_StrikeIron: Advanced Uses
13.1. Using Services by WSDL
13.2. Viewing SOAP Transactions
14. Zend_Service_Technorati
14.1. Introduction
14.2. Getting Started
14.3. Making Your First Query
14.4. Consuming Results
14.5. Handling Errors
14.6. Checking Your API Key Daily Usage
14.7. Available Technorati Queries
14.8. Zend_Service_Technorati Classes
15. Zend_Service_Twitter
15.1. Introduction
15.2. Authentication
15.3. Account Methods
15.4. Status Methods
15.5. User Methods
15.6. Direct Message Methods
15.7. Friendship Methods
15.8. Favorite Methods
15.9. Zend_Service_Twitter_Search
16. Zend_Service_Yahoo
16.1. Introduction
16.2. Searching the Web with Yahoo!
16.3. Finding Images with Yahoo!
16.4. Finding videos with Yahoo!
16.5. Finding Local Businesses and Services with Yahoo!
16.6. Searching Yahoo! News
16.7. Searching Yahoo! Site Explorer Inbound Links
16.8. Searching Yahoo! Site Explorer's PageData
16.9. Zend_Service_Yahoo Classes
Zend_Session
1. Introduction
2. Basic Usage
2.1. Tutorial Examples
2.2. Iterating Over Session Namespaces
2.3. Accessors for Session Namespaces
3. Advanced Usage
3.1. Starting a Session
3.2. Locking Session Namespaces
3.3. Namespace Expiration
3.4. Session Encapsulation and Controllers
3.5. Preventing Multiple Instances per Namespace
3.6. Working with Arrays
3.7. Using Sessions with Objects
3.8. Using Sessions with Unit Tests
4. Global Session Management
4.1. Configuration Options
4.2. Error: Headers Already Sent
4.3. Session Identifiers
4.4. rememberMe(integer $seconds)
4.5. forgetMe()
4.6. sessionExists()
4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
4.8. stop()
4.9. writeClose($readonly = true)
4.10. expireSessionCookie()
4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
4.12. namespaceIsset($namespace)
4.13. namespaceUnset($namespace)
4.14. namespaceGet($namespace)
4.15. getIterator()
5. Zend_Session_SaveHandler_DbTable
Zend_Soap
1. Zend_Soap_Server
1.1. Zend_Soap_Server constructor.
1.2. Methods to define Web Service API.
1.3. Request and response objects handling.
2. Zend_Soap_Client
2.1. Zend_Soap_Client Constructor
2.2. Performing SOAP Requests
3. WSDL Accessor
3.1. Zend_Soap_Wsdl constructor.
3.2. addMessage() method.
3.3. addPortType() method.
3.4. addPortOperation() method.
3.5. addBinding() method.
3.6. addBindingOperation() method.
3.7. addSoapBinding() method.
3.8. addSoapOperation() method.
3.9. addService() method.
3.10. Type mapping.
3.11. addDocumentation() method.
3.12. Get finalized WSDL document.
4. AutoDiscovery
4.1. AutoDiscovery Introduction
4.2. Class autodiscovering
4.3. Functions autodiscovering
4.4. Autodiscovering Datatypes
4.5. WSDL Binding Styles
4.6. Compatibility with WSDL Client Generators
Zend_Test
1. Introduction
2. Zend_Test_PHPUnit
2.1. Bootstrapping your TestCase
2.2. Testing your Controllers and MVC Applications
2.3. Assertions
2.4. Examples
Zend_Text
1. Zend_Text_Figlet
2. Zend_Text_Table
Zend_TimeSync
1. Introduction
1.1. Why Zend_TimeSync ?
1.2. What is NTP ?
1.3. What is SNTP?
1.4. Problematic usage
1.5. Decide which server to use
2. Working with Zend_TimeSync
2.1. Generic Time Server Request
2.2. Multiple Time Servers
2.3. Protocols of Time Servers
2.4. Using Ports for Time Servers
2.5. Time Servers Options
2.6. Using Different Time Servers
2.7. Information from Time Servers
2.8. Handling Exceptions
Zend_Translate
1. Introduction
1.1. Starting multi-lingual
2. Adapters for Zend_Translate
2.1. How to decide which translation adapter to use
2.2. Integrate self written Adapters
2.3. Speedup all Adapters
3. Using Translation Adapters
3.1. Translation Source Structures
3.2. Creating array source files
3.3. Creating Gettext Source Files
3.4. Creating TMX Source Files
3.5. Creating CSV Source Files
3.6. Creating INI Source Files
3.7. Options for adapters
3.8. Handling languages
3.9. Automatic source detection
3.10. Checking for translations
3.11. Access to the source data
4. Migrating from previous versions
4.1. Migrating from 1.6 to 1.7 or newer
Zend_Uri
1. Zend_Uri
1.1. Overview
1.2. Creating a New URI
1.3. Manipulating an Existing URI
1.4. URI Validation
1.5. Common Instance Methods
Zend_Validate
1. Introduction
1.1. What is a validator?
1.2. Basic usage of validators
1.3. Customizing messages
1.4. Using the static is() method
2. Standard Validation Classes
2.1. Alnum
2.2. Alpha
2.3. Barcode
2.4. Between
2.5. Ccnum
2.6. Date
2.7. Digits
2.8. EmailAddress
2.9. Float
2.10. GreaterThan
2.11. Hex
2.12. Hostname
2.13. InArray
2.14. Int
2.15. Ip
2.16. LessThan
2.17. NotEmpty
2.18. Regex
2.19. StringLength
3. Validator Chains
4. Writing Validators
Zend_Version
1. Reading the Zend Framework Version
Zend_View
1. Introduction
1.1. Controller Script
1.2. View Script
1.3. Options
1.4. Short Tags with View Scripts
1.5. Utility Accessors
2. Controller Scripts
2.1. Assigning Variables
2.2. Rendering a View Script
2.3. View Script Paths
3. View Scripts
3.1. Escaping Output
3.2. Using Alternate Template Systems
4. View Helpers
4.1. Initial Helpers
4.2. Helper Paths
4.3. Writing Custom Helpers
5. Zend_View_Abstract
Zend_Wildfire
1. Zend_Wildfire
Zend_XmlRpc
1. Introduction
2. Zend_XmlRpc_Client
2.1. Introduction
2.2. Method Calls
2.3. Types and Conversions
2.4. Server Proxy Object
2.5. Error Handling
2.6. Server Introspection
2.7. From Request to Response
2.8. HTTP Client and Testing
3. Zend_XmlRpc_Server
3.1. Introduction
3.2. Basic Usage
3.3. Server Structure
3.4. Conventions
3.5. Utilizing Namespaces
3.6. Custom Request Objects
3.7. Custom Responses
3.8. Handling Exceptions via Faults
3.9. Caching Server Definitions Between Requests
3.10. Usage Examples
ZendX_Console_Process_Unix
1. ZendX_Console_Process_Unix
1.1. Introduction
1.2. Basic usage of ZendX_Console_Process_Unix
ZendX_JQuery
1. Introduction
2. ZendX_JQuery View Helpers
2.1. jQuery() View Helper
2.2. JQuery Helpers
3. ZendX_JQuery Form Elements and Decorators
3.1. General Elements and Decorator Usage
3.2. Form Elements
3.3. Form Decorators
A. Zend Framework Requirements
A.1. PHP Version
A.2. PHP Extensions
A.3. Zend Framework Components
A.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. Filenames
B.3.3. Functions and Methods
B.3.4. Variables
B.3.5. Constants
B.4. Coding Style
B.4.1. PHP Code Demarcation
B.4.2. Strings
B.4.3. Arrays
B.4.4. Classes
B.4.5. Functions and Methods
B.4.6. Control Statements
B.4.7. Inline Documentation
C. Zend Framework Performance Guide
C.1. Introduction
C.2. Class Loading
C.2.1. How can I optimize my include_path?
C.2.2. How can I eliminate unnecessary require_once statements?
C.2.3. How can I speed up plugin loading?
C.3. Zend_Db Performance
C.3.1. How can I reduce overhead introduced by Zend_Db_Table for retrieving table metadata?
C.3.2. SQL generated with Zend_Db_Select s not hitting my indexes; how can I make it better?
C.4. Internationalization (i18n) and Localization (l10n)
C.4.1. Which translation adapter should I use?
C.4.2. How can I make translation and localization even faster?
C.5. View Rendering
C.5.1. How can I speed up resolution of view helpers?
C.5.2. How can I speed up view partials?
C.5.3. How can I speed up calls to the action() view helper?
D. Copyright Information