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) |
static void | checkExtension(mixed file, mixed ext) |
static void | checkboxEnabled(mixed n, mixed v, mixed disabled, mixed extra) |
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 | inputCheckbox(mixed n, mixed v, mixed ck, mixed disabled, mixed extra) |
static void | inputFile(mixed n, mixed v, mixed s) |
static void | inputHidden(mixed n, mixed v, mixed id, mixed js) |
static void | inputOption(mixed n, mixed v, mixed s) |
static void | inputPassword(mixed n, mixed v, mixed s, mixed m) |
static void | inputRadio(mixed n, mixed v, mixed ck) |
static void | inputReset(mixed n, mixed v, mixed id, mixed js, mixed disabled) |
static void | inputSubmit(mixed n, mixed v, mixed id, mixed js, mixed disabled) |
static void | inputText(mixed n, mixed v, mixed s, mixed m, mixed id, mixed js, mixed disabled) |
static void | inputTextArea(mixed n, mixed v, mixed r, mixed c, mixed extra) |
static void | isAlphanumeric(mixed str, mixed n) |
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 w3, mixed url, mixed text, mixed target) |
static void | makePagesNavigator(mixed total, mixed max, mixed pg, mixed link, mixed rs, mixed field, mixed _ID) |
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) |
static void | renderImg(mixed file, mixed alt, mixed width, mixed height, mixed path, mixed border, mixed align) |
static string | renderJavaScriptConstants(mixed w3) Render all the constants used by java script |
static void | selectAlign(mixed w3, mixed n, mixed v) |
static void | selectAlignImage(mixed w3, mixed n, mixed v) |
static void | selectArray(mixed n, mixed _L, mixed _V, mixed d, mixed js) |
static void | selectArrayEquals(mixed n, mixed _V, mixed d, mixed js, mixed path, mixed preview_image, mixed extra) |
static void | selectDirectory(mixed path, mixed name, mixed d, mixed js, mixed dir_only, mixed preview_image, mixed extra) |
static void | selectGender(mixed w3, mixed n, mixed v) |
static void | selectRenderMode(mixed w3, mixed n, mixed v, mixed admin) |
static void | selectYesNo(mixed w3, mixed n, mixed v) |
static void | |
static void | |
static void | unquoteDB(mixed str) |
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)
public static void checkExtension(mixed file, mixed ext)
public static void checkboxEnabled(mixed n, mixed v, mixed disabled, mixed extra)
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 inputCheckbox(mixed n, mixed v, mixed ck, mixed disabled, mixed extra)
public static void inputFile(mixed n, mixed v, mixed s)
public static void inputHidden(mixed n, mixed v, mixed id, mixed js)
public static void inputOption(mixed n, mixed v, mixed s)
public static void inputPassword(mixed n, mixed v, mixed s, mixed m)
public static void inputRadio(mixed n, mixed v, mixed ck)
public static void inputReset(mixed n, mixed v, mixed id, mixed js, mixed disabled)
public static void inputSubmit(mixed n, mixed v, mixed id, mixed js, mixed disabled)
public static void inputText(mixed n, mixed v, mixed s, mixed m, mixed id, mixed js, mixed disabled)
public static void inputTextArea(mixed n, mixed v, mixed r, mixed c, mixed extra)
public static void isAlphanumeric(mixed str, mixed n)
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 w3, mixed url, mixed text, mixed target)
public static void makePagesNavigator(mixed total, mixed max, mixed pg, mixed link, mixed rs, mixed field, mixed _ID)
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)
public static void renderImg(mixed file, mixed alt, mixed width, mixed height, mixed path, mixed border, mixed align)
public static string renderJavaScriptConstants(mixed w3)
Render all the constants used by java script
public static void selectAlign(mixed w3, mixed n, mixed v)
public static void selectAlignImage(mixed w3, mixed n, mixed v)
public static void selectArray(mixed n, mixed _L, mixed _V, mixed d, mixed js)
public static void selectArrayEquals(mixed n, mixed _V, mixed d, mixed js, mixed path, mixed preview_image, mixed extra)
public static void selectDirectory(mixed path, mixed name, mixed d, mixed js, mixed dir_only, mixed preview_image, mixed extra)
public static void selectGender(mixed w3, mixed n, mixed v)
public static void selectRenderMode(mixed w3, mixed n, mixed v, mixed admin)
public static void selectYesNo(mixed w3, mixed n, mixed v)
public static void setIDToInt()
public static void stripMagicQuotes()
public static void unquoteDB(mixed str)