[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/sitedoc/ -> sitedoc.module (summary)

(no description)

File Size: 2654 lines (93 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 38 functions

  sitedoc_help()
  sitedoc_perm()
  sitedoc_menu()
  sitedoc_init()
  sitedoc_enable()
  sitedoc_list()
  sitedoc_cron()
  _sitedoc_img_ok()
  _sitedoc_img_warning()
  _sitedoc_img_error()
  sitedoc_drupal()
  sitedoc_phpinfo()
  sitedoc_database_overview()
  _sitedoc_database()
  _sitedoc_show_index()
  _sitedoc_dbvars_list()
  sitedoc_show_table()
  sitedoc_get_modules()
  sitedoc_get_system()
  sitedoc_get_blocks()
  sitedoc_get_boxes()
  sitedoc_content_types()
  sitedoc_get_vocabularies()
  _terms_list()
  sitedoc_term_count_by_type()
  sitedoc_check_orphan_term_node()
  sitedoc_node_summary()
  _decode_sticky()
  sitedoc_node_access()
  sitedoc_node_access_view()
  sitedoc_get_roles()
  sitedoc_get_variables()
  _sitedoc_handle_data()
  sitedoc_get_contacts()
  sitedoc_profile_fields()
  sitedoc_url_alias()
  sitedoc_term_count_nodes()
  sitedoc_filters()

Functions
Functions that are not part of a class:

sitedoc_help($path, $args = array()   X-Ref
Implementation of hook_help().


sitedoc_perm()   X-Ref
Implementation of hook_perm().


sitedoc_menu()   X-Ref
Implementation of hook_menu().


sitedoc_init()   X-Ref
Implementation of hook_init().


sitedoc_enable()   X-Ref
Implementation of hook_enable().

Set the default parameters. This is an easy way to reset the deaults - disable and re-enable.

Parameters: None.

Return: None.

sitedoc_list()   X-Ref
No description

sitedoc_cron()   X-Ref
Implementation of hook_cron

Runs the report and saves it to disk.

_sitedoc_img_ok()   X-Ref
Helper functions to generate proper img tags.


_sitedoc_img_warning()   X-Ref
No description

_sitedoc_img_error()   X-Ref
No description

sitedoc_drupal($kill_cron=0)   X-Ref
Produce the basic system overview.

Parameters:
TRUE/FALSE - whether to fix Cron stall problem if detected.

Return: HTML string.

sitedoc_phpinfo()   X-Ref
Menu callback to produce PHPINFO page.


sitedoc_database_overview($optimize_tables=FALSE, $show_index=FALSE)   X-Ref
Produce the database tables overview and give overall size info

Parameters:
none

Return: HTML string

_sitedoc_database($actdb, $db_url, $optimize_tables=FALSE, $show_index=FALSE)   X-Ref
No description

_sitedoc_show_index($table_name)   X-Ref
No description

_sitedoc_dbvars_list($type, $title, $variables_list, $db_vers)   X-Ref
Helper function for database variable list


sitedoc_show_table($table = null, $rows_per_page = 20)   X-Ref
Function to display table contents.

param: :
return: : HTML string

sitedoc_get_modules($exclude_disabled=FALSE, $sort_order=0)   X-Ref
Produce the modules list.

Parameters:
none

Return: HTML string

sitedoc_get_system($type=null)   X-Ref
Produce the Themes lists

Parameters:
Which type of row to return
theme  - get themes list

Return: HTML string

sitedoc_get_blocks($warn=TRUE, $delete=FALSE)   X-Ref
Produce the blocks list

Parameters:
$warn - TRUE / FALSE to produce orphan warning message.
$delete - TRUE / FALSE to delete orphans.

Return: HTML string

sitedoc_get_boxes($warn=TRUE, $delete=FALSE)   X-Ref
Produce the boxes (manual blocks, additional data) list.

Parameters:
$warn - TRUE / FALSE to produce orphan warning message.
$delete - TRUE / FALSE to delete orphans.

Return: HTML string

sitedoc_content_types()   X-Ref
Produce the content types list.

Parameters:
none

Return: HTML string

sitedoc_get_vocabularies()   X-Ref
Produce the vocabularies and terms list.

Parameters:
none

Return: HTML string

_terms_list($vid)   X-Ref
No description

sitedoc_term_count_by_type($vid)   X-Ref
Produce a table of taxonomy term usage by content type.
This function is available only as a callable function;
it is not called within this module.

Parameters:
vid - the vocabulary id to show.

Return: HTML string

sitedoc_check_orphan_term_node($delete_orphans=FALSE)   X-Ref
Check if there are any term nodes entries that don't belong to nodes.

Parameters:
Delete - TRUE | FALSE - whether or not to delete the orphans.

Return: HTML string

sitedoc_node_summary($comment=FALSE, $show_size=99999, $max_size=99999)   X-Ref
Produce the node summary.

Parameters:
TRUE - include comments count.
FALSE - don't include comments count.

Return: HTML string

_decode_sticky(&$node)   X-Ref
No description

sitedoc_node_access()   X-Ref
Produce the node access summary.

Parameters:
None

Return: HTML string.

sitedoc_node_access_view($realm=NULL)   X-Ref
Menu call back to produce a list of nodes within a given access realm.

parameters:
realm name

returns:
HTML string

sitedoc_get_roles($list = FALSE, $users = FALSE)   X-Ref
Produce the user roles list.

Parameters:
1) TRUE - permissions listed as unordered list
FALSE - permissions listed as stream (default)
2) TRUE - include users in roles (default)
FALSE - do not include users

Return: HTML string

sitedoc_get_variables()   X-Ref
Produce the system variables list.

Parameters:
None

Return: HTML string

_sitedoc_handle_data($text)   X-Ref
No description

sitedoc_get_contacts()   X-Ref
Produce the site-wide contacts (email) list.

Parameters:
None

Return: HTML string

sitedoc_profile_fields()   X-Ref
Produce the user profile fields list.

Parameters:
string - limits the list to only this category

Return: HTML string

sitedoc_url_alias()   X-Ref
Produce the URL Alias list and checks for orphans.

Parameters:
string - limits the list to only this category

Return: HTML string

sitedoc_term_count_nodes($tid = 0, $type = NULL)   X-Ref
No description

sitedoc_filters()   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7