Guia de Referência do Programador

Zend Framework

21/02/2007


Índice

1. Zend
1.1. Introdução
1.2. Zend::loadFile()
1.3. Zend::loadClass()
1.4. Zend::isReadable()
1.5. Zend::exception()
1.6. Zend::dump()
1.7. Zend::register()
1.8. Zend::registry()
1.9. Zend::initRegistry($registry = 'Zend_Registry')
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. Digest Authentication
3.2.1. Introduction
3.2.2. Specifics
3.2.3. Identity
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
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. Router Interface
7.3.4. Dispatcher Interface
7.4. Provided Subclasses
7.4.1. Introduction
7.4.2. Zend_Controller_Request_Http
7.4.3. Zend_Controller_RewriteRouter
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.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. Working with Date Values
8.4.2. Date Part Specific Methods
8.4.3. Additional Functions
8.5. Constants for General Date Functions
8.5.1. Using Constants
8.5.2. List of All Constants
8.5.3. Self-Defined Formats
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
10. Zend_Feed
10.1. Introduction
10.2. Importing Feeds with Zend_Feed
10.3. Retrieving Feeds from Web Pages
10.4. Consuming an RSS Feed
10.5. Consuming an Atom Feed
10.6. Consuming a Single Atom Entry
10.7. Modifying Feed and Entry structures
10.8. Custom Feed and Entry Classes
11. Zend_Filter
11.1. Zend_Filter
11.1.1. Introduction
11.1.2. Use Cases
11.2. Filter Chains
11.3. Writing Filters
11.4. Zend_Filter_Input
11.4.1. Introduction
11.4.2. Theory of Operation
11.4.3. Use Cases
12. Zend_Gdata
12.1. Introdução a Gdata
12.1.1. Autenticação Cliente no Google Data
12.1.2. Dependências
12.1.3. Criando um novo cliente Gdata.
12.1.4. Parâmetros comuns de consultas.
12.1.5. Recuperando um "feed"
12.1.6. Postando registros em servidores do Google
12.1.7. Deletando registros em servidors do Google
12.2. Authenticating with AuthSub
12.2.1. Creating an AuthSub authenticated Http Client
12.2.2. Revoking AuthSub authentication
12.3. Authenticating with ClientLogin
12.3.1. Creating a ClientLogin authenticated Http Client
12.3.2. Terminating a ClientLogin authenticated Http Client
12.4. Using Google Base
12.4.1. Querying Base data
12.4.2. Updating Base data
12.4.3. Querying Base metadata
12.5. Using Google Blogger
12.5.1. Understanding Blogger version compatibility
12.5.2. Querying a blog
12.5.3. Posting to your blog
12.6. Using Google Calendar
12.6.1. Querying Google Calendar
12.6.2. Posting to Google Calendar
12.7. Using Google CodeSearch
12.8. Using the Gdata Data Helper
12.9. Catching Gdata Exceptions
13. Zend_Http
13.1. Zend_Http_Client
13.1.1. Introduction
13.1.2. Basic GET Requests with Specified HTTP Headers
13.1.3. Requesting Multiple Domains
13.1.4. Changing the HTTP Timeout
13.1.5. Setting HTTP Headers Dynamically
13.1.6. Making HTTP POST, PUT, and DELETE Requests
13.2. Zend_Http_Client - Advanced Usage
13.2.1. HTTP Redirections
13.2.2. Adding Cookies and Using Cookie Persistence
13.2.3. Setting Custom Request Headers
13.2.4. File Uploads
13.2.5. Sending Raw POST Data
13.2.6. HTTP Authentication
13.2.7. Sending Multiple Requests With the Same Client
13.3. Zend_Http_Client - Connection Adapters
13.3.1. Overview
13.3.2. The Socket Adapter
13.3.3. The Proxy Adapter
13.3.4. The Test Adapter
13.3.5. Creating your own connection adapters
13.4. Zend_Http_Cookie and Zend_Http_CookieJar
13.4.1. Introduction
13.4.2. Instantiating Zend_Http_Cookie Objects
13.4.3. Zend_Http_Cookie getter methods
13.4.4. Zend_Http_Cookie: Matching against a scenario
13.4.5. The Zend_Http_CookieJar Class: Instantiation
13.4.6. Adding Cookies to a Zend_Http_CookieJar object
13.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
13.5. Zend_Http_Response
13.5.1. Introduction
14. Zend_Json
14.1. Introdução
14.2. Uso básico
14.3. Objetos JSON
15. Zend_Locale
15.1. Introduction
15.1.1. What is Localization
15.1.2. What is a Locale?
15.1.3. How are Locales Represented?
15.1.4. Selecting the Right Locale
15.1.5. ZF Locale-Aware Classes
15.2. Using Zend_Locale
15.2.1. Copying, Cloning, and Serializing Locale Objects
15.2.2. isEqual() - Equality
15.2.3. Default locales
15.2.4. Set a new locale
15.2.5. Getting the language and region
15.2.6. Obtaining localized name for languages, regions, and calendars
15.2.7. Get an translated string of an script
15.2.8. Get a list of scripts
15.2.9. Obtaining translations for "yes" and "no"
15.3. Normalization and Localization
15.3.1. Number normalization: getNumber($input, $precision = false, $locale = false)
15.3.2. Number localization
15.3.3. Number testing
15.3.4. Float value normalization
15.3.5. Floating point value localization
15.3.6. Floating point value testing
15.3.7. Integer value normalization
15.3.8. Integer point value localization
15.3.9. Integer value testing
15.3.10. Numeral System Conversion
15.4. Working with Dates and Times
15.4.1. Normalizing Dates and Times
15.4.2. Testing Dates
15.4.3. Normalizing a Time
15.4.4. Testing Times
15.5. Supported Languages for Locales
15.6. Supported Regions for Locales
16. Zend_Log
16.1. Introdução
16.2. Gravando um registro único
16.3. Níveis de registro
16.4. Registro avançado: Múltiplos Agentes de Registro
17. Zend_Mail
17.1. Introduction
17.2. Sending via SMTP
17.3. Sending Multiple Mails per SMTP Connection
17.4. Using Different Transports
17.5. HTML E-Mail
17.6. Attachments
17.7. Adding Recipients
17.8. Controlling the MIME Boundary
17.9. Additional Headers
17.10. Character Sets
17.11. Encoding
17.12. SMTP Authentication
17.13. Securing SMTP Transport
17.14. Reading Mail Messages
17.14.1. Simple example using Pop3
17.14.2. Opening a local storage
17.14.3. Opening a remote storage
17.14.4. Fetching messages and simple methods
17.14.5. Working with messages
17.14.6. Using folders
17.14.7. Advanced Use
18. Zend_Measure
18.1. Introduction
18.2. Creation of Measurements
18.2.1. Measurements from variables
18.2.2. Measurements from strings
18.2.3. Measurements from localized strings
18.3. Outputting measurements
18.3.1. Automatic output
18.3.2. Outputting values
18.3.3. Output with unit of measurement
18.3.4. Output as localized string
18.4. Manipulating measurements
18.4.1. Convert
18.4.2. Add and subtract
18.4.3. Compare
18.4.4. Calculate differences
18.4.5. Manually change values
18.4.6. Manually change types
18.5. Special functions
18.5.1. Serializing and Deserializing
18.5.2. Listing all known types
18.5.3. Listing all known units
18.6. Types of measurements
18.6.1. Zend_Measure_Acceleration
18.6.2. Zend_Measure_Angle
18.6.3. Zend_Measure_Area
18.6.4. Zend_Measure_Binary
18.6.5. Zend_Measure_Capacitance
18.6.6. Zend_Measure_Cooking_Volume
18.6.7. Zend_Measure_Cooking_Weight
18.6.8. Zend_Measure_Current
18.6.9. Zend_Measure_Density
18.6.10. Zend_Measure_Energy
18.6.11. Zend_Measure_Force
18.6.12. Zend_Measure_Flow_Mass
18.6.13. Zend_Measure_Flow_Mole
18.6.14. Zend_Measure_Flow_Volume
18.6.15. Zend_Measure_Frequency
18.6.16. Zend_Measure_Illumination
18.6.17. Zend_Measure_Length
18.6.18. Zend_Measure_Lightness
18.6.19. Zend_Measure_Number
18.6.20. Zend_Measure_Power
18.6.21. Zend_Measure_Pressure
18.6.22. Zend_Measure_Speed
18.6.23. Zend_Measure_Temperature
18.6.24. Zend_Measure_Torque
18.6.25. Zend_Measure_Viscosity_Dynamic
18.6.26. Zend_Measure_Viscosity_Kinematic
18.6.27. Zend_Measure_Volume
18.6.28. Zend_Measure_Weight
19. Zend_Mime
19.1. Zend_Mime
19.1.1. Introduction
19.1.2. Static Methods and Constants
19.1.3. Instantiating Zend_Mime
19.2. Zend_Mime_Message
19.2.1. Introduction
19.2.2. Instantiation
19.2.3. Adding MIME Parts
19.2.4. Boundary handling
19.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
19.3. Zend_Mime_Part
19.3.1. Introduction
19.3.2. Instantiation
19.3.3. Methods for rendering the message part to a string
20. Zend_Pdf
20.1. Introduction.
20.2. Creating and loading PDF documents.
20.3. Save changes to the PDF document.
20.4. Document pages.
20.5. Drawing.
20.5.1. Geometry.
20.5.2. Colors.
20.5.3. Shape Drawing.
20.5.4. Text Drawing.
20.5.5. Using fonts.
20.5.6. Image Drawing.
20.5.7. Line drawing style.
20.5.8. Fill style.
20.5.9. Rotations.
20.5.10. Save/restore graphics state.
20.5.11. Clipping draw area.
20.5.12. Styles.
20.6. Zend_Pdf module usage example.
21. Zend_Rest
21.1. Introduction
21.2. Zend_Rest_Client
21.2.1. Introduction
21.2.2. Responses
21.2.3. Request Arguments
21.3. Zend_Rest_Server
21.3.1. Introduction
21.3.2. REST Server Usage
21.3.3. Calling a Zend_Rest_Server Service
21.3.4. Sending A Custom Status
21.3.5. Returning Custom XML Responses
22. Zend_Search
22.1. Visão Geral
22.1.1. Introdução
22.1.2. Objetos Documento e Campo
22.1.3. Entendendo os tipos de campos
22.2. Construindo Índices
22.2.1. Criando um Novo Índice
22.2.2. Atualizando um Índice
22.3. Pesquisando em um Índice
22.3.1. Construindo Consultas
22.3.2. Resultados da Pesquisa
22.3.3. Pontuação dos Resultados
22.4. Query Language
22.4.1. Terms
22.4.2. Fields
22.4.3. Term Modifiers
22.4.4. Proximity Searches
22.4.5. Boosting a Term
22.4.6. Boolean Operators
22.4.7. Grouping
22.4.8. Field Grouping
22.4.9. Escaping Special Characters
22.5. Tipos de Consulta
22.5.1. Consulta a termo simples
22.5.2. Consulta a múltiplos termos
22.5.3. Consulta por Frase
22.6. Conjuntos de Caracteres
22.6.1. Suporte aos conjuntos de caracteres UTF-8 e byte-simples.
22.7. Extensibilidade
22.7.1. Análise de Texto
22.7.2. Algoritmos de Pontuação
22.7.3. Recipientes de Armazenagem
22.8. Interoperando com Java Lucene
22.8.1. Formatos de arquivo
22.8.2. Diretório índice
22.8.3. Código fonte Java
22.8.4. Usando LuceneIndexCreation.jar
23. Zend_Server
23.1. Introduction
23.2. Zend_Server_Reflection
23.2.1. Introduction
23.2.2. Usage
24. Zend_Service
24.1. Introdução
24.2. Zend_Service_Akismet
24.2.1. Introduction
24.2.2. Verify an API key
24.2.3. Check for spam
24.2.4. Submitting known spam
24.2.5. Submitting false positives (ham)
24.2.6. Zend-specific Accessor Methods
24.3. Zend_Service_Amazon
24.3.1. Introdução
24.3.2. Códigos de Países
24.3.3. Procurando por um ítem específico do Amazon com o código ASIN
24.3.4. Executando pesquisas de ítens no Amazon
24.3.5. Usando a Query API Alternativa
24.3.6. Classes Zend_Service_Amazon
24.4. Zend_Service_Flickr
24.4.1. Introdução às Pesquisas Flickr
24.4.2. Localizando Usuários Flickr
24.4.3. Recuperando Detalhes de Imagens Flickr Image Details
24.4.4. Classes Zend_Service_Flickr
24.5. Zend_Service_Yahoo
24.5.1. Introdução
24.5.2. Pesquisando a Web com o Yahoo!
24.5.3. Localizando imagens com o Yahoo!
24.5.4. Localizando atividades de Comércio e Serviços locais com o Yahoo!
24.5.5. Pesquisando o Yahoo! News
24.5.6. Zend_Service_Yahoo Classes
25. Zend_Session
25.1. Introduction
25.2. Basic Usage
25.2.1. Tutorial Examples
25.2.2. Iterating Over Session Namespaces
25.2.3. Accessors for Session Namespaces
25.3. Advanced Usage
25.3.1. Starting a Session
25.3.2. Locking Session Namespaces
25.3.3. Session Encapsulation and Controllers
25.3.4. Limiting Instances of Zend_Session to One Per Namespace
25.4. Global Session Management
25.4.1. setOptions()
25.4.2. Options
25.4.3. regenerateId()
25.4.4. rememberMe(integer $seconds)
25.4.5. forgetMe()
25.4.6. sessionExists()
25.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
25.4.8. stop()
25.4.9. writeClose($readonly = true)
25.4.10. expireSessionCookie()
25.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
25.4.12. getInstance($instanceMustExist = false)
25.4.13. namespaceIsset($namespace, $name = null)
25.4.14. namespaceUnset($namespace, $name = null)
25.4.15. namespaceSet($namespace, $name, $value)
25.4.16. namespaceGet($namespace, $name = null)
25.4.17. getIterator()
25.5. Theory
26. Zend_Uri
26.1. Zend_Uri
26.1.1. Overview
26.1.2. Creating a New URI
26.1.3. Manipulating an Existing URI
26.1.4. URI Validation
26.1.5. Common Instance Methods
27. Zend_Validate
27.1. Introduction
27.2. Validator Chains
27.3. Writing Validators
27.4. Validating Email Addresses
27.5. Validating Hostnames
28. Zend_View
28.1. Introdução
28.1.1. Script Controlador
28.1.2. Script Visualizador
28.2. Scripts Controladores
28.2.1. Atribuindo Variáveis
28.2.2. Renderizando um Script de Visualização
28.2.3. View Script Paths
28.3. Scripts de Visualização
28.3.1. Escapando a Saída
28.3.2. Sistemas de Template
28.4. Assistentes de Visualização (Modificadores)
28.4.1. Assistentes Padrão
28.4.2. Localizando os Assistentes
28.4.3. Escrevendo Assistentes Personalizados
29. Zend_XmlRpc
29.1. Introdução
29.2. Zend_XmlRpc_Client
29.2.1. Introdução
29.2.2. Usando parâmetros
29.2.3. Indicando o tipo dos parâmetros
29.2.4. Obtendo a resposta
29.3. Zend_XmlRpc_Server
29.3.1. Introduction
29.3.2. XML-RPC Server Basic Usage
29.3.3. XML-RPC Server Structure
29.3.4. Conventions
29.3.5. Utilizing Namespaces
29.3.6. Custom Request Objects
29.3.7. Custom Responses
29.3.8. Handling Exceptions via Faults
29.3.9. Caching Server Definitions Between Requests
29.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
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. Basic Zend_Date Methods and Part Specific Methods
8.2. Detailed functions
8.3. Additional Functions
8.4. Operations involving Zend_Date::HOUR
8.5. Day Constants
8.6. Week Constants
8.7. Month Constants
8.8. Year Constants
8.9. Time Constants
8.10. Timezone Constants
8.11. Date Format Constants (formats include timezone)
8.12. Date and Time Formats (format varies by locale)
8.13. Constants for ISO 8601 date output
12.1. Differences between current Blogger service and Blogger beta service
13.1. Zend_Http_Client configuration parameters
15.1. List of supported numeral systems
15.2. Return values
15.3. Format definition
15.4. Example formats
15.5. List of all supported languages
15.6. List of all supported regions
17.1. Mail Read Feature Overview
17.2. Mail Folder Names
22.1. Campos Zend_Search_Lucene_Field
24.1. Propriedade de Zend_Service_Amazon_Item
24.2. Propriedades de Zend_Service_Amazon_Image
24.3. Propriedades de Zend_Service_Amazon_OfferSet
24.4. Propriedades de Zend_Service_Amazon_Offer
24.5. Propriedades de Zend_Service_Amazon_SimilarProduct
24.6. Zend_Service_Amazon_Accessories Properties
24.7. Propriedades de Zend_Service_Amazon_CustomerReview
24.8. Propriedades de Zend_Service_Amazon_EditorialReview
24.9. Propriedades de Zend_Service_Amazon_Listmania
24.10. Propriedades de Zend_Service_Flickr_ResultSet
24.11. Propriedades de Zend_Service_Flickr_Result
24.12. Propriedades de Zend_Service_Flickr_Image
24.13. Zend_Service_Yahoo_ResultSet
24.14. Zend_Service_Yahoo_LocalResultSet Properties
24.15. Zend_Service_Yahoo_Result Properties
24.16. Zend_Service_Yahoo_WebResult Properties
24.17. Zend_Service_Yahoo_ImageResult Properties
24.18. Zend_Service_Yahoo_LocalResult Properties
24.19. Zend_Service_Yahoo_NewsResult Properties
24.20. Zend_Service_Yahoo_Image Properties
29.1. Conversão de valores nativos do PHP para tipos XML-RPC
29.2. Objeto Zend_XmlRpc_Value representando os tipos XML-RPC

