/** * Setup. */ public function __construct() { self::$Mb = function_exists('mb_detect_encoding'); // Set the search and replace to escape strings. self::$EscapeSearch = array(self::ESCAPE, self::DELIM, self::NEWLINE, self::QUOTE); // escape must go first self::$EscapeReplace = array(self::ESCAPE . self::ESCAPE, self::ESCAPE . self::DELIM, self::ESCAPE . self::NEWLINE, self::ESCAPE . self::QUOTE); // Load structure. $this->_Structures = VanillaStructure(); }