merge_arrays |
./tableofcontents.filters.inc |
|
1 |
|
tableofcontents_cache_get |
./tableofcontents.module |
TOC cache management |
1 |
|
tableofcontents_cache_key |
./tableofcontents.module |
|
2 |
|
tableofcontents_cache_set |
./tableofcontents.module |
|
1 |
|
tableofcontents_field_attach_view_alter |
./tableofcontents.module |
Implementation of hook_field_attach_view_alter(&$output, $context) |
|
|
tableofcontents_filter_info |
./tableofcontents.module |
Implements hook_filter_info(). |
|
|
tableofcontents_filter_prepare |
./tableofcontents.module |
Implements hook_filter_FILTER_prepare(). (sort of) |
|
1 |
tableofcontents_filter_process |
./tableofcontents.module |
Implements hook_filter_FILTER_process(). (sort of) |
|
1 |
tableofcontents_filter_settings |
./tableofcontents.module |
Return the form used for the filter settings. |
|
1 |
tableofcontents_filter_settings_submit |
./tableofcontents.module |
|
|
1 |
tableofcontents_form_alter |
./tableofcontents.module |
Add a field in nodes so one can mark the node as using a TOC without
the need for the [toc] tag. |
|
|
tableofcontents_help |
./tableofcontents.module |
Implementation of hook_help(). |
|
|
tableofcontents_install |
./tableofcontents.install |
Implementation of hook_install() |
|
|
tableofcontents_schema |
./tableofcontents.install |
Implementation of hook_schema() |
|
|
tableofcontents_theme |
./tableofcontents.module |
Implements hook_theme(). |
|
|
tableofcontents_tips |
./tableofcontents.module |
Implements hook_filter_FILTER_tips(). (sort of) |
|
|
tableofcontents_toc |
./tableofcontents.module |
Returns a static TOC variable for fast loading |
5 |
|
tableofcontents_uninstall |
./tableofcontents.install |
Implementation of hook_uninstall() |
|
|
theme_tableofcontents_back_to_top |
./tableofcontents.themes.inc |
Theme the output of the Back to Top link. |
|
|
theme_tableofcontents_number |
./tableofcontents.themes.inc |
Theme the output of a multi-level number. |
|
|
theme_tableofcontents_number_text |
./tableofcontents.themes.inc |
Basic formatting of the text generated by the
theme_tableofcontents_number() function. This is the
number in the form of a string. |
|
|
theme_tableofcontents_toc |
./tableofcontents.themes.inc |
Theme the output of a table of contents. |
|
|
theme_tableofcontents_toc_text |
./tableofcontents.themes.inc |
Basic formatting of the text generated by the
theme_tableofcontents_toc() function. This is the
table of contents in the form of a string. |
|
|
youexamplemodule_page |
./tableofcontents.api.php |
Example of how to implement _tableofcontents_process_text
In this example, this function would be a menu callback. |
|
|
_tableofcontents_apply_toc |
./tableofcontents.module |
|
1 |
|
_tableofcontents_convert_number |
./tableofcontents.themes.inc |
Transform a decimal number in one of: |
1 |
|
_tableofcontents_filter_info |
./tableofcontents.filters.inc |
Implements hook_filter_info(). |
1 |
|
_tableofcontents_filter_prepare |
./tableofcontents.filters.inc |
Prepare the text for the table of content. |
1 |
|
_tableofcontents_filter_process |
./tableofcontents.filters.inc |
Process the text for the table of content. |
1 |
|
_tableofcontents_filter_settings |
./tableofcontents.admin.inc |
Return the form used for the filter settings. |
1 |
|
_tableofcontents_filter_settings_submit |
./tableofcontents.admin.inc |
Saves the filter settings. |
1 |
|
_tableofcontents_filter_tips |
./tableofcontents.filters.inc |
Implements hook_filter_FILTER_tips(). |
|
1 |
_tableofcontents_headers |
./tableofcontents.inc |
This function goes through all the headers found in the text. |
2 |
|
_tableofcontents_hide_in_teaser |
./tableofcontents.admin.inc |
This function makes sure that the table of content is hidden in the teaser
if so requested by the user. |
|
|
_tableofcontents_letter |
./tableofcontents.themes.inc |
Transform a decimal number into a set of letters |
1 |
|
_tableofcontents_nodetype_form_alter |
./tableofcontents.admin.inc |
Add a field to the node type so one can define the automatic
table of content type on a per type basis. |
1 |
|
_tableofcontents_nodetype_form_alter_submit |
./tableofcontents.admin.inc |
Save the user selection. |
|
1 |
_tableofcontents_node_form_alter |
./tableofcontents.admin.inc |
Add a field so users can ask the TOC to be generated in a
node without the use of the filter [toc]. |
1 |
|
_tableofcontents_process_text |
./tableofcontents.module |
Developer function to apply TOC to any text
$body has two assumptions for this function to work
1. It must have [toc] located somewhere in the text
2. It has already been processed by an input filter with toc enabled |
1 |
|
_tableofcontents_replace_comments |
./tableofcontents.filters.inc |
Replace <!-- tableofcontents {settings} -->
and [[TOC {settings}]] with [toc {settings}] |
|
1 |
_tableofcontents_replace_headers |
./tableofcontents.inc |
This function changes a header attributes. It adds an identifier in case
there are none. It registers the identifier if there is already one. |
|
1 |
_tableofcontents_roman |
./tableofcontents.themes.inc |
|
1 |
|
_tableofcontents_toc_encode |
./tableofcontents.filters.inc |
Encode the given 'toc' settings into a string |
1 |
|
_tableofcontents_toc_extract |
./tableofcontents.module |
Extract a [toc] encoding from the text |
3 |
|