Exemplo n.º 1
0
 public function viewAdminParams()
 {
     $currencies = allCurrencies();
     foreach ($currencies as $currencyCode => $currency) {
         if (!isset($this->exchangeRates[$currencyCode]) || $currencyCode == $this->mainCurrencyCode) {
             $this->exchangeRates[$currencyCode] = 1;
         }
     }
     return array_merge(parent::viewAdminParams(), ['exchange_rates' => $this->exchangeRates, 'main_currency_code' => $this->mainCurrencyCode, 'currencies' => allCurrencies()]);
 }
Exemplo n.º 2
0
 public function viewAdminParams()
 {
     return array_merge(parent::viewAdminParams(), ['facebook_enable' => $this->facebookEnable, 'facebook_app_id' => $this->facebookAppId, 'facebook_comment_enable' => $this->facebookCommentEnable, 'facebook_comment_color_scheme' => $this->facebookCommentColorScheme, 'facebook_comment_color_scheme_values' => $this->facebookCommentColorSchemeValues, 'facebook_comment_num_posts' => $this->facebookCommentNumPosts, 'facebook_comment_order_by' => $this->facebookCommentOrderBy, 'facebook_comment_order_by_values' => $this->facebookCommentOrderByValues, 'facebook_like_enable' => $this->facebookLikeEnable, 'facebook_like_layout' => $this->facebookLikeLayout, 'facebook_like_layout_values' => $this->facebookLikeLayoutValues, 'facebook_share_enable' => $this->facebookShareEnable, 'facebook_share_layout' => $this->facebookShareLayout, 'facebook_share_layout_values' => $this->facebookShareLayoutValues, 'facebook_recommend_enable' => $this->facebookRecommendEnable, 'facebook_recommend_layout' => $this->facebookRecommendLayout, 'facebook_recommend_layout_values' => $this->facebookRecommendLayoutValues, 'facebook_send_enable' => $this->facebookSendEnable, 'facebook_save_enable' => $this->facebookSaveEnable, 'twitter_enable' => $this->twitterEnable, 'twitter_share_enable' => $this->twitterShareEnable, 'linkedin_enable' => $this->linkedInEnable, 'linkedin_share_enable' => $this->linkedInShareEnable, 'linkedin_share_count_mode' => $this->linkedInShareCountMode, 'linkedin_share_count_mode_values' => $this->linkedInShareCountModeValues, 'google_enable' => $this->googleEnable, 'google_share_enable' => $this->googleShareEnable, 'google_share_button_size' => $this->googleShareButtonSize, 'google_share_button_size_values' => $this->googleShareButtonSizeValues, 'google_share_button_annotation' => $this->googleShareButtonAnnotation, 'google_share_button_annotation_values' => $this->googleShareButtonAnnotationValues, 'google_share_button_width' => $this->googleShareButtonWidth]);
 }
Exemplo n.º 3
0
 public function viewAdminParams()
 {
     return array_merge(parent::viewAdminParams(), ['cache_enable' => $this->cacheEnable, 'ga_enable' => $this->gaEnable, 'ga_id' => $this->gaId, 'ga_async' => $this->gaAsync, 'mix_panel_enable' => $this->mixPanelEnable, 'mix_panel_token' => $this->mixPanelToken]);
 }