Programmer's Reference Guide

Zend Framework


Table of Contents

1. Introduction to Zend Framework
1.1. Overview
1.2. Installation
2. Zend_Acl
2.1. Introduction
2.1.1. About Resources
2.1.2. About Roles
2.1.3. Creating the Access Control List (ACL)
2.1.4. Registering Roles
2.1.5. Defining Access Controls
2.1.6. Querying the 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. Connecting to the server from Flash
4. Zend_Auth
4.1. Introduction
4.1.1. Adapters
4.1.2. Results
4.1.3. Identity Persistence Default Persistence in the PHP Session Implementing Customized Storage
4.1.4. Using Zend_Auth
4.2. Database Table Authentication
4.2.1. Introduction
4.2.2. Advanced Use: Persisting a DbTable Result Object
4.2.3. Advanced Usage By Example
4.3. Digest Authentication
4.3.1. Introduction
4.3.2. Specifics
4.3.3. Identity
4.4. HTTP Authentication Adapter
4.4.1. Introduction
4.4.2. Design Overview
4.4.3. Configuration Options
4.4.4. Resolvers File Resolver
4.4.5. Basic Usage
4.5. LDAP Authentication
4.5.1. Introduction
4.5.2. Usage
4.5.3. The API
4.5.4. Server Options
4.5.5. Collecting Debugging Messages
4.5.6. Common Options for Specific Servers Options for Active Directory Options for OpenLDAP
4.6. Open ID Authentication
4.6.1. Introduction
4.6.2. Specifics
5. Zend_Cache
5.1. Introduction
5.2. The theory of caching
5.2.1. The Zend_Cache factory method
5.2.2. Tagging records
5.2.3. Cleaning the cache
5.3. Zend_Cache frontends
5.3.1. Zend_Cache_Core Introduction Available options Examples
5.3.2. Zend_Cache_Frontend_Output Introduction Available options Examples
5.3.3. Zend_Cache_Frontend_Function Introduction Available options Examples
5.3.4. Zend_Cache_Frontend_Class Introduction Available options Examples
5.3.5. Zend_Cache_Frontend_File Introduction Available options Examples
5.3.6. Zend_Cache_Frontend_Page Introduction Available options Examples The specific cancel method
5.4. Zend_Cache backends
5.4.1. Zend_Cache_Backend_File
5.4.2. Zend_Cache_Backend_Sqlite
5.4.3. Zend_Cache_Backend_Memcached
5.4.4. Zend_Cache_Backend_Apc
5.4.5. Zend_Cache_Backend_Xcache
5.4.6. Zend_Cache_Backend_ZendPlatform
5.4.7. Zend_Cache_Backend_TwoLevels
6. Zend_Captcha
6.1. Introduction
6.2. Captcha Operation
6.3. Captcha Adapters
6.3.1. Zend_Captcha_Word
6.3.2. Zend_Captcha_Dumb
6.3.3. Zend_Captcha_Figlet
6.3.4. Zend_Captcha_Image
6.3.5. Zend_Captcha_ReCaptcha
7. Zend_Config
7.1. Introduction
7.2. Theory of Operation
7.3. Zend_Config_Ini
7.4. Zend_Config_Xml
8. Zend_Config_Writer
8.1. Zend_Config_Writer
9. Zend_Console_Getopt
9.1. Introduction to Getopt
9.2. Declaring Getopt Rules
9.2.1. Declaring Options with the Short Syntax
9.2.2. Declaring Options with the Long Syntax
9.3. Fetching Options and Arguments
9.3.1. Handling Getopt Exceptions
9.3.2. Fetching Options by Name
9.3.3. Reporting Options
9.3.4. Fetching Non-option Arguments
9.4. Configuring Zend_Console_Getopt
9.4.1. Adding Option Rules
9.4.2. Adding Help Messages
9.4.3. Adding Option Aliases
9.4.4. Adding Argument Lists
9.4.5. Adding Configuration
10. Zend_Controller
10.1. Zend_Controller Quick Start
10.1.1. Introduction
10.1.2. Quick Start Create your filesystem layout Set your document root Create your rewrite rules Create your bootstrap file Create your default action controller Create your view script Create your error controller View the site!
10.2. Zend_Controller Basics
10.3. The Front Controller
10.3.1. Overview
10.3.2. Primary Methods getInstance() setControllerDirectory() and addControllerDirectory addModuleDirectory() and getModuleDirectory() dispatch() run()
10.3.3. Environmental Accessor Methods
10.3.4. Front Controller Parameters
10.3.5. Subclassing the Front Controller
10.4. The Request Object
10.4.1. Introduction
10.4.2. HTTP Requests Accessing Request Data Base Url and Subdirectories Determining the Request Method Detecting AJAX Requests
10.4.3. Subclassing the Request Object
10.5. The Standard Router
10.5.1. Introduction
10.5.2. Using a router
10.5.3. Basic Rewrite Router operation
10.5.4. Default routes
10.5.5. Base URL and subdirectories
10.5.6. Global parameters
10.5.7. Route Types Zend_Controller_Router_Route Variable defaults Variable requirements Zend_Controller_Router_Route_Static Zend_Controller_Router_Route_Regex Zend_Controller_Router_Route_Hostname Hostname routes via Zend_Config
10.5.8. Using Zend_Config with the RewriteRouter
10.5.9. Subclassing the Router
10.6. The Dispatcher
10.6.1. Overview
10.6.2. Subclassing the Dispatcher
10.7. Action Controllers
10.7.1. Introduction
10.7.2. Object initialization
10.7.3. Pre- and Post-Dispatch Hooks
10.7.4. Accessors
10.7.5. View Integration View Initialization Rendering Views
10.7.6. Utility Methods
10.7.7. Subclassing the Action Controller
10.8. Action Helpers
10.8.1. Introduction
10.8.2. Helper Initialization
10.8.3. The Helper Broker
10.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
10.8.5. Writing Your Own Helpers
10.9. The Response Object
10.9.1. Usage
10.9.2. Manipulating Headers
10.9.3. Named Segments
10.9.4. Testing for Exceptions in the Response Object
10.9.5. Subclassing the Response Object
10.10. Plugins
10.10.1. Introduction
10.10.2. Writing Plugins
10.10.3. Using Plugins
10.10.4. Retrieving and Manipulating Plugins
10.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
10.11. Using a Conventional Modular Directory Structure
10.11.1. Introduction
10.11.2. Specifying Module Controller Directories
10.11.3. Routing to modules
10.11.4. Module or Global Default Controller
10.12. MVC Exceptions
10.12.1. Introduction
10.12.2. How can you handle exceptions?
10.12.3. MVC Exceptions You May Encounter
10.13. Migrating from Previous Versions
10.13.1. Migrating from 1.6.x to 1.7.0 or newer Dispatcher Interface changes
10.13.2. Migrating from 1.5.x to 1.6.0 or newer Dispatcher Interface changes
10.13.3. Migrating from 1.0.x to 1.5.0 or newer
10.13.4. Migrating from 0.9.3 to 1.0.0RC1 or newer
10.13.5. Migrating from 0.9.2 to 0.9.3 or newer
10.13.6. Migrating from 0.6.0 to 0.8.0 or newer
10.13.7. Migrating from 0.2.0 or before to 0.6.0
11. Zend_Currency
11.1. Introduction to Zend_Currency
11.1.1. Why use Zend_Currency?
11.2. How to Work with Currencies
11.2.1. Creating and Output String from a Currency
11.2.2. Changing the Format of a Currency
11.2.3. Reference Methods for Zend_Currency
11.2.4. Settings new default values
11.2.5. Zend_Currency Performance Optimization
11.3. Migrating from Previous Versions
11.3.1. Migrating from 1.0.2 to 1.0.3 or newer
12. Zend_Date
12.1. Introduction
12.1.1. Always Set a Default Timezone
12.1.2. Why Use Zend_Date?
12.2. Theory of Operation
12.2.1. Internals
12.3. Basic Methods
12.3.1. The current date
12.3.2. Zend_Date by Example Output a Date Setting a Date Adding and Subtracting Dates Comparison of dates
12.4. Zend_Date API Overview
12.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
12.4.2. Working with Date Values
12.4.3. Basic Zend_Date Operations Common to Many Date Parts List of Date Parts List of Date Operations
12.4.4. Comparing Dates
12.4.5. Getting Dates and Date Parts
12.4.6. Working with Fractions of Seconds
12.4.7. Sunrise / Sunset
12.5. Creation of dates
12.5.1. Create the actual date
12.5.2. Create a date from database
12.5.3. Create dates from an array
12.6. Constants for General Date Functions
12.6.1. Using Constants
12.6.2. List of All Constants
12.6.3. Self-Defined OUTPUT Formats with ISO
12.6.4. Self-defined OUTPUT formats using PHP's date() format specifiers
12.7. Working examples
12.7.1. Checking dates
12.7.2. Sunrise and Sunset
12.7.3. Timezones
13. Zend_Db
13.1. Zend_Db_Adapter
13.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
13.1.2. The example database
13.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
13.1.4. Writing Changes to the Database Inserting Data Retrieving a Generated Value Updating Data Deleting Data
13.1.5. Quoting Values and Identifiers Using quote() Using quoteInto() Using quoteIdentifier()
13.1.6. Controlling Database Transactions
13.1.7. Listing and Describing Tables
13.1.8. Closing a Connection
13.1.9. Running Other Database Statements
13.1.10. Notes on Specific Adapters IBM DB2 MySQLi Oracle PDO for IBM DB2 and Informix Dynamic Server (IDS) PDO Microsoft SQL Server PDO MySQL PDO Oracle PDO PostgreSQL PDO SQLite Firebird/Interbase
13.2. Zend_Db_Statement
13.2.1. Creating a Statement
13.2.2. Executing a Statement
13.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
13.3. Zend_Db_Profiler
13.3.1. Introduction
13.3.2. Using the Profiler
13.3.3. Advanced Profiler Usage Filter by query elapsed time Filter by query type Retrieve profiles by query type
13.3.4. Specialized Profilers Profiling with Firebug
13.4. Zend_Db_Select
13.4.1. Overview of the Select Object
13.4.2. Creating a Select Object
13.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
13.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
13.4.5. Other methods Retrieving Parts of the Select Object Resetting Parts of the Select Object
13.5. Zend_Db_Table
13.5.1. Introduction to Table Class
13.5.2. Defining a Table Class Defining the Table Name and Schema Defining the Table Primary Key Overriding Table Setup Methods Table initialization
13.5.3. Creating an Instance of a Table Specifying a Database Adapter Setting a Default Database Adapter Storing a Database Adapter in the Registry
13.5.4. 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
13.5.5. Updating Rows in a Table
13.5.6. Deleting Rows from a Table
13.5.7. Finding Rows by Primary Key
13.5.8. Querying for a Set of Rows Select API Fetching a rowset Advanced usage
13.5.9. Querying for a Single Row
13.5.10. Retrieving Table Metadata Information
13.5.11. Caching Table Metadata Hardcoding Table Metadata
13.5.12. 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
13.6. Zend_Db_Table_Row
13.6.1. Introduction
13.6.2. Fetching a Row Reading column values from a row Retrieving Row Data as an Array Fetching data from related tables
13.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
13.6.4. Serializing and unserializing rows Serializing a Row Unserializing Row Data Reactivating a Row as Live Data
13.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
13.7. Zend_Db_Table_Rowset
13.7.1. Introduction
13.7.2. Fetching a Rowset
13.7.3. Retrieving Rows from a Rowset
13.7.4. Retrieving a Rowset as an Array
13.7.5. Serializing and Unserializing a Rowset
13.7.6. Extending the Rowset class
13.8. Zend_Db_Table Relationships
13.8.1. Introduction
13.8.2. Defining Relationships
13.8.3. Fetching a Dependent Rowset
13.8.4. Fetching a Parent Row
13.8.5. Fetching a Rowset via a Many-to-many Relationship
13.8.6. Cascading Write Operations Notes Regarding Cascading Operations
14. Zend_Debug
14.1. Dumping Variables
15. Zend_Dojo
15.1. Introduction
15.2. Zend_Dojo_Data: Envelopes
15.2.1. Zend_Dojo_Data Usage
15.2.2. Adding metadata to your containers
15.2.3. Advanced Use Cases Available Methods
15.3. Dojo View Helpers
15.3.1. dojo() View Helper Programmatic and Declarative Usage of Dojo Themes Using Layers (Custom Builds) Methods Available
15.3.2. Dijit-Specific View Helpers Dijit Layout Elements Dijit Form Elements
15.4. Dojo Form Elements and Decorators
15.4.1. Dijit-Specific Form Decorators DijitElement Decorator DijitForm Decorator DijitContainer-based Decorators
15.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
15.4.3. Dojo Form Examples
16. Zend_Dom
16.1. Introduction
16.2. Zend_Dom_Query
16.2.1. Theory of Operation
16.2.2. Methods Available Zend_Dom_Query Zend_Dom_Query_Result
17. Zend_Exception
17.1. Using Exceptions
18. Zend_Feed
18.1. Introduction
18.2. Importing Feeds
18.2.1. Custom feeds Importing a custom array Importing a custom data source Dumping the contents of a feed
18.3. Retrieving Feeds from Web Pages
18.4. Consuming an RSS Feed
18.5. Consuming an Atom Feed
18.6. Consuming a Single Atom Entry
18.7. Modifying Feed and Entry structures
18.8. Custom Feed and Entry Classes
19. Zend_File
19.1. Zend_File_Transfer
19.1.1. Supported adapters for Zend_File_Transfer
19.1.2. Options for Zend_File_Transfer
19.1.3. Checking files
19.1.4. Additional file informations
19.2. Validators for Zend_File_Transfer
19.2.1. Using validators with Zend_File_Transfer
19.2.2. Count validator
19.2.3. Crc32 validator
19.2.4. ExcludeExtension validator
19.2.5. ExcludeMimeType validator
19.2.6. Exists validator
19.2.7. Extension validator
19.2.8. FilesSize validator
19.2.9. ImageSize validator
19.2.10. IsCompressed validator
19.2.11. IsImage validator
19.2.12. Hash validator
19.2.13. Md5 validator
19.2.14. MimeType validator
19.2.15. NotExists validator
19.2.16. Sha1 validator
19.2.17. Size validator
19.3. Filters for Zend_File_Transfer
19.3.1. Using filters with Zend_File_Transfer
19.3.2. LowerCase filter
19.3.3. Rename filter
19.3.4. UpperCase filter
19.4. Migrating from previous versions
19.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
19.4.2. Migrating from 1.6.1 to 1.6.2 or newer Changes when using validators
20. Zend_Filter
20.1. Introduction
20.1.1. What is a filter?
20.1.2. Basic usage of filters
20.1.3. Using the static get() method
20.2. Standard Filter Classes
20.2.1. Alnum
20.2.2. Alpha
20.2.3. BaseName
20.2.4. Digits
20.2.5. Dir
20.2.6. HtmlEntities
20.2.7. Int
20.2.8. StripNewlines
20.2.9. RealPath
20.2.10. StringToLower
20.2.11. StringToUpper
20.2.12. StringTrim
20.2.13. StripTags
20.3. Filter Chains
20.4. Writing Filters
20.5. Zend_Filter_Input
20.5.1. Declaring Filter and Validator Rules
20.5.2. Creating the Filter and Validator Processor
20.5.3. Retrieving Validated Fields and other Reports Querying if the input is valid Getting Invalid, Missing, or Unknown Fields Getting Valid Fields
20.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
20.5.5. Adding Filter Class Namespaces
20.6. Zend_Filter_Inflector
20.6.1. Operation
20.6.2. Setting Paths To Alternate Filters
20.6.3. Setting the Inflector Target
20.6.4. Inflection Rules Static Rules Filter Inflector Rules Setting Many Rules At Once
20.6.5. Utility Methods
20.6.6. Using Zend_Config with Zend_Filter_Inflector
21. Zend_Form
21.1. Zend_Form
21.2. Zend_Form Quick Start
21.2.1. Create a form object
21.2.2. Add elements to the form
21.2.3. Render a form
21.2.4. Check if a form is valid
21.2.5. Get error status
21.2.6. Putting it together
21.2.7. Using a Zend_Config object
21.2.8. Conclusion
21.3. Creating Form Elements Using Zend_Form_Element
21.3.1. Plugin Loaders
21.3.2. Filters
21.3.3. Validators Custom Error Messages
21.3.4. Decorators
21.3.5. Metadata and Attributes
21.3.6. Standard Elements
21.3.7. Zend_Form_Element Methods
21.3.8. Configuration
21.3.9. Custom Elements
21.4. Creating Forms Using Zend_Form
21.4.1. Plugin Loaders
21.4.2. Elements Populating and Retrieving Values Global Operations Methods For Interacting With Elements
21.4.3. Display Groups Global Operations Using Custom Display Group Classes Methods for Interacting With Display Groups Zend_Form_DisplayGroup Methods
21.4.4. Sub Forms Global Operations Methods for Interacting With Sub Forms
21.4.5. Metadata and Attributes
21.4.6. Decorators
21.4.7. Validation Custom Error Messages
21.4.8. Methods
21.4.9. Configuration
21.4.10. Custom forms
21.5. Creating Custom Form Markup Using Zend_Form_Decorator
21.5.1. Operation
21.5.2. Standard Decorators
21.5.3. Custom Decorators
21.5.4. Rendering Individual Decorators
21.6. Standard Form Elements Shipped With Zend Framework
21.6.1. Zend_Form_Element_Button
21.6.2. Zend_Form_Element_Captcha
21.6.3. Zend_Form_Element_Checkbox
21.6.4. Zend_Form_Element_File
21.6.5. Zend_Form_Element_Hidden
21.6.6. Zend_Form_Element_Hash
21.6.7. Zend_Form_Element_Image
21.6.8. Zend_Form_Element_MultiCheckbox
21.6.9. Zend_Form_Element_Multiselect
21.6.10. Zend_Form_Element_Password
21.6.11. Zend_Form_Element_Radio
21.6.12. Zend_Form_Element_Reset
21.6.13. Zend_Form_Element_Select
21.6.14. Zend_Form_Element_Submit
21.6.15. Zend_Form_Element_Text
21.6.16. Zend_Form_Element_Textarea
21.7. Standard Form Decorators Shipped With Zend Framework
21.7.1. Zend_Form_Decorator_Callback
21.7.2. Zend_Form_Decorator_Captcha
21.7.3. Zend_Form_Decorator_Description
21.7.4. Zend_Form_Decorator_DtDdWrapper
21.7.5. Zend_Form_Decorator_Errors
21.7.6. Zend_Form_Decorator_Fieldset
21.7.7. Zend_Form_Decorator_File
21.7.8. Zend_Form_Decorator_Form
21.7.9. Zend_Form_Decorator_FormElements
21.7.10. Zend_Form_Decorator_FormErrors
21.7.11. Zend_Form_Decorator_HtmlTag
21.7.12. Zend_Form_Decorator_Image
21.7.13. Zend_Form_Decorator_Label
21.7.14. Zend_Form_Decorator_PrepareElements
21.7.15. Zend_Form_Decorator_ViewHelper
21.7.16. Zend_Form_Decorator_ViewScript
21.8. Internationalization of Zend_Form
21.8.1. Initializing I18n in Forms
21.8.2. Standard I18n Targets
21.9. Advanced Zend_Form Usage
21.9.1. Array Notation
21.9.2. Multi-Page Forms
22. Zend_Gdata
22.1. Introduction to Gdata
22.1.1. Structure of Zend_Gdata
22.1.2. Interacting with Google Services
22.1.3. Obtaining instances of Zend_Gdata classes
22.1.4. Google Data Client Authentication
22.1.5. Dependencies
22.1.6. Creating a new Gdata client
22.1.7. Common query parameters
22.1.8. Fetching a feed
22.1.9. Working with multi-page feeds
22.1.10. Working with data in feeds and entries
22.1.11. Updating entries
22.1.12. Posting entries to Google servers
22.1.13. Deleting entries on Google servers
22.2. Authenticating with AuthSub
22.2.1. Creating an AuthSub authenticated Http Client
22.2.2. Revoking AuthSub authentication
22.3. Using the Book Search Data API
22.3.1. Authenticating to the Book Search service
22.3.2. Searching for books Partner Co-Branded Search
22.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
22.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
22.4. Authenticating with ClientLogin
22.4.1. Creating a ClientLogin authenticated Http Client
22.4.2. Terminating a ClientLogin authenticated Http Client
22.5. Using Google Calendar
22.5.1. Connecting To The Calendar Service Authentication Creating A Service Instance
22.5.2. Retrieving A Calendar List
22.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
22.5.4. Creating Events Creating Single-Occurrence Events Event Schedules and Reminders Creating Recurring Events Using QuickAdd
22.5.5. Modifying Events
22.5.6. Deleting Events
22.5.7. Accessing Event Comments
22.6. Using Google Documents List Data API
22.6.1. Get a List of Documents
22.6.2. Upload a Document
22.6.3. Searching the documents feed Get a List of Word Processing Documents Get a List of Spreadsheets Performing a text query
22.7. Using Google Spreadsheets
22.7.1. Create a Spreadsheet
22.7.2. Get a List of Spreadsheets
22.7.3. Get a List of Worksheets
22.7.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
22.7.5. Interacting With Cell-based Feeds Get a Cell-based Feed Send a Cell Range Query Change Contents of a Cell
22.8. Using Google Apps Provisioning
22.8.1. Setting the current domain Setting the domain for the service class Setting the domain for query classes
22.8.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
22.8.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
22.8.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
22.8.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
22.8.6. Handling errors
22.9. Using Google Base
22.9.1. Connect To The Base Service Authentication Create A Service Instance
22.9.2. Retrieve Items Send a Structured Query Query Customer Items Feed Query Snippets Feed Iterate through the Items
22.9.3. Insert, Update, and Delete Customer Items Insert an Item Modify an Item Delete an Item
22.10. Using Picasa Web Albums
22.10.1. Connecting To The Service Authentication Creating A Service Instance
22.10.2. Understanding and Constructing Queries
22.10.3. Retrieving Feeds And Entries Retrieving A User Retrieving An Album Retrieving A Photo Retrieving A Comment Retrieving A Tag
22.10.4. Creating Entries Creating An Album Creating A Photo Creating A Comment Creating A Tag
22.10.5. Deleting Entries Deleting An Album Deleting A Photo Deleting A Comment Deleting A Tag Optimistic Concurrency (Notes On Deletion)
22.11. Using the YouTube Data API
22.11.1. Authentication
22.11.2. Developer Keys and Client ID
22.11.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
22.11.4. Retrieving video comments
22.11.5. Retrieving playlist feeds Retrieving the playlists of a user Retrieving a specific playlist
22.11.6. Retrieving a list of a user's subscriptions
22.11.7. Retrieving a user's profile
22.11.8. Uploading Videos to YouTube
22.11.9. Browser-based upload
22.11.10. Checking upload status
22.11.11. Other Functions
22.12. Catching Gdata Exceptions
23. Zend_Http
23.1. Zend_Http_Client - Introduction
23.1.1. Introduction
23.1.2. Configuration Parameters
23.1.3. Performing Basic HTTP Requests
23.1.4. Adding GET and POST parameters
23.1.5. Accessing Last Request and Response
23.2. Zend_Http_Client - Advanced Usage
23.2.1. HTTP Redirections
23.2.2. Adding Cookies and Using Cookie Persistence
23.2.3. Setting Custom Request Headers
23.2.4. File Uploads
23.2.5. Sending Raw POST Data
23.2.6. HTTP Authentication
23.2.7. Sending Multiple Requests With the Same Client
23.3. Zend_Http_Client - Connection Adapters
23.3.1. Overview
23.3.2. The Socket Adapter
23.3.3. The Proxy Adapter
23.3.4. The Test Adapter
23.3.5. Creating your own connection adapters
23.4. Zend_Http_Cookie and Zend_Http_CookieJar
23.4.1. Introduction
23.4.2. Instantiating Zend_Http_Cookie Objects
23.4.3. Zend_Http_Cookie getter methods
23.4.4. Zend_Http_Cookie: Matching against a scenario
23.4.5. The Zend_Http_CookieJar Class: Instantiation
23.4.6. Adding Cookies to a Zend_Http_CookieJar object
23.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
23.5. Zend_Http_Response
23.5.1. Introduction
23.5.2. Boolean Tester Methods
23.5.3. Accessor Methods
23.5.4. Static HTTP Response Parsers
24. Zend_InfoCard
24.1. Introduction
24.1.1. Basic Theory of Usage
24.1.2. Using as part of Zend_Auth
24.1.3. Using the Zend_InfoCard component standalone
24.1.4. Working with a Claims object
24.1.5. Attaching Information Cards to existing accounts
24.1.6. Creating Zend_InfoCard Adapters
25. Zend_Json
25.1. Introduction
25.2. Basic Usage
25.3. JSON Objects
25.4. XML to JSON conversion
25.5. Zend_Json_Server - JSON-RPC server
25.5.1. Advanced Details Zend_Json_Server Zend_Json_Server_Request Zend_Json_Server_Response Zend_Json_Server_Error Zend_Json_Server_Smd
26. Zend_Layout
26.1. Introduction
26.2. Zend_Layout Quick Start
26.2.1. Layout scripts
26.2.2. Using Zend_Layout with the Zend Framework MVC
26.2.3. Using Zend_Layout as a Standalone Component
26.2.4. Sample Layout
26.3. Zend_Layout Configuration Options
26.3.1. Examples
26.4. Zend_Layout Advanced Usage
26.4.1. Custom View Objects
26.4.2. Custom Front Controller Plugins
26.4.3. Custom Action Helpers
26.4.4. Custom Layout Script Path Resolution: Using the Inflector
27. Zend_Ldap
27.1. Introduction
27.1.1. Theory of Operation Automatic Username Canonicalization When Binding Zend_Ldap Options Account Name Canonicalization Multi-domain Authentication and Failover
28. Zend_Loader
28.1. Loading Files and Classes Dynamically
28.1.1. Loading Files
28.1.2. Loading Classes
28.1.3. Testing if a File is Readable
28.1.4. Using the Autoloader
28.2. Loading Plugins
28.2.1. Basic Use Case
28.2.2. Manipulating Plugin Paths
28.2.3. Testing for Plugins and Retrieving Class Names
28.2.4. Getting Better Performance for Plugins
29. Zend_Locale
29.1. Introduction
29.1.1. What is Localization
29.1.2. What is a Locale?
29.1.3. How are Locales Represented?
29.1.4. Selecting the Right Locale
29.1.5. Usage of automatic Locales
29.1.6. Using a default Locale
29.1.7. ZF Locale-Aware Classes
29.1.8. Application wide locale
29.1.9. Zend_Locale_Format::setOptions(array $options)
29.1.10. Speed up Zend_Locale and its subclasses
29.2. Using Zend_Locale
29.2.1. Copying, Cloning, and Serializing Locale Objects
29.2.2. Equality
29.2.3. Default locales
29.2.4. Set a new locale
29.2.5. Getting the language and region
29.2.6. Obtaining localized strings
29.2.7. Obtaining translations for "yes" and "no"
29.2.8. Get a list of all known locales
29.3. Normalization and Localization
29.3.1. Number normalization: getNumber($input, Array $options) Precision and Calculations
29.3.2. Number localization
29.3.3. Number testing
29.3.4. Float value normalization
29.3.5. Floating point value localization
29.3.6. Floating point value testing
29.3.7. Integer value normalization
29.3.8. Integer point value localization
29.3.9. Integer value testing
29.3.10. Numeral System Conversion List of supported numeral systems
29.4. Working with Dates and Times
29.4.1. Normalizing Dates and Times
29.4.2. Testing Dates
29.4.3. Normalizing a Time
29.4.4. Testing Times
29.5. Supported locales
29.6. Migrating from previous versions
29.6.1. Migrating from 1.6 to 1.7 or newer Changes when using isLocale() Changes when using getDefault()
30. Zend_Log
30.1. Overview
30.1.1. Creating a Log
30.1.2. Logging Messages
30.1.3. Destroying a Log
30.1.4. Using Built-in Priorities
30.1.5. Adding User-defined Priorities
30.1.6. Understanding Log Events
30.2. Writers
30.2.1. Writing to Streams
30.2.2. Writing to Databases
30.2.3. Writing to Firebug Setting Styles for Priorities Preparing data for Logging Exception Logging Table Logging
30.2.4. Stubbing Out the Writer
30.2.5. Testing with the Mock
30.2.6. Compositing Writers
30.3. Formatters
30.3.1. Simple Formatting
30.3.2. Formatting to XML
30.4. Filters
30.4.1. Filtering for All Writers
30.4.2. Filtering for a Writer Instance
31. Zend_Mail
31.1. Introduction
31.1.1. Getting started
31.1.2. Configuring the default sendmail transport
31.2. Sending via SMTP
31.3. Sending Multiple Mails per SMTP Connection
31.4. Using Different Transports
31.5. HTML E-Mail
31.6. Attachments
31.7. Adding Recipients
31.8. Controlling the MIME Boundary
31.9. Additional Headers
31.10. Character Sets
31.11. Encoding
31.12. SMTP Authentication
31.13. Securing SMTP Transport
31.14. Reading Mail Messages
31.14.1. Simple example using Pop3
31.14.2. Opening a local storage
31.14.3. Opening a remote storage
31.14.4. Fetching messages and simple methods
31.14.5. Working with messages
31.14.6. Checking for flags
31.14.7. Using folders
31.14.8. Advanced Use Using NOOP Caching instances Extending Protocol Classes Using Quota (since 1.5)
32. Zend_Measure
32.1. Introduction
32.2. Creation of Measurements
32.2.1. Creating measurements from integers and floats
32.2.2. Creating measurements from strings
32.2.3. Measurements from localized strings
32.3. Outputting measurements
32.3.1. Automatic output
32.3.2. Outputting values
32.3.3. Output with unit of measurement
32.3.4. Output as localized string
32.4. Manipulating Measurements
32.4.1. Convert
32.4.2. Add and subtract
32.4.3. Compare
32.4.4. Compare
32.4.5. Manually change values
32.4.6. Manually change types
32.5. Types of measurements
32.5.1. Hints for Zend_Measure_Binary
32.5.2. Hints for Zend_Measure_Number
32.5.3. Roman numbers
33. Zend_Memory
33.1. Overview
33.1.1. Introduction
33.1.2. Theory of Operation Memory manager Memory container Locked memory Movable memory
33.2. Memory Manager
33.2.1. Creating a Memory Manager
33.2.2. Managing Memory Objects Creating Movable Objects Creating Locked Objects Destroying Objects
33.2.3. Memory Manager Settings Memory Limit MinSize
33.3. Memory Objects
33.3.1. Movable
33.3.2. Locked
33.3.3. Memory container 'value' property.
33.3.4. Memory container interface getRef() method touch() method lock() method unlock() method isLocked() method
34. Zend_Mime
34.1. Zend_Mime
34.1.1. Introduction
34.1.2. Static Methods and Constants
34.1.3. Instantiating Zend_Mime
34.2. Zend_Mime_Message
34.2.1. Introduction
34.2.2. Instantiation
34.2.3. Adding MIME Parts
34.2.4. Boundary handling
34.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
34.3. Zend_Mime_Part
34.3.1. Introduction
34.3.2. Instantiation
34.3.3. Methods for rendering the message part to a string
35. Zend_OpenId
35.1. Introduction
35.1.1. What is OpenID?
35.1.2. How Does it Work?
35.1.3. Zend_OpenId Structure
35.1.4. Supported Standards
35.2. Zend_OpenId_Consumer Basics
35.2.1. OpenID Authentication
35.2.2. Combine all Steps in One Page
35.2.3. Realm
35.2.4. Immediate Check
35.2.5. Zend_OpenId_Consumer_Storage
35.2.6. Simple Registration Extension
35.2.7. Integration with Zend_Auth
35.2.8. Integration with Zend_Controller
35.3. Zend_OpenId_Provider
35.3.1. Quick Start
35.3.2. Combine all together
35.3.3. Simple Registration Extension
35.3.4. What Else?
36. Zend_Paginator
36.1. Introduction
36.2. Usage
36.2.1. Paginating data collections
36.2.2. Rendering pages with view scripts Example pagination controls Listing of properties
36.3. Configuration
36.4. Advanced usage
36.4.1. Custom data source adapters
36.4.2. Custom scrolling styles
37. Zend_Pdf
37.1. Introduction.
37.2. Creating and loading PDF documents.
37.3. Save changes to the PDF document.
37.4. Document pages.
37.4.1. Page creation.
37.4.2. Page cloning.
37.5. Drawing
37.5.1. Geometry
37.5.2. Colors
37.5.3. Shape Drawing
37.5.4. Text Drawing
37.5.5. Using fonts
37.5.6. Starting in 1.5, Extracting fonts.
37.5.7. Image Drawing
37.5.8. Line drawing style
37.5.9. Fill style
37.5.10. Rotations
37.5.11. Save/restore graphics state
37.5.12. Clipping draw area
37.5.13. Styles
37.5.14. Transparency
37.6. Document Info and Metadata.
37.7. Zend_Pdf module usage example
38. Zend_ProgressBar
38.1. Zend_ProgressBar
38.1.1. Introduction
38.1.2. Basic usage of Zend_Progressbar
38.1.3. Persistent progress
38.1.4. Standard adapters
39. Zend_Registry
39.1. Using the Registry
39.1.1. Setting Values in the Registry
39.1.2. Getting Values from the Registry
39.1.3. Constructing a Registry Object
39.1.4. Accessing the Registry as an Array
39.1.5. Accessing the Registry as an Object
39.1.6. Querying if an index exists
39.1.7. Extending the Registry
39.1.8. Unsetting the Static Registry
40. Zend_Rest
40.1. Introduction
40.2. Zend_Rest_Client
40.2.1. Introduction
40.2.2. Responses
40.2.3. Request Arguments
40.3. Zend_Rest_Server
40.3.1. Introduction
40.3.2. REST Server Usage
40.3.3. Calling a Zend_Rest_Server Service
40.3.4. Sending A Custom Status
40.3.5. Returning Custom XML Responses
41. Zend_Search_Lucene
41.1. Overview
41.1.1. Introduction
41.1.2. Document and Field Objects
41.1.3. Understanding Field Types
41.1.4. HTML documents
41.1.5. Word 2007 documents
41.1.6. Powerpoint 2007 documents
41.1.7. Excel 2007 documents
41.2. Building Indexes
41.2.1. Creating a New Index
41.2.2. Updating Index
41.2.3. Updating Documents
41.2.4. Retrieving Index Size
41.2.5. Index optimization MaxBufferedDocs auto-optimization option MaxMergeDocs auto-optimization option MergeFactor auto-optimization option
41.2.6. Permissions
41.2.7. Limitations Index size Supported Filesystems
41.3. Searching an Index
41.3.1. Building Queries Query Parsing
41.3.2. Search Results
41.3.3. Limiting the Result Set
41.3.4. Results Scoring
41.3.5. Search Result Sorting
41.3.6. Search Results Highlighting
41.4. Query Language
41.4.1. Terms
41.4.2. Fields
41.4.3. Wildcards
41.4.4. Term Modifiers
41.4.5. Range Searches
41.4.6. Fuzzy Searches
41.4.7. Proximity Searches
41.4.8. Boosting a Term
41.4.9. Boolean Operators AND OR NOT &&, ||, and ! operators + - No Operator
41.4.10. Grouping
41.4.11. Field Grouping
41.4.12. Escaping Special Characters
41.5. Query Construction API
41.5.1. Query Parser Exceptions
41.5.2. Term Query
41.5.3. Multi-Term Query
41.5.4. Boolean Query
41.5.5. Wildcard Query
41.5.6. Fuzzy Query
41.5.7. Phrase Query
41.5.8. Range Query
41.6. Character Set
41.6.1. UTF-8 and single-byte character set support
41.6.2. Default text analyzer
41.6.3. UTF-8 compatible text analyzers
41.7. Extensibility
41.7.1. Text Analysis
41.7.2. Tokens Filtering
41.7.3. Scoring Algorithms
41.7.4. Storage Containers
41.8. Interoperating with Java Lucene
41.8.1. File Formats
41.8.2. Index Directory
41.8.3. Java Source Code
41.9. Advanced
41.9.1. Starting from 1.6, handling index format transformations.
41.9.2. Using the index as static property
41.10. Best Practices
41.10.1. Field names
41.10.2. Indexing performance
41.10.3. Index during Shut Down
41.10.4. Retrieving documents by unique id
41.10.5. Memory Usage
41.10.6. Encoding
41.10.7. Index maintenance
42. Zend_Server
42.1. Introduction
42.2. Zend_Server_Reflection
42.2.1. Introduction
42.2.2. Usage
43. Zend_Service
43.1. Introduction
43.2. Zend_Service_Akismet
43.2.1. Introduction
43.2.2. Verify an API key
43.2.3. Check for spam
43.2.4. Submitting known spam
43.2.5. Submitting false positives (ham)
43.2.6. Zend-specific Accessor Methods
43.3. Zend_Service_Amazon
43.3.1. Introduction
43.3.2. Country Codes
43.3.3. Looking up a Specific Amazon Item by ASIN
43.3.4. Performing Amazon Item Searches
43.3.5. Using the Alternative Query API Introduction
43.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
43.4. Zend_Service_Audioscrobbler
43.4.1. Introduction to Searching Audioscrobbler
43.4.2. Users
43.4.3. Artists
43.4.4. Tracks
43.4.5. Tags
43.4.6. Groups
43.4.7. Forums
43.5. Zend_Service_Delicious
43.5.1. Introduction
43.5.2. Retrieving posts
43.5.3. Zend_Service_Delicious_PostList
43.5.4. Editing posts
43.5.5. Deleting posts
43.5.6. Adding new posts
43.5.7. Tags
43.5.8. Bundles
43.5.9. Public data Public posts
43.5.10. HTTP client
43.6. Zend_Service_Flickr
43.6.1. Introduction to Searching Flickr
43.6.2. Finding Flickr Users' Photos and Information
43.6.3. Finding photos From a Group Pool
43.6.4. Retrieving Flickr Image Details
43.6.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
43.7. Zend_Service_Nirvanix
43.7.1. Introduction
43.7.2. Registering with Nirvanix
43.7.3. API Documentation
43.7.4. Features
43.7.5. Getting Started
43.7.6. Understanding the Proxy
43.7.7. Examining Results
43.7.8. Handling Errors
43.8. Zend_Service_ReCaptcha
43.8.1. Introduction
43.8.2. Simplest use
43.9. Zend_Service_Simpy
43.9.1. Introduction
43.9.2. Links
43.9.3. Tags
43.9.4. Notes
43.9.5. Watchlists
43.10. Introduction
43.10.1. Getting Started with Zend_Service_SlideShare
43.10.2. The SlideShow object
43.10.3. Retrieving a single slide show
43.10.4. Retrieving Groups of Slide Shows
43.10.5. Zend_Service_SlideShare Caching policies
43.10.6. Changing the behavior of the HTTP Client
43.11. Zend_Service_StrikeIron
43.11.1. Overview
43.11.2. Registering with StrikeIron
43.11.3. Getting Started
43.11.4. Making Your First Query
43.11.5. Examining Results
43.11.6. Handling Errors
43.11.7. Checking Your Subscription
43.12. Zend_Service_StrikeIron: Bundled Services
43.12.1. ZIP Code Information
43.12.2. U.S. Address Verification
43.12.3. Sales & Use Tax Basic
43.13. Zend_Service_StrikeIron: Advanced Uses
43.13.1. Using Services by WSDL
43.13.2. Viewing SOAP Transactions
43.14. Zend_Service_Technorati
43.14.1. Introduction
43.14.2. Getting Started
43.14.3. Making Your First Query
43.14.4. Consuming Results
43.14.5. Handling Errors
43.14.6. Checking Your API Key Daily Usage
43.14.7. Available Technorati Queries Technorati Cosmos Technorati Search Technorati Tag Technorati DailyCounts Technorati TopTags Technorati BlogInfo Technorati BlogPostTags Technorati GetInfo Technorati KeyInfo
43.14.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
43.15. Zend_Service_Twitter
43.15.1. Introduction
43.15.2. Authentication
43.15.3. Account Methods
43.15.4. Status Methods
43.15.5. User Methods
43.15.6. Direct Message Methods
43.15.7. Friendship Methods
43.15.8. Favorite Methods
43.15.9. Zend_Service_Twitter_Search Introduction Twitter Trends Searching Twitter Zend-specific Accessor Methods
43.16. Zend_Service_Yahoo
43.16.1. Introduction
43.16.2. Searching the Web with Yahoo!
43.16.3. Finding Images with Yahoo!
43.16.4. Finding videos with Yahoo!
43.16.5. Finding Local Businesses and Services with Yahoo!
43.16.6. Searching Yahoo! News
43.16.7. Searching Yahoo! Site Explorer Inbound Links
43.16.8. Searching Yahoo! Site Explorer's PageData
43.16.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
44. Zend_Session
44.1. Introduction
44.2. Basic Usage
44.2.1. Tutorial Examples
44.2.2. Iterating Over Session Namespaces
44.2.3. Accessors for Session Namespaces
44.3. Advanced Usage
44.3.1. Starting a Session
44.3.2. Locking Session Namespaces
44.3.3. Namespace Expiration
44.3.4. Session Encapsulation and Controllers
44.3.5. Preventing Multiple Instances per Namespace
44.3.6. Working with Arrays
44.3.7. Using Sessions with Objects
44.3.8. Using Sessions with Unit Tests
44.4. Global Session Management
44.4.1. Configuration Options
44.4.2. Error: Headers Already Sent
44.4.3. Session Identifiers Session Hijacking and Fixation
44.4.4. rememberMe(integer $seconds)
44.4.5. forgetMe()
44.4.6. sessionExists()
44.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
44.4.8. stop()
44.4.9. writeClose($readonly = true)
44.4.10. expireSessionCookie()
44.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
44.4.12. namespaceIsset($namespace)
44.4.13. namespaceUnset($namespace)
44.4.14. namespaceGet($namespace)
44.4.15. getIterator()
44.5. Zend_Session_SaveHandler_DbTable
45. Zend_Soap
45.1. Zend_Soap_Server
45.1.1. Zend_Soap_Server constructor. Zend_Soap_Server constructor for the WSDL mode. Zend_Soap_Server constructor for the non-WSDL mode.
45.1.2. Methods to define Web Service API.
45.1.3. Request and response objects handling. Request processing. Response pre-processing.
45.2. Zend_Soap_Client
45.2.1. Zend_Soap_Client Constructor
45.2.2. Performing SOAP Requests
45.3. WSDL Accessor
45.3.1. Zend_Soap_Wsdl constructor.
45.3.2. addMessage() method.
45.3.3. addPortType() method.
45.3.4. addPortOperation() method.
45.3.5. addBinding() method.
45.3.6. addBindingOperation() method.
45.3.7. addSoapBinding() method.
45.3.8. addSoapOperation() method.
45.3.9. addService() method.
45.3.10. Type mapping. Retrieving type information. Adding complex type information.
45.3.11. addDocumentation() method.
45.3.12. Get finalized WSDL document.
45.4. AutoDiscovery
45.4.1. AutoDiscovery Introduction
45.4.2. Class autodiscovering
45.4.3. Functions autodiscovering
45.4.4. Autodiscovering Datatypes
46. Zend_Test
46.1. Introduction
46.2. Zend_Test_PHPUnit
46.2.1. Bootstrapping your TestCase
46.2.2. Testing your Controllers and MVC Applications
46.2.3. Assertions CSS Selector Assertions XPath Assertions Redirect Assertions Response Header Assertions Request Assertions
46.2.4. Examples
47. Zend_Text
47.1. Zend_Text_Figlet
47.2. Zend_Text_Table
48. Zend_TimeSync
48.1. Introduction
48.1.1. Why Zend_TimeSync ?
48.1.2. What is NTP ?
48.1.3. What is SNTP?
48.1.4. Problematic usage
48.1.5. Decide which server to use
48.2. Working with Zend_TimeSync
48.2.1. Generic Time Server Request
48.2.2. Multiple Time Servers
48.2.3. Protocols of Time Servers
48.2.4. Using Ports for Time Servers
48.2.5. Time Servers Options
48.2.6. Using Different Time Servers
48.2.7. Information from Time Servers
48.2.8. Handling Exceptions
49. Zend_Translate
49.1. Introduction
49.1.1. Starting multi-lingual
49.2. Adapters for Zend_Translate
49.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
49.2.2. Integrate self written Adapters
49.2.3. Speedup all Adapters
49.3. Using Translation Adapters
49.3.1. Translation Source Structures
49.3.2. Creating array source files
49.3.3. Creating Gettext Source Files
49.3.4. Creating TMX Source Files
49.3.5. Creating CSV Source Files
49.3.6. Creating INI Source Files
49.3.7. Options for adapters
49.3.8. Handling languages Automatically handling of languages
49.3.9. Automatic source detection Language through naming directories Language through filenames Complete Filename Extension of the file Filename tokens
49.3.10. Checking for translations
49.3.11. Access to the source data
49.4. Migrating from previous versions
49.4.1. Migrating from 1.6 to 1.7 or newer Setting languages
50. Zend_Uri
50.1. Zend_Uri
50.1.1. Overview
50.1.2. Creating a New URI
50.1.3. Manipulating an Existing URI
50.1.4. URI Validation Allowing "Unwise" characters in URIs
50.1.5. Common Instance Methods Getting the Scheme of the URI Getting the Entire URI Validating the URI
51. Zend_Validate
51.1. Introduction
51.1.1. What is a validator?
51.1.2. Basic usage of validators
51.1.3. Customizing messages
51.1.4. Using the static is() method
51.2. Standard Validation Classes
51.2.1. Alnum
51.2.2. Alpha
51.2.3. Barcode
51.2.4. Between
51.2.5. Ccnum
51.2.6. Date
51.2.7. Digits
51.2.8. EmailAddress
51.2.9. Float
51.2.10. GreaterThan
51.2.11. Hex
51.2.12. Hostname
51.2.13. InArray
51.2.14. Int
51.2.15. Ip
51.2.16. LessThan
51.2.17. NotEmpty
51.2.18. Regex
51.2.19. StringLength
51.3. Validator Chains
51.4. Writing Validators
52. Zend_Version
52.1. Reading the Zend Framework Version
53. Zend_View
53.1. Introduction
53.1.1. Controller Script
53.1.2. View Script
53.1.3. Options
53.1.4. Short Tags with View Scripts
53.1.5. Utility Accessors
53.2. Controller Scripts
53.2.1. Assigning Variables
53.2.2. Rendering a View Script
53.2.3. View Script Paths
53.3. View Scripts
53.3.1. Escaping Output
53.3.2. Using Alternate Template Systems Template Systems Using View Scripts Template Systems Using Zend_View_Interface
53.4. View Helpers
53.4.1. Initial Helpers Action View 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 Translate Helper
53.4.2. Helper Paths
53.4.3. Writing Custom Helpers
53.5. Zend_View_Abstract
54. Zend_Wildfire
54.1. Zend_Wildfire
55. Zend_XmlRpc
55.1. Introduction
55.2. Zend_XmlRpc_Client
55.2.1. Introduction
55.2.2. Method Calls
55.2.3. Types and Conversions PHP Native Types as Parameters Zend_XmlRpc_Value Objects as Parameters
55.2.4. Server Proxy Object
55.2.5. Error Handling HTTP Errors XML-RPC Faults
55.2.6. Server Introspection
55.2.7. From Request to Response
55.2.8. HTTP Client and Testing
55.3. Zend_XmlRpc_Server
55.3.1. Introduction
55.3.2. Basic Usage
55.3.3. Server Structure
55.3.4. Conventions
55.3.5. Utilizing Namespaces
55.3.6. Custom Request Objects
55.3.7. Custom Responses
55.3.8. Handling Exceptions via Faults
55.3.9. Caching Server Definitions Between Requests
55.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
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.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 Performance Guide
C.1. Introduction
C.2. Class Loading
C.2.1. How can I optimize my include_path?
C.2.1.1. Use absolute paths
C.2.1.2. Reduce the number of include paths you define
C.2.1.3. Define your Zend Framework include_path as early as possible
C.2.1.4. Define the current directory last, or not at all
C.2.2. How can I eliminate unnecessary require_once statements?
C.2.2.1. Strip require_once calls with find and sed
C.2.3. How can I speed up plugin loading?
C.2.3.1. Use the PluginLoader include file cache
C.3. Internationalization (i18n) and Localization (l10n)
C.3.1. Which translation adapter should I use?
C.3.1.1. Use non-XML translation adapters for greatest speed
C.3.2. How can I make translation and localization even faster?
C.3.2.1. Use translation and localization caches
C.4. View Rendering
C.4.1. How can I speed up resolution of view helpers?
C.4.1.1. Use the PluginLoader include file cache
C.4.1.2. Extend Zend_View to provide often used helper methods
C.4.2. How can I speed up view partials?
C.4.2.1. Use partial() only when really necessary
C.4.3. How can I speed up calls to the action() view helper?
C.4.3.1. Use the ActionStack when possible
C.4.3.2. Favor helpers that query the model over action()
D. Copyright Information

