wm3Util
public class wm3Util
Constructor Summary | |
---|---|
wm3Util() |
Method Summary | |
---|---|
static void | actionButton(mixed link, mixed img, mixed alt, mixed accept, mixed text, mixed border, mixed w, mixed h, mixed align, mixed target, mixed path) |
static void | checkExtension(mixed file, mixed ext) |
static void | checkMinimumVersion(mixed v1, mixed v2) |
static void | cutExtension(mixed file) |
static void | |
static void | dieMessage(mixed label, mixed msg) |
static void | |
static void | |
static String | getBBCodeText(webmatic3 w3, String content, bool flag_news, String link_news, bool flag_code) Render bbcode text (replace bbcode tags with relative html code) for a page, news and other website content |
static void | getFileExists(mixed first_file, mixed second_file) |
static void | getFirstFile(mixed path) |
static String | getHtmlText(webmatic3 w3, String content, bool flag_news, String link_news) Render html for a page, news and other website content |
static void | getPhpInformations(mixed fl) |
static String | getPlainText(webmatic3 w3, String content, bool flag_news, String link_news) Render plain text for a page, news and other website content |
static void | helpButton(mixed file, mixed help, mixed alt, mixed width, mixed height, mixed path, mixed border, mixed align) |
static void | isAlphanumeric(mixed str, mixed n) |
static void | isApacheModuleLoaded(mixed module) |
static void | isDate(mixed date, mixed year_from, mixed year_to) |
static void | isEmail(mixed email) |
static void | isFolderWritable(mixed path) |
static void | isImageUrl(mixed url) |
static void | isImageUrlRelative(mixed url) |
static void | isInteger(mixed num) |
static void | isLogin(mixed login) |
static void | isUrl(mixed url) |
static void | isUrlRelative(mixed url) |
static void | makeLink(mixed url, mixed text, mixed target) |
static void | makePercentageBar(mixed w3, mixed v, mixed w, mixed h, mixed horizontal, mixed alt) |
static void | makeStars(mixed w3, mixed v, mixed n) |
static String | metaRefresh(String time, int url) Refresh browser content to $url after $time seconds (using meta refresh) |
static void | |
static void | |
static void | quoteDB(mixed str) |
static void | quoteHTML(mixed s, mixed only_quote) |
static String | renderContent(webmatic3 w3, String content, int render_mode, bool flag_news, String link_news) Render a page, news and other website contents in the right render mode |
static void | renderDate(mixed w3, mixed ts, mixed languageID, mixed full, mixed msg, mixed time, mixed day) |
static void | renderEditor(mixed w3, mixed form_js_obj, mixed textarea_js_obj, mixed mode_js_obj, mixed editor_type, mixed hide_tinymce_buttons) |
static void | renderImg(mixed file, mixed alt, mixed width, mixed height, mixed path, mixed border, mixed align, mixed name, mixed js) |
static String | renderJavaScriptConstants(webmatic3 w3) Render all the constants used by java script |
static void | selectAlign(mixed w3) |
static void | selectAlignImage(mixed w3) |
static void | selectArray(mixed _L, mixed _V) |
static void | selectArrayEquals(mixed _V) |
static void | selectDirectory(mixed path, mixed dir_only) |
static void | selectGender(mixed w3) |
static void | selectRenderMode(mixed w3, mixed admin) |
static void | selectVisibility(mixed w3, mixed group) |
static void | selectYesNo(mixed w3) |
static void | |
static void | |
static void | unquoteDB(mixed str) |
static void |
public wm3Util()
public static void actionButton(mixed link, mixed img, mixed alt, mixed accept, mixed text, mixed border, mixed w, mixed h, mixed align, mixed target, mixed path)
public static void checkExtension(mixed file, mixed ext)
public static void checkMinimumVersion(mixed v1, mixed v2)
public static void cutExtension(mixed file)
public static void delayTime()
public static void dieMessage(mixed label, mixed msg)
public static void generatePassword()
public static void getBBCodeArray()
public static String getBBCodeText(webmatic3 w3, String content, bool flag_news, String link_news, bool flag_code)
Render bbcode text (replace bbcode tags with relative html code) for a page, news and other website content
public static void getFileExists(mixed first_file, mixed second_file)
public static void getFirstFile(mixed path)
public static String getHtmlText(webmatic3 w3, String content, bool flag_news, String link_news)
Render html for a page, news and other website content
public static void getPhpInformations(mixed fl)
public static String getPlainText(webmatic3 w3, String content, bool flag_news, String link_news)
Render plain text for a page, news and other website content
public static void helpButton(mixed file, mixed help, mixed alt, mixed width, mixed height, mixed path, mixed border, mixed align)
public static void isAlphanumeric(mixed str, mixed n)
public static void isApacheModuleLoaded(mixed module)
public static void isDate(mixed date, mixed year_from, mixed year_to)
public static void isEmail(mixed email)
public static void isFolderWritable(mixed path)
public static void isImageUrl(mixed url)
public static void isImageUrlRelative(mixed url)
public static void isInteger(mixed num)
public static void isLogin(mixed login)
public static void isUrl(mixed url)
public static void isUrlRelative(mixed url)
public static void makeLink(mixed url, mixed text, mixed target)
public static void makePercentageBar(mixed w3, mixed v, mixed w, mixed h, mixed horizontal, mixed alt)
public static void makeStars(mixed w3, mixed v, mixed n)
public static String metaRefresh(String time, int url)
Refresh browser content to $url after $time seconds (using meta refresh)
public static void microtimeFloat()
public static void parseSearchFilter()
public static void quoteDB(mixed str)
public static void quoteHTML(mixed s, mixed only_quote)
public static String renderContent(webmatic3 w3, String content, int render_mode, bool flag_news, String link_news)
Render a page, news and other website contents in the right render mode
public static void renderDate(mixed w3, mixed ts, mixed languageID, mixed full, mixed msg, mixed time, mixed day)
public static void renderEditor(mixed w3, mixed form_js_obj, mixed textarea_js_obj, mixed mode_js_obj, mixed editor_type, mixed hide_tinymce_buttons)
public static void renderImg(mixed file, mixed alt, mixed width, mixed height, mixed path, mixed border, mixed align, mixed name, mixed js)
public static String renderJavaScriptConstants(webmatic3 w3)
Render all the constants used by java script
public static void selectAlign(mixed w3)
public static void selectAlignImage(mixed w3)
public static void selectArray(mixed _L, mixed _V)
public static void selectArrayEquals(mixed _V)
public static void selectDirectory(mixed path, mixed dir_only)
public static void selectGender(mixed w3)
public static void selectRenderMode(mixed w3, mixed admin)
public static void selectVisibility(mixed w3, mixed group)
public static void selectYesNo(mixed w3)
public static void setIDToInt()
public static void stripMagicQuotes()
public static void unquoteDB(mixed str)
public static void useTinyMCE()