ccExpireDate

Navigation:  Development > Function Reference > Helpers > Html >

ccExpireDate

Previous pageReturn to chapter overviewNext page

Create a Credit Card Expire Date Selection Tag.
 
App::Html()->ccExpireDate(Name,[Default],[Value],[Option]);

 

Parameter

Description

Name

Name of the Input element

Default

Default selected value

Value

Start and End date of Year

Options

HTML Attributes

 

See bellow example:
 

//Example 1
echo App::Html()->ccExpireDate("data[Checkout][cc_exp]");
 
//Example 2
echo App::Html()
    ->ccExpireDate(
        "data[Checkout][cc_exp]",
        "2015-05",
        array("Start"=>"2010","End"=>"2020"),
        array("class"=>"app_input")
    );