Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
form.phtml File Reference

Go to the source code of this file.

Variables

 $code = $block->escapeHtml($block->getMethodCode())
 
 $ccExpMonth = $block->getInfoData('cc_exp_month')
 
 $ccExpYear = $block->getInfoData('cc_exp_year')
 
 $ccType = $block->getInfoData('cc_type')
 
 $content
 
foreach( $block->getCcAvailableTypes() as $typeCode=> $typeName)( $typeCode) ?>" <?php if ($typeCode endif == $ccType):
 

Variable Documentation

◆ $ccExpMonth

$ccExpMonth = $block->getInfoData('cc_exp_month')

Definition at line 11 of file form.phtml.

◆ $ccExpYear

$ccExpYear = $block->getInfoData('cc_exp_year')

Definition at line 12 of file form.phtml.

◆ $ccType

$ccType = $block->getInfoData('cc_type')

Definition at line 13 of file form.phtml.

◆ $code

$code = $block->escapeHtml($block->getMethodCode())

Definition at line 10 of file form.phtml.

◆ $content

$content
Initial value:
= '<img src=\"' . $block->getViewFileUrl('Magento_Checkout::cvv.png') . '\" alt=\"' .
$block->escapeHtml(__('Card Verification Number Visual Reference')) . '\" title=\"' .
$block->escapeHtml(__('Card Verification Number Visual Reference')) . '\" />'
__()
Definition: __.php:13
$block
Definition: block.php:8

Definition at line 14 of file form.phtml.

◆ endif

endforeachforeach($block->getCcMonths() as $k => $v) ($k) ( $k==$ccExpMonth) endforeachforeach($block->getCcYears() as $k => $v) ($k) ( $k==$ccExpYear) endforeachif ($block->hasVerification()) (__('Card Verification Number')) ?></span> </label> <div class endif == $ccType):

Definition at line 50 of file form.phtml.