swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: ShopSettings

Source Location: /code/admin/ShopSettings.php

Class Overview

DataObjectDecorator
   |
   --ShopSettings

Adding shop settings to the main SiteConfig. This will not work with subsites module due to a problem with ComplexTableField which does not set the SiteConfig ID on records.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 12]
Adding shop settings to the main SiteConfig. This will not work with subsites module due to a problem with ComplexTableField which does not set the SiteConfig ID on records.



Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Methods


static method get_license_key [line 36]

static String get_license_key( )

Get the license key



Tags:

return:  License key
access:  public


[ Top ]

static method set_license_key [line 27]

static void set_license_key( String $key)

Set the license key, usually called in mysite/_config.



Tags:

access:  public


Parameters:

String   $key   License key

[ Top ]

method extraStatics [line 45]

void extraStatics( )

Add database fields for shop settings like emails etc.



[ Top ]

method updateCMSFields [line 65]

void updateCMSFields( FieldSet &$fields)

Adding fields for shop settings such as email, license key.



Parameters:

FieldSet   &$fields  

[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:29 +1300 by phpDocumentor 1.4.4