Guia de Referência do Programador

Zend Framework

06/04/2007


Índice

1. Zend Framework
1.1. Introdução
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. Visão Geral
7.1.1. Introdução
7.1.2. Processo de Roteamento
7.1.3. Ficha de Despacho
7.1.4. Processo de Despacho
7.2. Iniciando
7.2.1. Introdução
7.2.2. Configuração do Servidor
7.2.3. Arquivo de Inicialização
7.2.4. Estrutura de Diretórios
7.2.5. IndexController
7.3. Subclassing
7.3.1. Introduction
7.3.2. Conventions
7.3.3. Front Controller
7.3.4. Request Abstract
7.3.5. Router Interface
7.3.6. Dispatcher Interface
7.3.7. Action Controller
7.3.8. Response Object
7.4. Provided Subclasses
7.4.1. Introduction
7.4.2. Zend_Controller_Request_Http
7.4.3. Zend_Controller_Router_Rewrite
7.4.4. Zend_Controller_Response_Http
7.4.5. Zend_Controller_Response_Cli
7.5. Action Controllers
7.5.1. Introduction
7.5.2. Object initialization
7.5.3. Pre- and Post-Dispatch Hooks
7.5.4. Accessors
7.5.5. Utility Methods
7.6. Plugins
7.6.1. Introdução
7.7. Using a Conventional Modular Directory Structure
7.7.1. Introduction
7.7.2. Specifying Module Controller Directories
7.7.3. Routing to modules
7.7.4. Module or Global Default Controller
7.8. MVC Exceptions
7.8.1. Introduction
7.8.2. How can you handle exceptions?
7.8.3. MVC Exceptions You May Encounter
7.9. Migrating from Previous Versions
7.9.1. Migrating from 0.6.0 to 0.8.0
7.9.2. Migrating from 0.2.0 or before to 0.6.0
8. Zend_Date
8.1. Introduction
8.1.1. Always Set a Default Timezone
8.1.2. Why Use Zend_Date?
8.2. Basic Methods
8.2.1. The current date
8.2.2. Zend_Date by Example
8.3. Theory of Operation
8.3.1. Internals
8.4. Zend_Date API Overview
8.4.1. Zend_Date Options
8.4.2. Working with Date Values
8.4.3. Basic Zend_Date Operations Common to Many Date Parts
8.4.4. Comparing Dates
8.4.5. Getting Dates and Date Parts
8.4.6. Working with Fractions of Seconds
8.4.7. Sunrise / Sunset
8.5. Constants for General Date Functions
8.5.1. Using Constants
8.5.2. List of All Constants
8.5.3. Self-Defined OUTPUT Formats with ISO
8.5.4. Self-defined OUTPUT formats using PHP's date() format specifiers
9. Zend_Db
9.1. Zend_Db_Adapter
9.1.1. Introduction
9.1.2. Quoting Against SQL Injection
9.1.3. Direct Queries
9.1.4. Transactions
9.1.5. Inserting Rows
9.1.6. Updating Rows
9.1.7. Deleting Rows
9.1.8. Fetching Rows
9.2. Zend_Db_Profiler
9.2.1. Introduction
9.2.2. Using the Profiler
9.2.3. Advanced Profiler Usage
9.3. Zend_Db_Select
9.3.1. Introdução
9.3.2. Colunas de uma Tabela (usando FROM)
9.3.3. Colunas de Tabelas (usando JOIN)
9.3.4. Condições WHERE
9.3.5. Cláusula GROUP BY
9.3.6. Condição HAVING
9.3.7. Cláusula ORDER BY
9.3.8. LIMIT usando Count e Offset
9.3.9. LIMIT usando Page e Count
9.4. Zend_Db_Table
9.4.1. Introdução
9.4.2. Iniciando
9.4.3. Nome da Tabela e Chave Primária
9.4.4. Inserindo Linhas
9.4.5. Atualizando Linhas
9.4.6. Apagando Linhas
9.4.7. Encontrando Linhas por Chave Primária
9.4.8. Buscando Uma Linha
9.4.9. Buscando Múltiplas Linhas
9.4.10. Incluindo Lógica de Domínio
9.5. Zend_Db_Table_Row
9.5.1. Introdução
9.5.2. Buscando uma Linha
9.5.3. Modificando Valores
9.6. Zend_Db_Table_Rowset
9.6.1. Introdução
9.6.2. Buscando um Rowset
9.6.3. Percorrendo o Rowset
9.7. Zend_Db_Table Relationships
9.7.1. Introduction
9.7.2. Defining Relationships
9.7.3. Fetching a Dependent Rowset
9.7.4. Fetching a Parent Row
9.7.5. Fetching a Rowset via a Many-to-many Relationship
9.7.6. Cascading Write Operations
10. Zend_Debug
10.1. Dumping Variables
11. Zend_Exception
11.1. Using Exceptions
12. Zend_Feed
12.1. Introduction
12.2. Importing Feeds
12.2.1. Custom feeds
12.3. Retrieving Feeds from Web Pages
12.4. Consuming an RSS Feed
12.5. Consuming an Atom Feed
12.6. Consuming a Single Atom Entry
12.7. Modifying Feed and Entry structures
12.8. Custom Feed and Entry Classes
13. Zend_Filter
13.1. Introduction
13.2. Filter Chains
13.3. Writing Filters
14. Zend_Gdata
14.1. Introdução a Gdata
14.1.1. Autenticação Cliente no Google Data
14.1.2. Dependências
14.1.3. Criando um novo cliente Gdata.
14.1.4. Parâmetros comuns de consultas.
14.1.5. Recuperando um "feed"
14.1.6. Postando registros em servidores do Google
14.1.7. Deletando registros em servidors do Google
14.2. Authenticating with AuthSub
14.2.1. Creating an AuthSub authenticated Http Client
14.2.2. Revoking AuthSub authentication
14.3. Authenticating with ClientLogin
14.3.1. Creating a ClientLogin authenticated Http Client
14.3.2. Terminating a ClientLogin authenticated Http Client
14.4. Using Google Base
14.4.1. Querying Base data
14.4.2. Updating Base data
14.4.3. Querying Base metadata
14.5. Using Google Blogger
14.5.1. Understanding Blogger version compatibility
14.5.2. Querying a blog
14.5.3. Posting to your blog
14.6. Using Google Calendar
14.6.1. Querying Google Calendar
14.6.2. Posting to Google Calendar
14.7. Using Google CodeSearch
14.8. Using the Gdata Data Helper
14.9. Catching Gdata Exceptions
15. Zend_Http
15.1. Zend_Http_Client - Introduction
15.1.1. Introduction
15.1.2. Configuration Parameters
15.1.3. Performing Basic HTTP Requests
15.1.4. Adding GET and POST parameters
15.1.5. Accessing Last Request and Response
15.2. Zend_Http_Client - Advanced Usage
15.2.1. HTTP Redirections
15.2.2. Adding Cookies and Using Cookie Persistence
15.2.3. Setting Custom Request Headers
15.2.4. File Uploads
15.2.5. Sending Raw POST Data
15.2.6. HTTP Authentication
15.2.7. Sending Multiple Requests With the Same Client
15.3. Zend_Http_Client - Connection Adapters
15.3.1. Overview
15.3.2. The Socket Adapter
15.3.3. The Proxy Adapter
15.3.4. The Test Adapter
15.3.5. Creating your own connection adapters
15.4. Zend_Http_Cookie and Zend_Http_CookieJar
15.4.1. Introduction
15.4.2. Instantiating Zend_Http_Cookie Objects
15.4.3. Zend_Http_Cookie getter methods
15.4.4. Zend_Http_Cookie: Matching against a scenario
15.4.5. The Zend_Http_CookieJar Class: Instantiation
15.4.6. Adding Cookies to a Zend_Http_CookieJar object
15.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
15.5. Zend_Http_Response
15.5.1. Introduction
15.5.2. Boolean Tester Methods
15.5.3. Accessor Methods
15.5.4. Static HTTP Response Parsers
16. Zend_Json
16.1. Introdução
16.2. Uso básico
16.3. Objetos JSON
17. Zend_Loader
17.1. Loading Files and Classes Dynamically
17.1.1. Loading Files
17.1.2. Loading Classes
17.1.3. Testing if a File is Readable
17.1.4. Using the Autoloader
18. Zend_Locale
18.1. Introduction
18.1.1. What is Localization
18.1.2. What is a Locale?
18.1.3. How are Locales Represented?
18.1.4. Selecting the Right Locale
18.1.5. ZF Locale-Aware Classes
18.1.6. Zend_Locale_Format::setOptions(array $options)
18.2. Using Zend_Locale
18.2.1. Copying, Cloning, and Serializing Locale Objects
18.2.2. isEqual() - Equality
18.2.3. Default locales
18.2.4. Set a new locale
18.2.5. Getting the language and region
18.2.6. Obtaining localized strings
18.2.7. Obtaining translations for "yes" and "no"
18.3. Normalization and Localization
18.3.1. Number normalization: getNumber($input, Array $options)
18.3.2. Number localization
18.3.3. Number testing
18.3.4. Float value normalization
18.3.5. Floating point value localization
18.3.6. Floating point value testing
18.3.7. Integer value normalization
18.3.8. Integer point value localization
18.3.9. Integer value testing
18.3.10. Numeral System Conversion
18.4. Working with Dates and Times
18.4.1. Normalizing Dates and Times
18.4.2. Testing Dates
18.4.3. Normalizing a Time
18.4.4. Testing Times
18.5. Supported Languages for Locales
18.6. Supported Regions for Locales
19. Zend_Log
19.1. Overview
19.1.1. Creating a Log
19.1.2. Logging Messages
19.1.3. Using Built-in Priorities
19.1.4. Adding User-defined Priorities
19.1.5. Understanding Log Events
19.2. Writers
19.2.1. Writing to Streams
19.2.2. Writing to Databases
19.2.3. Stubbing Out the Writer
19.2.4. Testing with the Mock
19.2.5. Compositing Writers
19.3. Formatters
19.3.1. Simple Formatting
19.3.2. Formatting to XML
19.4. Filters
19.4.1. Filtering for All Writers
19.4.2. Filtering for a Writer Instance
20. Zend_Mail
20.1. Introduction
20.2. Sending via SMTP
20.3. Sending Multiple Mails per SMTP Connection
20.4. Using Different Transports
20.5. HTML E-Mail
20.6. Attachments
20.7. Adding Recipients
20.8. Controlling the MIME Boundary
20.9. Additional Headers
20.10. Character Sets
20.11. Encoding
20.12. SMTP Authentication
20.13. Securing SMTP Transport
20.14. Reading Mail Messages
20.14.1. Simple example using Pop3
20.14.2. Opening a local storage
20.14.3. Opening a remote storage
20.14.4. Fetching messages and simple methods
20.14.5. Working with messages
20.14.6. Checking for flags
20.14.7. Using folders
20.14.8. Advanced Use
21. Zend_Measure
21.1. Introduction
21.2. Creation of Measurements
21.2.1. Creating measurements from integers and floats
21.2.2. Creating measurements from strings
21.2.3. Measurements from localized strings
21.3. Outputting measurements
21.3.1. Automatic output
21.3.2. Outputting values
21.3.3. Output with unit of measurement
21.3.4. Output as localized string
21.4. Manipulating Measurements
21.4.1. Convert
21.4.2. Add and subtract
21.4.3. Compare
21.4.4. Compare
21.4.5. Manually change values
21.4.6. Manually change types
21.5. Types of measurements
21.5.1. Hints for Zend_Measure_Binary
21.5.2. Hints for Zend_Measure_Number
21.5.3. Roman numbers
22. Zend_Mime
22.1. Zend_Mime
22.1.1. Introduction
22.1.2. Static Methods and Constants
22.1.3. Instantiating Zend_Mime
22.2. Zend_Mime_Message
22.2.1. Introduction
22.2.2. Instantiation
22.2.3. Adding MIME Parts
22.2.4. Boundary handling
22.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
22.3. Zend_Mime_Part
22.3.1. Introduction
22.3.2. Instantiation
22.3.3. Methods for rendering the message part to a string
23. Zend_Pdf
23.1. Introduction.
23.2. Creating and loading PDF documents.
23.3. Save changes to the PDF document.
23.4. Document pages.
23.5. Drawing.
23.5.1. Geometry.
23.5.2. Colors.
23.5.3. Shape Drawing.
23.5.4. Text Drawing.
23.5.5. Using fonts.
23.5.6. Image Drawing.
23.5.7. Line drawing style.
23.5.8. Fill style.
23.5.9. Rotations.
23.5.10. Save/restore graphics state.
23.5.11. Clipping draw area.
23.5.12. Styles.
23.6. Zend_Pdf module usage example.
24. Zend_Registry
24.1. Using the Registry
24.1.1. Setting Values in the Registry
24.1.2. Getting Values from the Registry
24.1.3. Constructing a Registry Object
24.1.4. Accessing the Registry as an Array
24.1.5. Accessing the Registry as an Object
24.1.6. Querying if an index exists
24.1.7. Extending the Registry
24.1.8. Unsetting the Static Registry
25. Zend_Rest
25.1. Introduction
25.2. Zend_Rest_Client
25.2.1. Introduction
25.2.2. Responses
25.2.3. Request Arguments
25.3. Zend_Rest_Server
25.3.1. Introduction
25.3.2. REST Server Usage
25.3.3. Calling a Zend_Rest_Server Service
25.3.4. Sending A Custom Status
25.3.5. Returning Custom XML Responses
26. Zend_Search
26.1. Visão Geral
26.1.1. Introdução
26.1.2. Objetos Documento e Campo
26.1.3. Entendendo os tipos de campos
26.2. Construindo Índices
26.2.1. Criando um Novo Índice
26.2.2. Atualizando um Índice
26.3. Pesquisando em um Índice
26.3.1. Construindo Consultas
26.3.2. Resultados da Pesquisa
26.3.3. Pontuação dos Resultados
26.4. Query Language
26.4.1. Terms
26.4.2. Fields
26.4.3. Term Modifiers
26.4.4. Proximity Searches
26.4.5. Boosting a Term
26.4.6. Boolean Operators
26.4.7. Grouping
26.4.8. Field Grouping
26.4.9. Escaping Special Characters
26.5. Tipos de Consulta
26.5.1. Consulta a termo simples
26.5.2. Consulta a múltiplos termos
26.5.3. Consulta por Frase
26.6. Conjuntos de Caracteres
26.6.1. Suporte aos conjuntos de caracteres UTF-8 e byte-simples.
26.7. Extensibilidade
26.7.1. Análise de Texto
26.7.2. Algoritmos de Pontuação
26.7.3. Recipientes de Armazenagem
26.8. Interoperando com Java Lucene
26.8.1. Formatos de arquivo
26.8.2. Diretório índice
26.8.3. Código fonte Java
26.8.4. Usando LuceneIndexCreation.jar
26.9. Advanced
26.9.1. Using index as static property
27. Zend_Server
27.1. Introduction
27.2. Zend_Server_Reflection
27.2.1. Introduction
27.2.2. Usage
28. Zend_Service
28.1. Introdução
28.2. Zend_Service_Akismet
28.2.1. Introduction
28.2.2. Verify an API key
28.2.3. Check for spam
28.2.4. Submitting known spam
28.2.5. Submitting false positives (ham)
28.2.6. Zend-specific Accessor Methods
28.3. Zend_Service_Amazon
28.3.1. Introdução
28.3.2. Códigos de Países
28.3.3. Procurando por um ítem específico do Amazon com o código ASIN
28.3.4. Executando pesquisas de ítens no Amazon
28.3.5. Usando a Query API Alternativa
28.3.6. Classes Zend_Service_Amazon
28.4. Zend_Service_Audioscrobbler
28.4.1. Introduction to Searching Audioscrobbler
28.4.2. Users
28.4.3. Artists
28.4.4. Tracks
28.4.5. Tags
28.4.6. Groups
28.4.7. Forums
28.5. Zend_Service_Delicious
28.5.1. Introduction
28.5.2. Retrieving posts
28.5.3. Zend_Service_Delicious_PostList
28.5.4. Editing posts
28.5.5. Deleting posts
28.5.6. Adding new posts
28.5.7. Tags
28.5.8. Bundles
28.5.9. Public data
28.5.10. HTTP client
28.6. Zend_Service_Flickr
28.6.1. Introdução às Pesquisas Flickr
28.6.2. Localizando Usuários Flickr
28.6.3. Recuperando Detalhes de Imagens Flickr Image Details
28.6.4. Classes Zend_Service_Flickr
28.7. Zend_Service_Simpy
28.7.1. Introduction
28.7.2. Links
28.7.3. Tags
28.7.4. Notes
28.7.5. Watchlists
28.8. Zend_Service_Yahoo
28.8.1. Introdução
28.8.2. Pesquisando a Web com o Yahoo!
28.8.3. Localizando imagens com o Yahoo!
28.8.4. Localizando atividades de Comércio e Serviços locais com o Yahoo!
28.8.5. Pesquisando o Yahoo! News
28.8.6. Zend_Service_Yahoo Classes
29. Zend_Session
29.1. Introduction
29.2. Basic Usage
29.2.1. Tutorial Examples
29.2.2. Iterating Over Session Namespaces
29.2.3. Accessors for Session Namespaces
29.3. Advanced Usage
29.3.1. Starting a Session
29.3.2. Locking Session Namespaces
29.3.3. Namespace Expiration
29.3.4. Session Encapsulation and Controllers
29.3.5. Limiting Instances of Zend_Session_Namespace to One Per Namespace
29.3.6. Working with Arrays in Namespaces
29.3.7. Using Sessions with Authentication
29.3.8. Using Sessions with Unit Tests
29.4. Global Session Management
29.4.1. Zend_Session::setOptions()
29.4.2. Options
29.4.3. Errors
29.4.4. regenerateId()
29.4.5. rememberMe(integer $seconds)
29.4.6. forgetMe()
29.4.7. sessionExists()
29.4.8. destroy(bool $remove_cookie = true, bool $readonly = true)
29.4.9. stop()
29.4.10. writeClose($readonly = true)
29.4.11. expireSessionCookie()
29.4.12. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
29.4.13. namespaceIsset($namespace)
29.4.14. namespaceUnset($namespace)
29.4.15. namespaceGet($namespace)
29.4.16. getIterator()
29.5. Theory
30. Zend_Translate
30.1. Introduction
30.1.1. Starting multi-lingual
30.2. Adapters for Zend_Translate
30.2.1. How to decide which translation adapter to use
30.3. Using Translation Adapters
30.3.1. Translation Source Structures
30.3.2. Creating array source files
30.3.3. Creating Gettext Source Files
30.3.4. Creating TMX Source Files
30.3.5. Creating CSV Source Files
31. Zend_Uri
31.1. Zend_Uri
31.1.1. Overview
31.1.2. Creating a New URI
31.1.3. Manipulating an Existing URI
31.1.4. URI Validation
31.1.5. Common Instance Methods
32. Zend_Validate
32.1. Introduction
32.2. Validator Chains
32.3. Writing Validators
32.4. Validating Email Addresses
32.5. Validating Hostnames
33. Zend_Version
33.1. Reading the Zend Framework Version
34. Zend_View
34.1. Introdução
34.1.1. Script Controlador
34.1.2. Script Visualizador
34.2. Scripts Controladores
34.2.1. Atribuindo Variáveis
34.2.2. Renderizando um Script de Visualização
34.2.3. View Script Paths
34.3. Scripts de Visualização
34.3.1. Escapando a Saída
34.3.2. Sistemas de Template
34.4. Assistentes de Visualização (Modificadores)
34.4.1. Assistentes Padrão
34.4.2. Localizando os Assistentes
34.4.3. Escrevendo Assistentes Personalizados
35. Zend_XmlRpc
35.1. Introdução
35.2. Zend_XmlRpc_Client
35.2.1. Introdução
35.2.2. Usando parâmetros
35.2.3. Indicando o tipo dos parâmetros
35.2.4. Obtendo a resposta
35.3. Zend_XmlRpc_Server
35.3.1. Introduction
35.3.2. Basic Usage
35.3.3. Server Structure
35.3.4. Conventions
35.3.5. Utilizing Namespaces
35.3.6. Custom Request Objects
35.3.7. Custom Responses
35.3.8. Handling Exceptions via Faults
35.3.9. Caching Server Definitions Between Requests
35.3.10. Usage Examples
A. Padrões de Codificação do Framework Zend para PHP
A.1. Visão Geral
A.1.1. Escopo
A.1.2. Objetivos
A.2. Formato do Arquivo PHP
A.2.1. Geral
A.2.2. Indentação
A.2.3. Tamanho máximo de linha
A.2.4. Final de Linha
A.3. Convenções de Nomes
A.3.1. Classes
A.3.2. Interfaces
A.3.3. Nomes de Arquivos
A.3.4. Funções e Métodos
A.3.5. Variáveis
A.3.6. Constantes
A.4. Estilo de Código
A.4.1. Demarcação de Código PHP
A.4.2. Strings
A.4.3. Arrays
A.4.4. Classes
A.4.5. Funções e Métodos
A.4.6. Instruções de Controle
A.4.7. Documentação Inline
B. Informação de Direitos Autorais
Índice Remissivo

