Coding Samples, Tutorials, Code Snippets, Articles, How-To`s - From Beginners to Expert. Stay tuned.
Share your knowledge. Regardless what experience you have made with the Zend Framework - Let all benefit.

Search Manual:

Please Sign in or Register

Available Languages

 


Manual for Zend Framework 1.0.3

Programmer's Reference Guide

Zend Framework

2007-11-28


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 Use
2.3.1. Storing ACL Data for Persistence
2.3.2. Writing Conditional ACL Rules with Assertions
3. Zend_Auth
3.1. Introduction
3.1.1. Adapters
3.1.2. Results
3.1.3. Identity Persistence
3.1.4. Using Zend_Auth
3.2. Authenticating with a Database Table
3.2.1. Introduction
3.2.2. Advanced Use: Persisting a DbTable Result Object
3.3. Digest Authentication
3.3.1. Introduction
3.3.2. Specifics
3.3.3. Identity
3.4. HTTP Authentication Adapter
3.4.1. Introduction
3.4.2. Design Overview
3.4.3. Configuration Options
3.4.4. Resolvers
3.4.5. Basic Usage
4. Zend_Cache
4.1. Introduction
4.2. The theory of caching
4.2.1. The Zend_Cache factory method
4.2.2. Tagging records
4.2.3. Cleaning the cache
4.3. Zend_Cache frontends
4.3.1. Zend_Cache_Core
4.3.2. Zend_Cache_Frontend_Output
4.3.3. Zend_Cache_Frontend_Function
4.3.4. Zend_Cache_Frontend_Class
4.3.5. Zend_Cache_Frontend_File
4.3.6. Zend_Cache_Frontend_Page
4.4. Zend_Cache backends
4.4.1. Zend_Cache_Backend_File
4.4.2. Zend_Cache_Backend_Sqlite
4.4.3. Zend_Cache_Backend_Memcached
4.4.4. Zend_Cache_Backend_Apc
4.4.5. Zend_Cache_Backend_ZendPlatform
5. Zend_Config
5.1. Introduction
5.2. Theory of Operation
5.3. Zend_Config_Ini
5.4. Zend_Config_Xml
6. Zend_Console_Getopt
6.1. Introduction to Getopt
6.2. Declaring Getopt Rules
6.2.1. Declaring Options with the Short Syntax
6.2.2. Declaring Options with the Long Syntax
6.3. Fetching Options and Arguments
6.3.1. Handling Getopt Exceptions
6.3.2. Fetching Options by Name
6.3.3. Reporting Options
6.3.4. Fetching Non-option Arguments
6.4. Configuring Zend_Console_Getopt
6.4.1. Adding Option Rules
6.4.2. Adding Help Messages
6.4.3. Adding Option Aliases
6.4.4. Adding Argument Lists
6.4.5. Adding Configuration
7. Zend_Controller
7.1. Zend_Controller Quick Start
7.1.1. Introduction
7.1.2. Quick Start
7.2. Zend_Controller Basics
7.3. The Front Controller
7.3.1. Overview
7.3.2. Primary Methods
7.3.3. Environmental Accessor Methods
7.3.4. Front Controller Parameters
7.3.5. Subclassing the Front Controller
7.4. The Request Object
7.4.1. Introduction
7.4.2. HTTP Requests
7.4.3. Subclassing the Request Object
7.5. The Standard Router: Zend_Controller_Router_Rewrite
7.5.1. Introduction
7.5.2. Using a router
7.5.3. Basic Rewrite Router operation
7.5.4. Default routes
7.5.5. Base URL and subdirectories
7.5.6. Route Types
7.5.7. Using Zend_Config with the RewriteRouter
7.5.8. Subclassing the Router
7.6. The Dispatcher
7.6.1. Overview
7.6.2. Subclassing the Dispatcher
7.7. Action Controllers
7.7.1. Introduction
7.7.2. Object initialization
7.7.3. Pre- and Post-Dispatch Hooks
7.7.4. Accessors
7.7.5. View Integration
7.7.6. Utility Methods
7.7.7. Subclassing the Action Controller
7.8. Action Helpers
7.8.1. Introduction
7.8.2. Helper Initialization
7.8.3. The Helper Broker
7.8.4. Built-in Action Helpers
7.8.5. Writing Your Own Helpers
7.9. The Response Object
7.9.1. Usage
7.9.2. Manipulating Headers
7.9.3. Named Segments
7.9.4. Testing for Exceptions in the Response Object
7.9.5. Subclassing the Response Object
7.10. Plugins
7.10.1. Introduction
7.10.2. Writing Plugins
7.10.3. Using Plugins
7.10.4. Retrieving and Manipulating Plugins
7.10.5. Plugins Included in the Standard Distribution
7.11. Using a Conventional Modular Directory Structure
7.11.1. Introduction
7.11.2. Specifying Module Controller Directories
7.11.3. Routing to modules
7.11.4. Module or Global Default Controller
7.12. MVC Exceptions
7.12.1. Introduction
7.12.2. How can you handle exceptions?
7.12.3. MVC Exceptions You May Encounter
7.13. Migrating from Previous Versions
7.13.1. Migrating from 0.9.3 to 1.0.0RC1 or newer
7.13.2. Migrating from 0.9.2 to 0.9.3 or newer
7.13.3. Migrating from 0.6.0 to 0.8.0 or newer
7.13.4. Migrating from 0.2.0 or before to 0.6.0
8. Zend_Currency
8.1. Introduction to Zend_Currency
8.1.1. Why should Zend_Currency be used ?
8.2. How to work with currencies
8.2.1. Create output from an currency
8.2.2. Changing the format of a currency
8.2.3. Informational methods for Zend_Currency
8.2.4. Settings new default values
8.2.5. Speed up Zend_Currency
8.3. Migrating from Previous Versions
8.3.1. Migrating from 1.0.2 to 1.0.3 or newer
9. Zend_Date
9.1. Introduction
9.1.1. Always Set a Default Timezone
9.1.2. Why Use Zend_Date?
9.2. Theory of Operation
9.2.1. Internals
9.3. Basic Methods
9.3.1. The current date
9.3.2. Zend_Date by Example
9.4. Zend_Date API Overview
9.4.1. Zend_Date Options
9.4.2. Working with Date Values
9.4.3. Basic Zend_Date Operations Common to Many Date Parts
9.4.4. Comparing Dates
9.4.5. Getting Dates and Date Parts
9.4.6. Working with Fractions of Seconds
9.4.7. Sunrise / Sunset
9.5. Creation of dates
9.5.1. Create the actual date
9.5.2. Create a date from database
9.5.3. Create dates from an array
9.6. Constants for General Date Functions
9.6.1. Using Constants
9.6.2. List of All Constants
9.6.3. Self-Defined OUTPUT Formats with ISO
9.6.4. Self-defined OUTPUT formats using PHP's date() format specifiers
9.7. Working examples
9.7.1. Checking dates
9.7.2. Sunrise and Sunset
9.7.3. Timezones
10. Zend_Db
10.1. Zend_Db_Adapter
10.1.1. Connecting to a Database using an Adapter
10.1.2. The example database
10.1.3. Reading Query Results
10.1.4. Writing Changes to the Database
10.1.5. Quoting Values and Identifiers
10.1.6. Controlling Database Transactions
10.1.7. Listing and Describing Tables
10.1.8. Closing a Connection
10.1.9. Running Other Database Statements
10.1.10. Notes on Specific Adapters
10.2. Zend_Db_Statement
10.2.1. Creating a Statement
10.2.2. Executing a Statement
10.2.3. Fetching Results from a SELECT Statement
10.3. Zend_Db_Profiler
10.3.1. Introduction
10.3.2. Using the Profiler
10.3.3. Advanced Profiler Usage
10.4. Zend_Db_Select
10.4.1. Overview of the Select Object
10.4.2. Creating a Select Object
10.4.3. Building Select queries
10.4.4. Executing Select Queries
10.4.5. Other methods
10.5. Zend_Db_Table
10.5.1. Introduction to Table Class
10.5.2. Defining a Table Class
10.5.3. Creating an Instance of a Table
10.5.4. Inserting Rows to a Table
10.5.5. Updating Rows in a Table
10.5.6. Deleting Rows from a Table
10.5.7. Finding Rows by Primary Key
10.5.8. Querying for a Set of Rows
10.5.9. Querying for a Single Row
10.5.10. Retrieving Table Metadata Information
10.5.11. Caching Table Metadata
10.5.12. Customizing and Extending a Table Class
10.6. Zend_Db_Table_Row
10.6.1. Introduction
10.6.2. Fetching a Row
10.6.3. Writing rows to the database
10.6.4. Serializing and unserializing rows
10.6.5. Extending the Row class
10.7. Zend_Db_Table_Rowset
10.7.1. Introduction
10.7.2. Fetching a Rowset
10.7.3. Retrieving Rows from a Rowset
10.7.4. Retrieving a Rowset as an Array
10.7.5. Serializing and Unserializing a Rowset
10.7.6. Extending the Rowset class
10.8. Zend_Db_Table Relationships
10.8.1. Introduction
10.8.2. Defining Relationships
10.8.3. Fetching a Dependent Rowset
10.8.4. Fetching a Parent Row
10.8.5. Fetching a Rowset via a Many-to-many Relationship
10.8.6. Cascading Write Operations
11. Zend_Debug
11.1. Dumping Variables
12. Zend_Exception
12.1. Using Exceptions
13. Zend_Feed
13.1. Introduction
13.2. Importing Feeds
13.2.1. Custom feeds
13.3. Retrieving Feeds from Web Pages
13.4. Consuming an RSS Feed
13.5. Consuming an Atom Feed
13.6. Consuming a Single Atom Entry
13.7. Modifying Feed and Entry structures
13.8. Custom Feed and Entry Classes
14. Zend_Filter
14.1. Introduction
14.1.1. What is a filter?
14.1.2. Basic usage of filters
14.1.3. Using the static get() method
14.2. Standard Filter Classes
14.2.1. Alnum
14.2.2. Alpha
14.2.3. BaseName
14.2.4. Digits
14.2.5. Dir
14.2.6. HtmlEntities
14.2.7. Int
14.2.8. RealPath
14.2.9. StringToLower
14.2.10. StringToUpper
14.2.11. StringTrim
14.2.12. StripTags
14.3. Filter Chains
14.4. Writing Filters
14.5. Zend_Filter_Input
14.5.1. Declaring Filter and Validator Rules
14.5.2. Creating the Filter and Validator Processor
14.5.3. Retrieving Validated Fields and other Reports
14.5.4. Using Metacommands to Control Filter or Validator Rules
14.5.5. Adding Filter Class Namespaces
15. Zend_Gdata
15.1. Introduction to Gdata
15.1.1. Structure of Zend_Gdata
15.1.2. Interacting with Google Services
15.1.3. Obtaining instances of Zend_Gdata classes
15.1.4. Google Data Client Authentication
15.1.5. Dependencies
15.1.6. Creating a new Gdata client
15.1.7. Common query parameters
15.1.8. Fetching a feed
15.1.9. Working with multi-page feeds
15.1.10. Working with data in feeds and entries
15.1.11. Updating entries
15.1.12. Posting entries to Google servers
15.1.13. Deleting entries on Google servers
15.2. Authenticating with AuthSub
15.2.1. Creating an AuthSub authenticated Http Client
15.2.2. Revoking AuthSub authentication
15.3. Authenticating with ClientLogin
15.3.1. Creating a ClientLogin authenticated Http Client
15.3.2. Terminating a ClientLogin authenticated Http Client
15.4. Using Google Calendar
15.4.1. Connecting To The Calendar Service
15.4.2. Retrieving A Calendar List
15.4.3. Retrieving Events
15.4.4. Creating Events
15.4.5. Modifying Events
15.4.6. Deleting Events
15.4.7. Accessing Event Comments
15.5. Using Google Documents List Data API
15.5.1. Get a List of Documents
15.5.2. Upload a Document
15.5.3. Searching the documents feed
15.6. Using Google Spreadsheets
15.6.1. Create a Spreadsheet
15.6.2. Get a List of Spreadsheets
15.6.3. Get a List of Worksheets
15.6.4. Interacting With List-based Feeds
15.6.5. Interacting With Cell-based Feeds
15.7. Using Google Apps Provisioning
15.7.1. Setting the current domain
15.7.2. Interacting with users
15.7.3. Interacting with nicknames
15.7.4. Interacting with email lists
15.7.5. Interacting with email list recipients
15.7.6. Handling errors
15.8. Using Google Base
15.8.1. Connect To The Base Service
15.8.2. Retrieve Items
15.8.3. Insert, Update, and Delete Customer Items
15.9. Using the YouTube data API
15.9.1. Retrieving video feeds
15.9.2. Retrieving video comments
15.9.3. Retrieving playlist feeds
15.9.4. Retrieving a list of a user's subscriptions
15.9.5. Retrieving a user's profile
15.10. Using Picasa Web Albums
15.10.1. Connecting To The Service
15.10.2. Understanding and Constructing Queries
15.10.3. Retrieving Feeds And Entries
15.10.4. Creating Entries
15.10.5. Deleting Entries
15.11. Catching Gdata Exceptions
16. Zend_Http
16.1. Zend_Http_Client - Introduction
16.1.1. Introduction
16.1.2. Configuration Parameters
16.1.3. Performing Basic HTTP Requests
16.1.4. Adding GET and POST parameters
16.1.5. Accessing Last Request and Response
16.2. Zend_Http_Client - Advanced Usage
16.2.1. HTTP Redirections
16.2.2. Adding Cookies and Using Cookie Persistence
16.2.3. Setting Custom Request Headers
16.2.4. File Uploads
16.2.5. Sending Raw POST Data
16.2.6. HTTP Authentication
16.2.7. Sending Multiple Requests With the Same Client
16.3. Zend_Http_Client - Connection Adapters
16.3.1. Overview
16.3.2. The Socket Adapter
16.3.3. The Proxy Adapter
16.3.4. The Test Adapter
16.3.5. Creating your own connection adapters
16.4. Zend_Http_Cookie and Zend_Http_CookieJar
16.4.1. Introduction
16.4.2. Instantiating Zend_Http_Cookie Objects
16.4.3. Zend_Http_Cookie getter methods
16.4.4. Zend_Http_Cookie: Matching against a scenario
16.4.5. The Zend_Http_CookieJar Class: Instantiation
16.4.6. Adding Cookies to a Zend_Http_CookieJar object
16.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
16.5. Zend_Http_Response
16.5.1. Introduction
16.5.2. Boolean Tester Methods
16.5.3. Accessor Methods
16.5.4. Static HTTP Response Parsers
17. Zend_Json
17.1. Introduction
17.2. Basic Usage
17.3. JSON Objects
17.4. XML to JSON coversion
18. Zend_Loader
18.1. Loading Files and Classes Dynamically
18.1.1. Loading Files
18.1.2. Loading Classes
18.1.3. Testing if a File is Readable
18.1.4. Using the Autoloader
19. Zend_Locale
19.1. Introduction
19.1.1. What is Localization
19.1.2. What is a Locale?
19.1.3. How are Locales Represented?
19.1.4. Selecting the Right Locale
19.1.5. Usage of automatic Locales
19.1.6. ZF Locale-Aware Classes
19.1.7. Zend_Locale_Format::setOptions(array $options)
19.1.8. Speed up Zend_Locale and it's subclasses
19.2. Using Zend_Locale
19.2.1. Copying, Cloning, and Serializing Locale Objects
19.2.2. Equality
19.2.3. Default locales
19.2.4. Set a new locale
19.2.5. Getting the language and region
19.2.6. Obtaining localized strings
19.2.7. Obtaining translations for "yes" and "no"
19.2.8. Get a list of all known locales
19.3. Normalization and Localization
19.3.1. Number normalization: getNumber($input, Array $options)
19.3.2. Number localization
19.3.3. Number testing
19.3.4. Float value normalization
19.3.5. Floating point value localization
19.3.6. Floating point value testing
19.3.7. Integer value normalization
19.3.8. Integer point value localization
19.3.9. Integer value testing
19.3.10. Numeral System Conversion
19.4. Working with Dates and Times
19.4.1. Normalizing Dates and Times
19.4.2. Testing Dates
19.4.3. Normalizing a Time
19.4.4. Testing Times
19.5. Supported Languages for Locales
19.6. Supported Regions for Locales
20. Zend_Log
20.1. Overview
20.1.1. Creating a Log
20.1.2. Logging Messages
20.1.3. Destroying a Log
20.1.4. Using Built-in Priorities
20.1.5. Adding User-defined Priorities
20.1.6. Understanding Log Events
20.2. Writers
20.2.1. Writing to Streams
20.2.2. Writing to Databases
20.2.3. Stubbing Out the Writer
20.2.4. Testing with the Mock
20.2.5. Compositing Writers
20.3. Formatters
20.3.1. Simple Formatting
20.3.2. Formatting to XML
20.4. Filters
20.4.1. Filtering for All Writers
20.4.2. Filtering for a Writer Instance
21. Zend_Mail
21.1. Introduction
21.1.1. Getting started
21.1.2. Configuring the default sendmail transport
21.2. Sending via SMTP
21.3. Sending Multiple Mails per SMTP Connection
21.4. Using Different Transports
21.5. HTML E-Mail
21.6. Attachments
21.7. Adding Recipients
21.8. Controlling the MIME Boundary
21.9. Additional Headers
21.10. Character Sets
21.11. Encoding
21.12. SMTP Authentication
21.13. Securing SMTP Transport
21.14. Reading Mail Messages
21.14.1. Simple example using Pop3
21.14.2. Opening a local storage
21.14.3. Opening a remote storage
21.14.4. Fetching messages and simple methods
21.14.5. Working with messages
21.14.6. Checking for flags
21.14.7. Using folders
21.14.8. Advanced Use
22. Zend_Measure
22.1. Introduction
22.2. Creation of Measurements
22.2.1. Creating measurements from integers and floats
22.2.2. Creating measurements from strings
22.2.3. Measurements from localized strings
22.3. Outputting measurements
22.3.1. Automatic output
22.3.2. Outputting values
22.3.3. Output with unit of measurement
22.3.4. Output as localized string
22.4. Manipulating Measurements
22.4.1. Convert
22.4.2. Add and subtract
22.4.3. Compare
22.4.4. Compare
22.4.5. Manually change values
22.4.6. Manually change types
22.5. Types of measurements
22.5.1. Hints for Zend_Measure_Binary
22.5.2. Hints for Zend_Measure_Number
22.5.3. Roman numbers
23. Zend_Memory
23.1. Overview
23.1.1. Introduction
23.1.2. Theory of Operation
23.2. Memory Manager
23.2.1. Creating a Memory Manager
23.2.2. Managing Memory Objects
23.2.3. Memory Manager Settings
23.3. Memory Objects
23.3.1. Movable
23.3.2. Locked
23.3.3. Memory container 'value' property.
23.3.4. Memory container interface
24. Zend_Mime
24.1. Zend_Mime
24.1.1. Introduction
24.1.2. Static Methods and Constants
24.1.3. Instantiating Zend_Mime
24.2. Zend_Mime_Message
24.2.1. Introduction
24.2.2. Instantiation
24.2.3. Adding MIME Parts
24.2.4. Boundary handling
24.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
24.3. Zend_Mime_Part
24.3.1. Introduction
24.3.2. Instantiation
24.3.3. Methods for rendering the message part to a string
25. Zend_OpenId
25.1. Introduction
25.1.1. What is OpenID?
25.1.2. How Does it Work?
25.1.3. Zend_OpenId Structure
25.1.4. Supported Standards
25.2. Zend_OpenId_Consumer Basics
25.2.1. OpenID Authentication
25.2.2. Combine all Steps in One Page
25.2.3. Realm
25.2.4. Immediate Check
25.2.5. Zend_OpenId_Consumer_Storage
25.2.6. Simple Registration Extension
25.2.7. Integration with Zend_Auth
25.2.8. Integration with Zend_Controller
25.3. Zend_OpenId_Provider
25.3.1. Quick Start
25.3.2. Combine all together
25.3.3. Simple Registration Extension
25.3.4. What Else?
26. Zend_Pdf
26.1. Introduction.
26.2. Creating and loading PDF documents.
26.3. Save changes to the PDF document.
26.4. Document pages.
26.4.1. Page creation.
26.4.2. Page cloning.
26.5. Document Info and Metadata.
26.6. Zend_Pdf module usage example.
27. Zend_Registry
27.1. Using the Registry
27.1.1. Setting Values in the Registry
27.1.2. Getting Values from the Registry
27.1.3. Constructing a Registry Object
27.1.4. Accessing the Registry as an Array
27.1.5. Accessing the Registry as an Object
27.1.6. Querying if an index exists
27.1.7. Extending the Registry
27.1.8. Unsetting the Static Registry
28. Zend_Rest
28.1. Introduction
28.2. Zend_Rest_Client
28.2.1. Introduction
28.2.2. Responses
28.2.3. Request Arguments
28.3. Zend_Rest_Server
28.3.1. Introduction
28.3.2. REST Server Usage
28.3.3. Calling a Zend_Rest_Server Service
28.3.4. Sending A Custom Status
28.3.5. Returning Custom XML Responses
29. Zend_Search_Lucene
29.1. Overview
29.1.1. Introduction
29.1.2. Document and Field Objects
29.1.3. Understanding Field Types
29.1.4. HTML documents
29.2. Building Indexes
29.2.1. Creating a New Index
29.2.2. Updating Index
29.2.3. Updating Documents
29.2.4. Retrieving Index Size
29.2.5. Index optimization
29.2.6. Permissions
29.2.7. Limitations
29.3. Searching an Index
29.3.1. Building Queries
29.3.2. Search Results
29.3.3. Limiting the Result Set
29.3.4. Results Scoring
29.3.5. Search Result Sorting
29.3.6. Search Results Highlighting
29.4. Query Language
29.4.1. Terms
29.4.2. Fields
29.4.3. Starting in 1.1, Wildcards
29.4.4. Term Modifiers
29.4.5. Starting in 1.1, Range Searches
29.4.6. Proximity Searches
29.4.7. Boosting a Term
29.4.8. Boolean Operators
29.4.9. Grouping
29.4.10. Field Grouping
29.4.11. Escaping Special Characters
29.5. Query Construction API
29.5.1. Query Parser Exceptions
29.5.2. Term Query
29.5.3. Multi-Term Query
29.5.4. Boolean Query
29.5.5. Wildcard Query
29.5.6. Phrase Query
29.5.7. Range Query
29.6. Character Set
29.6.1. UTF-8 and single-byte character set support
29.6.2. Default text analyzer.
29.6.3. UTF-8 compatible text analyzer.
29.7. Extensibility
29.7.1. Text Analysis
29.7.2. Tokens Filtering
29.7.3. Scoring Algorithms
29.7.4. Storage Containers
29.8. Interoperating with Java Lucene
29.8.1. File Formats
29.8.2. Index Directory
29.8.3. Java Source Code
29.9. Advanced
29.9.1. Using the index as static property
29.10. Best Practices
29.10.1. Field names
29.10.2. Indexing performance
29.10.3. Index during Shut Down
29.10.4. Retrieving documents by unique id
29.10.5. Memory Usage
29.10.6. Encoding
29.10.7. Index maintenance
30. Zend_Server
30.1. Introduction
30.2. Zend_Server_Reflection
30.2.1. Introduction
30.2.2. Usage
31. Zend_Service
31.1. Introduction
31.2. Zend_Service_Akismet
31.2.1. Introduction
31.2.2. Verify an API key
31.2.3. Check for spam
31.2.4. Submitting known spam
31.2.5. Submitting false positives (ham)
31.2.6. Zend-specific Accessor Methods
31.3. Zend_Service_Amazon
31.3.1. Introduction
31.3.2. Country Codes
31.3.3. Looking up a Specific Amazon Item by ASIN
31.3.4. Performing Amazon Item Searches
31.3.5. Using the Alternative Query API
31.3.6. Zend_Service_Amazon Classes
31.4. Zend_Service_Audioscrobbler
31.4.1. Introduction to Searching Audioscrobbler
31.4.2. Users
31.4.3. Artists
31.4.4. Tracks
31.4.5. Tags
31.4.6. Groups
31.4.7. Forums
31.5. Zend_Service_Delicious
31.5.1. Introduction
31.5.2. Retrieving posts
31.5.3. Zend_Service_Delicious_PostList
31.5.4. Editing posts
31.5.5. Deleting posts
31.5.6. Adding new posts
31.5.7. Tags
31.5.8. Bundles
31.5.9. Public data
31.5.10. HTTP client
31.6. Zend_Service_Flickr
31.6.1. Introduction to Searching Flickr
31.6.2. Finding Flickr Users' Photos and Information
31.6.3. Retrieving Flickr Image Details
31.6.4. Zend_Service_Flickr Result Classes
31.7. Zend_Service_Simpy
31.7.1. Introduction
31.7.2. Links
31.7.3. Tags
31.7.4. Notes
31.7.5. Watchlists
31.8. Zend_Service_StrikeIron
31.8.1. Overview
31.8.2. Registering with StrikeIron
31.8.3. Getting Started
31.8.4. Making Your First Query
31.8.5. Examining Results
31.8.6. Handling Errors
31.8.7. Checking Your Subscription
31.9. Zend_Service_StrikeIron: Bundled Services
31.9.1. ZIP Code Information
31.9.2. U.S. Address Verification
31.9.3. Sales & Use Tax Basic
31.10. Zend_Service_StrikeIron: Advanced Uses
31.10.1. Using Services by WSDL
31.10.2. Viewing SOAP Transactions
31.11. Zend_Service_Yahoo
31.11.1. Introduction
31.11.2. Searching the Web with Yahoo!
31.11.3. Finding Images with Yahoo!
31.11.4. Finding Local Businesses and Services with Yahoo!
31.11.5. Searching Yahoo! News
31.11.6. Zend_Service_Yahoo Classes
32. Zend_Session
32.1. Introduction
32.2. Basic Usage
32.2.1. Tutorial Examples
32.2.2. Iterating Over Session Namespaces
32.2.3. Accessors for Session Namespaces
32.3. Advanced Usage
32.3.1. Starting a Session
32.3.2. Locking Session Namespaces
32.3.3. Namespace Expiration
32.3.4. Session Encapsulation and Controllers
32.3.5. Preventing Multiple Instances per Namespace
32.3.6. Working with Arrays
32.3.7. Using Sessions with Objects
32.3.8. Using Sessions with Unit Tests
32.4. Global Session Management
32.4.1. Configuration Options
32.4.2. Error: Headers Already Sent
32.4.3. Session Identifiers
32.4.4. rememberMe(integer $seconds)
32.4.5. forgetMe()
32.4.6. sessionExists()
32.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
32.4.8. stop()
32.4.9. writeClose($readonly = true)
32.4.10. expireSessionCookie()
32.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
32.4.12. namespaceIsset($namespace)
32.4.13. namespaceUnset($namespace)
32.4.14. namespaceGet($namespace)
32.4.15. getIterator()
33. Zend_Translate
33.1. Introduction
33.1.1. Starting multi-lingual
33.2. Adapters for Zend_Translate
33.2.1. How to decide which translation adapter to use
33.2.2. Integrate self written Adapters
33.3. Using Translation Adapters
33.3.1. Translation Source Structures
33.3.2. Creating array source files
33.3.3. Creating Gettext Source Files
33.3.4. Creating TMX Source Files
33.3.5. Creating CSV Source Files
33.3.6. Options for adapters
33.3.7. Handling languages
33.3.8. Automatic source detection
33.3.9. Checking for translations
33.3.10. Access to the source data
34. Zend_Uri
34.1. Zend_Uri
34.1.1. Overview
34.1.2. Creating a New URI
34.1.3. Manipulating an Existing URI
34.1.4. URI Validation
34.1.5. Common Instance Methods
35. Zend_Validate
35.1. Introduction
35.1.1. What is a validator?
35.1.2. Basic usage of validators
35.1.3. Customizing messages
35.1.4. Using the static is() method
35.2. Standard Validation Classes
35.2.1. Alnum
35.2.2. Alpha
35.2.3. Between
35.2.4. Ccnum
35.2.5. Date
35.2.6. Digits
35.2.7. EmailAddress
35.2.8. Float
35.2.9. GreaterThan
35.2.10. Hex
35.2.11. Hostname
35.2.12. InArray
35.2.13. Int
35.2.14. Ip
35.2.15. LessThan
35.2.16. NotEmpty
35.2.17. Regex
35.2.18. StringLength
35.3. Validator Chains
35.4. Writing Validators
36. Zend_Version
36.1. Reading the Zend Framework Version
37. Zend_View
37.1. Introduction
37.1.1. Controller Script
37.1.2. View Script
37.1.3. Options
37.1.4. Utility Accessors
37.2. Controller Scripts
37.2.1. Assigning Variables
37.2.2. Rendering a View Script
37.2.3. View Script Paths
37.3. View Scripts
37.3.1. Escaping Output
37.3.2. Using Alternate Template Systems
37.4. View Helpers
37.4.1. Initial Helpers
37.4.2. Helper Paths
37.4.3. Writing Custom Helpers
38. Zend_XmlRpc
38.1. Introduction
38.2. Zend_XmlRpc_Client
38.2.1. Introduction
38.2.2. Method Calls
38.2.3. Types and Conversions
38.2.4. Server Proxy Object
38.2.5. Error Handling
38.2.6. Server Introspection
38.2.7. From Request to Response
38.2.8. HTTP Client and Testing
38.3. Zend_XmlRpc_Server
38.3.1. Introduction
38.3.2. Basic Usage
38.3.3. Server Structure
38.3.4. Conventions
38.3.5. Utilizing Namespaces
38.3.6. Custom Request Objects
38.3.7. Custom Responses
38.3.8. Handling Exceptions via Faults
38.3.9. Caching Server Definitions Between Requests
38.3.10. Usage Examples
A. System Requirements
A.1. PHP Version Required
A.2. PHP Extensions
A.3. Zend Framework Components
B. Zend Framework PHP Coding Standard
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. Interfaces
B.3.3. Filenames
B.3.4. Functions and Methods
B.3.5. Variables
B.3.6. 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. Copyright Information
Index

List of Tables

2.1. Access Controls for an Example CMS
3.1. Configuration Options
4.1. Core frontend options
4.2. Function frontend options
4.3. Class frontend options
4.4. File frontend options
4.5. Page frontend options
4.6. File backend options
4.7. Sqlite backend options
4.8. Memcached backend options
5.1. Zend_Config_Ini Constructor parameters
8.1. Constants for the selecting the currency description
8.2. Constants for the selecting the currency position
9.1. Date Parts
9.2. Basic Operations
9.3. Date Comparison Methods
9.4. Date Output Methods
9.5. Date Output Methods
9.6. Miscellaneous Methods
9.7. Operations involving Zend_Date::HOUR
9.8. Day Constants
9.9. Week Constants
9.10. Month Constants
9.11. Year Constants
9.12. Time Constants
9.13. Timezone Constants
9.14. Date Format Constants (formats include timezone)
9.15. Date and Time Formats (format varies by locale)
9.16. Constants for ISO 8601 date output
9.17. Constants for PHP date output
9.18. Types of supported horizons for sunset and sunrise
10.1. Metadata fields returned by describeTable()
10.2. Constants used by getPart() and reset()
16.1. Zend_Http_Client configuration parameters
16.2. Zend_Http_Client_Adapter_Socket configuration parameters
16.3. Zend_Http_Client configuration parameters
19.1. Details for getTranslationList($type = null, $locale = null)
19.2. Format tokens for self generated number formats
19.3. List of supported numeral systems
19.4. Key values for getDate() with option 'fix_date'
19.5. Return values
19.6. Format definition
19.7. Example formats
19.8. List of all supported languages
19.9. List of all supported regions
21.1. Mail Read Feature Overview
21.2. Mail Folder Names
22.1. List of measurement types
29.1. Zend_Search_Lucene_Field Types
31.1. Zend_Service_Amazon_Item Properties
31.2. Zend_Service_Amazon_Image Properties
31.3. Zend_Service_Amazon_OfferSet Properties
31.4. Properties
31.5. Zend_Service_Amazon_SimilarProduct Properties
31.6. Zend_Service_Amazon_Accessories Properties
31.7. Zend_Service_Amazon_CustomerReview Properties
31.8. Zend_Service_Amazon_EditorialReview Properties
31.9. Zend_Service_Amazon_Listmania Properties
31.10. Methods for retrieving public data
31.11. Methods of the Zend_Service_Delicious_SimplePost class
31.12. Zend_Service_Flickr_ResultSet Properties
31.13. Zend_Service_Flickr_Result Properties
31.14. Zend_Service_Flickr_Image Properties
31.15. Zend_Service_Yahoo_ResultSet
31.16. Zend_Service_Yahoo_LocalResultSet Properties
31.17. Zend_Service_Yahoo_Result Properties
31.18.