CInbox (Common-Inbox)  0.1
Common functionality for ingesting files for archiving.
Public Member Functions | Static Public Attributes
CISourceHelper Class Reference

List of all members.

Public Member Functions

 setMapping ($mapping)
 cleanFilename ($filename)

Static Public Attributes

static $CHARS_UMLAUTS
static $CHARS_ILLEGAL
static $CHARS_BAD
static $CHARS_UGLY
static $CHARS_PICKY

Member Function Documentation

Replaces possibly dangerous/problematic characters in file- or foldernames.


Member Data Documentation

CISourceHelper::$CHARS_BAD [static]
Initial value:
 array(
            " " => "_",
            "\\" => "_",
            "/" => "_",

            "„" => "\"",
            "“" => "\"",
            "´" => "'",
            "`" => "'",
            )
CISourceHelper::$CHARS_ILLEGAL [static]
Initial value:
 array(
            "?" => "_",
            "*" => "_",
            ":" => "_",
            )
CISourceHelper::$CHARS_PICKY [static]
Initial value:
 array(
            "#" => "_",
            "." => "_",
            "," => "_",
            ";" => "_",
            )
CISourceHelper::$CHARS_UGLY [static]
Initial value:
 array(
            
            "(" => "_",
            ")" => "_",
            "[" => "_",
            "]" => "_",
            "{" => "_",
            "}" => "_",
            "<" => "_",
            ">" => "_",

            "\"" => "_",
            "'" => "_",
            "&" => "and",
            )
CISourceHelper::$CHARS_UMLAUTS [static]
Initial value:
 array(
            "ä" => "ae",
            "ü" => "ue",
            "ö" => "oe",
            "ß" => "ss",

            "Ä" => "AE",
            "Ü" => "UE",
            "Ö" => "OE",
            )

The documentation for this class was generated from the following file:
 All Classes Functions