Lista de Tabelas

2.1. Access Controls for an Example CMS
3.1. Configuration Options
4.1. Available options
4.2. Available options
4.3. Available options
4.4. Available options
4.5. Available options
4.6. Available options
4.7. Available options
4.8. Available options
8.1. Date Parts
8.2. Basic Operations
8.3. Date Comparison Methods
8.4. Date Output Methods
8.5. Date Output Methods
8.6. Miscellaneous Methods
8.7. Operations involving Zend_Date::HOUR
8.8. Day Constants
8.9. Week Constants
8.10. Month Constants
8.11. Year Constants
8.12. Time Constants
8.13. Timezone Constants
8.14. Date Format Constants (formats include timezone)
8.15. Date and Time Formats (format varies by locale)
8.16. Constants for ISO 8601 date output
8.17. Constants for PHP date output
14.1. Differences between current Blogger service and Blogger beta service
15.1. Zend_Http_Client configuration parameters
15.2. Zend_Http_Client configuration parameters
18.1. Details for getTranslationList($type = null, $locale = null)
18.2. List of supported numeral systems
18.3. 'fixed' key values for getCorrectableDate()
18.4. Return values
18.5. Format definition
18.6. Example formats
18.7. List of all supported languages
18.8. List of all supported regions
20.1. Mail Read Feature Overview
20.2. Mail Folder Names
21.1. List of measurement types
26.1. Campos Zend_Search_Lucene_Field
28.1. Propriedade de Zend_Service_Amazon_Item
28.2. Propriedades de Zend_Service_Amazon_Image
28.3. Propriedades de Zend_Service_Amazon_OfferSet
28.4. Propriedades
28.5. Propriedades de Zend_Service_Amazon_SimilarProduct
28.6. Zend_Service_Amazon_Accessories Properties
28.7. Propriedades de Zend_Service_Amazon_CustomerReview
28.8. Propriedades de Zend_Service_Amazon_EditorialReview
28.9. Propriedades de Zend_Service_Amazon_Listmania
28.10. Methods for retrieving public data
28.11. Methods of the Zend_Service_Delicious_SimplePost class
28.12. Propriedades de Zend_Service_Flickr_ResultSet
28.13. Propriedades de Zend_Service_Flickr_Result
28.14. Propriedades de Zend_Service_Flickr_Image
28.15. Zend_Service_Yahoo_ResultSet
28.16. Zend_Service_Yahoo_LocalResultSet Properties
28.17. Zend_Service_Yahoo_Result Properties
28.18. Zend_Service_Yahoo_WebResult Properties
28.19. Zend_Service_Yahoo_ImageResult Properties
28.20. Zend_Service_Yahoo_LocalResult Properties
28.21. Zend_Service_Yahoo_NewsResult Properties
28.22. Zend_Service_Yahoo_Image Properties
30.1. Adapters for Zend_Translate
35.1. Conversão de valores nativos do PHP para tipos XML-RPC
35.2. Objeto Zend_XmlRpc_Value representando os tipos XML-RPC

