IBAN::Countries PHP Method

Countries() public method

public Countries ( )
    public function Countries()
    {
        return iban_countries();
    }

Usage Example

Ejemplo n.º 1
0
 function popup($ibanField, $bicField)
 {
     $F = new HTMLForm("ibanCalc", array("land", "kontonummer", "bankleitzahl", "ibanField", "bicField"));
     $F->getTable()->setColWidth(1, 120);
     $I = new IBAN();
     $l = array();
     foreach ($I->Countries() as $c) {
         $IC = new IBANCountry($c);
         if (!$IC->IsSEPA()) {
             continue;
         }
         $l[$c] = ISO3166::getCountryToCode($c) . " ({$c})";
     }
     asort($l);
     $F->setType("land", "select", "DE", $l);
     $F->setType("ibanField", "hidden");
     $F->setType("bicField", "hidden");
     $F->setValue("ibanField", $ibanField);
     $F->setValue("bicField", $bicField);
     $F->setSaveRMEPCR("Berechnen", "", "IBANCalc", "-1", "calc", "function(t){ \$j('#ibanCalcResult').html(t.responseText); }");
     echo $F . "<div id=\"ibanCalcResult\"></div>";
 }
All Usage Examples Of IBAN::Countries