List of Tables

2.1. Access Controls for an Example CMS
4.1. Configuration Options
4.2. Server Options
4.3. Debugging Messages
4.4. Options for Active Directory
4.5. Options for OpenLDAP
5.1. Core frontend options
5.2. Function frontend options
5.3. Class frontend options
5.4. File frontend options
5.5. Page frontend options
5.6. File backend options
5.7. Sqlite backend options
5.8. Memcached backend options
5.9. Xcache backend options
5.10. TwoLevels backend options
7.1. Zend_Config_Ini Constructor parameters
11.1. Constants for the selecting the currency description
11.2. Constants for the selecting the position of the currency description
12.1. Date Parts
12.2. Basic Operations
12.3. Date Comparison Methods
12.4. Date Output Methods
12.5. Date Output Methods
12.6. Miscellaneous Methods
12.7. Operations involving Zend_Date::HOUR
12.8. Day Constants
12.9. Week Constants
12.10. Month Constants
12.11. Year Constants
12.12. Time Constants
12.13. Timezone Constants
12.14. Date Format Constants (formats include timezone)
12.15. Date and Time Formats (format varies by locale)
12.16. Constants for ISO 8601 date output
12.17. Constants for PHP date output
12.18. Types of supported horizons for sunset and sunrise
13.1. Metadata fields returned by describeTable()
13.2. Constants used by getPart() and reset()
19.1. Different notations of the rename filter and their meaning
22.1. Metadata used in the code-sample below
23.1. Zend_Http_Client configuration parameters
23.2. Zend_Http_Client_Adapter_Socket configuration parameters
23.3. Zend_Http_Client configuration parameters
27.1. Zend_Ldap Options
27.2. accountCanonicalForm
29.1. Details for getTranslationList($type = null, $locale = null, $value = null)
29.2. Details for getTranslation($value = null, $type = null, $locale = null)
29.3. Differences between ZF 1.0 and ZF 1.5
29.4. Format tokens for self generated number formats
29.5. List of supported numeral systems
29.6. Key values for getDate() with option 'fix_date'
29.7. Return values
29.8. Format definition
29.9. Example formats
29.10. List of all supported languages
30.1. Firebug Logging Styles
31.1. Mail Read Feature Overview
31.2. Mail Folder Names
32.1. List of measurement types
36.1. Adapters for Zend_Paginator
36.2. Scrolling styles for Zend_Paginator
36.3. Properties available to view partials
36.4. Configuration methods for Zend_Paginator
41.1. Zend_Search_Lucene_Field Types
43.1. Zend_Service_Amazon_Item Properties
43.2. Zend_Service_Amazon_Image Properties
43.3. Zend_Service_Amazon_OfferSet Properties
43.4. Properties
43.5. Zend_Service_Amazon_SimilarProduct Properties
43.6. Zend_Service_Amazon_Accessories Properties
43.7. Zend_Service_Amazon_CustomerReview Properties
43.8. Zend_Service_Amazon_EditorialReview Properties
43.9. Zend_Service_Amazon_Listmania Properties
43.10. Methods for retrieving public data
43.11. Methods of the Zend_Service_Delicious_SimplePost class
43.12. Zend_Service_Flickr_ResultSet Properties
43.13. Zend_Service_Flickr_Result Properties
43.14. Zend_Service_Flickr_Image Properties
43.15. Zend_Service_Yahoo_ResultSet
43.16. Zend_Service_Yahoo_LocalResultSet Properties
43.17. Zend_Service_Yahoo_Result Properties
43.18. Zend_Service_Yahoo_WebResult Properties
43.19. Zend_Service_Yahoo_ImageResult Properties
43.20. Zend_Service_Yahoo_VideoResult Properties
43.21. Zend_Service_Yahoo_LocalResult Properties
43.22. Zend_Service_Yahoo_NewsResult Properties
43.23. Zend_Service_Yahoo_Image Properties
49.1. Adapters for Zend_Translate
49.2. Options for Translation Adapters
55.1. PHP and XML-RPC Type Conversions
55.2. Zend_XmlRpc_Value Objects for XML-RPC Types
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 amoung Roles
3.1. Basic AMF Server
3.2. Adding Message Headers to the AMF Response
4.1. Modifying the Session Namespace
4.2. Using a Custom Storage Class
4.3. Basic Usage
5.1. Getting a frontend with Zend_Cache::factory()
5.2. Caching a database query result
5.3. Caching output with Zend_Cache output frontend
7.1. Using Zend_Config Per Se
7.2. Using Zend_Config with a PHP Configuration File
7.3. Using Zend_Config_Ini
7.4. Using Zend_Config_Xml
7.5. Using tag attributes in Zend_Config_Xml
8.1. Using Zend_Config_Writer
8.2. Modifying an existing config
9.1. Using the Short Syntax
9.2. Using the Long Syntax
9.3. Catching Getopt Exceptions
9.4. Using getOption()
9.5. Using __get() and __isset() magic methods
9.6. Using getRemainingArgs()
9.7. Using addRules()
9.8. Using setHelp()
9.9. Using setAliases()
9.10. Using addArguments() and setArguments()
9.11. Using setOption()
9.12. Using setOptions()
10.1. How to Handle Non-Existent Actions
10.2. Adding a task using action, controller and module names
10.3. Adding a task using a request object
10.4. AutoCompletion with Dojo Using Zend MVC
10.5. Allowing Actions to Respond To Ajax Requests
10.6. Setting Options
10.7. Using Defaults
10.8. Using goto()'s _forward() API
10.9. Using route assembly with gotoRoute()
10.10. Basic Usage
10.11. Disabling autorender
10.12. Choosing a different view script
10.13. Modifying the registered view
10.14. Changing the path specifications
10.15. Rendering multiple view scripts from a single action
10.16. Standard usage
10.17. Setting a different error handler
10.18. Using accessors
11.1. Creating an Instance of Zend_Currency from the Locale
11.2. Other Ways to Create Instances of Zend_Currency
11.3. Creating an Output String for a Currency
11.4. Changing the displayed format of a currency
11.5. Getting Information about Currencies
11.6. Setting a New Locale
11.7. Caching currencies
12.1. Setting a default timezone
12.2. Creating the current date
12.3. get() - output a date
12.4. set() - set a date
12.5. add() - adding dates
12.6. compare() - compare dates
12.7. equals() - identify a date or date part
12.8. User-specified input date format
12.9. Operating on Parts of Dates
12.10. Date creation by instance
12.11. Static date creation
12.12. Quick creation of dates from database date values
12.13. Convenient creation of dates from database date values
12.14. Date creation by array
12.15. Example usage for self-defined ISO formats
12.16. Example usage for self-defined formats with PHP specifier
12.17. Checking dates
12.18. Getting all available cities
12.19. Getting the location for a city
12.20. Calculating sun informations
12.21. Working with timezones
12.22. Multiple timezones
13.1. Using an Adapter constructor
13.2. Using the Adapter factory method
13.3. Using the Adapter factory method for a custom adapter class
13.4. Using the Adapter factory method with a Zend_Config object
13.5. Passing the case-folding option to the factory
13.6. Passing the auto-quoting option to the factory
13.7. Passing PDO driver options to the factory
13.8. Handling connection exceptions
13.9. Using fetchAll()
13.10. Using setFetchMode()
13.11. Using fetchAssoc()
13.12. Using fetchCol()
13.13. Using fetchPairs()
13.14. Using fetchRow()
13.15. Using fetchOne()
13.16. Inserting to a table
13.17. Inserting expressions to a table
13.18. Using lastInsertId() for an auto-increment key
13.19. Using lastInsertId() for a sequence
13.20. Using lastSequenceId()
13.21. Updating rows
13.22. Updating rows using an array of expressions
13.23. Deleting rows
13.24. Using quote()
13.25. Using quote() with a SQL type
13.26. Using quoteInto()
13.27. Using quoteInto() with a SQL type
13.28. Using quoteIdentifier()
13.29. Managing a transaction to ensure consistency
13.30. Closing a database connection
13.31. Running a non-prepared statement in a PDO adapter
13.32. Creating a SQL statement object with query()
13.33. Using a SQL statement constructor
13.34. Executing a statement with positional parameters
13.35. Executing a statement with named parameters
13.36. Using fetch() in a loop
13.37. Using fetchAll()
13.38. Setting the fetch mode
13.39. Using fetchColumn()
13.40. Using fetchObject()
13.41. DB Profiling with Zend_Controller_Front
13.42. DB Profiling without Zend_Controller_Front
13.43. Example of the database adapter's select() method
13.44. Example of creating a new Select object
13.45. Example of the using methods to add clauses
13.46. Example of the using the fluent interface
13.47. Example of the from() method
13.48. Example of specifying a table correlation name
13.49. Example of specifying a schema name
13.50. Examples of specifying columns
13.51. Examples of specifying columns containing expressions
13.52. Examples of quoting columns in an expression
13.53. Examples of adding columns with the columns() method
13.54. Example of the join() method
13.55. Example of specifying no columns
13.56. Example of the joinUsing() method
13.57. Example of the where() method
13.58. Example of a parameter in the where() method
13.59. Example of multiple where() methods
13.60. Example of the orWhere() method
13.61. Example of parenthesizing Boolean expressions
13.62. Example of the group() method
13.63. Example of the having() method
13.64. Example of the order() method
13.65. Example of the limit() method
13.66. Example of the limitPage() method
13.67. Example of the distinct() method
13.68. Example of forUpdate() method
13.69. Example using the Db adapter's query() method
13.70. Example using the Select object's query method
13.71. Example of the __toString() method
13.72. Example of the getPart() method
13.73. Example of the reset() method
13.74. Declaring a table class with explicit table name
13.75. Declaring a table class with implicit table name
13.76. Declaring a table class with schema
13.77. Declaring table and schema names upon instantiation
13.78. Example of specifying the primary key
13.79. Example of overriding the _setupTableName() method
13.80. Example usage of init() method
13.81. Example of constructing a Table using an Adapter object
13.82. Example of constructing a Table using a the Default Adapter
13.83. Example of constructing a Table using a Registry key
13.84. Example of inserting to a Table
13.85. Example of inserting expressions to a Table
13.86. Example of declaring a Table with auto-incrementing primary key
13.87. Example of declaring a Table with a sequence
13.88. Example of declaring a Table with a natural key
13.89. Example of updating rows in a Table
13.90. Example of deleting rows from a Table
13.91. Example of finding rows by primary key values
13.92. Example of finding rows by compound primary key values
13.93. Simple usage
13.94. Example of fluent interface
13.95. Example of finding rows by an expression
13.96. Example of finding rows by an expression
13.97. Retrieving specific columns
13.98. Retrieving expressions as columns
13.99. Using a lookup table to refine the results of fetchAll()
13.100. Removing the integrity check on Zend_Db_Table_Select to allow JOINed rows
13.101. Example of finding a single row by an expression
13.102. Example of getting the table name
13.103. Using a Default Metadata Cache for all Table Objects
13.104. Using a Metadata Cache for a Specific Table Object
13.105. Example of specifying the Row and Rowset classes
13.106. Example of changing the Row and Rowset classes
13.107. Custom logic to manage timestamps
13.108. Custom method to find bugs by status
13.109. Example of an abstract table class that implements inflection
13.110. Example of fetching a row
13.111. Example of reading a row in a rowset
13.112. Example of reading a column in a row
13.113. Example of using the toArray() method
13.114. Example of changing a column in a row
13.115. Example of creating a new row for a table
13.116. Example of populating a new row for a table
13.117. Example of using setFromArray() to set values in a new Row
13.118. Example of deleting a row
13.119. Example of serializing a row
13.120. Example of unserializing a serialized row
13.121. Example of reactivating a row
13.122. Specifying a custom Row class
13.123. Example usage of init() method
13.124. Example of custom logic in a Row class
13.125. Example of a Row class that logs insert data for multiple tables
13.126. Example of defining an inflection transformation
13.127. Example of fetching a rowset
13.128. Counting the Rows in a Rowset
13.129. Reading a Single Row from a Rowset
13.130. Iterating through a Rowset
13.131. Seeking to a known position into a Rowset
13.132. Using toArray()
13.133. Serializing a Rowset
13.134. Unserializing a Serialized Rowset
13.135. Reactivating a Rowset as Live Data
13.136. Specifying a custom Rowset class
13.137. Example of Rowset class with a new method
13.138. Fetching a Dependent Rowset
13.139. Fetching a Dependent Rowset By a Specific Rule
13.140. Fetching a Dependent Rowset using a Zend_Db_Table_Select
13.141. Fetching Dependent Rowsets using the Magic Method
13.142. Fetching the Parent Row
13.143. Fetching a Parent Row By a Specific Rule
13.144. Fetching the Parent Row using the Magic Method
13.145. Fetching a Rowset with the Many-to-many Method
13.146. Fetching a Rowset with the Many-to-many Method By a Specific Rule
13.147. Fetching Rowsets using the Magic Many-to-many Method
13.148. Example of a Cascading Delete
13.149. Example Declaration of Cascading Operations
14.1. Example of dump() method
15.1. Zend_Dojo_Data initialization via constructor
15.2. Zend_Dojo_Data initialization via mutators
15.3. Appending data to Zend_Dojo_Data
15.4. Specifying a label field in Zend_Dojo_Data
15.5. Populating Zend_Dojo_Data from JSON
15.6. Using Dojo View Helpers
15.7. dojo() View Helper Usage Example
15.8. Specifying Declarative and Programmatic Dojo Usage
15.9. Registering the Dojo View Helper Prefix Path
15.10. BorderContainer layout dijit example
15.11. Enabling Dojo in your existing forms
15.12. DijitElement Decorator Usage
15.13. DijitContainer Decorator Usage
15.14. Example Button dijit element usage
15.15. Example CheckBox dijit element usage
15.16. ComboBox dijit element usage as select input
15.17. ComboBox dijit element usage with datastore
15.18. Example CurrencyTextBox dijit element usage
15.19. Example DateTextBox dijit element usage
15.20. Example Editor dijit element usage
15.21. Example HorizontalSlider dijit element usage
15.22. Example NumberSpinner dijit element usage
15.23. Example NumberTextBox dijit element usage
15.24. Example PasswordTextBox dijit element usage
15.25. Example RadioButton dijit element usage
15.26. Example SimpleTextarea dijit element usage
15.27. Example SubmitButton dijit element usage
15.28. Example TextBox dijit element usage
15.29. Example Textarea dijit element usage
15.30. Example TimeTextBox dijit element usage
15.31. Example ValidationTextBox dijit element usage
15.32. Example VerticalSlider dijit element usage
15.33. Using Zend_Dojo_Form
15.34. Modifying an existing form to utilize Dojo
17.1. Example of catching an exception
18.1. Putting Zend_Feed to Work on RSS Feed Data
18.2. Basic Use of an Atom Feed
18.3. Reading a Single-Entry Atom Feed
18.4. Using the Entry Object Directly for a Single-Entry Atom Feed
18.5. Modifying an Existing Feed Entry
18.6. Creating an Atom Entry with Elements of Custom Namespaces
18.7. Extending the Atom Entry Class with Custom Namespaces
19.1. Simple File-Upload Form
19.2. Checking files
19.3. Getting the filename
19.4. Getting the hash of a file
19.5. Add validators to a file transfer
19.6. Limit validators to single files
19.7. Add multiple validators
19.8. Validate the files
19.9. Using the Count validator
19.10. Using the Crc32 validator
19.11. Using the ExcludeExtension validator
19.12. Using the ExcludeMimeType validator
19.13. Using the Exists validator
19.14. Using the Extension validator
19.15. Using the FilesSize validator
19.16. Using the ImageSize validator
19.17. Using the IsCompressed validator
19.18. Using the IsImage validator
19.19. Using the Hash validator
19.20. Using the Md5 validator
19.21. Using the MimeType validator
19.22. Using the NotExists validator
19.23. Using the Sha1 validator
19.24. Using the Size validator
19.25. Add filters to a file transfer
19.26. Limit filters to single files
19.27. Add multiple filters
19.28. Using the LowerCase filter
19.29. Using the Rename filter
19.30. Using the UpperCase filter
19.31. Changes for the rename filter from 1.6 to 1.7
19.32. Changes for the count validator from 1.6 to 1.7
19.33. Changes for the extension validator from 1.6 to 1.7
19.34. Changes for the filessize validator from 1.6 to 1.7
19.35. Changes for the hash validator from 1.6 to 1.7
19.36. Changes for the imagesize validator from 1.6 to 1.7
19.37. Changes for the size validator from 1.6 to 1.7
19.38. How to change your file validators from 1.6.1 to 1.6.2
20.1. Transforming MixedCase and camelCaseText to another format
20.2. Setting Multiple Rules at Once
20.3. Using Zend_Config with Zend_Filter_Inflector
21.1. Custom Label
21.2. Setting Prefix Paths for All Elements
21.3. Setting Decorators for All Elements
21.4. Setting Decorators for Some Elements
21.5. Setting Filters for All Elements
21.6. Setting Decorator Prefix Path for All Display Groups
21.7. Setting Decorators for All Display Groups
21.8. File form element usage
21.9. Checking if an optional file has been uploaded
21.10. Setting multiple files
21.11. Registration Form Example
22.1. Passing a Developer Key and ClientID to Zend_Gdata_YouTube
22.2. Searching for videos
22.3. Searching for videos in specific categories
22.4. Retrieving a standard video feed
22.5. Using a Zend_Gdata_YouTube_VideoQuery to retrieve videos
22.6. Retrieving a video feed by URL
22.7. Retrieving videos uploaded by a specific user
22.8. Retrieving a user's favorite videos
22.9. Retrieving a feed of video responses
22.10. Retrieving a feed of video comments from a video ID
22.11. Retrieving a feed of video comments from a Zend_Gdata_YouTube_VideoEntry
22.12. Retrieving the playlists of a user
22.13. Retrieving a specific playlist
22.14. Retrieving all subscriptions for a user
22.15. Retrieving a user's profile
22.16. Uploading a video
22.17. Browser-based upload
22.18. Browser-based upload: Creating the HTML form
22.19. Checking video upload status
23.1. Instantiating a Zend_Http_Client object
23.2. Performing a Simple GET Request
23.3. Using Request Methods Other Than GET
23.4. Setting GET Parameters
23.5. Setting POST Parameters
23.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
23.7. Setting Cookies Using setCookie()
23.8. Enabling Cookie Stickiness
23.9. Setting A Single Custom Request Header
23.10. Setting Multiple Custom Request Headers
23.11. Using setFileUpload to Upload Files
23.12. Sending Raw POST Data
23.13. Setting HTTP Authentication User and Password
23.14. Performing consecutive requests with one client
23.15. Changing the HTTPS transport layer
23.16. Using Zend_Http_Client behind a proxy server
23.17. Testing Against a Single HTTP Response Stub
23.18. Testing Against Multiple HTTP Response Stubs
23.19. Creating your own connection adapter
23.20. Instantiating a Zend_Http_Cookie object
23.21. Stringifying a Zend_Http_Cookie object
23.22. Using getter methods with Zend_Http_Cookie
23.23. Matching cookies
23.24. Instantiating a Zend_Http_Response object using the factory method
23.25. Using the isError() method to validate a response
23.26. Using Zend_Http_Response Accessor Methods
23.27. Accessing Response Headers
25.1. Zend_Json_Server Usage
26.1. Passing options to the constructor or startMvc()
26.2. Using setOption() and setConfig()
26.3. Using Accessors
26.4. Using Zend_Layout accessors to modify the inflector
26.5. Direct modification of Zend_Layout inflector
26.6. Custom inflectors
28.1. Example of the loadFile() Method
28.2. Example of the loadClass() Method
28.3. Example of isReadable() method
28.4. Example of registering the autoloader callback method
28.5. Example of registering the autoload callback method from an extended class
28.6. Using the PluginLoader class file include cache
29.1. Choosing a specific locale
29.2. Automatically selecting a locale
29.3. Using automatic locales
29.4. Handling locale exceptions
29.5. Setting a default locale
29.6. Dates default to correct locale of web users
29.7. Overriding default locale selection
29.8. Performance optimization when using a default locale
29.9. Usage of an application wide locale
29.10. Dates default to correct locale of web users
29.11. Using STANDARD definitions for setOptions()
29.12. clone
29.13. Check for equal locales
29.14. Get default locales
29.15. setLocale
29.16. getLanguage and getRegion
29.17. getTranslationList
29.18. getTranslationList
29.19. Converting country name in one language to another
29.20. All available translations
29.21. All Languages written in their native language
29.22. getQuestion()
29.23. getLocaleList()
29.24. Number normalization
29.25. Number normalization with precision
29.26. Number localization
29.27. Number localization with precision
29.28. Using a self defined number format
29.29. Number testing
29.30. Floating point value normalization
29.31. Floating point value localization
29.32. Floating point value testing
29.33. Integer value normalization
29.34. Integer value localization
29.35. Integer value testing
29.36. Converting numerals from Eastern Arabic scripts to European/Latin scripts
29.37. Converting numerals from Latin script to Eastern Arabic script
29.38. Getting 4 letter CLDR script code using a native-language name of the script
29.39. Normalizing a date
29.40. Normalizing a date by locale
29.41. Normalizing a date with time
29.42. Normalizing a userdefined date
29.43. Automatic correction of input dates
29.44. Date testing
29.45. Normalize an unknown time
29.46. Testing a time
29.47. How to change isLocale() from 1.6 to 1.7
29.48. How to change getDefault() from 1.6 to 1.7
30.1. Logging with Zend_Controller_Front
30.2. Logging without Zend_Controller_Front
31.1. Simple E-Mail with Zend_Mail
31.2. Passing additional parameters to the Zend_Mail_Transport_Sendmail transport
31.3. Sending E-Mail via SMTP
31.4. Sending Multiple Mails per SMTP Connection
31.5. Manually controlling the transport connection
31.6. Using Different Transports
31.7. Sending HTML E-Mail
31.8. E-Mail Messages with Attachments
31.9. Changing the MIME Boundary
31.10. Adding E-Mail Message Headers
31.11. Enabling authentication within Zend_Mail_Transport_Smtp
31.12. Enabling a secure connection within Zend_Mail_Transport_Smtp
32.1. Converting measurements
32.2. The meter measurement
32.3. Creation using integer and floating values
32.4. Creation using strings
32.5. Arbitrary text input containing measurements
32.6. Localized string
32.7. Automatic output
32.8. Output a value
32.9. Outputting units
32.10. Convert
32.11. Adding units
32.12. Subtract
32.13. Different measurements
32.14. Identical measurements
32.15. Difference
32.16. Changing a value
32.17. Changing the type
33.1. Using Zend_Memory component
35.1. The Simple OpenID Login form
35.2. The Authentication Request Handler
35.3. The Authentication Response Verifier
35.4. The Complete OpenID Login Script
35.5. Authentication Request for Specified Realm
35.6. Immediate Check without Interaction
35.7. Database Storage
35.8. Sending Requests with a Simple Registration Extension
35.9. Verifying Responses with a Simple Registration Extension
35.10. Zend_Auth Adapter for OpenID
35.11. The Identity
35.12. Simple Identity Provider
35.13. Simple Login Screen
35.14. Simple Trust Screen
35.15. All together
35.16. Identity with Profile
35.17. Provider with SREG
37.1. Create new or load existing PDF document.
37.2. Requesting specified revision of the PDF document.
37.3. Save PDF document.
37.4. PDF document pages management.
37.5. Cloning existing page.
37.6. Draw a string on the page
37.7. Draw a UTF-8-encoded string on the page
37.8. Create a standard font
37.9. Create a TrueType font
37.10. Create a TrueType font, but do not embed it in the PDF document.
37.11. Do not throw an exception for fonts that cannot be embedded.
37.12. Do not compress an embedded font.
37.13. Combining font embedding options.
37.14. Extracting fonts from a loaded document.
37.15. Extracting font from a loaded document by specifying font name.
37.16. Image drawing
37.17. Zend_Pdf module usage demo
39.1. Example of set() method
39.2. Example of get() method
39.3. Example of iterating over the registry
39.4. Example of constructing a registry
39.5. Example of initializing the static registry
39.6. Example of array access
39.7. Example of object access
39.8. Example of isRegistered() method
39.9. Example of isset() method
39.10. Example of specifying the static registry's class name
39.11. Example of _unsetInstance() method
40.1. A basic REST request
40.2. Response Status
40.3. Using Technorati's Rest Service
40.4. Example Technorati Response
40.5. Setting Request Arguments
40.6. Basic Zend_Rest_Server Usage - Classes
40.7. Basic Zend_Rest_Server Usage - Functions
40.8. Returning Custom Status
40.9. Return Custom XML
41.1. Custom text Analyzer.
43.1. isSpam() Usage
43.2. submitSpam() Usage
43.3. submitHam() Usage
43.4. Search Amazon Using the Traditional API
43.5. Search Amazon Using the Query API
43.6. Choosing an Amazon Web Service Country
43.7. Looking up a Specific Amazon Item by ASIN
43.8. Performing Amazon Item Searches
43.9. Using the ResponseGroup Option
43.10. Search Amazon Using the Alternative Query API
43.11. Retrieving User Profile Information
43.12. Retrieving a User's Weekly Artist Chart
43.13. Retrieving Related Artists
43.14. Get all posts
43.15. Accessing post lists
43.16. Filtering a Post List with Specific Tags
43.17. Filtering a Post List by URL
43.18. Post editing
43.19. Method call chaining
43.20. Deleting posts
43.21. Adding a post
43.22. Tags
43.23. Bundles
43.24. Retrieving public data
43.25. Changing the HTTP client of Zend_Rest_Client
43.26. Configuring your HTTP client to keep connections alive
43.27. Simple Flickr Photo Search
43.28. Finding a Flickr User's Public Photos by E-Mail Address
43.29. Retrieving a Group's Pool Photos by Group ID
43.30. Retrieving Flickr Image Details
43.31. Querying Links
43.32. Modifying Links
43.33. Working With Tags
43.34. Working With Notes
43.35. Retrieving Watchlists
43.36. Sending your first query
43.37. Refining your query
43.38. Sending multiple queries with the same Zend_Service_Technorati instance
43.39. Consuming a result set object
43.40. Seeking a specific result set object
43.41. Consuming a standalone result object
43.42. Handling a Query Exception
43.43. Getting API key daily usage information
43.44. Cosmos Query
43.45. Search Query
43.46. Tag Query
43.47. DailyCounts Query
43.48. TopTags Query
43.49. BlogInfo Query
43.50. BlogPostTags Query
43.51. GetInfo Query
43.52. Iterating result objects from a resultset collection
43.53. Creating the Twitter Class
43.54. Verifying credentials
43.55. Sessions ending
43.56. Rating limit status
43.57. Retrieving public timeline
43.58. Retrieving friends timeline
43.59. Retrieving user timeline
43.60. Showing user status
43.61. Updating user status
43.62. Showing user replies
43.63. Deleting user status
43.64. Retrieving user friends
43.65. Retrieving user followers
43.66. Showing user informations
43.67. Retrieving recent direct messages received
43.68. Retrieving recent direct messages sent
43.69. Sending direct message
43.70. Deleting direct message
43.71. Creating friend
43.72. Deleting friend
43.73. Checking friend existence
43.74. Retrieving favorites
43.75. Creating favorites
43.76. Deleting favorites
43.77. JSON Search Example
43.78. ATOM Search Example
43.79. Searching the Web with Yahoo!
43.80. Finding Images with Yahoo!
43.81. Finding videos with Yahoo!
43.82. Finding Local Businesses and Services with Yahoo!
43.83. Searching Yahoo! News
43.84. Searching Yahoo! Site Explorer Inbound Links
43.85. Searching Yahoo! Site Explorer's PageData
44.1. Counting Page Views
44.2. New Way: Namespaces Avoid Collisions
44.3. Old Way: PHP Session Access
44.4. Session Iteration
44.5. Accessing Session Data
44.6. Starting the Global Session
44.7. Locking Session Namespaces
44.8. Expiration Examples
44.9. Namespaced Sessions for Controllers with Automatic Expiration
44.10. Limiting Session Namespace Access to a Single Instance
44.11. Modifying Array Data with a Session Namespace
44.12. Building Arrays Prior to Session Storage
44.13. Workaround: Reassign a Modified Array
44.14. Workaround: store array containing reference
44.15. PHPUnit Testing Code Dependent on Zend_Session
44.16. Using Zend_Config to Configure Zend_Session
44.17. Session Fixation
44.18. Basic Setup
44.19. Using a Multi-Column Primary Key
46.1. Application Login TestCase example
46.2. Testing a UserController
47.1. Using Zend_Text_Figlet
47.2. Using Zend_Text_Table
49.1. Example of single-language PHP code
49.2. Example of multi-lingual PHP code
49.3. Example TMX file
49.4. Example CSV file
49.5. Example CSV file two
49.6. Example INI file
49.7. Using translation options
49.8. Handling languages with adapters
49.9. How automatically language detection works
49.10. Scanning a directory structure for sources
49.11. Directory scanning for languages
49.12. Filename scanning for languages
49.13. Checking if a text is translatable
49.14. Handling languages with adapters
49.15. Setting languages without getting notices
50.1. Creating a New URI with Zend_Uri::factory()
50.2. Manipulating an Existing URI with Zend_Uri::factory()
50.3. URI Validation with Zend_Uri::check()
50.4. Allowing special characters in URIs
50.5. Getting the Scheme from a Zend_Uri_* Object
50.6. Getting the Entire URI from a Zend_Uri_* Object
50.7. Validating a Zend_Uri_* Object
51.1. Creating a Simple Validation Class
51.2. Writing a Validation Class having Dependent Conditions
51.3. Validation with Independent Conditions, Multiple Reasons for Failure
52.1. Example of compareVersion() method
53.1. Basic Usage of Action View Helper
53.2. Basic Usage of Partials
53.3. Using PartialLoop to Render Iterable Models
53.4. Rendering Partials in Other Modules
53.5. Basic Usage of Placeholders
53.6. Using Placeholders to Aggregate Content
53.7. Using Placeholders to Capture Content
53.8. Doctype Helper Basic Usage
53.9. Retrieving the Doctype
53.10. HeadLink Helper Basic Usage
53.11. HeadMeta Helper Basic Usage
53.12. HeadScript Helper Basic Usage
53.13. Capturing Scripts Using the HeadScript Helper
53.14. HeadStyle Helper Basic Usage
53.15. Capturing Style Declarations Using the HeadStyle Helper
53.16. HeadTitle Helper Basic Usage
53.17. Flash helper
53.18. Customizing the object by passing additional arguments
53.19. Registered instance
53.20. Within the view
53.21. Direct usage
53.22. Single parameter
53.23. List of parameters
53.24. Array of parameters
53.25. Change locale dynamically
53.26. Change locale statically
53.27. Get the currently set locale
55.1. XML-RPC Method Call
55.2. XML-RPC Method Call with Parameters
55.3. Proxy the Default Namespace
55.4. Proxy Any Namespace
55.5. Handling HTTP Errors
55.6. Handling XML-RPC Faults
55.7. Processing Request to Response
C.1. Example: Optimized include_path