Skip to content

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!

icms_core_Message

Create and display messages on the screen

  • Class name: icms_core_Message
  • Namespace:

Methods

warning

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.

Arguments

  • msg string
  • title string
  • render bool

error

mixed icms_core_Message::error(string msg, string title, bool render)

Replaces icms_error_msg()

  • Visibility: public
  • This method is static.

Arguments

  • msg string
  • title string
  • render bool

result

void icms_core_Message::result(string msg, string title)

Render result message (echo, so no return string)

  • Visibility: public
  • This method is static.

Arguments

  • msg string
  • title string

confirm

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.

Arguments

  • 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>
Clone this wiki locally