Skip to content
This repository
Browse code

Better TOC structure for Core Libraries

  • Loading branch information...
commit ef8ae42e565a301d961219e54c1b398abb6ff40a 1 parent 439b9d4
Kyle Robinson Young authored October 13, 2012
86  en/core-libraries.rst
Source Rendered
... ...
@@ -1,11 +1,11 @@
1 1
 Core Libraries
2 2
 ##############
3 3
 
4  
-CakePHP comes with a plethora of built-in functions and classes.  These classes
  4
+CakePHP comes with a plethora of built-in functions and classes. These classes
5 5
 and functions try to cover some of the most common features required in web
6 6
 applications.
7 7
 
8  
-General purpose
  8
+General Purpose
9 9
 ===============
10 10
 
11 11
 General purpose libraries are available and reused in many places across
@@ -14,9 +14,24 @@ CakePHP.
14 14
 .. toctree::
15 15
     :maxdepth: 2
16 16
 
17  
-    core-libraries/global-constants-and-functions
18  
-    core-libraries/events
19  
-    core-libraries/collections
  17
+    core-libraries/toc-general-purpose
  18
+
  19
+.. _core-behaviors:
  20
+
  21
+Behaviors
  22
+=========
  23
+
  24
+Behaviors add extra functionality to your models. CakePHP comes
  25
+with a number of built-in behaviors such as :php:class:`TreeBehavior`
  26
+and :php:class:`ContainableBehavior`.
  27
+
  28
+To learn about creating and using behaviors, read the section
  29
+on :doc:`/models/behaviors`.
  30
+
  31
+.. toctree::
  32
+    :maxdepth: 2
  33
+
  34
+    core-libraries/toc-behaviors
20 35
 
21 36
 .. _core-components:
22 37
 
@@ -30,14 +45,7 @@ configure and use components.
30 45
 .. toctree::
31 46
     :maxdepth: 2
32 47
 
33  
-    core-libraries/components/access-control-lists
34  
-    core-libraries/components/authentication
35  
-    core-libraries/components/cookie
36  
-    core-libraries/components/email
37  
-    core-libraries/components/request-handling
38  
-    core-libraries/components/pagination
39  
-    core-libraries/components/security-component
40  
-    core-libraries/components/sessions
  48
+    core-libraries/toc-components
41 49
 
42 50
 .. _core-helpers:
43 51
 
@@ -55,40 +63,11 @@ can create and use your own helpers.
55 63
 .. toctree::
56 64
     :maxdepth: 2
57 65
 
58  
-    core-libraries/helpers/cache
59  
-    core-libraries/helpers/form
60  
-    core-libraries/helpers/html
61  
-    core-libraries/helpers/js
62  
-    core-libraries/helpers/number
63  
-    core-libraries/helpers/paginator
64  
-    core-libraries/helpers/rss
65  
-    core-libraries/helpers/session
66  
-    core-libraries/helpers/text
67  
-    core-libraries/helpers/time
  66
+    core-libraries/toc-helpers
68 67
 
69  
-.. _core-behaviors:
70  
-
71  
-Behaviors
  68
+Utilities
72 69
 =========
73 70
 
74  
-Behaviors add extra functionality to your models. CakePHP comes
75  
-with a number of built-in behaviors such as :php:class:`TreeBehavior`
76  
-and :php:class:`ContainableBehavior`.
77  
-
78  
-To learn about creating and using behaviors, read the section
79  
-on :doc:`/models/behaviors`.
80  
-
81  
-.. toctree::
82  
-    :maxdepth: 2
83  
-
84  
-    core-libraries/behaviors/acl
85  
-    core-libraries/behaviors/containable
86  
-    core-libraries/behaviors/translate
87  
-    core-libraries/behaviors/tree
88  
-
89  
-Core Libraries
90  
-==============
91  
-
92 71
 Beyond the core MVC components, CakePHP includes a great selection of utility
