public static function getCreditCardLogoName($visa_msc = false, $amex = false, $jcb = false) {

    if( $visa_msc == false && $amex == false  && $jcb == false ) {
      return null;
    }

    $logoName = '';

    if( $visa_msc ) {
      $logoName .= 'visa_msc_';
    }
    if( $amex ) {
      $logoName .= 'amex_';
    }
    if( $jcb ) {
      $logoName .= 'jcb_';
    }

    $logoName .= '40px.png';

    return $logoName;
  }
public static function getCreditCardLogoName($visa_msc = false, $amex = false, $jcb = false) {

    if( $visa_msc == false && $amex == false  && $jcb == false ) {
      return null;
    }

    $logoName = '';

    if( $visa_msc ) {
      $logoName .= 'visa_msc_';
    }
    if( $amex ) {
      $logoName .= 'amex_';
    }
    if( $jcb ) {
      $logoName .= 'jcb_';
    }

    $logoName .= '40px.png';

    return $logoName;
  }
public static function getCreditCardLogoName ( $ visa_msc = false , $ amex = false , $ jcb = false ) { if ( $ visa_msc == false && $ amex == false && $ jcb == false ) { return null ; } $ logoName = '' ; if ( $ visa_msc ) { $ logoName .= 'visa_msc_' ; } if ( $ amex ) { $ logoName .= 'amex_' ; } if ( $ jcb ) { $ logoName .= 'jcb_' ; } $ logoName .= '40px.png' ; return $ logoName ; }
returns logname by given credit card types and size

@param bool $visa_msc
@param bool $amex
@param bool $jcb
@param bool $diners
@param integer $size
@param string $layout
@return string
returns logname by given credit card types and size