Class miI18N

Description

Internationalization class

  • copyright: Copyright (c) 2004-2006 Mirchev Ideas Ltd. All rights reserved.

Located in /i18n/en.php (line 14)


	
			
Variable Summary
static mixed $_fromArray
static mixed $_systemMessages
static mixed $_toArray
Method Summary
static void getSystemMessage ( $msgCode)
static string|array htmlEscape (string|array $values)
Variables
static mixed $_fromArray = array('&', '"', '<', '>') (line 15)
  • access: protected
static mixed $_systemMessages = array(
'MI_RECORD_CREATED_SUCCESSFULLY_MSG' => 'Record [ %u ] created successfully',
'MI_RECORD_UPDATED_SUCCESSFULLY_MSG' => 'Record [ %u ] updated successfully',
'MI_RECORD_DELETED_SUCCESSFULLY_MSG' => 'Record [ %u ] deleted successfully',
'MI_RECORD_LIST_FAILED_MSG' => 'Error appeared. Listing records failed: ',
'MI_RECORD_CREATE_FAILED_MSG' => 'Error appeared. Record creation failed: ',
'MI_RECORD_EDIT_FAILED_MSG' => 'Error appeared. Edit operation failed: ',
'MI_RECORD_UPDATE_FAILED_MSG' => 'Error appeared. Record update failed: ',
'MI_RECORD_DELETE_FAILED_MSG' => 'Error appeared. Record delete failed: ',
'MI_EXPECTED_PARAM_ERROR_MSG' => 'Internal error! Expected param %s! Please contact the administrator.',
'MI_RECORDSETPAGER_POSITION_MSG' => 'You are viewing records %u to %u of %u',
'MI_RECORDSETPAGER_POSITION_NO_RECORDS_MSG' => 'There are no records.',
'MI_RECORDSETPAGER_NAVIGATIONS_MSG' => 'First | Previous | Next | Last',
'MI_RECORDS_PER_PAGE_MUST_BE_AT_LEAST_ONE' => 'Records per page must be at least 1.'
)
(line 18)
  • access: protected
static mixed $_toArray = array('&amp;', '&quot;', '&lt;', '&gt;') (line 16)
  • access: protected
Methods
static method getSystemMessage (line 34)
  • access: public
static void getSystemMessage ( $msgCode)
  • $msgCode
static method htmlEscape (line 46)

Static HTML escape function

  • return: the escaped string, or array of strings
  • access: public
static string|array htmlEscape (string|array $values)
  • string|array $values: a string, or array of strings to be escaped

Documentation generated on Thu, 08 May 2008 16:57:27 +0300 by phpDocumentor 1.4.1