content); $lenCodearr = count(self::$CODEARRAY); for ($posX = 1; $posX <= $length; $posX++) { for ($posY = 0; $posY < $lenCodearr; $posY++) { if (substr($this->content, ($posX - 1), 1) == self::$CODEARRAY[$posY]) { $codeString .= self::$CODEARRAY2[$posY] . '1'; } } } return $codeString; } }