[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/ckeditor/includes/ -> ckeditor.lib.inc (summary)

CKEditor - The text editor for Internet - http://ckeditor.com Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. == BEGIN LICENSE ==

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

Defines 11 functions

  ckeditor_get_document_root_full_path()
  ckeditor_resolve_url()
  ckeditor_load_toolbar_options()
  ckeditor_load_skin_options()
  ckeditor_load_lang_options()
  ckeditor_user_get_setting()
  ckeditor_user_get_profile()
  ckeditor_sorted_roles()
  ckeditor_is_enabled()
  _ckeditor_script_path()
  _ckeditor_requirements_isinstalled()

Functions
Functions that are not part of a class:

ckeditor_get_document_root_full_path()   X-Ref
Guess the absolute server path to the document root
Usually it should return $_SERVER['DOCUMENT_ROOT']

return: string|boolean

ckeditor_resolve_url($path)   X-Ref
Emulates the asp Server.mapPath function.
Given an url path return the physical directory that it corresponds to.

Returns absolute path or false on failure

param: string $path
return: @return string|boolean

ckeditor_load_toolbar_options()   X-Ref
No description

ckeditor_load_skin_options()   X-Ref
No description

ckeditor_load_lang_options()   X-Ref
No description

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

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

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


ckeditor_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

_ckeditor_script_path()   X-Ref
No description

_ckeditor_requirements_isinstalled()   X-Ref
Determines whether the CKEditor sources are present

It checks if ckeditor.js is present.

This function is used by ckeditor_requirements()

return: boolean True if CKEditor is installed



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