src/FlexiPeeHP/FlexiBeeRO.php
public static function urlizeId($id)
    {
        if (is_array($id)) {
            $id = rawurlencode('('.self::flexiUrl($id).')');
        } else if (preg_match('/^ext:/', $id)) {
            $id = self::urlEncode($id);
        } else if (preg_match('/^code:/', $id)) {
            $id = self::code(self::urlEncode(self::uncode($id)));
        }
        return $id;
    }
public static function urlizeId($id)
    {
        if (is_array($id)) {
            $id = rawurlencode('('.self::flexiUrl($id).')');
        } else if (preg_match('/^ext:/', $id)) {
            $id = self::urlEncode($id);
        } else if (preg_match('/^code:/', $id)) {
            $id = self::code(self::urlEncode(self::uncode($id)));
        }
        return $id;
    }
public static function urlizeId ( $ id ) { if ( is_array ( $ id ) ) { $ id = rawurlencode ( '(' . self :: flexiUrl ( $ id ) . ')' ) ; } else if ( preg_match ( '/^ext:/' , $ id ) ) { $ id = self :: urlEncode ( $ id ) ; } else if ( preg_match ( '/^code:/' , $ id ) ) { $ id = self :: code ( self :: urlEncode ( self :: uncode ( $ id ) ) ) ; } return $ id ; }
Prepare record ID to use in URL

@param mixed $id

@return string id ready for use in URL
Prepare record ID to use in URL