Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better TOC structure for Core Libraries

  • Loading branch information...
commit ef8ae42e565a301d961219e54c1b398abb6ff40a 1 parent 439b9d4
@shama shama authored
View
86 en/core-libraries.rst
@@ -1,11 +1,11 @@
Core Libraries
##############
-CakePHP comes with a plethora of built-in functions and classes. These classes
+CakePHP comes with a plethora of built-in functions and classes. These classes
and functions try to cover some of the most common features required in web
applications.
-General purpose
+General Purpose
===============
General purpose libraries are available and reused in many places across
@@ -14,9 +14,24 @@ CakePHP.
.. toctree::
:maxdepth: 2
- core-libraries/global-constants-and-functions
- core-libraries/events
- core-libraries/collections
+ core-libraries/toc-general-purpose
+
+.. _core-behaviors:
+
+Behaviors
+=========
+
+Behaviors add extra functionality to your models. CakePHP comes
+with a number of built-in behaviors such as :php:class:`TreeBehavior`
+and :php:class:`ContainableBehavior`.
+
+To learn about creating and using behaviors, read the section
+on :doc:`/models/behaviors`.
+
+.. toctree::
+ :maxdepth: 2
+
+ core-libraries/toc-behaviors
.. _core-components:
@@ -30,14 +45,7 @@ configure and use components.
.. toctree::
:maxdepth: 2
- core-libraries/components/access-control-lists
- core-libraries/components/authentication
- core-libraries/components/cookie
- core-libraries/components/email
- core-libraries/components/request-handling
- core-libraries/components/pagination
- core-libraries/components/security-component
- core-libraries/components/sessions
+ core-libraries/toc-components
.. _core-helpers:
@@ -55,40 +63,11 @@ can create and use your own helpers.
.. toctree::
:maxdepth: 2
- core-libraries/helpers/cache
- core-libraries/helpers/form
- core-libraries/helpers/html
- core-libraries/helpers/js
- core-libraries/helpers/number
- core-libraries/helpers/paginator
- core-libraries/helpers/rss
- core-libraries/helpers/session
- core-libraries/helpers/text
- core-libraries/helpers/time
+ core-libraries/toc-helpers
-.. _core-behaviors:
-
-Behaviors
+Utilities
=========
-Behaviors add extra functionality to your models. CakePHP comes
-with a number of built-in behaviors such as :php:class:`TreeBehavior`
-and :php:class:`ContainableBehavior`.
-
-To learn about creating and using behaviors, read the section
-on :doc:`/models/behaviors`.
-
-.. toctree::
- :maxdepth: 2
-
- core-libraries/behaviors/acl
- core-libraries/behaviors/containable
- core-libraries/behaviors/translate
- core-libraries/behaviors/tree
-
-Core Libraries
-==============
-
Beyond the core MVC components, CakePHP includes a great selection of utility
classes that help you do everything from webservice requests, to caching, to
logging, internationalization and more.
@@ -96,24 +75,7 @@ logging, internationalization and more.
.. toctree::
:maxdepth: 2
- core-utility-libraries/app
- core-libraries/caching
- core-utility-libraries/email
- core-utility-libraries/number
- core-utility-libraries/time
- core-utility-libraries/sanitize
- core-utility-libraries/file-folder
- core-utility-libraries/httpsocket
- core-utility-libraries/inflector
- core-libraries/internationalization-and-localization
- core-libraries/logging
- core-utility-libraries/router
- core-utility-libraries/security
- core-utility-libraries/hash
- core-utility-libraries/set
- core-utility-libraries/string
- core-utility-libraries/xml
-
+ core-libraries/toc-utilities
.. meta::
:title lang=en: Core Libraries
View
10 en/core-libraries/toc-behaviors.rst
@@ -0,0 +1,10 @@
+Behaviors
+#########
+
+.. toctree::
+ :maxdepth: 2
+
+ behaviors/acl
+ behaviors/containable
+ behaviors/translate
+ behaviors/tree
View
14 en/core-libraries/toc-components.rst
@@ -0,0 +1,14 @@
+Components
+##########
+
+.. toctree::
+ :maxdepth: 2
+
+ components/access-control-lists
+ components/authentication
+ components/cookie
+ components/email
+ components/request-handling
+ components/pagination
+ components/security-component
+ components/sessions
View
10 en/core-libraries/toc-general-purpose.rst
@@ -0,0 +1,10 @@
+General Purpose
+###############
+
+.. toctree::
+ :maxdepth: 2
+
+ global-constants-and-functions
+ ../core-utility-libraries/app
+ events
+ collections
View
16 en/core-libraries/toc-helpers.rst
@@ -0,0 +1,16 @@
+Helpers
+#######
+
+.. toctree::
+ :maxdepth: 2
+
+ helpers/cache
+ helpers/form
+ helpers/html
+ helpers/js
+ helpers/number
+ helpers/paginator
+ helpers/rss
+ helpers/session
+ helpers/text
+ helpers/time
View
22 en/core-libraries/toc-utilities.rst
@@ -0,0 +1,22 @@
+Utilities
+#########
+
+.. toctree::
+ :maxdepth: 2
+
+ caching
+ ../core-utility-libraries/email
+ ../core-utility-libraries/number
+ ../core-utility-libraries/time
+ ../core-utility-libraries/sanitize
+ ../core-utility-libraries/file-folder
+ ../core-utility-libraries/httpsocket
+ ../core-utility-libraries/inflector
+ internationalization-and-localization
+ logging
+ ../core-utility-libraries/router
+ ../core-utility-libraries/security
+ ../core-utility-libraries/hash
+ ../core-utility-libraries/set
+ ../core-utility-libraries/string
+ ../core-utility-libraries/xml
Please sign in to comment.
Something went wrong with that request. Please try again.