93 72
 classes that help you do everything from webservice requests, to caching, to
94 73
 logging, internationalization and more.
@@ -96,24 +75,7 @@ logging, internationalization and more.
96 75
 .. toctree::
97 76
     :maxdepth: 2
98 77
 
99  
-    core-utility-libraries/app
100  
-    core-libraries/caching
101  
-    core-utility-libraries/email
102  
-    core-utility-libraries/number
103  
-    core-utility-libraries/time
104  
-    core-utility-libraries/sanitize
105  
-    core-utility-libraries/file-folder
106  
-    core-utility-libraries/httpsocket
107  
-    core-utility-libraries/inflector
108  
-    core-libraries/internationalization-and-localization
109  
-    core-libraries/logging
110  
-    core-utility-libraries/router
111  
-    core-utility-libraries/security
112  
-    core-utility-libraries/hash
113  
-    core-utility-libraries/set
114  
-    core-utility-libraries/string
115  
-    core-utility-libraries/xml
116  
-
  78
+    core-libraries/toc-utilities
117 79
 
118 80
 .. meta::
119 81
     :title lang=en: Core Libraries
10  en/core-libraries/toc-behaviors.rst
Source Rendered
... ...
@@ -0,0 +1,10 @@
  1
+Behaviors
  2
+#########
  3
+
  4
+.. toctree::
  5
+    :maxdepth: 2
  6
+
  7
+    behaviors/acl
  8
+    behaviors/containable
  9
+    behaviors/translate
  10
+    behaviors/tree
14  en/core-libraries/toc-components.rst
Source Rendered
... ...
@@ -0,0 +1,14 @@
  1
+Components
  2
+##########
  3
+
  4
+.. toctree::
  5
+    :maxdepth: 2
  6
+
  7
+    components/access-control-lists
  8
+    components/authentication
  9
+    components/cookie
  10
+    components/email
  11
+    components/request-handling
  12
+    components/pagination
  13
+    components/security-component
  14
+    components/sessions
10  en/core-libraries/toc-general-purpose.rst
Source Rendered
... ...
@@ -0,0 +1,10 @@
  1
+General Purpose
  2
+###############
  3
+
  4
+.. toctree::
  5
+    :maxdepth: 2
  6
+
  7
+    global-constants-and-functions
  8
+    ../core-utility-libraries/app
  9
+    events
  10
+    collections
16  en/core-libraries/toc-helpers.rst
Source Rendered
... ...
@@ -0,0 +1,16 @@
  1
+Helpers
  2
+#######
  3
+
  4
+.. toctree::
  5
+    :maxdepth: 2
  6
+
  7
+    helpers/cache
  8
+    helpers/form
  9
+    helpers/html
  10
+    helpers/js
  11
+    helpers/number
  12
+    helpers/paginator
  13
+    helpers/rss
  14
+    helpers/session
  15
+    helpers/text
  16
+    helpers/time
22  en/core-libraries/toc-utilities.rst
Source Rendered
... ...
@@ -0,0 +1,22 @@
  1
+Utilities
  2
+#########
  3
+
  4
+.. toctree::
  5
+    :maxdepth: 2
  6
+
  7
+    caching
  8
+    ../core-utility-libraries/email
  9
+    ../core-utility-libraries/number
  10
+    ../core-utility-libraries/time
  11
+    ../core-utility-libraries/sanitize
  12
+    ../core-utility-libraries/file-folder
  13
+    ../core-utility-libraries/httpsocket
  14
+    ../core-utility-libraries/inflector
  15
+    internationalization-and-localization
  16
+    logging
  17
+    ../core-utility-libraries/router
  18
+    ../core-utility-libraries/security
  19
+    ../core-utility-libraries/hash
  20
+    ../core-utility-libraries/set
  21
+    ../core-utility-libraries/string
  22
+    ../core-utility-libraries/xml

0 notes on commit ef8ae42

Please sign in to comment.
Something went wrong with that request. Please try again.