Horde_Db_Adapter_Postgresql_Column::binaryToStringCallback PHP Method

binaryToStringCallback() public method

Callback function for binaryToString().
public binaryToStringCallback ( $matches )
    public function binaryToStringCallback($matches)
    {
        if ($matches[0] == '\\\'') {
            return "'";
        } elseif ($matches[0] == '\\\\\\\\') {
            return '\\';
        }
        return chr(octdec(substr($matches[0], -3)));
    }