Welcome to The Cookbook

  • 1.2 Collection
  • 1.1 Kolekce
  • General
  • Top Contributors
  • todo
  • Login
  • About CakePHP
  • Donate
  • CakePHP
  • API
  • Docs
  • Bakery
  • Live
  • Forge
  • Trac
Manuál»Vývoj s CakePHP»Configuration»The App Class»Importing Controllers, Models, Components, Behaviors, and Helpers»Loading Controllers

3.4.4.3.1 Loading Controllers

  • Edit
  • Comments (0)
  • History

App::import('Controller', 'MyController');

See comments for this section
<< Importing Controllers, Models, Components, Behaviors, and Helpers | Loading Models >>

Table of Contents : Manuál

  • 1 Začínáme s CakePHP
  • 2 Basic Principles of CakePHP
  • 3 Vývoj s CakePHP
    • 3.1 Požadavky
    • 3.2 Příprava instalace
    • 3.3 Instalace
    • 3.4 Configuration
      • 3.4.1 Konfigurace databáze
      • 3.4.2 Konfigurace jádra
      • 3.4.3 Konfigurační třída
      • 3.4.4 The App Class
        • 3.4.4.1 Using App::import()
        • 3.4.4.2 Importing Core Libs
        • 3.4.4.3 Importing Controllers, Models, Components, Behaviors, and Helpers
          • 3.4.4.3.1 Loading Controllers
          • 3.4.4.3.2 Loading Models
          • 3.4.4.3.3 Loading Components
          • 3.4.4.3.4 Loading Behaviors
          • 3.4.4.3.5 Loading Helpers
        • 3.4.4.4 Loading from Plugins
        • 3.4.4.5 Loading Vendor Files
      • 3.4.5 Routes Configuration
      • 3.4.6 Custom Inflections
      • 3.4.7 Bootstrapping CakePHP
    • 3.5 Controllers
    • 3.6 Components
    • 3.7 Modely
    • 3.8 Behaviors
    • 3.9 Views
    • 3.10 Helpers
    • 3.11 Scaffolding
    • 3.12 The CakePHP Console
    • 3.13 Plugins
    • 3.14 Global Constants and Functions
  • 4 Common Tasks With CakePHP
  • 5 Core Components
  • 6 Core Behaviors
  • 7 Core Helpers
  • 8 Zabudované pomocné knihovny
  • 9 Core Console Applications
  • 10 Ukázkové aplikace
  • 11 Appendices

Options

  • All in one page
  • Suggest a new section here

Feeds

  • Comments for Loading Controllers
  • Change history for Loading Controllers

Also available in: ar · bg · cn · cz · de · en · es · fa · fr · hu · id · it · ja · ko · nl · pl · pt · ro   CakePHP: the PHP Rapid Development Framework Creative Commons License

© Cake Software Foundation, Inc.