Module core.Utils

Utilities that aren't related to the user interface.

Functions

Utils.protect_string (str) Transforms a string into a version that can be serialized and then loaded back.
Utils.shallow_copy (source, dest) Performs a shallow copy of a table fields.


Functions

Utils.protect_string (str)
Transforms a string into a version that can be serialized and then loaded back.

Parameters

  • str: String to be 'protected'

Return value:

'Protected' string
Utils.shallow_copy (source, dest)
Performs a shallow copy of a table fields.

Parameters

  • source: The source table
  • dest: The destination table

Valid XHTML 1.0!