Name

pkit_message — Adds message to PKIT_MESSAGES tag

Synopsis

      # regular message
      $model->pkit_message("Your listing has been deleted.");
      # error message
      $model->pkit_message("You did not fill out the required fields.",
               is_error => 1);
     

Description

Adds a message to be displayed to the user. The message can displayed using the <PKIT_MESSAGES> tag.

To add an error message, set is_error to a true value.

Note that the message is passed along in the URI if you perform a redirect using the pkit_redirect method.