All Data Structures Functions Variables Pages
Static Public Member Functions
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 getType ( )
static
Returns
string
Exceptions
NotImplementedException- Implement in children classes

Definition at line 46 of file GameCollectionRules.php.

static getCollectionLabel ( )
static
Returns
string
Exceptions
NotImplementedException- Implement in children classes

Definition at line 55 of file GameCollectionRules.php.

static getItemTypesAndLabels ( )
static
Returns
array
Exceptions
NotImplementedException- Implement in children classes

Definition at line 64 of file GameCollectionRules.php.

static getItemTypesAndFrequencies ( )
static

Frequencies are measured on a scale of 1 to 10 with 10 the most frequent.

Returns
array
Exceptions
NotImplementedException- Implement in children classes

Definition at line 74 of file GameCollectionRules.php.

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 hasCollectionRedemptionItem ( )
static

Upon redeeming a collection, if a collection has a redemption item, then return true, otherwise false

Returns
bool

Definition at line 93 of file GameCollectionRules.php.

static getCollectionLogoType ( )
static
See Also
hasCollectionRedemptionItem
Exceptions
NotImplementedException
Returns
bool

Definition at line 103 of file GameCollectionRules.php.

static getCollectionLogoLabel ( )
static
See Also
hasCollectionRedemptionItem
Exceptions
NotImplementedException
Returns
bool

Definition at line 113 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:
Generated on Sun May 31 2020 07:10:47