[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

(no description)

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

Defines 15 functions

  fckeditor_install()
  fckeditor_schema()
  fckeditor_requirements()
  _fckeditor_requirements_isinstalled()
  _fckeditor_requirements_getinstalledversion()
  _fckeditor_requirements_filemanager_config_check()
  _fckeditor_requirements_getavailableversion()
  _fckeditor_requirements_builtin_filebrowser_enabled()
  _fckeditor_requirements_cookiedomainset()
  fckeditor_update_6110()
  fckeditor_update_6130()
  fckeditor_update_6200()
  fckeditor_update_6201()
  fckeditor_update_6202()
  fckeditor_uninstall()

Functions
Functions that are not part of a class:

fckeditor_install()   X-Ref
No description

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


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

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

_fckeditor_requirements_isinstalled()   X-Ref
Determines whether the FCKeditor sources are present

It checks if fckeditor.js is present.

This function is used by fckeditor_requirements()

return: boolean True if FCKeditor is installed

_fckeditor_requirements_getinstalledversion()   X-Ref
Fetches the version of the installed FCKeditor sources

It tries to locate the version of the FCKeditor sources in
fckeditor.js

Releases have a version number such as "2.6.4.1"
SVN nightly releases have a minor version number with SVN appended: "2.6 SVN"
SVN check outs have the string "[Development]"

This function is used by fckeditor_requirements()

return: string Version number (eg. 2.6.2) of FCKeditor. Null if not found in fckeditor.js

_fckeditor_requirements_filemanager_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

_fckeditor_requirements_getavailableversion(&$error)   X-Ref
Fetches the version of the latest version of FCKeditor available

It tries to locate the latest version of FCKeditor in the source of
http://fckeditor.net/. It might fail when the connection fails.

This function is used by fckeditor_requirements()

param: $error string This string will be filled with the error reason or be untouched if no error occured
return: string Version number (eg. 2.6.2) of the latest version of FCKeditor. Null if an error occured

_fckeditor_requirements_builtin_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 fckeditor_requirements()

return: boolean True iff any profile requires $cookie_domain

_fckeditor_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 fckeditor_requirements()

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

fckeditor_update_6110()   X-Ref
Update from 6.x-1.0 to 6.x-1.1


fckeditor_update_6130()   X-Ref
Update from 6.x-1.2 to 6.x-1.3

Change file browser selection method

fckeditor_update_6200()   X-Ref
Update from 6.x-1.x to 6.x-2.x

Change storage of exclusion modes

fckeditor_update_6201()   X-Ref
Update from 6.x-1.x to 6.x-2.x

Add show_fieldnamehint setting, defaults to t ( = true)

fckeditor_update_6202()   X-Ref
Add autofixplaintext setting, defaults to f ( = false)


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




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