CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Reporting Security Issues
    • Privacy Policy
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Get Involved
    • Issues (Github)
    • Bakery
    • Featured Resources
    • Training
    • Meetups
    • My CakePHP
    • CakeFest
    • Newsletter
    • Linkedin
    • YouTube
    • Facebook
    • Twitter
    • Mastodon
    • Help & Support
    • Forum
    • Stack Overflow
    • Slack
    • Paid Support
CakePHP

B CakePHP 2.x Cookbook

Language:
  • en
    • pt
    • es
    • ja
    • fr
    • zh
Version:
  • 2.x
    • 4.x Book
    • 3.x Book
    • 2.x Book
    • 1.3 Book
    • 1.2 Book
    • 1.1 Book

This document is for a version of CakePHP that is no longer supported. Please upgrade to a newer release!

Improve This Doc

Page Contents

  • General Purpose

General PurposeΒΆ

  • Global Constants and Functions
    • Global Functions
    • Core Definition Constants
    • Timing Definition Constants
  • App Class
    • Packages
    • Loading classes
    • Finding paths to packages using App::path()
    • Adding paths for App to find packages in
    • Finding which objects CakePHP knows about
    • Locating plugins
    • Locating themes
    • Including files with App::import()
    • Overriding classes in CakePHP
    • Loading Vendor Files
    • App Init/Load/Shutdown Methods
  • Events System
    • Example Event Usage
    • Accessing Event Managers
    • Dispatching Events
    • Registering Listeners
    • Conclusion
    • Additional Reading
  • Collections
    • Loading and unloading objects
    • Triggering callbacks
    • Enabling and disabling objects
    • Object callback priorities
  • ← Core Libraries
  • Global Constants and Functions →
  • Welcome
  • Installation
  • Getting Started
  • CakePHP Overview
  • Controllers
  • Views
  • Models
  • Core Libraries
    • General Purpose
      • Global Constants and Functions
      • App Class
      • Events System
      • Collections
    • Behaviors
    • Components
    • Helpers
    • Utilities
  • Plugins
  • Shells, Tasks & Console Tools
  • Development
  • Deployment
  • Tutorials & Examples
  • Contributing
  • Appendices
openHub
pingping.io
Linode
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Reporting Security Issues
  • Privacy Policy
  • Logos & Trademarks
  • Community
  • Get Involved
  • Issues (Github)
  • Bakery
  • Featured Resources
  • Training
  • Meetups
  • My CakePHP
  • CakeFest
  • Newsletter
  • Linkedin
  • YouTube
  • Facebook
  • Twitter
  • Mastodon
  • Help & Support
  • Forum
  • Stack Overflow
  • Slack
  • Paid Support

Copyright ©2023 Cake Software Foundation, Inc. Last updated on Mar 18, 2023. Created using Sphinx 4.5.0.