Lista de Exemplos

2.1. Multiple inheritance between Roles
3.1. Modifying the Session Namespace
3.2. Using a Custom Storage Class
3.3. Basic Usage
4.1. Getting a frontend with Zend_Cache::factory()
4.2. Caching output with Zend_Cache output frontend
5.1. Using Zend_Config Per Se
5.2. Using Zend_Config_Ini
5.3. Using Zend_Config_Xml
6.1. Using the Short Syntax
6.2. Using the Long Syntax
6.3. Catching Getopt Exceptions
6.4. Using getOption()
6.5. Using __get() and __isset() magic methods
6.6. Using getRemainingArgs()
6.7. Using addRules()
6.8. Using setHelp()
6.9. Using setAliases()
6.10. Using addArguments() and setArguments()
6.11. Using setOption()
6.12. Using setOptions()
8.1. Setting a default timezone
8.2. Creating the current date
8.3. get() - output a date
8.4. set() - set a date
8.5. add() - adding dates
8.6. compare() - compare dates
8.7. equals() - identify a date or date part
8.8. User-specified input date format
8.9. Operating on Parts of Dates
8.10. Example usage for self-defined ISO formats
8.11. Example usage for self-defined formats with PHP specifier
9.1. Fetching a Dependent Rowset
9.2. Fetching a Dependent Rowset By a Specific Rule
9.3. Fetching Dependent Rowsets using the Magic Method
9.4. Fetching the Parent Row
9.5. Fetching a Parent Row By a Specific Rule
9.6. Fetching the Parent Row using the Magic Method
9.7. Fetching a Rowset with the Many-to-many Method
9.8. Fetching a Rowset with the Many-to-many Method By a Specific Rule
9.9. Fetching Rowsets using the Magic Many-to-many Method
9.10. Example of a Cascading Delete
9.11. Example Declaration of Cascading Operations
10.1. Example of dump() method
11.1. Example of catching an exception
12.1. Putting Zend_Feed to Work on RSS Feed Data
12.2. Basic Use of an Atom Feed
12.3. Reading a Single-Entry Atom Feed
12.4. Using the Entry Object Directly for a Single-Entry Atom Feed
12.5. Modifying an Existing Feed Entry
12.6. Creating an Atom Entry with Elements of Custom Namespaces
12.7. Extending the Atom Entry Class with Custom Namespaces
15.1. Instantiating a Zend_Http_Client object
15.2. Preforming a Simple GET Request
15.3. Using Request Methods Other Than GET
15.4. Setting GET Parameters
15.5. Setting POST Parameters
15.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
15.7. Setting Cookies Using setCookie()
15.8. Enabling Cookie Stickiness
15.9. Setting A Single Custom Request Header
15.10. Setting Multiple Custom Request Headers
15.11. Using setFileUpload to Upload Files
15.12. Sending Raw POST Data
15.13. Setting HTTP Authentication User and Password
15.14. Performing consecutive requests with one client
15.15. Changing the HTTPS transport layer
15.16. Using Zend_Http_Client behind a proxy server
15.17. Testing Against a Single HTTP Response Stub
15.18. Testing Against Multiple HTTP Response Stubs
15.19. Creating your own connection adapter
15.20. Instantiating a Zend_Http_Cookie object
15.21. Stringifying a Zend_Http_Cookie object
15.22. Using getter methods with Zend_Http_Cookie
15.23. Matching cookies
15.24. Instantiating a Zend_Http_Response object using the factory method
15.25. Using the isError() method to validate a response
15.26. Using Zend_Http_Response Accessor Methods
15.27. Accessing Response Headers
17.1. Example of loadFile() method
17.2. Example of loadClass() method
17.3. Example of isReadable() method
17.4. Example of registering the autoloader callback method
18.1. Choosing a specific locale
18.2. Automatically selecting a locale
18.3. Dates default to correct locale of web users
18.4. Overriding default locale selection
18.5. Performance optimization when using a default locale
18.6. Dates default to correct locale of web users
18.7. clone
18.8. Check for equal locales
18.9. Get default locales
18.10. setLocale
18.11. Convenience functions for getTranslation()
18.12. getTranslationList
18.13. Converting country name in one language to another
18.14. All available translations
18.15. All Languages written in thier native language
18.16. getQuestion()
18.17. Number normalization
18.18. Number normalization with precision
18.19. Number localization
18.20. Number localization with precision
18.21. Number testing
18.22. Floating point value normalization
18.23. Floating point value localization
18.24. Floating point value testing
18.25. Integer value normalization
18.26. Integer value localization
18.27. Integer value testing
18.28. Converting numerals from Arabic to European/Latin
18.29. Converting numerals from European/Latin to Arabic
18.30. Normalizing a date
18.31. Normalizing a date by locale
18.32. Normalizing a date with time
18.33. Normalizing a userdefined date
18.34. Automatic correction of input dates
18.35. Date testing
18.36. Normalize an unknown time
18.37. Testing a time
20.1. Simple E-Mail with Zend_Mail
20.2. Sending E-Mail via SMTP
20.3. Sending Multiple Mails per SMTP Connection
20.4. Using Different Transports
20.5. Sending HTML E-Mail
20.6. E-Mail Messages with Attachments
20.7. Changing the MIME Boundary
20.8. Adding E-Mail Message Headers
20.9. Enabling authentication within Zend_Mail_Transport_Smtp
20.10. Enabling a secure connection within Zend_Mail_Transport_Smtp
21.1. Converting measurements
21.2. The meter measurement
21.3. Creation using integer and floating values
21.4. Creation using strings
21.5. Arbitrary text input containing measurements
21.6. Localized string
21.7. Automatic output
21.8. Output a value
21.9. Outputting units
21.10. Convert
21.11. Adding units
21.12. Subtract
21.13. Different measurements
21.14. Identical measurements
21.15. Difference
21.16. Changing a value
21.17. Changing the type
23.1. Create new or load existing PDF document.
23.2. Requesting specified revision of the PDF document.
23.3. Save PDF document.
23.4. PDF document pages management.
23.5. Draw a string on the page.
23.6. Draw a UTF-8-encoded string on the page.
23.7. Create a standard font.
23.8. Create a TrueType font.
23.9. Create a TrueType font, but do not embed it in the PDF document.
23.10. Do not throw an exception for fonts that cannot be embeded.
23.11. Do not compress an embedded font.
23.12. Combining font embedding options.
23.13. Image drawing.
23.14. Zend_Pdf module usage demo.
24.1. Example of set() method
24.2. Example of get() method
24.3. Example of iterating over the registry
24.4. Example of constructing a registry
24.5. Example of initializing the static registry
24.6. Example of array access
24.7. Example of object access
24.8. Example of isRegistered() method
24.9. Example of isset() method
24.10. Example of specifying the static registry's class name
24.11. Example of _unsetInstance() method
25.1. A basic REST request
25.2. Response Status
25.3. Using Technorati's Rest Service
25.4. Example Technorati Response
25.5. Setting Request Arguments
25.6. Basic Zend_Rest_Server Usage - Classes
25.7. Basic Zend_Rest_Server Usage - Functions
25.8. Returning Custom Status
25.9. Return Custom XML
26.1. Analisador de texto customizado.
28.1. isSpam() Usage
28.2. submitSpam() Usage
28.3. submitHam() Usage
28.4. Busca no Amazon usando a API tradicional
28.5. Busca no Amazon usando a Query API
28.6. Selecionando o Amazon Web Service de um país
28.7. Procurando por um ítem específico no Amazon usando ASIN
28.8. Efetuando buscas de ítens no Amazon
28.9. Pesquisando o Amazon usando a Query API Alternativa
28.10. Retrieving User Profile Information
28.11. Retrieving a User's Weekly Artist Chart
28.12. Retrieving Related Artists
28.13. Get all posts
28.14. Accessing post lists
28.15. Post editing
28.16. Method call chaining
28.17. Deleting posts
28.18. Adding a post
28.19. Tags
28.20. Bundles
28.21. Retrieving public data
28.22. Changing the HTTP client of Zend_Rest_Client
28.23. Configuring your HTTP client to keep connections alive
28.24. Simples pesquisa por fotos Flickr
28.25. Localizando um usuário Flickr pelo endereço de E-Mail
28.26. Recuperando Flickr Image Details
28.27. Querying Links
28.28. Modifying Links
28.29. Working With Tags
28.30. Working With Notes
28.31. Retrieving Watchlists
28.32. Pesquisando a Web com o Yahoo!
28.33. Localizando imagens com o Yahoo!
28.34. Finding Local Businesses and Services with Yahoo!
28.35. Searching Yahoo! News
29.1. Counting Page Views
29.2. New Way: Namespaces Avoid Collisions
29.3. Old Way: PHP Session Access
29.4. Session Iteration
29.5. Accessing Session Data
29.6. Starting the Global Session
29.7. Locking Session Namespaces
29.8. Locking Sessions in Views
29.9. Expiration Examples
29.10. Namespaced Sessions for Controllers with Automatic Expiration
29.11. Limiting to Single Instances
29.12. Known problem with arrays
29.13. Workaround: fetch, modify, save
29.14. Workaround: store array containing reference
29.15. Example: Simplified access of authorization ids
29.16. Using PHPUnit to test code written using Zend_Session*
29.17. Using Zend_Config to Configure Zend_Session
29.18. myapp.ini
29.19. Anonymous Sessions and Session Fixation
29.20. Unsetting All Namespaces
30.1. Example of single-language PHP code
30.2. Example of multi-lingual PHP code
30.3. Example TMX file
30.4. Example CSV file
31.1. Creating a New URI with Zend_Uri::factory()
31.2. Manipulating an Existing URI with Zend_Uri::factory()
31.3. URI Validation with Zend_Uri::check()
31.4. Getting the Scheme from a Zend_Uri_* Object
31.5. Getting the Entire URI from a Zend_Uri_* Object
31.6. Validating a Zend_Uri_* Object
33.1. Example of compareVersion() method
35.1. Uma requisição XML-RPC básica
35.2. Chamando um serviço XML-RPC com indicação de tipo