# Welcome
歡迎來到 Phalcon 框架, 一種嶄新的 PHP 框架。我們的使命是給開發者一個開發 web 站點和應用的高級工具,讓開發者不用擔心框架的性能問題.
### Phalcon 是什么?[](# "永久鏈接至標題")
Phalcon 是開源、全功能棧、使用 C 擴展編寫、針對高性能優化的 PHP 5 框架。開發者不需要學習和使用 C 語言的功能, 因為所有的功能都以 PHP 類的方式暴露出來,可以直接使用。Phalcon 也是松耦合的,可以根據項目的需要任意使用其他對象。
Phalcon 不只是為了卓越的性能, 我們的目標是讓它更加健壯,擁有更加豐富的功能以及更加簡單易于使用!
### 目錄[](# "永久鏈接至標題")
- [安裝(Installation)](#)
- [Windows](#)
- [相關指南(Related Guides)](#)
- [Linux/Solaris/Mac](#)
- [基本要求(Requirements)](#)
- [編譯(Compilation)](#)
- [Mac OS X](#)
- [Requirements](#)
- [FreeBSD](#)
- [安裝說明(Installation Notes)](#)
- [Apache 安裝說明(Apache Installation Notes)](#)
- [Nginx 安裝說明(Nginx Installation Notes)](#)
- [Cherokee 安裝說明(Cherokee Installation Notes)](#)
- [使用 PHP 內置 web 服務器(Using PHP Built-in webserver)](#)
- [教程 1:讓我們通過例子來學習(Tutorial 1: Let's learn by example)](#)
- [確認安裝(Checking your installation)](#)
- [創建項目(Creating a project)](#)
- [文件結構(File structure)](#)
- [優美的 URL(Beautiful URLs)](#)
- [引導程序(Bootstrap)](#)
- [自動加載(Autoloaders)](#)
- [依賴管理(Dependency Management)](#)
- [創建控制器(Creating a Controller)](#)
- [輸出到視圖(Sending output to a view)](#)
- [設計注冊表單(Designing a sign up form)](#)
- [創建模型(Creating a Model)](#)
- [設置數據庫連接(Setting a Database Connection)](#)
- [使用模型保存數據(Storing data using models)](#)
- [結束語(Conclusion)](#)
- [教程 2:Introducing INVO(Tutorial 2: Introducing INVO)](#)
- [項目結構(Project Structure)](#)
- [路由(Routing)](#)
- [配置(Configuration)](#)
- [自動加載(Autoloaders)](#)
- [Registering services](#)
- [Handling the Request](#)
- [依賴注入(Dependency Injection)](#)
- [Tutorial 3: Securing INVO](#)
- [Log into the Application](#)
- [Securing the Backend](#)
- [Events Management](#)
- [Providing an ACL list](#)
- [Tutorial 4: Using CRUDs](#)
- [Working with the CRUD](#)
- [The Search Form](#)
- [Performing a Search](#)
- [Creating and Updating Records](#)
- [Tutorial 5: Customizing INVO](#)
- [User Components](#)
- [Changing the Title Dynamically](#)
- [Tutorial 6: Vkuró](#)
- [Project Structure](#)
- [Load Classes and Dependencies](#)
- [Sign Up](#)
- [Conclusion](#)
- [教程 7:創建簡單的 REST API(Tutorial 7: Creating a Simple REST API)](#)
- [定義 API(Defining the API)](#)
- [創建應用(Creating the Application)](#)
- [創建模型(Creating a Model)](#)
- [檢索數據(Retrieving Data)](#)
- [插入數據(Inserting Data)](#)
- [更新數據(Updating Data)](#)
- [刪除數據(Deleting Data)](#)
- [測試應用(Testing our Application)](#)
- [結束語(Conclusion)](#)
- [示例列表(List of examples)](#)
- [依賴注入與服務定位器(Dependency Injection/Service Location)](#)
- [實現方法(Our approach)](#)
- [使用容器注冊服務(Registering services in the Container)](#)
- [簡單的注冊(Simple Registration)](#)
- [復雜的注冊(Complex Registration)](#)
- [服務解疑(Resolving Services)](#)
- [共享服務(Shared services)](#)
- [單獨操作服務(Manipulating services individually)](#)
- [通過服務容器實例化類(Instantiating classes via the Service Container)](#)
- [自動注入 DI(Automatic Injecting of the DI itself)](#)
- [避免服務解析(Avoiding service resolution)](#)
- [使用文件組織服務(Organizing services in files)](#)
- [使用靜態的方式訪問注入器(Accessing the DI in a static way)](#)
- [注入器默認工廠(Factory Default DI)](#)
- [服務名稱約定(Service Name Conventions)](#)
- [自定義注入器(Implementing your own DI)](#)
- [MVC 架構(The MVC Architecture)](#)
- [模型(Models)](#)
- [視圖(Views)](#)
- [控制器(Controllers)](#)
- [使用控制器(Using Controllers)](#)
- [循環調度(Dispatch Loop)](#)
- [初始化控制器(Initializing Controllers)](#)
- [注入服務(Injecting Services)](#)
- [請求與響應(Request and Response)](#)
- [會話數據(Session Data)](#)
- [在控制器中使用服務(Using Services as Controllers)](#)
- [創建基控制器(Creating a Base Controller)](#)
- [控制器中的事件(Events in Controllers)](#)
- [使用模型(Working with Models)](#)
- [創建模型](#)
- [公共屬性對比設置與取值 Setters/Getters(Public properties vs. Setters/Getters)](#)
- [模型放入命名空間(Models in Namespaces)](#)
- [理解記錄對象(Understanding Records To Objects)](#)
- [查找記錄(Finding Records)](#)
- [模型結果集(Model Resultsets)](#)
- [過濾結果集(Filtering Resultsets)](#)
- [綁定參數(Binding Parameters)](#)
- [獲取記錄的初始化以及準備(Initializing/Preparing fetched records)](#)
- [模型關系(Relationships between Models)](#)
- [單向關系(Unidirectional relationships)](#)
- [雙向關系(Bidirectional relations)](#)
- [定義關系(Defining relationships)](#)
- [使用關系(Taking advantage of relationships)](#)
- [定義關系(Aliasing Relationships)](#)
- [魔術方法 Getters 對比顯示方法(Magic Getters vs. Explicit methods)](#)
- [虛擬外鍵(Virtual Foreign Keys)](#)
- [級聯與限制動作(Cascade/Restrict actions)](#)
- [生成運算(Generating Calculations)](#)
- [Hydration Modes](#)
- [創建與更新記錄(Creating Updating/Records)](#)
- [創建與更新結果判斷(Create/Update with Confidence)](#)
- [自動生成標識列(Auto-generated identity columns)](#)
- [存儲關系記錄(Storing related records)](#)
- [驗證信息(Validation Messages)](#)
- [事件與事件管理器(Events and Events Manager)](#)
- [模型中自定義事件(Implementing Events in the Model's class)](#)
- [使用自定義事件管理器(Using a custom Events Manager)](#)
- [實現業務邏輯(Implementing a Business Rule)](#)
- [驗證數據完整性(Validating Data Integrity)](#)
- [Avoiding SQL injections](#)
- [忽略指定列的數據(Skipping Columns)](#)
- [動態更新(Dynamic Update)](#)
- [刪除記錄(Deleting Records)](#)
- [驗證失敗事件(Validation Failed Events)](#)
- [行為(Behaviors)](#)
- [生成時間戳(Timestampable)](#)
- [軟刪除(SoftDelete)](#)
- [創建行為(Creating your own behaviors)](#)
- [使用 Traits 實現行為(Using Traits as behaviors)](#)
- [獨立的列映射(Independent Column Mapping)](#)
- [在結果集中操作(Operations over Resultsets)](#)
- [更新關聯表記錄(Updating related records)](#)
- [刪除關聯表記錄(Deleting related records)](#)
- [記錄快照(Record Snapshots)](#)
- [設置模式(Pointing to a different schema)](#)
- [設置多個數據庫(Setting multiple databases)](#)
- [記錄底層 SQL 語句(Logging Low-Level SQL Statements)](#)
- [分析 SQL 語句(Profiling SQL Statements)](#)
- [注入服務到模型(Injecting services into Models)](#)
- [禁用或啟用特性(Disabling/Enabling Features)](#)
- [獨立的組件(Stand-Alone component)](#)
- [模型元數據(Models Meta-Data)](#)
- [緩存元數據(Caching Meta-Data)](#)
- [元數據策略(Meta-Data Strategies)](#)
- [數據庫內部策略(Database Introspection Strategy)](#)
- [注釋策略(Annotations Strategy)](#)
- [自定義元數據(Manual Meta-Data)](#)
- [事務管理(Model Transactions)](#)
- [自定義事務(Manual Transactions)](#)
- [隱含的事務(Implicit Transactions)](#)
- [單獨的事務(Isolated Transactions)](#)
- [Phalcon 查詢語言(Phalcon Query Language (PHQL))](#)
- [范例(Usage Example)](#)
- [創建 PHQL 查詢(Creating PHQL Queries)](#)
- [選取記錄(Selecting Records)](#)
- [結果類型(Result Types)](#)
- [連接(Joins)](#)
- [聚合(Aggregations)](#)
- [條件(Conditions)](#)
- [插入數據(Inserting Data)](#)
- [更新數據(Updating Data)](#)
- [刪除數據(Deleting Data)](#)
- [使用查詢構建器創建查詢(Creating queries using the Query Builder)](#)
- [綁定參數(Bound Parameters)](#)
- [禁止使用字面值(Disallow literals in PHQL)](#)
- [轉義保留字(Escaping Reserved Words)](#)
- [PHQL 生命周期(PHQL Lifecycle)](#)
- [使用原生 SQL(Using Raw SQL)](#)
- [注意事項(Troubleshooting)](#)
- [緩存對象關系映射(Caching in the ORM)](#)
- [緩存結果集(Caching Resultsets)](#)
- [重寫 find 與 findFirst 方法(Overriding find/findFirst)](#)
- [強制緩存(Forcing Cache)](#)
- [緩存 PHQL 查詢(Caching PHQL Queries)](#)
- [可重用的相關記錄(Reusable Related Records)](#)
- [緩存相關記錄(Caching Related Records)](#)
- [遞歸緩存相關記錄(Caching Related Records Recursively)](#)
- [基于條件的緩存(Caching based on Conditions)](#)
- [緩存 PHQL 查詢計劃(Caching of PHQL planning)](#)
- [對象文檔映射 ODM (Object-Document Mapper)](#)
- [創建模型(Creating Models)](#)
- [理解文檔對象(Understanding Documents To Objects)](#)
- [模型中使用命名空間(Models in Namespaces)](#)
- [設置連接(Setting a Connection)](#)
- [查找文檔(Finding Documents)](#)
- [聚合(Aggregations)](#)
- [創建和更新記錄(Creating Updating/Records)](#)
- [驗證信息(Validation Messages)](#)
- [驗證事件和事件管理(Validation Events and Events Manager)](#)
- [實現業務規則(Implementing a Business Rule)](#)
- [驗證數據完整性(Validating Data Integrity)](#)
- [刪除記錄(Deleting Records)](#)
- [驗證失敗事件(Validation Failed Events)](#)
- [固有 Id 和 用戶主鍵(Implicit Ids vs. User Primary Keys)](#)
- [設置多個數據庫(Setting multiple databases)](#)
- [注入服務到模型(Injecting services into Models)](#)
- [使用視圖(Using Views)](#)
- [集成視圖到控制器(Integrating Views with Controllers)](#)
- [分層渲染(Hierarchical Rendering)](#)
- [使用模版(Using Templates)](#)
- [渲染級別控制(Control Rendering Levels)](#)
- [關閉渲染級別(Disabling render levels)](#)
- [選擇視圖(Picking Views)](#)
- [關閉視圖(Disabling the view)](#)
- [簡單渲染(Simple Rendering)](#)
- [使用局部模版(Using Partials)](#)
- [控制器傳值給視圖(Transfer values from the controller to views)](#)
- [在視圖中使用模型(Using models in the view layer)](#)
- [緩存視圖片段(Caching View Fragments)](#)
- [模版引擎(Template Engines)](#)
- [創建模版引擎(Creating your own Template Engine Adapter)](#)
- [替換模版引擎(Changing the Template Engine)](#)
- [注入服務到視圖(Injecting services in View)](#)
- [獨立的組件(Stand-Alone Component)](#)
- [分層渲染(Hierarchical Rendering)](#)
- [簡單渲染(Simple Rendering)](#)
- [視圖事件(View Events)](#)
- [視圖助手(View Helpers)](#)
- [文檔類型(Document Type of Content)](#)
- [生成鏈接(Generating Links)](#)
- [創建表單(Creating Forms)](#)
- [使用助手生成表單控件(Helpers to Generate Form Elements)](#)
- [使用選擇框(Making Select Boxes)](#)
- [設置 HTML 屬性(Assigning HTML attributes)](#)
- [設置助手的值(Setting Helper Values)](#)
- [通過控制器(From Controllers)](#)
- [通過請求(From the Request)](#)
- [直接設置值(Specifying values directly)](#)
- [動態設置文檔標題(Changing dynamically the Document Title)](#)
- [靜態內容助手(Static Content Helpers)](#)
- [圖片(Images)](#)
- [樣式表(Stylesheets)](#)
- [腳本(Javascript)](#)
- [HTML5 對象(HTML5 elements - generic HTML helper)](#)
- [標簽服務(Tag Service)](#)
- [創建助手(Creating your own helpers)](#)
- [資源文件管理(Assets Management)](#)
- [添加資源(Adding Resources)](#)
- [本地與遠程資源(Local/Remote resources)](#)
- [集合(Collections)](#)
- [前綴(Prefixes)](#)
- [壓縮與過濾(Minification/Filtering)](#)
- [內置過濾器(Built-In Filters)](#)
- [自定義過濾器(Custom Filters)](#)
- [自定義輸出(Custom Output)](#)
- [Volt 模版引擎(Volt: Template Engine)](#)
- [簡介(Introduction)](#)
- [啟用 Vlot(Activating Volt)](#)
- [基本用法(Basic Usage)](#)
- [變量(Variables)](#)
- [過濾器(Filters)](#)
- [注釋(Comments)](#)
- [流程控制列表(List of Control Structures)](#)
- [循環語句 For](#)
- [循環控制(Loop Controls)](#)
- [條件判斷語句 If](#)
- [循環上下文(Loop Context)](#)
- [賦值(Assignments)](#)
- [表達式(Expressions)](#)
- [字面值(Literals)](#)
- [數組(Arrays)](#)
- [算術運算(Math)](#)
- [比較運算(Comparisons)](#)
- [邏輯運算(Logic)](#)
- [其他操作(Other Operators)](#)
- [測試運算(Tests)](#)
- [宏定義(Macros)](#)
- [使用標簽助手(Using Tag Helpers)](#)
- [函數(Functions)](#)
- [視圖集成(View Integration)](#)
- [包含(Include)](#)
- [模版的繼承(Template Inheritance)](#)
- [多重繼承(Multiple Inheritance)](#)
- [自動編碼模式(Autoescape mode)](#)
- [配置 Volt 引擎(Setting up the Volt Engine)](#)
- [擴展 Volt(Extending Volt)](#)
- [函數(Functions)](#)
- [過濾器(Filters)](#)
- [擴展(Extensions)](#)
- [緩存視圖片段(Caching view fragments)](#)
- [注入服務到模版(Inject Services into a Template)](#)
- [獨立的組件(Stand-alone component)](#)
- [外部資源(External Resources)](#)
- [MVC 應用(MVC Applications)](#)
- [單模塊或多模塊應用(Single or Multi Module Applications)](#)
- [單模塊(Single Module)](#)
- [多模塊(Multi Module)](#)
- [理解默認行為(Understanding the default behavior)](#)
- [手動啟動(Manual bootstrapping)](#)
- [應用事件(Application Events)](#)
- [外部資源(External Resources)](#)
- [路由(Routing)](#)
- [定義路由(Defining Routes)](#)
- [參數名稱(Parameters with Names)](#)
- [短語法(Short Syntax)](#)
- [混合使用數組和短語法(Mixing Array and Short Syntax)](#)
- [路由到模塊(Routing to Modules)](#)
- [限制 HTTP 請求傳入方式(HTTP Method Restrictions)](#)
- [使用轉換(Using convertions)](#)
- [路由分組(Groups of Routes)](#)
- [匹配路由(Matching Routes)](#)
- [路由命名(Naming Routes)](#)
- [范例(Usage Examples)](#)
- [默認行為(Default Behavior)](#)
- [設置默認路由(Setting the default route)](#)
- [沒有找到路徑(Not Found Paths)](#)
- [設置默認路徑(Setting default paths)](#)
- [處理結尾額外的斜桿(Dealing with extra/trailing slashes)](#)
- [匹配回調函數(Match Callbacks)](#)
- [限制主機名(Hostname Constraints)](#)
- [URI 來源(URI Sources)](#)
- [測試路由(Testing your routes)](#)
- [注解路由(Annotations Router)](#)
- [注冊路由實例(Registering Router instance)](#)
- [自定義路由(Implementing your own Router)](#)
- [調度控制器(Dispatching Controllers)](#)
- [循環調度(The Dispatch Loop)](#)
- [循環調度事件(Dispatch Loop Events)](#)
- [轉發到其他動作(Forwarding to other actions)](#)
- [準備參數(Preparing Parameters)](#)
- [獲取參數(Getting Parameters)](#)
- [準備行動(Preparing actions)](#)
- [轉換動作名(Camelize action names)](#)
- [刪除遺留的擴展名(Remove legacy extensions)](#)
- [注入模型實例(Inject model instances)](#)
- [處理 Not-Found 錯誤(Handling Not-Found Exceptions)](#)
- [自定義調度器(Implementing your own Dispatcher)](#)
- [微應用(Micro Applications)](#)
- [創建微應用(Creating a Micro Application)](#)
- [定義路由(Defining routes)](#)
- [路由參數(Routes with Parameters)](#)
- [起始路由(Starting Route)](#)
- [重寫規則(Rewrite Rules)](#)
- [處理響應(Working with Responses)](#)
- [重定向(Making redirections)](#)
- [根據路由生成 URL(Generating URLs for Routes)](#)
- [與依賴注入的交互(Interacting with the Dependency Injector)](#)
- [處理Not-Found(Not-Found Handler)](#)
- [微應用中的模型(Models in Micro Applications)](#)
- [微應用中的事件(Micro Application Events)](#)
- [中間件事件(Middleware events)](#)
- [使用控制器處理(Using Controllers as Handlers)](#)
- [返回響應(Returning Responses)](#)
- [渲染視圖(Rendering Views)](#)
- [Error Handling](#)
- [相關資源(Related Sources)](#)
- [使用命名空間(Working with Namespaces)](#)
- [設置框架(Setting up the framework)](#)
- [控制器加入命名空間(Controllers in Namespaces)](#)
- [模型加入命名空間(Models in Namespaces)](#)
- [事件管理器(Events Manager)](#)
- [使用示例(Usage Example)](#)
- [創建組件觸發事件(Creating components that trigger Events)](#)
- [事件傳播與取消(Event Propagation/Cancellation)](#)
- [偵聽器優先級(Listener Priorities)](#)
- [收集響應(Collecting Responses)](#)
- [自定義事件管理器(Implementing your own EventsManager)](#)
- [Request Environment](#)
- [獲取值(Getting Values)](#)
- [控制器中訪問請求(Accessing the Request from Controllers)](#)
- [文件上傳(Uploading Files)](#)
- [使用頭信息(Working with Headers)](#)
- [返回響應(Returning Responses)](#)
- [使用頭部信息(Working with Headers)](#)
- [重定向(Making Redirections)](#)
- [HTTP 緩存(HTTP Cache)](#)
- [設置過期時間(Setting an Expiration Time)](#)
- [Cache-Control](#)
- [E-Tag](#)
- [Cookie 管理(Cookies Management)](#)
- [基本使用(Basic Usage)](#)
- [Cookie 的加密和解密(Encryption/Decryption of Cookies)](#)
- [生成 URL 和 路徑(Generating URLs and Paths)](#)
- [設置站點基地址(Setting a base URI)](#)
- [生成 URI(Generating URIs)](#)
- [沒有偽靜態狀態下的生成 URL(Producing URLs without Mod-Rewrite)](#)
- [Volt 中生成 URL(Volt Producing URLs from Volt)](#)
- [靜態 URI 與 動態 URI(Static vs. Dynamic URIs)](#)
- [自定義 URL 生成器(Implementing your own URL Generator)](#)
- [閃存消息(Flashing Messages)](#)
- [適配器(Adapters)](#)
- [使用(Usage)](#)
- [輸出信息(Printing Messages)](#)
- [絕對刷送與會話(Implicit Flush vs. Session)](#)
- [使用 Session 存儲數據(Storing data in Session)](#)
- [啟動會話(Starting the Session)](#)
- [Session 的存儲與讀取(Storing/Retrieving data in Session)](#)
- [Sessions 的刪除和銷毀(Removing/Destroying Sessions)](#)
- [隔離不同應用的會話數據(Isolating Session Data between Applications)](#)
- [會話袋(Session Bags)](#)
- [組件的持久數據(Persistent Data in Components)](#)
- [自定義適配器(Implementing your own adapters)](#)
- [過濾與清理(Filtering and Sanitizing)](#)
- [清理數據(Sanitizing data)](#)
- [在控制器中使用清理(Sanitizing from Controllers)](#)
- [過濾動作參數(Filtering Action Parameters)](#)
- [過濾數據(Filtering data)](#)
- [內置過濾器類型(Types of Built-in Filters)](#)
- [創建過濾器(Creating your own Filters)](#)
- [復雜的過濾與清理(Complex Sanitizing and Filtering)](#)
- [自定義過濾器(Implementing your own Filter)](#)
- [上下文編碼(Contextual Escaping)](#)
- [HTML 編碼(Escaping HTML)](#)
- [HTML 屬性編碼(Escaping HTML Attributes)](#)
- [URL 編碼(Escaping URLs)](#)
- [CSS 編碼(Escaping CSS)](#)
- [Javascript 編碼(Escaping Javascript)](#)
- [驗證(Validation)](#)
- [初始化驗證(Initializing Validation)](#)
- [驗證器(Validators)](#)
- [驗證信息(Validation Messages)](#)
- [過濾數據(Filtering of Data)](#)
- [驗證事件(Validation Events)](#)
- [取消驗證(Cancelling Validations)](#)
- [Avoid validate empty values](#)
- [表單(Forms)](#)
- [初始化表單(Initializing forms)](#)
- [驗證(Validation)](#)
- [過濾(Filtering)](#)
- [設置用戶選項(Setting User Options)](#)
- [表單與實體(Forms + Entities)](#)
- [表單控件(Form Elements)](#)
- [事件回調(Event Callbacks)](#)
- [渲染表單(Rendering Forms)](#)
- [創建表單控件(Creating Form Elements)](#)
- [表單管理(Forms Manager)](#)
- [外部資源(External Resources)](#)
- [讀取配置(Reading Configurations)](#)
- [文件適配器(File Adapters)](#)
- [原生數組(Native Arrays)](#)
- [讀取 INI 文件(Reading INI Files)](#)
- [合并配置(Merging Configurations)](#)
- [分頁(Pagination)](#)
- [數據適配器(Data Adapters)](#)
- [示例(Examples)](#)
- [適配器使用(Adapters Usage)](#)
- [頁面屬性(Page Attributes)](#)
- [自定義適配器(Implementing your own adapters)](#)
- [使用緩存提高性能(Improving Performance with Cache)](#)
- [什么情況下使用緩存?(When to implement cache?)](#)
- [緩存行為(Caching Behavior)](#)
- [緩存輸出片段(Caching Output Fragments)](#)
- [緩存任意數據(Caching Arbitrary Data)](#)
- [文件后端存儲器例子(File Backend Example)](#)
- [Memcached 后端存儲器例子(Memcached Backend Example)](#)
- [查詢緩存(Querying the cache)](#)
- [刪除緩存數據(Deleting data from the cache)](#)
- [檢查緩存是否存在(Checking cache existence)](#)
- [有效期(Lifetime)](#)
- [多級緩存(Multi-Level Cache)](#)
- [前端適配器(Frontend Adapters)](#)
- [自定義前端適配器(Implementing your own Frontend adapters)](#)
- [后端適配器(Backend Adapters)](#)
- [自定義后端適配器(Implementing your own Backend adapters)](#)
- [文件后端存儲器選項(File Backend Options)](#)
- [Memcached 后端存儲器選項(Memcached Backend Options)](#)
- [APC 后端存儲器選項(APC Backend Options)](#)
- [Mongo 后端存儲器選項(Mongo Backend Options)](#)
- [XCache 后端存儲器選項(XCache Backend Options)](#)
- [安全(Security)](#)
- [密碼散列(Password Hashing)](#)
- [防止跨站點請求偽造攻擊(Cross-Site Request Forgery (CSRF) protection)](#)
- [設置組件(Setting up the component)](#)
- [外部資源(External Resources)](#)
- [Encryption/Decryption](#)
- [基本使用](#)
- [加密選項(Encryption Options)](#)
- [提供 Base64(Base64 Support)](#)
- [配置加密服務(Setting up an Encryption service)](#)
- [訪問控制列表 ACL(Access Control Lists ACL)](#)
- [創建 ACL(Creating an ACL)](#)
- [添加角色(Adding Roles to the ACL)](#)
- [添加資源(Adding Resources)](#)
- [定義訪問控制(Defining Access Controls)](#)
- [查詢 ACL(Querying an ACL)](#)
- [角色繼承(Roles Inheritance)](#)
- [序列化 ACL 列表(Serializing ACL lists)](#)
- [ACL 事件(ACL Events)](#)
- [自定義適配器(Implementing your own adapters)](#)
- [多語言支持(Multi-lingual Support)](#)
- [適配器(Adapters)](#)
- [組件的使用(Component Usage)](#)
- [自定義適配器(Implementing your own adapters)](#)
- [Universal Class Loader](#)
- [注冊命名空間(Registering Namespaces)](#)
- [注冊前綴(Registering Prefixes)](#)
- [注冊文件夾(Registering Directories)](#)
- [注冊類名(Registering Classes)](#)
- [額外的擴展名(Additional file extensions)](#)
- [修改當前策略(Modifying current strategies)](#)
- [安全層(Security Layer)](#)
- [自動加載事件(Autoloading Events)](#)
- [注意事項(Troubleshooting)](#)
- [日志記錄(Logging)](#)
- [適配器(Adapters)](#)
- [創建日志(Creating a Log)](#)
- [事務(Transactions)](#)
- [使用多個處理程序進行日志記錄(Logging to Multiple Handlers)](#)
- [信息格式(Message Formatting)](#)
- [行格式化處理(Line Formatter)](#)
- [自定義格式處理(Implementing your own formatters)](#)
- [適配器(Adapters)](#)
- [數據流日志記錄器(Stream Logger)](#)
- [文件日志記錄器(File Logger)](#)
- [Syslog 日志記錄器(Syslog Logger)](#)
- [FirePHP 日志記錄器(FirePHP Logger)](#)
- [自定義適配器(Implementing your own adapters)](#)
- [注釋解析器(Annotations Parser)](#)
- [讀取注釋(Reading Annotations)](#)
- [注釋類型(Types of Annotations)](#)
- [實際使用(Practical Usage)](#)
- [注釋開啟緩存(Cache Enabler with Annotations)](#)
- [Private/Public areas with Annotations](#)
- [選擇渲染模版(Choose the template to render)](#)
- [注釋適配器(Annotations Adapters)](#)
- [自定義適配器(Implementing your own adapters)](#)
- [外部資源(External Resources)](#)
- [命令行應用(Command Line Applications)](#)
- [結構(Structure)](#)
- [創建引導(Creating a Bootstrap)](#)
- [任務(Tasks)](#)
- [處理動作參數(Processing action parameters)](#)
- [鏈中運行任務(Running tasks in a chain)](#)
- [隊列(Queueing)](#)
- [將任務加入隊列(Putting Jobs into the Queue)](#)
- [檢索信息(Retrieving Messages)](#)
- [數據庫抽象層(Database Abstraction Layer)](#)
- [數據庫適配器(Database Adapters)](#)
- [自定義適配器(Implementing your own adapters)](#)
- [數據庫“方言”](#)
- [自定義“方言”(Implementing your own dialects)](#)
- [連接數據庫(Connecting to Databases)](#)
- [設置額外的 PDO 選項(Setting up additional PDO options)](#)
- [查找行(Finding Rows)](#)
- [綁定參數(Binding Parameters)](#)
- [插入、更新、刪除行(Inserting/Updating/Deleting Rows)](#)
- [事務與嵌套事務(Transactions and Nested Transactions)](#)
- [數據庫事件(Database Events)](#)
- [分析 SQL 語句(Profiling SQL Statements)](#)
- [記錄 SQL 語句(Logging SQL Statements)](#)
- [自定義日志記錄器(Implementing your own Logger)](#)
- [獲取數據庫表與視圖信息(Describing Tables/Views)](#)
- [創建/修改/刪除表](#)
- [創建數據庫表(Creating Tables)](#)
- [修改數據庫表(Altering Tables)](#)
- [刪除數據庫表(Dropping Tables)](#)
- [國際化(Internationalization)](#)
- [匹配最佳的區域設置(Find out best available Locale)](#)
- [基于區域設置格式化信息(Formatting messages based on Locale)](#)
- [特定區域設置的字符串比較(Locale-Sensitive comparison)](#)
- [音譯(Transliteration)](#)
- [數據庫遷移(Database Migrations)](#)
- [圖解導出(Schema Dumping)](#)
- [遷移類剖析(Migration Class Anatomy)](#)
- [定義列(Defining Columns)](#)
- [定義索引(Defining Indexes)](#)
- [定義關系(Defining References)](#)
- [創建遷移類(Writing Migrations)](#)
- [執行遷移(Running Migrations)](#)
- [調試應用程序(Debugging Applications)](#)
- [捕獲異常(Catching Exceptions)](#)
- [調試組件(Debug component)](#)
- [反射與內省(Reflection and Introspection)](#)
- [使用 XDebug(Using XDebug)](#)
- [Phalcon 開發工具(Phalcon Developer Tools)](#)
- [下載(Download)](#)
- [安裝(Installation)](#)
- [獲取可用的命令(Getting Available Commands)](#)
- [生成項目框架(Generating a Project Skeleton)](#)
- [生成控制器(Generating Controllers)](#)
- [數據庫配置(Preparing Database Settings)](#)
- [生成模型(Generating Models)](#)
- [生成基本的 CRUD(Scaffold a CRUD)](#)
- [工具的 Web 界面(Web Interface to Tools)](#)
- [集成工具到 PhpStorm(Integrating Tools with PhpStorm IDE)](#)
- [結束語(Conclusion)](#)
- [提高性能:下一步該做什么?(Increasing Performance: What's next?)](#)
- [關于服務端(Profile on the Server)](#)
- [關于 XDebug(Profiling with XDebug)](#)
- [關于 Xhprof(Profiling with Xhprof)](#)
- [關于 SQL 語句(Profiling SQL Statements)](#)
- [關于客戶端(Profile on the Client)](#)
- [(使用Chrome/Firefox進行性能分析)Profile with Chrome/Firefox](#)
- [Yahoo! YSlow](#)
- [使用Speed Trace進行性能分析(Profile with Speed Tracer)](#)
- [使用最新的 PHP 版本(Use a recent PHP version)](#)
- [使用 PHP 字節碼緩存(Use a PHP Bytecode Cache)](#)
- [將可能發生阻塞的操作放到后臺運行(Do blocking work in the background)](#)
- [Google Page Speed](#)
- [單元測試(Unit testing)](#)
- [整合 PHPunit 到 phalcon(Integrating PHPunit with phalcon)](#)
- [PHPunit 輔助文件(The PHPunit helper file)](#)
- [PHPunit.xml 文件(PHPunit.xml file)](#)
- [簡單的單元測試(Sample unit test)](#)
- [API Indice](#)
- [Abstract class **Phalcon\Acl**](#)
- [Constants](#)
- [Abstract class **Phalcon\Acl\Adapter**](#)
- [Methods](#)
- [Class **Phalcon\Acl\Adapter\Memory**](#)
- [Methods](#)
- [Class **Phalcon\Acl\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Acl\Resource**](#)
- [Methods](#)
- [Class **Phalcon\Acl\Role**](#)
- [Methods](#)
- [Abstract class **Phalcon\Annotations\Adapter**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Adapter\Apc**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Adapter\Files**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Adapter\Memory**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Adapter\Xcache**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Annotation**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Collection**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Reader**](#)
- [Methods](#)
- [Class **Phalcon\Annotations\Reflection**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Collection**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Filters\Cssmin**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Filters\Jsmin**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Filters\None**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Inline**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Inline\Css**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Inline\Js**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Manager**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Resource**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Resource\Css**](#)
- [Methods](#)
- [Class **Phalcon\Assets\Resource\Js**](#)
- [Methods](#)
- [Abstract class **Phalcon\Cache\Backend**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\Apc**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\File**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\Libmemcached**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\Memcache**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\Memory**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\Mongo**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\Redis**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Backend\Xcache**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Frontend\Base64**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Frontend\Data**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Frontend\Igbinary**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Frontend\Json**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Frontend\None**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Frontend\Output**](#)
- [Methods](#)
- [Class **Phalcon\Cache\Multiple**](#)
- [Methods](#)
- [Class **Phalcon\Cli\Router\Route**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Config**](#)
- [Methods](#)
- [Class **Phalcon\Config\Adapter\Ini**](#)
- [Methods](#)
- [Class **Phalcon\Config\Adapter\Json**](#)
- [Methods](#)
- [Class **Phalcon\Config\Adapter\Php**](#)
- [Methods](#)
- [Class **Phalcon\Config\Adapter\Yaml**](#)
- [Methods](#)
- [Class **Phalcon\Config\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Crypt**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Crypt\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Db**](#)
- [Constants](#)
- [Methods](#)
- [Abstract class **Phalcon\Db\Adapter**](#)
- [Methods](#)
- [Abstract class **Phalcon\Db\Adapter\Pdo**](#)
- [Methods](#)
- [Class **Phalcon\Db\Adapter\Pdo\Mysql**](#)
- [Methods](#)
- [Class **Phalcon\Db\Adapter\Pdo\Oracle**](#)
- [Methods](#)
- [Class **Phalcon\Db\Adapter\Pdo\Postgresql**](#)
- [Methods](#)
- [Class **Phalcon\Db\Adapter\Pdo\Sqlite**](#)
- [Methods](#)
- [Class **Phalcon\Db\Column**](#)
- [Constants](#)
- [Methods](#)
- [Abstract class **Phalcon\Db\Dialect**](#)
- [Methods](#)
- [Class **Phalcon\Db\Dialect\Oracle**](#)
- [Methods](#)
- [Class **Phalcon\Db\Dialect\Postgresql**](#)
- [Methods](#)
- [Class **Phalcon\Db\Dialect\Sqlite**](#)
- [Methods](#)
- [Class **Phalcon\Db\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Db\Index**](#)
- [Methods](#)
- [Class **Phalcon\Db\Profiler**](#)
- [Methods](#)
- [Class **Phalcon\Db\Profiler\Item**](#)
- [Methods](#)
- [Class **Phalcon\Db\RawValue**](#)
- [Methods](#)
- [Class **Phalcon\Db\Reference**](#)
- [Methods](#)
- [Class **Phalcon\Db\Result\Pdo**](#)
- [Methods](#)
- [Class **Phalcon\Debug**](#)
- [Methods](#)
- [Class **Phalcon\Debug\Dump**](#)
- [Methods](#)
- [Class **Phalcon\Debug\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Dispatcher**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Escaper**](#)
- [Methods](#)
- [Class **Phalcon\Escaper\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Events\Event**](#)
- [Methods](#)
- [Class **Phalcon\Events\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Events\Manager**](#)
- [Methods](#)
- [Class **Phalcon\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Filter**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Filter\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Flash**](#)
- [Methods](#)
- [Class **Phalcon\Flash\Direct**](#)
- [Methods](#)
- [Class **Phalcon\Flash\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Flash\Session**](#)
- [Methods](#)
- [Abstract class **Phalcon\Forms\Element**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Check**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Date**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Email**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\File**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Hidden**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Numeric**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Password**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Radio**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Select**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Submit**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\Text**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Element\TextArea**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Form**](#)
- [Methods](#)
- [Class **Phalcon\Forms\Manager**](#)
- [Methods](#)
- [Class **Phalcon\Http\Cookie**](#)
- [Methods](#)
- [Class **Phalcon\Http\Cookie\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Http\Request**](#)
- [Methods](#)
- [Class **Phalcon\Http\Request\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Http\Request\File**](#)
- [Methods](#)
- [Class **Phalcon\Http\Response**](#)
- [Methods](#)
- [Class **Phalcon\Http\Response\Cookies**](#)
- [Methods](#)
- [Class **Phalcon\Http\Response\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Http\Response\Headers**](#)
- [Methods](#)
- [Class **Phalcon\Image**](#)
- [Constants](#)
- [Abstract class **Phalcon\Image\Adapter**](#)
- [Methods](#)
- [Class **Phalcon\Image\Adapter\Imagick**](#)
- [Methods](#)
- [Class **Phalcon\Image\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Kernel**](#)
- [Methods](#)
- [Class **Phalcon\Loader**](#)
- [Methods](#)
- [Class **Phalcon\Loader\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Logger**](#)
- [Constants](#)
- [Abstract class **Phalcon\Logger\Adapter**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Adapter\File**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Adapter\Firephp**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Adapter\Stream**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Adapter\Syslog**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Logger\Formatter**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Formatter\Firephp**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Formatter\Json**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Formatter\Line**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Formatter\Syslog**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Item**](#)
- [Methods](#)
- [Class **Phalcon\Logger\Multiple**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Application**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Application\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Collection**](#)
- [Constants](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Collection\Behavior**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Collection\Behavior\SoftDelete**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Collection\Behavior\Timestampable**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Collection\Document**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Collection\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Collection\Manager**](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Controller**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Dispatcher**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Dispatcher\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Micro**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Micro\Collection**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Micro\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Micro\LazyLoader**](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Model**](#)
- [Constants](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Model\Behavior**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Behavior\SoftDelete**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Behavior\Timestampable**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Criteria**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Manager**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Message**](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Model\MetaData**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Apc**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Files**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Libmemcached**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Memcache**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Memory**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Session**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Strategy\Annotations**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Strategy\Introspection**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\MetaData\Xcache**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Query**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Query\Builder**](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Model\Query\Lang**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Query\Status**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Relation**](#)
- [Constants](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Model\Resultset**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Resultset\Complex**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Resultset\Simple**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Row**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Transaction**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Transaction\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Transaction\Failed**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Transaction\Manager**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\ValidationFailed**](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\Model\Validator**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Email**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Exclusionin**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Inclusionin**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Ip**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Numericality**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\PresenceOf**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Regex**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\StringLength**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Uniqueness**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Model\Validator\Url**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Router**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Router\Annotations**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Router\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Router\Group**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Router\Route**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Url**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\Url\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\User\Component**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\User\Module**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\User\Plugin**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\View**](#)
- [Constants](#)
- [Methods](#)
- [Abstract class **Phalcon\Mvc\View\Engine**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\View\Engine\Php**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\View\Engine\Volt**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\View\Engine\Volt\Compiler**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\View\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Mvc\View\Simple**](#)
- [Methods](#)
- [Abstract class **Phalcon\Paginator\Adapter**](#)
- [Methods](#)
- [Class **Phalcon\Paginator\Adapter\Model**](#)
- [Methods](#)
- [Class **Phalcon\Paginator\Adapter\NativeArray**](#)
- [Methods](#)
- [Class **Phalcon\Paginator\Adapter\QueryBuilder**](#)
- [Methods](#)
- [Class **Phalcon\Paginator\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Queue\Beanstalk**](#)
- [Methods](#)
- [Class **Phalcon\Queue\Beanstalk\Job**](#)
- [Methods](#)
- [Final class **Phalcon\Registry**](#)
- [Methods](#)
- [Class **Phalcon\Security**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Security\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Session**](#)
- [Abstract class **Phalcon\Session\Adapter**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Session\Adapter\Files**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Session\Adapter\Libmemcached**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Session\Adapter\Memcache**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Session\Bag**](#)
- [Methods](#)
- [Class **Phalcon\Session\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Tag**](#)
- [Constants](#)
- [Methods](#)
- [Class **Phalcon\Tag\Exception**](#)
- [Methods](#)
- [Abstract class **Phalcon\Tag\Select**](#)
- [Methods](#)
- [Abstract class **Phalcon\Text**](#)
- [Constants](#)
- [Methods](#)
- [Abstract class **Phalcon\Translate**](#)
- [Abstract class **Phalcon\Translate\Adapter**](#)
- [Methods](#)
- [Class **Phalcon\Translate\Adapter\Csv**](#)
- [Methods](#)
- [Class **Phalcon\Translate\Adapter\Gettext**](#)
- [Methods](#)
- [Class **Phalcon\Translate\Adapter\NativeArray**](#)
- [Methods](#)
- [Class **Phalcon\Translate\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Validation**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Exception**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Message**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Message\Group**](#)
- [Methods](#)
- [Abstract class **Phalcon\Validation\Validator**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Alnum**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Alpha**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Between**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Confirmation**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Digit**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Email**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\ExclusionIn**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\File**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Identical**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\InclusionIn**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Numericality**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\PresenceOf**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Regex**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\StringLength**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Uniqueness**](#)
- [Methods](#)
- [Class **Phalcon\Validation\Validator\Url**](#)
- [Methods](#)
- [Class **Phalcon\Version**](#)
- [Constants](#)
- [Methods](#)
- [Interface **Phalcon\Acl\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Acl\ResourceInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Acl\RoleInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Annotations\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Annotations\ReaderInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Assets\FilterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Cache\BackendInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Cache\FrontendInterface**](#)
- [Methods](#)
- [Interface **Phalcon\CryptInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Db\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Db\ColumnInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Db\DialectInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Db\IndexInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Db\ReferenceInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Db\ResultInterface**](#)
- [Methods](#)
- [Interface **Phalcon\DiInterface**](#)
- [Methods](#)
- [Interface **Phalcon\DispatcherInterface**](#)
- [Methods](#)
- [Interface **Phalcon\EscaperInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Events\EventsAwareInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Events\ManagerInterface**](#)
- [Methods](#)
- [Interface **Phalcon\FilterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Filter\UserFilterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\FlashInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Forms\ElementInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Http\RequestInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Http\Request\FileInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Http\ResponseInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Http\Response\CookiesInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Http\Response\HeadersInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Image\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Logger\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Logger\FormatterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\CollectionInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Collection\BehaviorInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Collection\ManagerInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\ControllerInterface**](#)
- [Interface **Phalcon\Mvc\DispatcherInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\EntityInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Micro\CollectionInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Micro\MiddlewareInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\ModelInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\BehaviorInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\CriteriaInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\ManagerInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\MessageInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\MetaDataInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\MetaData\StrategyInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\QueryInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\Query\BuilderInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\Query\StatusInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\RelationInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\ResultInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\ResultsetInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\TransactionInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\Transaction\ManagerInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Model\ValidatorInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\ModuleDefinitionInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\RouterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Router\GroupInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\Router\RouteInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\UrlInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\ViewBaseInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\ViewInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Mvc\View\EngineInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Paginator\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Session\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Session\BagInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Translate\AdapterInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Validation\MessageInterface**](#)
- [Methods](#)
- [Interface **Phalcon\Validation\ValidatorInterface**](#)
- [Methods](#)
- [授權(License)](#)
### 其他格式[](# "永久鏈接至標題")
- [PDF](http://media.readthedocs.org/pdf/phalcon-php-framework-documentation/latest/phalcon-php-framework-documentation.pdf)
- [HTML in one Zip](http://media.readthedocs.org/htmlzip/phalcon-php-framework-documentation/latest/phalcon-php-framework-documentation.zip)
- [ePub](http://media.readthedocs.org/epub/phalcon-php-framework-documentation/latest/phalcon-php-framework-documentation.epub)
|
- [索引](# "總目錄")
- [下一頁](# "安裝(Installation)") |
- Phalcon 2.0.6文檔
- API參考
- API列表
- Abstract class Phalcon\Acl
- Abstract class Phalcon\Acl\Adapter
- Class Phalcon\Acl\Adapter\Memory
- Interface Phalcon\Acl\AdapterInterface
- Class Phalcon\Acl\Exception
- Class Phalcon\Acl\Resource
- Interface Phalcon\Acl\ResourceInterface
- Class Phalcon\Acl\Role
- Interface Phalcon\Acl\RoleInterface
- Class Phalcon\Annotations\Annotation
- Abstract class Phalcon\Annotations\Adapter
- Class Phalcon\Annotations\Adapter\Apc
- Class Phalcon\Annotations\Adapter\Files
- Class Phalcon\Annotations\Adapter\Memory
- Class Phalcon\Annotations\Adapter\Xcache
- Interface Phalcon\Annotations\AdapterInterface
- Class Phalcon\Annotations\Collection
- Class Phalcon\Annotations\Exception
- Class Phalcon\Annotations\Reader
- Interface Phalcon\Annotations\ReaderInterface
- Class Phalcon\Annotations\Reflection
- Class Phalcon\Assets\Collection
- Class Phalcon\Assets\Exception
- Interface Phalcon\Assets\FilterInterface
- Class Phalcon\Assets\Filters\Cssmin
- Class Phalcon\Assets\Filters\Jsmin
- Class Phalcon\Assets\Filters\None
- Class Phalcon\Assets\Inline
- Class Phalcon\Assets\Inline\Css
- Class Phalcon\Assets\Inline\Js
- Class Phalcon\Assets\Manager
- Class Phalcon\Assets\Resource
- Class Phalcon\Assets\Resource\Css
- Class Phalcon\Assets\Resource\Js
- Abstract class Phalcon\Cache\Backend
- Class Phalcon\Cache\Backend\Apc
- Class Phalcon\Cache\Backend\File
- Class Phalcon\Cache\Backend\Libmemcached
- Class Phalcon\Cache\Backend\Memcache
- Class Phalcon\Cache\Backend\Memory
- Class Phalcon\Cache\Backend\Mongo
- Class Phalcon\Cache\Backend\Redis
- Class Phalcon\Cache\Backend\Xcache
- Interface Phalcon\Cache\BackendInterface
- Class Phalcon\Cache\Exception
- Class Phalcon\Cache\Frontend\Base64
- Class Phalcon\Cache\Frontend\Data
- Class Phalcon\Cache\Frontend\Igbinary
- Class Phalcon\Cache\Frontend\Json
- Class Phalcon\Cache\Frontend\None
- Class Phalcon\Cache\Frontend\Output
- Interface Phalcon\Cache\FrontendInterface
- Class Phalcon\Cache\Multiple
- Class Phalcon\Cli\Router\Route
- Class Phalcon\Config
- Class Phalcon\Config\Adapter\Ini
- Class Phalcon\Config\Adapter\Json
- Class Phalcon\Config\Adapter\Php
- Class Phalcon\Config\Adapter\Yaml
- Class Phalcon\Config\Exception
- Class Phalcon\Crypt
- Class Phalcon\Crypt\Exception
- Interface Phalcon\CryptInterface
- Abstract class Phalcon\Db
- Abstract class Phalcon\Db\Adapter
- Abstract class Phalcon\Db\Adapter\Pdo
- Class Phalcon\Db\Adapter\Pdo\Mysql
- Class Phalcon\Db\Adapter\Pdo\Oracle
- Class Phalcon\Db\Adapter\Pdo\Postgresql
- Class Phalcon\Db\Adapter\Pdo\Sqlite
- Interface Phalcon\Db\AdapterInterface
- Class Phalcon\Db\Column
- Interface Phalcon\Db\ColumnInterface
- Abstract class Phalcon\Db\Dialect
- Class Phalcon\Db\Dialect\Oracle
- Class Phalcon\Db\Dialect\Postgresql
- Class Phalcon\Db\Dialect\Sqlite
- Interface Phalcon\Db\DialectInterface
- Class Phalcon\Db\Exception
- Class Phalcon\Db\Index
- Interface Phalcon\Db\IndexInterface
- Class Phalcon\Db\Profiler
- Class Phalcon\Db\Profiler\Item
- Class Phalcon\Db\RawValue
- Class Phalcon\Db\Reference
- Interface Phalcon\Db\ReferenceInterface
- Class Phalcon\Db\Result\Pdo
- Interface Phalcon\Db\ResultInterface
- Class Phalcon\Debug
- Class Phalcon\Debug\Dump
- Class Phalcon\Debug\Exception
- Interface Phalcon\DiInterface
- Abstract class Phalcon\Dispatcher
- Interface Phalcon\DispatcherInterface
- Class Phalcon\Escaper
- Class Phalcon\Escaper\Exception
- Interface Phalcon\EscaperInterface
- Class Phalcon\Events\Event
- Interface Phalcon\Events\EventsAwareInterface
- Class Phalcon\Events\Exception
- Class Phalcon\Events\Manager
- Interface Phalcon\Events\ManagerInterface
- Class Phalcon\Exception
- Class Phalcon\Filter
- Class Phalcon\Filter\Exception
- Interface Phalcon\Filter\UserFilterInterface
- Interface Phalcon\FilterInterface
- Abstract class Phalcon\Flash
- Class Phalcon\Flash\Direct
- Class Phalcon\Flash\Exception
- Class Phalcon\Flash\Session
- Interface Phalcon\FlashInterface
- Class Phalcon\Forms\Form
- Abstract class Phalcon\Forms\Element
- Class Phalcon\Forms\Element\Check
- Class Phalcon\Forms\Element\Email
- Class Phalcon\Forms\Element\File
- Class Phalcon\Forms\Element\Date
- Class Phalcon\Forms\Element\Hidden
- Class Phalcon\Forms\Element\Numeric
- Class Phalcon\Forms\Element\Password
- Class Phalcon\Forms\Element\Radio
- Class Phalcon\Forms\Element\Select
- Class Phalcon\Forms\Element\Submit
- Class Phalcon\Forms\Element\Text
- Class Phalcon\Forms\Element\TextArea
- Interface Phalcon\Forms\ElementInterface
- Class Phalcon\Forms\Exception
- Class Phalcon\Forms\Manager
- Class Phalcon\Http\Cookie
- Class Phalcon\Http\Cookie\Exception
- Class Phalcon\Http\Request
- Class Phalcon\Http\Request\Exception
- Class Phalcon\Http\Request\File
- Interface Phalcon\Http\Request\FileInterface
- Interface Phalcon\Http\RequestInterface
- Class Phalcon\Http\Response
- Class Phalcon\Http\Response\Cookies
- Interface Phalcon\Http\Response\CookiesInterface
- Class Phalcon\Http\Response\Exception
- Class Phalcon\Http\Response\Headers
- Interface Phalcon\Http\Response\HeadersInterface
- Interface Phalcon\Http\ResponseInterface
- Class Phalcon\Image
- Abstract class Phalcon\Image\Adapter
- Class Phalcon\Image\Adapter\Imagick
- Interface Phalcon\Image\AdapterInterface
- Class Phalcon\Image\Exception
- Class Phalcon\Kernel
- Class Phalcon\Loader
- Class Phalcon\Loader\Exception
- Abstract class Phalcon\Logger
- Abstract class Phalcon\Logger\Adapter
- Class Phalcon\Logger\Adapter\File
- Class Phalcon\Logger\Adapter\Firephp
- Class Phalcon\Logger\Adapter\Stream
- Class Phalcon\Logger\Adapter\Syslog
- Interface Phalcon\Logger\AdapterInterface
- Class Phalcon\Logger\Exception
- Abstract class Phalcon\Logger\Formatter
- Class Phalcon\Logger\Formatter\Firephp
- Class Phalcon\Logger\Formatter\Json
- Class Phalcon\Logger\Formatter\Line
- Class Phalcon\Logger\Formatter\Syslog
- Interface Phalcon\Logger\FormatterInterface
- Class Phalcon\Logger\Item
- Class Phalcon\Logger\Multiple
- Class Phalcon\Mvc\Application
- Class Phalcon\Mvc\Application\Exception
- Abstract class Phalcon\Mvc\Collection
- Abstract class Phalcon\Mvc\Collection\Behavior
- Class Phalcon\Mvc\Collection\Behavior\SoftDelete
- Class Phalcon\Mvc\Collection\Behavior\Timestampable
- Interface Phalcon\Mvc\Collection\BehaviorInterface
- Class Phalcon\Mvc\Collection\Document
- Class Phalcon\Mvc\Collection\Exception
- Class Phalcon\Mvc\Collection\Manager
- Interface Phalcon\Mvc\Collection\ManagerInterface
- Interface Phalcon\Mvc\CollectionInterface
- Abstract class Phalcon\Mvc\Controller
- Interface Phalcon\Mvc\ControllerInterface
- Class Phalcon\Mvc\Dispatcher
- Class Phalcon\Mvc\Dispatcher\Exception
- Interface Phalcon\Mvc\DispatcherInterface
- Interface Phalcon\Mvc\EntityInterface
- Class Phalcon\Mvc\Micro
- Class Phalcon\Mvc\Micro\Collection
- Interface Phalcon\Mvc\Micro\CollectionInterface
- Class Phalcon\Mvc\Micro\Exception
- Class Phalcon\Mvc\Micro\LazyLoader
- Interface Phalcon\Mvc\Micro\MiddlewareInterface
- Abstract class Phalcon\Mvc\Model
- Abstract class Phalcon\Mvc\Model\Behavior
- Class Phalcon\Mvc\Model\Behavior\SoftDelete
- Class Phalcon\Mvc\Model\Behavior\Timestampable
- Interface Phalcon\Mvc\Model\BehaviorInterface
- Class Phalcon\Mvc\Model\Criteria
- Interface Phalcon\Mvc\Model\CriteriaInterface
- Class Phalcon\Mvc\Model\Exception
- Class Phalcon\Mvc\Model\Manager
- Interface Phalcon\Mvc\Model\ManagerInterface
- Class Phalcon\Mvc\Model\Message
- Interface Phalcon\Mvc\Model\MessageInterface
- Abstract class Phalcon\Mvc\Model\MetaData
- Class Phalcon\Mvc\Model\MetaData\Apc
- Class Phalcon\Mvc\Model\MetaData\Files
- Class Phalcon\Mvc\Model\MetaData\Libmemcached
- Class Phalcon\Mvc\Model\MetaData\Memcache
- Class Phalcon\Mvc\Model\MetaData\Memory
- Class Phalcon\Mvc\Model\MetaData\Session
- Class Phalcon\Mvc\Model\MetaData\Strategy\Annotations
- Class Phalcon\Mvc\Model\MetaData\Strategy\Introspection
- Interface Phalcon\Mvc\Model\MetaData\StrategyInterface
- Class Phalcon\Mvc\Model\MetaData\Xcache
- Interface Phalcon\Mvc\Model\MetaDataInterface
- Class Phalcon\Mvc\Model\Query
- Class Phalcon\Mvc\Model\Query\Builder
- Interface Phalcon\Mvc\Model\Query\BuilderInterface
- Abstract class Phalcon\Mvc\Model\Query\Lang
- Class Phalcon\Mvc\Model\Query\Status
- Interface Phalcon\Mvc\Model\Query\StatusInterface
- Interface Phalcon\Mvc\Model\QueryInterface
- Class Phalcon\Mvc\Model\Relation
- Interface Phalcon\Mvc\Model\RelationInterface
- Interface Phalcon\Mvc\Model\ResultInterface
- Abstract class Phalcon\Mvc\Model\Resultset
- Class Phalcon\Mvc\Model\Resultset\Complex
- Class Phalcon\Mvc\Model\Resultset\Simple
- Abstract class Phalcon\Mvc\Model\Validator
- Class Phalcon\Mvc\Model\Validator\Email
- Class Phalcon\Mvc\Model\Validator\Exclusionin
- Class Phalcon\Mvc\Model\Validator\Inclusionin
- Class Phalcon\Mvc\Model\Validator\Ip
- Class Phalcon\Mvc\Model\Validator\Numericality
- Class Phalcon\Mvc\Model\Validator\PresenceOf
- Class Phalcon\Mvc\Model\Validator\Regex
- Class Phalcon\Mvc\Model\Validator\StringLength
- Class Phalcon\Mvc\Model\Validator\Uniqueness
- Class Phalcon\Mvc\Model\Validator\Url
- Interface Phalcon\Mvc\Model\ValidatorInterface
- Interface Phalcon\Mvc\Model\ResultsetInterface
- Class Phalcon\Mvc\Model\Row
- Class Phalcon\Mvc\Model\Transaction
- Class Phalcon\Mvc\Model\Transaction\Exception
- Class Phalcon\Mvc\Model\Transaction\Failed
- Class Phalcon\Mvc\Model\Transaction\Manager
- Interface Phalcon\Mvc\Model\Transaction\ManagerInterface
- Interface Phalcon\Mvc\Model\TransactionInterface
- Class Phalcon\Mvc\Model\ValidationFailed
- Interface Phalcon\Mvc\ModelInterface
- Interface Phalcon\Mvc\ModuleDefinitionInterface
- Class Phalcon\Mvc\Router
- Class Phalcon\Mvc\Router\Annotations
- Class Phalcon\Mvc\Router\Exception
- Class Phalcon\Mvc\Router\Group
- Interface Phalcon\Mvc\Router\GroupInterface
- Class Phalcon\Mvc\Router\Route
- Interface Phalcon\Mvc\Router\RouteInterface
- Interface Phalcon\Mvc\RouterInterface
- Class Phalcon\Mvc\Url
- Class Phalcon\Mvc\Url\Exception
- Interface Phalcon\Mvc\UrlInterface
- Class Phalcon\Mvc\User\Component
- Class Phalcon\Mvc\User\Module
- Class Phalcon\Mvc\User\Plugin
- Class Phalcon\Mvc\View
- Abstract class Phalcon\Mvc\View\Engine
- Class Phalcon\Mvc\View\Engine\Php
- Class Phalcon\Mvc\View\Engine\Volt
- Class Phalcon\Mvc\View\Engine\Volt\Compiler
- Interface Phalcon\Mvc\View\EngineInterface
- Class Phalcon\Mvc\View\Exception
- Class Phalcon\Mvc\View\Simple
- Interface Phalcon\Mvc\ViewBaseInterface
- Interface Phalcon\Mvc\ViewInterface
- Abstract class Phalcon\Paginator\Adapter
- Class Phalcon\Paginator\Adapter\Model
- Class Phalcon\Paginator\Adapter\NativeArray
- Class Phalcon\Paginator\Adapter\QueryBuilder
- Interface Phalcon\Paginator\AdapterInterface
- Class Phalcon\Paginator\Exception
- Class Phalcon\Queue\Beanstalk
- Class Phalcon\Queue\Beanstalk\Job
- Final class Phalcon\Registry
- Class Phalcon\Security
- Class Phalcon\Security\Exception
- Abstract class Phalcon\Session
- Abstract class Phalcon\Session\Adapter
- Class Phalcon\Session\Adapter\Files
- Class Phalcon\Session\Adapter\Libmemcached
- Class Phalcon\Session\Adapter\Memcache
- Interface Phalcon\Session\AdapterInterface
- Class Phalcon\Session\Bag
- Interface Phalcon\Session\BagInterface
- Class Phalcon\Session\Exception
- Class Phalcon\Tag
- Class Phalcon\Tag\Exception
- Abstract class Phalcon\Tag\Select
- Abstract class Phalcon\Text
- Abstract class Phalcon\Translate
- Abstract class Phalcon\Translate\Adapter
- Class Phalcon\Translate\Adapter\Csv
- Class Phalcon\Translate\Adapter\Gettext
- Class Phalcon\Translate\Adapter\NativeArray
- Interface Phalcon\Translate\AdapterInterface
- Class Phalcon\Translate\Exception
- Class Phalcon\Validation
- Class Phalcon\Validation\Exception
- Class Phalcon\Validation\Message
- Class Phalcon\Validation\Message\Group
- Interface Phalcon\Validation\MessageInterface
- Abstract class Phalcon\Validation\Validator
- Class Phalcon\Validation\Validator\Alnum
- Class Phalcon\Validation\Validator\Alpha
- Class Phalcon\Validation\Validator\Between
- Class Phalcon\Validation\Validator\Confirmation
- Class Phalcon\Validation\Validator\Digit
- Class Phalcon\Validation\Validator\Email
- Class Phalcon\Validation\Validator\ExclusionIn
- Class Phalcon\Validation\Validator\File
- Class Phalcon\Validation\Validator\Identical
- Class Phalcon\Validation\Validator\InclusionIn
- Class Phalcon\Validation\Validator\Numericality
- Class Phalcon\Validation\Validator\PresenceOf
- Class Phalcon\Validation\Validator\Regex
- Class Phalcon\Validation\Validator\StringLength
- Class Phalcon\Validation\Validator\Uniqueness
- Class Phalcon\Validation\Validator\Url
- Interface Phalcon\Validation\ValidatorInterface
- Class Phalcon\Version
- 參考手冊
- 安裝(Installation)
- 教程 1:讓我們通過例子來學習(Tutorial 1: Let’s learn by example)
- 教程 2:Introducing INVO(Tutorial 2: Introducing INVO)
- 教程 3: Securing INVO
- 教程 4: Using CRUDs
- 教程 5: Customizing INVO
- 教程 6: Vkuró
- 教程 7:創建簡單的 REST API(Tutorial 7: Creating a Simple REST API)
- 示例列表(List of examples)
- 依賴注入與服務定位器(Dependency Injection/Service Location)
- MVC 架構(The MVC Architecture)
- 使用控制器(Using Controllers)
- 使用模型(Working with Models)
- 模型元數據(Models Meta-Data)
- 事務管理(Model Transactions)
- Phalcon 查詢語言(Phalcon Query Language (PHQL))
- 緩存對象關系映射(Caching in the ORM)
- 對象文檔映射 ODM (Object-Document Mapper)
- 使用視圖(Using Views)
- 視圖助手(View Helpers)
- 資源文件管理(Assets Management)
- Volt 模版引擎(Volt: Template Engine)
- MVC 應用(MVC Applications)
- 路由(Routing)
- 調度控制器(Dispatching Controllers)
- 微應用(Micro Applications)
- 使用命名空間(Working with Namespaces)
- 事件管理器(Events Manager)
- Request Environment
- 返回響應(Returning Responses)
- Cookie 管理(Cookies Management)
- 生成 URL 和 路徑(Generating URLs and Paths)
- 閃存消息(Flashing Messages)
- 使用 Session 存儲數據(Storing data in Session)
- 過濾與清理(Filtering and Sanitizing)
- 上下文編碼(Contextual Escaping)
- 驗證(Validation)
- 表單(Forms)
- 讀取配置(Reading Configurations)
- 分頁(Pagination)
- 使用緩存提高性能(Improving Performance with Cache)
- 安全(Security)
- Encryption/Decryption
- 訪問控制列表 ACL(Access Control Lists ACL)
- 多語言支持(Multi-lingual Support)
- Universal Class Loader
- 日志記錄(Logging)
- 注釋解析器(Annotations Parser)
- 命令行應用(Command Line Applications)
- 隊列(Queueing)
- 數據庫抽象層(Database Abstraction Layer)
- 國際化(Internationalization)
- 數據庫遷移(Database Migrations)
- 調試應用程序(Debugging Applications)
- Phalcon 開發工具(Phalcon Developer Tools)
- 提高性能:下一步該做什么?(Increasing Performance: What’s next?)
- 單元測試(Unit testing)
- 授權(License)