Lista de Exemplos

1.1. register() / offsetSet() Example
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. Example usage for self-defined formats
10.1. Putting Zend_Feed to Work on RSS Feed Data
10.2. Basic Use of an Atom Feed
10.3. Reading a Single-Entry Atom Feed
10.4. Using the Entry Object Directly for a Single-Entry Atom Feed
10.5. Modifying an Existing Feed Entry
10.6. Creating an Atom Entry with Elements of Custom Namespaces
10.7. Extending the Atom Entry Class with Custom Namespaces
13.1. Performing a Basic GET Request
13.2. Creating a Basic Zend_Http_Client
13.3. Sending Multiple Headers
13.4. Requesting Multiple Domains
13.5. Sending POST data with Zend_Http_Client
13.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
13.7. Setting Cookies Using setCookie()
13.8. Enabling Cookie Stickiness
13.9. Setting A Single Custom Request Header
13.10. Setting Multiple Custom Request Headers
13.11. Using setFileUpload to Upload Files
13.12. Sending Raw POST Data
13.13. Setting HTTP Authentication User and Password
13.14. Performing consecutive requests with one client
13.15. Changing the HTTPS transport layer
13.16. Using Zend_Http_Client behind a proxy server
13.17. Testing Your Code Without Accessing The Network
13.18. Creating your own connection adapter
13.19. Instantiating a Zend_Http_Cookie object
13.20. Stringifying a Zend_Http_Cookie object
13.21. Using getter methods with Zend_Http_Cookie
13.22. Matching cookies
13.23. Working with HTTP Response Data
15.1. Choosing a specific locale
15.2. Automatically selecting a locale
15.3. Dates default to correct locale of web users
15.4. Overriding default locale selection
15.5. Performance optimization when using a default locale
15.6. clone
15.7. Check for equal locales
15.8. Get default locales
15.9. setLocale
15.10. getLanguageDisplay
15.11. All Languages written in thier native language
15.12. getScriptDisplay
15.13. getScriptList
15.14. getQuestion()
15.15. Number normalization
15.16. Number normalization with precision
15.17. Number localization
15.18. Number localization with precision
15.19. Number testing
15.20. Floating point value normalization
15.21. Floating point value localization
15.22. Floating point value testing
15.23. Integer value normalization
15.24. Integer value localization
15.25. Integer value testing
15.26. Converting numerals to Arabic/European
15.27. Converting numerals from Arabic/European
15.28. Normalizing a date
15.29. Normalizing a date by locale
15.30. Normalizing a date with time
15.31. Normalizing a userdefined date
15.32. Correction for date normalizing
15.33. Date testing
15.34. Normalize an unknown time
15.35. Testing a time
17.1. Simple E-Mail with Zend_Mail
17.2. Sending E-Mail via SMTP
17.3. Sending Multiple Mails per SMTP Connection
17.4. Using Different Transports
17.5. Sending HTML E-Mail
17.6. E-Mail Messages with Attachments
17.7. Changing the MIME Boundary
17.8. Adding E-Mail Message Headers
17.9. Enabling a secure connection within Zend_Mail_Transport_Smtp
18.1. Converting measurements
18.2. Creation using integer variables
18.3. Creation using strings
18.4. Arbitrary texts
18.5. Arbitrary texts
18.6. Localized string
18.7. Automatic output
18.8. Output a value
18.9. Outputting units
18.10. Convert
18.11. Adding units
18.12. Subtract
18.13. Different measurements
18.14. Identical measurements
18.15. Difference
18.16. Changing a value
18.17. Changing the type
18.18. Serializing
18.19. Deserializing
18.20. Listing all units for a given type
20.1. Create new or load existing PDF document.
20.2. Requesting specified revision of the PDF document.
20.3. Save PDF document.
20.4. PDF document pages management.
20.5. Draw a string on the page.
20.6. Draw a UTF-8-encoded string on the page.
20.7. Create a standard font.
20.8. Create a TrueType font.
20.9. Create a TrueType font, but do not embed it in the PDF document.
20.10. Do not throw an exception for fonts that cannot be embeded.
20.11. Do not compress an embedded font.
20.12. Combining font embedding options.
20.13. Image drawing.
20.14. Zend_Pdf module usage demo.
21.1. A basic REST request
21.2. Response Status
21.3. Using Technorati's Rest Service
21.4. Example Technorati Response
21.5. Setting Request Arguments
21.6. Basic Zend_Rest_Server Usage - Classes
21.7. Basic Zend_Rest_Server Usage - Functions
21.8. Returning Custom Status
21.9. Return Custom XML
22.1. Analisador de texto customizado.
24.1. isSpam() Usage
24.2. submitSpam() Usage
24.3. submitHam() Usage
24.4. Busca no Amazon usando a API tradicional
24.5. Busca no Amazon usando a Query API
24.6. Selecionando o Amazon Web Service de um país
24.7. Procurando por um ítem específico no Amazon usando ASIN
24.8. Efetuando buscas de ítens no Amazon
24.9. Pesquisando o Amazon usando a Query API Alternativa
24.10. Simples pesquisa por fotos Flickr
24.11. Localizando um usuário Flickr pelo endereço de E-Mail
24.12. Recuperando Flickr Image Details
24.13. Pesquisando a Web com o Yahoo!
24.14. Localizando imagens com o Yahoo!
24.15. Finding Local Businesses and Services with Yahoo!
24.16. Searching Yahoo! News
25.1. Counting Page Views
25.2. New Way: Namespaces Avoid Collisions
25.3. Old Way: PHP Session Access
25.4. Session Iteration
25.5. Accessing Session Data
25.6. Starting the Global Session
25.7. Locking Session Namespaces
25.8. Locking Sessions in Views
25.9. Namespaced Sessions for Controllers with Automatic Expiration
25.10. Limiting to Single Instances
25.11. Using Zend_Config to Configure Zend_Session
25.12. myapp.ini
25.13. Anonymous Sessions and Session Fixation
25.14. Unsetting All Namespaces
26.1. Creating a New URI with Zend_Uri::factory()
26.2. Manipulating an Existing URI with Zend_Uri::factory()
26.3. URI Validation with Zend_Uri::check()
26.4. Getting the Scheme from a Zend_Uri_* Object
26.5. Getting the Entire URI from a Zend_Uri_* Object
26.6. Validating a Zend_Uri_* Object
29.1. Uma requisição XML-RPC básica
29.2. Chamando um serviço XML-RPC com indicação de tipo