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
    • IRC
    • Slack
    • Paid Support
CakePHP

C CakePHP 3.8 Red Velvet API

  • Project:
    • CakePHP
      • CakePHP
      • Authentication
      • Authorization
      • Chronos
      • Elastic Search
      • Queue
  • Version:
    • 3.8
      • 6.0
      • 5.4
      • 5.3
      • 5.2
      • 5.1
      • 5.0
      • 4.6
      • 4.5
      • 4.4
      • 4.3
      • 4.2
      • 4.1
      • 4.0
      • 3.10
      • 3.9
      • 3.8
      • 3.7
      • 3.6
      • 3.5
      • 3.4
      • 3.3
      • 3.2
      • 3.1
      • 3.0
      • 2.10
      • 2.9
      • 2.8
      • 2.7
      • 2.6
      • 2.5
      • 2.4
      • 2.3
      • 2.2
      • 2.1
      • 2.0
      • 1.3
      • 1.2

Namespaces

  • Global
  • Cake
    • Auth
    • Cache
    • Collection
    • Command
    • Console
    • Controller
    • Core
    • Database
    • Datasource
    • Error
    • Event
    • Filesystem
    • Form
    • Http
    • I18n
    • Log
    • Mailer
    • Network
    • ORM
    • Routing
    • Shell
    • TestSuite
    • Utility
    • Validation
    • View

Namespace Core

Namespaces

  • Cake\Core\Configure
  • Cake\Core\Exception
  • Cake\Core\Retry

Interfaces

  • ConsoleApplicationInterface

    An interface defining the methods that the console runner depend on.

  • HttpApplicationInterface

    An interface defining the methods that the http server depend on.

  • PluginApplicationInterface

    Interface for Applications that leverage plugins & events.

    Events can be bound to the application event manager during the application's bootstrap and plugin bootstrap.

  • PluginInterface

    Plugin Interface

Classes

  • App

    App is responsible for resource location, and path management.

    Adding paths

    Additional paths for Templates and Plugins are configured with Configure now. See config/app.php for an example. The App.paths.plugins and App.paths.templates variables are used to configure paths for plugins and templates respectively. All class based resources should be mapped using your application's autoloader.

    Inspecting loaded paths

    You can inspect the currently loaded paths using App::path('Controller') for example to see loaded controller paths.

    It is also possible to inspect paths for plugin classes, for instance, to get the path to a plugin's helpers you would call App::path('View/Helper', 'MyPlugin')

    Locating plugins

    Plugins can be located with App as well. Using Plugin::path('DebugKit') for example, will give you the full path to the DebugKit plugin.

  • BasePlugin

    Base Plugin Class

    Every plugin should extends from this class or implement the interfaces and include a plugin class in it's src root folder.

  • ClassLoader

    ClassLoader

  • Configure

    Configuration class. Used for managing runtime configuration information.

    Provides features for reading and writing to the runtime configuration, as well as methods for loading additional configuration files or storing runtime configuration for future use.

  • ObjectRegistry

    Acts as a registry/factory for objects.

    Provides registry & factory functionality for object types. Used as a super class for various composition based re-use features in CakePHP.

    Each subclass needs to implement the various abstract methods to complete the template method load().

    The ObjectRegistry is EventManager aware, but each extending class will need to use \Cake\Event\EventDispatcherTrait to attach and detach on set and bind

  • Plugin

    Plugin is used to load and locate plugins.

    It also can retrieve plugin paths and load their bootstrap and routes files.

  • PluginCollection

    Plugin Collection

    Holds onto plugin objects loaded into an application, and provides methods for iterating, and finding plugins based on criteria.

    This class implements the Iterator interface to allow plugins to be iterated, handling the situation where a plugin's hook method (usually bootstrap) loads another plugin during iteration.

    While its implementation supported nested iteration it does not support using continue or break inside loops.

Traits

  • ConventionsTrait

    Provides methods that allow other classes access to conventions based inflections.

  • InstanceConfigTrait

    A trait for reading and writing instance config

    Implementing objects are expected to declare a $_defaultConfig property.

  • StaticConfigTrait

    A trait that provides a set of static methods to manage configuration for classes that provide an adapter facade or need to have sets of configuration data registered and manipulated.

    Implementing objects are expected to declare a static $_dsnClassMap property.

OpenHub
Pingping
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
  • IRC
  • Slack
  • Paid Support

Generated using CakePHP API Docs