/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Sascha Koehler <*****@*****.**> * @since 23.10.2012 */ public function fieldLabels($includerelations = true) { $fieldLabels = array_merge(parent::fieldLabels($includerelations), SilvercartWidgetTools::fieldLabelsForProductSliderWidget($this), array('SilvercartProductGroupManufacturersWidgetLanguages' => _t('Silvercart.TRANSLATIONS'))); $this->extend('updateFieldLabels', $fieldLabels); return $fieldLabels; }
/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Sebastian Diel <*****@*****.**> * @since 03.03.2014 */ public function fieldLabels($includerelations = true) { $fieldLabels = array_merge(parent::fieldLabels($includerelations), SilvercartWidgetTools::fieldLabelsForProductSliderWidget($this), array('SilvercartProductGroupPage' => _t('SilvercartProductGroupItemsWidget.STOREADMIN_FIELDLABEL'), 'SilvercartProductGroupPageDescription' => _t('SilvercartProductGroupItemsWidget.SilvercartProductGroupPageDescription'), 'useSelectionMethod' => _t('SilvercartProductGroupItemsWidget.USE_SELECTIONMETHOD'), 'SelectionMethodProductGroup' => _t('SilvercartProductGroupItemsWidget.SELECTIONMETHOD_PRODUCTGROUP'), 'SelectionMethodProducts' => _t('SilvercartProductGroupItemsWidget.SELECTIONMETHOD_PRODUCTS'), 'ProductGroupTab' => _t('SilvercartProductGroupItemsWidget.CMS_PRODUCTGROUPTABNAME'), 'SilvercartProductGroupItemsWidgetLanguages' => _t('SilvercartConfig.TRANSLATIONS'), 'SelectProductDescription' => _t("SilvercartProductGroupItemsWidget.SELECT_PRODUCT_DESCRIPTION"), 'SilvercartProducts' => _t('SilvercartProduct.PLURALNAME'))); $this->extend('updateFieldLabels', $fieldLabels); return $fieldLabels; }
/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Roland Lehmann <*****@*****.**>, * Sebastian Diel <*****@*****.**> * @since 01.07.2013 */ public function fieldLabels($includerelations = true) { $fieldLabels = array_merge(parent::fieldLabels($includerelations), SilvercartWidgetTools::fieldLabelsForProductSliderWidget($this), array('SilvercartImageSliderWidgetLanguages' => _t('Silvercart.TRANSLATIONS'), 'FrontTitle' => _t('SilvercartWidget.FRONTTITLE'), 'FrontContent' => _t('SilvercartWidget.FRONTCONTENT'), 'Images' => _t('SilvercartImage.PLURALNAME'), 'SilvercartImageSliderImage' => _t('SilvercartImageSliderImage.PLURALNAME'), 'slideImages' => _t('SilvercartProductSliderWidget.CMS_SLIDERIMAGES'), 'Translations' => _t('SilvercartConfig.TRANSLATIONS'))); $this->extend('updateFieldLabels', $fieldLabels); return $fieldLabels; }
/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Sebastian Diel <*****@*****.**> * @since 27.03.2012 */ public function fieldLabels($includerelations = true) { return array_merge(parent::fieldLabels($includerelations), SilvercartWidgetTools::fieldLabelsForProductSliderWidget($this), array('SilvercartProductGroupPage' => _t('SilvercartProductGroupItemsWidget.STOREADMIN_FIELDLABEL'), 'useSelectionMethod' => _t('SilvercartProductGroupItemsWidget.USE_SELECTIONMETHOD'), 'SelectionMethodProductGroup' => _t('SilvercartProductGroupItemsWidget.SELECTIONMETHOD_PRODUCTGROUP'), 'SelectionMethodProducts' => _t('SilvercartProductGroupItemsWidget.SELECTIONMETHOD_PRODUCTS'), 'ProductGroupTab' => _t('SilvercartProductGroupItemsWidget.CMS_PRODUCTGROUPTABNAME'), 'ProductsTab' => _t('SilvercartProductGroupItemsWidget.CMS_PRODUCTSTABNAME'), 'SilvercartBargainProductsWidgetLanguages' => _t('Silvercart.TRANSLATIONS'))); }