[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/ckeditor/ -> ckeditor.install (summary)

(no description)

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

Defines 11 functions

  ckeditor_install()
  ckeditor_schema()
  ckeditor_requirements()
  _ckeditor_requirements_getinstalledversion()
  _ckeditor_requirements_ckfinder_config_check()
  _ckeditor_requirements_ckfinder_filebrowser_enabled()
  _ckeditor_requirements_cookiedomainset()
  ckeditor_update_6100()
  ckeditor_update_6101()
  ckeditor_update_6102()
  ckeditor_uninstall()

Functions
Functions that are not part of a class:

ckeditor_install()   X-Ref
No description

ckeditor_schema()   X-Ref
Implementation of hook_schema().


ckeditor_requirements($phase)   X-Ref
Implementation of hook_requirements().

This hook will issue warnings if:
- The CKEditor source files are not found.
- The CKEditor source files are out of date.
- Quick upload and/or the built-in file browser are used and $cookie_domain is not set.

_ckeditor_requirements_getinstalledversion()   X-Ref
Fetches the version of the installed CKEditor sources.

It tries to locate the version of the CKEditor sources in
ckeditor.js.

Releases have a version number such as "3.0.1".
SVN nightly releases have a minor version number with SVN appended: "3.0 SVN".
SVN checkouts have the string "[Development]".

This function is used by ckeditor_requirements().

return: string Version number (eg. 3.0) of CKEditor. Null if not found in ckeditor_basic.js.

_ckeditor_requirements_ckfinder_config_check($profile_name)   X-Ref
Executed when the built-in file browser is enabled.
Returns FALSE if no errors are found in the config.php file, otherwise it returns an error message.

return: string|boolean

_ckeditor_requirements_ckfinder_filebrowser_enabled()   X-Ref
Checks if any profile requires an explicit setting of $cookie_domain
in settings.php.

%cookie_domain is required when the internal file browser or quick upload is used.

This function is used by ckeditor_requirements().

return: boolean True if any profile requires $cookie_domain.

_ckeditor_requirements_cookiedomainset()   X-Ref
Checks if $cookie_domain was set.

It has to include settings.php again because conf_init() sets
$cookie_domain regardless of its presence in settings.php, so
simply checking $GLOBALS['cookie_domain'] is not possible.

This function is used by ckeditor_requirements().

return: boolean True iff $cookie_domain was set in settings.php.

ckeditor_update_6100()   X-Ref
Implementation of hook_update_N().

Deletes all plus signs from profile names.

ckeditor_update_6101()   X-Ref
Implementation of hook_update_N().

Fixes static paths to plugin files.

ckeditor_update_6102()   X-Ref
Implementation of hook_update_N().

Moves toolbar definition from the configuration file to the database - toolbar definition is now set in the CKEditor profile.

ckeditor_uninstall()   X-Ref
Implementation of hook_uninstall().




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