D. Calling the Functions
Last updated on
30 April 2025
Since the module is coded in PHP, all of the functions are callable externally. This table lists those functions you may wish to call from your own code (whether in a module, page, or block).
| Function Name | Parameters | Returns |
|---|---|---|
| sitedoc_drupal | Interval, in seconds, before deleting "cron_semaphore"; default is zero (0) to indicate no deletion. | HTML string |
| sitedoc_database_overview |
|
HTML string |
| sitedoc_get_modules | Exclude disabled
Sort order
|
HTML string |
| sitedoc_get_system |
|
HTML string |
| sitedoc_get_blocks |
|
HTML string |
| sitedoc_get_boxes |
|
HTML string |
| sitedoc_content_types | None | HTML string |
| sitedoc_get_vocabularies | None | HTML string |
| sitedoc_check_orphan_term_node | Should only be used within the module, but is separately callable.
|
HTML string |
| sitedoc_sequences | None | HTML string |
| sitedoc_node_summary |
|
HTML string |
| sitedoc_node_access | None | HTML string |
| sitedoc_get_roles |
|
HTML string |
| sitedoc_get_variables | None | HTML string |
| sitedoc_get_contacts | None | HTML string |
| sitedoc_profile_fields | string - limits the list to only this category | HTML string |
| sitedoc_url_alias | None | HTML string |
| sitedoc_filters | None | HTML string |
| sitedoc_term_count_by_type |
|
HTML string |
| sitedoc_term_count_nodes | This is an alternative to taxonomy_term_count_nodes that was implemented in response to postings detailing performance problems with the core function.
|
HTML string |
| sitedoc_show_table | This is a generic database table display with sortable columns.
|
HTML string |
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion