Class Message

Description

Any class wich extend ObjectCached can use a function cache using xRemembered, etc.

  • author: SimpliciWeb
  • version: $Id: message.class.php 804 2008-01-08 17:05:37Z stephanet $

Located in /core/internal_components/common/message/message.class.php (line 133)


	
			
Variable Summary
Method Summary
 string addError (string $p_type, string $p_id, string $current_message_error)
 void getMessagesToAssign ( &$message, string $message)
 bool thereIsAnError ()
 void xMakeErrorMessage ( &$r_message, array $array_erros, string $r_message)
Variables
array $errors = array() (line 140)

Pushed errors

array $m_array_error_registered = NULL (line 165)

Error registered

array $m_array_error_registered_by_iderror = NULL (line 171)

Error registered by id

bool $m_is_registering = false (line 159)

Stop the message system

siteInformation $m_object_siteinformation = NULL (line 146)

SiteInformation Object

bool $there_is_an_error = false (line 152)

There is an error

Methods
Constructor Message (line 178)

Constructor, init the requests and objects

Message Message ()
addError (line 279)

Add an error

string addError (string $p_type, string $p_id, string $current_message_error)
  • string $p_type
  • string $p_id
  • string $current_message_error
endDisablingError (line 237)

Disable Error Message registering

bool endDisablingError ()
getMessagesDuringDisabling (line 250)

Get the messages during disabling

Used in import/export to not show errors directly but to show it after

string getMessagesDuringDisabling ()
getMessagesToAssign (line 193)

Get messages to assign

void getMessagesToAssign ( &$message, string $message)
  • string $message
  • &$message
startDisablingError (line 225)

Enable Error Message registering

bool startDisablingError ()
thereIsAnError (line 262)

Return if a message has been encountred

bool thereIsAnError ()
xMakeErrorMessage (line 206)

Format the errors messages

  • access: private
void xMakeErrorMessage ( &$r_message, array $array_erros, string $r_message)
  • string $r_message
  • array $array_erros
  • &$r_message

Documentation generated on Tue, 25 Mar 2008 15:35:14 +0100 by phpDocumentor 1.3.2