コード例 #1
0
ファイル: php-iban.php プロジェクト: gitter-badger/php-iban
function iban_get_account_part($iban)
{
    $iban = iban_to_machine_format($iban);
    $country = iban_get_country_part($iban);
    $start = iban_country_get_branchid_stop_offset($country);
    if ($start == '') {
        $start = iban_country_get_bankid_stop_offset($country);
    }
    if ($start != '') {
        $bban = iban_get_bban_part($iban);
        return substr($bban, $start + 1);
    }
    return '';
}
コード例 #2
0
ファイル: oophp-iban.php プロジェクト: globalcitizen/php-iban
 public function BankIDStopOffset()
 {
     return iban_country_get_bankid_stop_offset($this->code);
 }