[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2008 Frederico Caldeira Knabben == BEGIN LICENSE ==

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

Defines 21 functions

  fckeditor_help()
  fckeditor_user()
  fckeditor_admin()
  fckeditor_perm()
  fckeditor_elements()
  fckeditor_filter_xss()
  fckeditor_process_form()
  fckeditor_process_input()
  fckeditor_menu()
  fckeditor_init()
  fckeditor_file_download()
  fckeditor_profile_load()
  fckeditor_is_enabled()
  fckeditor_process_textarea()
  fckeditor_sorted_roles()
  fckeditor_is_compatible_client()
  fckeditor_path()
  fckeditor_user_get_setting()
  fckeditor_user_get_profile()
  fckeditor_get_nodetype()
  fckeditor_path_to_theme()

Functions
Functions that are not part of a class:

fckeditor_help($path, $arg)   X-Ref
Implementation of hook_help().

This function delegates execution to fckeditor_help_delegate() in fckeditor.help.inc to
lower the amount of code in fckeditor.module

fckeditor_user($type, $edit, &$user, $category = NULL)   X-Ref
Implementation of hook_user().

This function delegates execution to fckeditor_user_delegate() in fckeditor.user.inc to
lower the amount of code in fckeditor.module

fckeditor_admin($arg = NULL)   X-Ref
No description

fckeditor_perm()   X-Ref
Implementation of hook_perm().
Administer -> User management -> Permissions


fckeditor_elements()   X-Ref
Implementation of hook_elements().
Replace textarea with FCKeditor using callback function (fckeditor_process_textarea)


fckeditor_filter_xss()   X-Ref
AJAX callback - XSS filter


fckeditor_process_form(&$form)   X-Ref
No description

fckeditor_process_input($element)   X-Ref
Allow more than 255 chars in Allowed HTML tags textfield


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


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


fckeditor_file_download($file)   X-Ref
Implementation of hook_file_download().
Support for private downloads.
FCKeditor does not implement any kind of potection on private files.


fckeditor_profile_load($name = '', $clear = FALSE)   X-Ref
Load all profiles. Just load one profile if $name is passed in.


fckeditor_is_enabled($excl_mode, $excl_regex, $element_id, $get_q)   X-Ref

param: int $excl_mode 1/include, exclude otherwise
param: string $excl_regex paths (drupal paths with ids attached)
param: string $element_id current ID
param: string $get_q current path
return: boolean

fckeditor_process_textarea($element)   X-Ref
This function create the HTML objects required for the FCKeditor

param: $element
return:

fckeditor_sorted_roles($clear = FALSE)   X-Ref
sort roles according to precedence settings. previously sorted roles are followed by latest added roles.


fckeditor_is_compatible_client()   X-Ref
Test if client can render the FCKeditor
Use built-in test method in fckeditor.php
If fckeditor.php is not found, return false (probably in such case fckeditor is not installed correctly)

return:

fckeditor_path($local = FALSE)   X-Ref
Read FCKeditor path from Global profile

return:

fckeditor_user_get_setting($user, $profile, $setting)   X-Ref
No description

fckeditor_user_get_profile($user, $element_id = NULL)   X-Ref
No description

fckeditor_get_nodetype($get_q)   X-Ref
No description

fckeditor_path_to_theme()   X-Ref
No description



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7