GameCollectionRules Class Reference

Inheritance diagram for GameCollectionRules:
AirportGameCollectionRules BasketballGameCollectionRules BicycleGameCollectionRules BreakfastGameCollectionRules BusinessGameCollectionRules Camping2GameCollectionRules CampingGameCollectionRules CarPartsGameCollectionRules ChildrenPlayEquipmentGameCollectionRules CircusGameCollectionRules CookingGameCollectionRules DrinksGameCollectionRules EducationGameCollectionRules FinanceGameCollectionRules FitnessGameCollectionRules FoodGameCollectionRules GolfGameCollectionRules HealthGameCollectionRules HomeGameCollectionRules HotelGameCollectionRules OfficeGameCollectionRules RacingGameCollectionRules ScienceGameCollectionRules SoccerGameCollectionRules SocialMediaGameCollectionRules SummerBeach2GameCollectionRules SummerBeach3GameCollectionRules SummerBeachGameCollectionRules TrafficGameCollectionRules TransportationGameCollectionRules TravelHolidayGameCollectionRules

Static Public Member Functions

static getType ()
static getCollectionLabel ()
static getItemTypesAndLabels ()
static getItemTypesAndFrequencies ()
static getCoinRedemptionValue ()
static hasCollectionRedemptionItem ()
static getCollectionLogoType ()
static getCollectionLogoLabel ()
static makeDefaultData ()
static makeLargeCollectionImageName ()
static makeMediumCollectionItemImageName ($itemType)
static makeMediumCOllectionItemImagePath ($itemType)

Detailed Description

Base class defining rules for game collections

Definition at line 40 of file GameCollectionRules.php.


Member Function Documentation

static getCoinRedemptionValue (  )  [static]

Upon completing a collection, the collection items can be redeemed for a quantity of coins as well as the collection 'item' itself.

Returns:
int

Definition at line 84 of file GameCollectionRules.php.

static makeDefaultData (  )  [static]
Returns:
array of default data used when instantiating a GameCollection model for a user Includes the array of items and default quantities, as well as the Collection 'Item' that is redeemed if it has one

Definition at line 123 of file GameCollectionRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Dec 15 07:10:25 2017