[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

(no description)

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

Defines 9 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_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 check outs 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 built-in file browser is enabled
Returns FALSE if no errors are found in 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 filebrowser or quick upload is used

This function is used by ckeditor_requirements()

return: boolean True iff any profile requires $cookie_domain

_ckeditor_requirements_cookiedomainset()   X-Ref
Checks if $cookie_domain has been 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().

Delete all plus signs from profiles name

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




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