/plugins/newmail/functions.phpNaSMail NewMail plugin
Functions
include_once
(SM_PATH.'plugins/newmail/config.php')
(line 35)
include_once
(SM_PATH.'config/newmail_config.php')
(line 33)
load config
include_once
(SM_PATH.'plugins/newmail/config_default.php')
(line 28)
load default config
CheckNewMailboxSound (line 286)
Checks if mailbox contains new messages.
Order of arguments was changed in 1.3 version.
newmail_create_media_tags (line 720)
Detects used media type and creates all need tags
newmail_detect_filetype (line 320)
Function tries to detect if file contents match declared file type
Function returns default extension for detected mime type or 'false'
TODO: use $contents to check if file is in specified type
newmail_get_mediatype (line 354)
Function tries to detect uploaded file type
newmail_get_mediatype_by_ext (line 388)
Function provides filetype detection for browsers, that upload files with application/octet-stream file type.
Ex. some version of Opera.
newmail_media_embed (line 576)
Creates embed tags of multimedia object
docs about embed Apple: http://www.apple.com/quicktime/authoring/embed.html
Warnings: * Returned string does not contain html closing tag. * embed tags will be created by newmail_media_objects() only when $newmail_mediacompat_mode option is enabled. Option is not enabled by default in order to comply to w3.org specs. * This is internal function, use newmail_media_objects() instead
newmail_media_embed_close (line 683)
Adds closing tags for object
Warning: * This is internal function, use newmail_media_objects() instead
newmail_media_object (line 460)
Creates object tags of multimedia object for browsers that comply to w3.org specifications.
Warnings:
newmail_media_objects (line 409)
Creates html object tags of multimedia object
Main function that creates multimedia object tags
newmail_media_object_close (line 660)
Adds closing tags for object
Warning: * This is internal function, use newmail_media_objects() instead
newmail_media_object_ie (line 518)
Creates multimedia object tags for Internet Explorer (Win32)
Warning: * Returned string does not contain html closing tag, because this multimedia object can include other media objects. * This is internal function, use newmail_media_objects() instead
newmail_media_object_ie_close (line 637)
Adds closing tags for ie object
Warning: * This is internal function, use newmail_media_objects() instead
newmail_media_prepare_args (line 707)
Converts media attributes to string
Warning: * attribute values are automatically sanitized by htmlspecialchars() * This is internal function, use newmail_media_objects() instead
newmail_optpage_register_block_function (line 43)
Register newmail option block
newmail_plugin_function (line 181)
Insert needed data in left_main
newmail_pref_function (line 139)
Load newmail plugin settings
newmail_sav_function (line 62)
Save newmail plugin settings
newmail_set_loadinfo_function (line 168)
Set loadinfo data
Used by option page when saving settings.
Documentation generated on Sun, 22 Nov 2009 17:36:33 +0200 by phpDocumentor 1.4.3