KTML_4_Lite
[ class tree: KTML_4_Lite ] [ index: KTML_4_Lite ] [ all elements ]

Procedural File: ktml4_functions.inc.php

Source Location: /ktml4_functions.inc.php



Page Details:









KTML4_checkFolder [line 85]

nothing KTML4_checkFolder( string $folder)

Check if a folder exists. If not, create the specified folder.



Tags:

access:  public


Parameters

string   $folder   absolute path of the folder.
[ Top ]



KTML4_debug [line 197]

void KTML4_debug( mixed $var)



[ Top ]



KTML4_deleteImageInfo [line 73]

nothing KTML4_deleteImageInfo( string $folder, string $file)

Delete the informations file of an image.



Tags:

access:  public


Parameters

string   $folder   absolute path of the folder which contains the image
string   $file   the image file name
[ Top ]



KTML4_deleteThumbnails [line 10]

nothing KTML4_deleteThumbnails( string $folder, mixed $oldName, string $file)

Delete the thumbnails of an image.



Tags:

access:  public


Parameters

string   $folder   absolute path of the folder which contains the image
string   $file   the image file name
[ Top ]



KTML4_escapeAttribute [line 192]

string KTML4_escapeAttribute( string $val)

Escape the & " > < from a string with the html entities;



Tags:

return:  the escaped value;


Parameters

string   $val   the value to be escaped;
[ Top ]



KTML4_getImageInfo [line 40]

array KTML4_getImageInfo( string $folder, string $file)

Retrieve image informations from its cache file. Create the cache file if it doesn't exist.



Tags:

return:  the image informations
access:  public


Parameters

string   $folder   absolute path of the folder which contains the image
string   $file   the image file name
[ Top ]



KTML4_isImage [line 109]

boolean KTML4_isImage( string $fileName)

Check if the argument file is an image.



Tags:

return:  true if the file is an image
access:  public


Parameters

string   $fileName   the file
[ Top ]



KTML4_makeValidFilename [line 98]

string KTML4_makeValidFilename( string $fileName)

Check if a file name does not contain invalid characters. If it does, replace them with underscore.



Tags:

return:  the new file name
access:  public


Parameters

string   $fileName   the file name.
[ Top ]



KTML4_prepareErrorMsg [line 182]

string KTML4_prepareErrorMsg( string $errorMsg)

Remove rich content from error messages.



Tags:

return:  the stripped error message
access:  public


Parameters

string   $errorMsg   the error message
[ Top ]



KTML4_prepareGlobals [line 124]

nothing KTML4_prepareGlobals( )

Prepare the allowed_tags_list / denied_tags_list globals for internal use.



Tags:

access:  public


[ Top ]




Documentation generated on Wed, 01 Mar 2006 16:51:56 +0200 by phpDocumentor 1.3.0RC3