Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Payment_Block_Catalog_Product_View_Profile
  • Mage_Payment_Block_Form
  • Mage_Payment_Block_Form_Banktransfer
  • Mage_Payment_Block_Form_Cashondelivery
  • Mage_Payment_Block_Form_Cc
  • Mage_Payment_Block_Form_Ccsave
  • Mage_Payment_Block_Form_Checkmo
  • Mage_Payment_Block_Form_Container
  • Mage_Payment_Block_Form_Purchaseorder
  • Mage_Payment_Block_Info
  • Mage_Payment_Block_Info_Banktransfer
  • Mage_Payment_Block_Info_Cc
  • Mage_Payment_Block_Info_Ccsave
  • Mage_Payment_Block_Info_Checkmo
  • Mage_Payment_Block_Info_Container
  • Mage_Payment_Block_Info_Purchaseorder
  • Mage_Payment_Helper_Data
  • Mage_Payment_Model_Billing_AgreementAbstract
  • Mage_Payment_Model_Config
  • Mage_Payment_Model_Info
  • Mage_Payment_Model_Method_Abstract
  • Mage_Payment_Model_Method_Banktransfer
  • Mage_Payment_Model_Method_Cashondelivery
  • Mage_Payment_Model_Method_Cc
  • Mage_Payment_Model_Method_Ccsave
  • Mage_Payment_Model_Method_Checkmo
  • Mage_Payment_Model_Method_Free
  • Mage_Payment_Model_Method_Purchaseorder
  • Mage_Payment_Model_Observer
  • Mage_Payment_Model_Paygate_Result
  • Mage_Payment_Model_Recurring_Profile
  • Mage_Payment_Model_Source_Cctype
  • Mage_Payment_Model_Source_Invoice

Interfaces

  • Mage_Payment_Model_Billing_Agreement_MethodInterface
  • Mage_Payment_Model_Recurring_Profile_MethodInterface

Exceptions

  • Mage_Payment_Exception
  • Mage_Payment_Model_Info_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Payment_Block_Info_Cc

Credit card generic payment info

Varien_Object
Extended by Mage_Core_Block_Abstract
Extended by Mage_Core_Block_Template
Extended by Mage_Payment_Block_Info
Extended by Mage_Payment_Block_Info_Cc

Direct known subclasses

Mage_Paygate_Block_Authorizenet_Info_Cc, Mage_Payment_Block_Info_Ccsave, Mage_Paypal_Block_Payment_Info, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Pbridge_Verisign

Indirect known subclasses

Mage_Paypal_Block_Hosted_Pro_Info, Mage_Paypal_Block_Payflow_Advanced_Info, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Pbridge_Paypaluk_Direct, Mage_Paypal_Block_Payflow_Link_Info, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Authorizenet, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Ccsave, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Paypal_Abstract, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Paypal_Express, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Paypal_Mecl, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Pbridge_Authorizenet, Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Pbridge_Paypal_Direct
Package: Mage\Payment
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Payment/Block/Info/Cc.php
Methods summary
public string
# getCcTypeName( )

Retrieve credit card type name

Retrieve credit card type name

Returns

string
public boolean
# hasCcExpDate( )

Whether current payment method has credit card expiration info

Whether current payment method has credit card expiration info

Returns

boolean
public string
# getCcExpMonth( )

Retrieve CC expiration month

Retrieve CC expiration month

Returns

string
public Zend_Date
# getCcExpDate( )

Retrieve CC expiration date

Retrieve CC expiration date

Returns

Zend_Date
protected Varien_Object
# _prepareSpecificInformation( Varien_Object|array $transport = null )

Prepare credit card related payment info

Prepare credit card related payment info

Parameters

$transport
Varien_Object|array
$transport

Returns

Varien_Object

Overrides

Mage_Payment_Block_Info::_prepareSpecificInformation()
protected string
# _formatCardDate( string $year, string $month )

Format year/month on the credit card

Format year/month on the credit card

Parameters

$year
string
$year
$month
string
$month

Returns

string
Methods inherited from Mage_Payment_Block_Info
_construct(), getChildPdfAsArray(), getInfo(), getIsSecureMode(), getMethod(), getSpecificInformation(), getValueAsArray(), toPdf()
Methods inherited from Mage_Core_Block_Template
_getAllowSymlinks(), _toHtml(), assign(), fetchView(), getArea(), getBaseUrl(), getCacheKeyInfo(), getDirectOutput(), getJsUrl(), getObjectData(), getShowTemplateHints(), getTemplate(), getTemplateFile(), renderView(), setScriptPath(), setTemplate()
Methods inherited from Mage_Core_Block_Abstract
__(), _afterCacheUrl(), _afterToHtml(), _beforeCacheUrl(), _beforeChildToHtml(), _beforeToHtml(), _getChildHtml(), _getSidPlaceholder(), _getUrlModel(), _getUrlModelClass(), _loadCache(), _prepareLayout(), _saveCache(), addToChildGroup(), addToParentGroup(), append(), countChildren(), escapeHtml(), escapeUrl(), formatDate(), formatTime(), getAction(), getAnonSuffix(), getBlockAlias(), getBlockHtml(), getCacheKey(), getCacheLifetime(), getCacheTags(), getChild(), getChildChildHtml(), getChildData(), getChildGroup(), getChildHtml(), getHelper(), getIsAnonymous(), getLayout(), getMessagesBlock(), getModuleName(), getNameInLayout(), getParentBlock(), getRequest(), getSkinUrl(), getSortedChildBlocks(), getSortedChildren(), getUrl(), getUrlBase64(), getUrlEncoded(), helper(), insert(), jsQuoteEscape(), setAnonSuffix(), setAttribute(), setBlockAlias(), setChild(), setFrameTags(), setIsAnonymous(), setLayout(), setMessagesBlock(), setNameInLayout(), setParentBlock(), sortChildren(), stripTags(), toHtml(), unsetCallChild(), unsetChild(), unsetChildren()
Constants inherited from Mage_Core_Block_Template
XML_PATH_DEBUG_TEMPLATE_HINTS, XML_PATH_DEBUG_TEMPLATE_HINTS_BLOCKS, XML_PATH_TEMPLATE_ALLOW_SYMLINK
Constants inherited from Mage_Core_Block_Abstract
CACHE_GROUP
Properties inherited from Mage_Payment_Block_Info
$_paymentSpecificInformation
Properties inherited from Mage_Core_Block_Template
$_allowSymlinks, $_baseUrl, $_jsUrl, $_showTemplateHints, $_showTemplateHintsBlocks, $_template, $_viewDir, $_viewVars
Properties inherited from Mage_Core_Block_Abstract
$_alias, $_anonSuffix, $_childGroups, $_children, $_childrenHtmlCache, $_frameCloseTag, $_frameOpenTag, $_isAnonymous, $_layout, $_messagesBlock, $_nameInLayout, $_parent, $_parentBlock, $_request, $_sortInstructions, $_sortedChildren, $_urlModel
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0