Documentation

UniGenLocationCategories
in package

Helper class for organizing Locations into categories.

Though we expect a location to be only in one category, it is possible to edit a location in the Admin Tools so that it is in two or more categories. For simplicity here, it will only show up in the first category it matches, but it will identify all other categories that it is in. If multi-category locations becomes common, this code should be modified.

Table of Contents

Properties

$locTypes  : array<string, array<string|int, int>>
$locAdded  : array<string|int, int>

Methods

added()  : bool
addLoc()  : string

Properties

Methods

addLoc()

public addLoc(int $locID, string $category) : string
Parameters
$locID : int
$category : string
Return values
string

        
On this page

Search results