SilverCart\Model\Pages\PaymentMethodsPage
Page to display available payment methods.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class PaymentMethodsPage
extends MetaNavigationHolder
{
- // members
- private static string $table_name = 'SilvercartPaymentMethodsPage';
- private static string $allowed_children = 'none';
- private static string $icon = "silvercart/silvercart:client/img/page_icons/metanavigation_page-file.gif";
- // methods
- public string singular_name()
- public string plural_name()
- public DataList PaymentMethods()
- public Country ShippingCountry()
- // Inherited methods from MetaNavigationHolder
- public string singular_name()
- public string plural_name()
Hierarchy
Members
private
- $allowed_children
—
array
Allowed children - $icon
—
string
Page type icon - $table_name
—
string
DB table name
Methods
public
- PaymentMethods() — Returns all payment methods
- ShippingCountry() — Returns the current shipping country
- plural_name() — i18n plural name of this object
- singular_name() — i18n singular name of this object
Inherited from SilverCart\Model\Pages\MetaNavigationHolder
public
- plural_name() — Returns the translated plural name of the object. If no translation exists the class name will be returned.
- singular_name() — Returns the translated singular name of the object. If no translation exists the class name will be returned.