-
Notifications
You must be signed in to change notification settings - Fork 35
icms_core_Message
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
Create and display messages on the screen
- Class name: icms_core_Message
- Namespace:
mixed icms_core_Message::warning(string msg, string title, bool render)
Replaces xoops_warning() and icms_warning_msg() Given either an array of messages or a string, and an optional title, create a formatted warning message
- Visibility: public
- This method is static.
- msg string
- title string
- render bool
mixed icms_core_Message::error(string msg, string title, bool render)
Replaces icms_error_msg()
- Visibility: public
- This method is static.
- msg string
- title string
- render bool
void icms_core_Message::result(string msg, string title)
Render result message (echo, so no return string)
- Visibility: public
- This method is static.
- msg string
- title string
void icms_core_Message::confirm(array hiddens, string action, string msg, string submit, bool addtoken)
Will render (echo) the form so no return in this function
- Visibility: public
- This method is static.
- hiddens array - <p>Array of Hidden values</p>
- action string - <p>The Form action</p>
- msg string - <p>The message in the confirm form</p>
- submit string - <p>The text on the submit button</p>
- addtoken bool - <p>Whether or not to add a security token</p>