Table of Contents
Constants
-
COLOR_B
= 'Black'
-
COLOR_G
= 'Green'
-
COLOR_NO
= 'Colorless'
-
COLOR_R
= 'Red'
-
COLOR_U
= 'Blue'
-
COLOR_W
= 'White'
-
EXTENSION_CARDIMAGE
= 'png'
-
URL_GALLERY_EXAMPLE
= '/en/articles/archive/card-image-gallery/aether-revolt'
-
URL_GALLERY_HOST
= 'http://magic.wizards.com'
-
URL_GALLERY_INDEX
= '/en/search-magic-ajax?f1=section&f2=18156&sort=DESC&search=&l=en'
-
URL_LEGALITY
= 'http://gatherer.wizards.com/Pages/Card/Printings.aspx?multiverseid=%s'
-
URL_LEGALITY_COMMANDER
= 'http://magic.wizards.com/en/gameinfo/gameplay/formats/commander'
-
URL_LEGALITY_MODERN
= 'http://magic.wizards.com/en/gameinfo/gameplay/formats/modern'
-
URL_LEGALITY_VINTAGE
= 'https://mtg.gamepedia.com/Set'
-
URL_MARKET
= 'https://www.mkmapi.eu/ws/v1.1/products/%s/1/1/true'
-
URL_MARKET_SET_INDEX
= 'https://www.magiccardmarket.eu/Products/Singles'
-
URL_MARKET_SET_LIST
= 'https://www.magiccardmarket.eu/Products/Singles/%s'
-
URL_ORACLE
= 'http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=%s'
-
URL_ORACLE_IMAGE
= 'http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=%s&type=card'
-
URL_PRICE
= 'https://www.magiccardmarket.eu/Cards/%s'
-
URL_SET
= 'http://magiccards.info/%s/en.html'
-
URL_SET_IMAGE
= 'http://magiccards.info/scans/en/%s/%s.jpg'
-
URL_SET_TOKENS
= 'http://magiccards.info/extras.html'
-
URL_TEMPLATE_ORACLE
= 'farah://slothsoft@mtg/xsl/card-gatherer'
Methods
-
getCardCMC()
: mixed
-
getCardColorList()
: mixed
-
getCardColors()
: mixed
-
getCardImageName()
: mixed
-
getCardLegality()
: mixed
-
getCardRarityIndex()
: mixed
-
getCardRarityName()
: mixed
-
getCardTypeIndex()
: mixed
-
getCardTypeName()
: mixed
-
getColorFragment()
: mixed
-
getColorIndex()
: mixed
-
getColorKey()
: mixed
-
getColorName()
: mixed
-
getColorPath()
: mixed
-
getImagePath()
: mixed
-
getImageURL()
: mixed
-
getLegalityFragment()
: mixed
-
getLegalityURL()
: mixed
-
getMarketOAuth()
: mixed
-
getMarketSetURLList()
: mixed
-
getMarketURL()
: mixed
-
getModernLegalList()
: mixed
-
getNameKey()
: mixed
-
getOracleCardData()
: mixed
-
getOracleImageURL()
: mixed
-
getOracleURL()
: mixed
-
getPriceURL()
: mixed
-
getRarityFragment()
: mixed
-
getRarityPath()
: mixed
-
getRarityURL()
: mixed
-
getSetFragment()
: mixed
-
getSetImageURL()
: mixed
-
getSetList()
: mixed
-
getSetURL()
: mixed
-
getStandardLegalList()
: mixed
-
getTypeFragment()
: mixed
-
getVintageLegalList()
: mixed
-
isCardToken()
: mixed
-
isCommanderLegal()
: mixed
-
isModernLegal()
: mixed
-
isStandardLegal()
: mixed
-
isVintageLegal()
: mixed
-
translateSetName()
: mixed
-
_initLegalityModernList()
: mixed
-
_initLegalityVintageList()
: mixed
-
_initOracleImageGallery()
: mixed
-
_initOracleXSLT()
: mixed
-
_initSetList()
: mixed
COLOR_B
public
mixed
COLOR_B
= 'Black'
COLOR_G
public
mixed
COLOR_G
= 'Green'
COLOR_NO
public
mixed
COLOR_NO
= 'Colorless'
COLOR_R
public
mixed
COLOR_R
= 'Red'
COLOR_U
public
mixed
COLOR_U
= 'Blue'
COLOR_W
public
mixed
COLOR_W
= 'White'
EXTENSION_CARDIMAGE
public
mixed
EXTENSION_CARDIMAGE
= 'png'
URL_GALLERY_EXAMPLE
public
mixed
URL_GALLERY_EXAMPLE
= '/en/articles/archive/card-image-gallery/aether-revolt'
URL_GALLERY_HOST
public
mixed
URL_GALLERY_HOST
= 'http://magic.wizards.com'
URL_GALLERY_INDEX
public
mixed
URL_GALLERY_INDEX
= '/en/search-magic-ajax?f1=section&f2=18156&sort=DESC&search=&l=en'
URL_LEGALITY
public
mixed
URL_LEGALITY
= 'http://gatherer.wizards.com/Pages/Card/Printings.aspx?multiverseid=%s'
URL_LEGALITY_COMMANDER
public
mixed
URL_LEGALITY_COMMANDER
= 'http://magic.wizards.com/en/gameinfo/gameplay/formats/commander'
URL_LEGALITY_MODERN
public
mixed
URL_LEGALITY_MODERN
= 'http://magic.wizards.com/en/gameinfo/gameplay/formats/modern'
URL_LEGALITY_VINTAGE
public
mixed
URL_LEGALITY_VINTAGE
= 'https://mtg.gamepedia.com/Set'
URL_MARKET
public
mixed
URL_MARKET
= 'https://www.mkmapi.eu/ws/v1.1/products/%s/1/1/true'
URL_MARKET_SET_INDEX
public
mixed
URL_MARKET_SET_INDEX
= 'https://www.magiccardmarket.eu/Products/Singles'
URL_MARKET_SET_LIST
public
mixed
URL_MARKET_SET_LIST
= 'https://www.magiccardmarket.eu/Products/Singles/%s'
URL_ORACLE
public
mixed
URL_ORACLE
= 'http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=%s'
URL_ORACLE_IMAGE
public
mixed
URL_ORACLE_IMAGE
= 'http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=%s&type=card'
URL_PRICE
public
mixed
URL_PRICE
= 'https://www.magiccardmarket.eu/Cards/%s'
URL_SET
public
mixed
URL_SET
= 'http://magiccards.info/%s/en.html'
URL_SET_IMAGE
public
mixed
URL_SET_IMAGE
= 'http://magiccards.info/scans/en/%s/%s.jpg'
URL_SET_TOKENS
public
mixed
URL_SET_TOKENS
= 'http://magiccards.info/extras.html'
URL_TEMPLATE_ORACLE
public
mixed
URL_TEMPLATE_ORACLE
= 'farah://slothsoft@mtg/xsl/card-gatherer'
getCardCMC()
public
static getCardCMC(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardColorList()
public
static getCardColorList(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardColors()
public
static getCardColors(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardImageName()
public
static getCardImageName(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardLegality()
public
static getCardLegality(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardRarityIndex()
public
static getCardRarityIndex(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardRarityName()
public
static getCardRarityName(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardTypeIndex()
public
static getCardTypeIndex(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getCardTypeName()
public
static getCardTypeName(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getColorFragment()
public
static getColorFragment(DOMDocument $dataDoc) : mixed
Parameters
-
$dataDoc
: DOMDocument
-
getColorIndex()
public
static getColorIndex(mixed $colorName) : mixed
Parameters
-
$colorName
: mixed
-
getColorKey()
public
static getColorKey(mixed $colorName) : mixed
Parameters
-
$colorName
: mixed
-
getColorName()
public
static getColorName(mixed $colorKey) : mixed
Parameters
-
$colorKey
: mixed
-
getColorPath()
public
static getColorPath(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getImagePath()
public
static getImagePath(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getImageURL()
public
static getImageURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getLegalityFragment()
public
static getLegalityFragment(DOMDocument $dataDoc) : mixed
Parameters
-
$dataDoc
: DOMDocument
-
getLegalityURL()
public
static getLegalityURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getMarketOAuth()
public
static getMarketOAuth() : mixed
getMarketSetURLList()
public
static getMarketSetURLList() : mixed
getMarketURL()
public
static getMarketURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getModernLegalList()
public
static getModernLegalList() : mixed
getNameKey()
public
static getNameKey(mixed $name) : mixed
Parameters
-
$name
: mixed
-
getOracleCardData()
public
static getOracleCardData(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getOracleImageURL()
public
static getOracleImageURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getOracleURL()
public
static getOracleURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getPriceURL()
public
static getPriceURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getRarityFragment()
public
static getRarityFragment(DOMDocument $dataDoc) : mixed
Parameters
-
$dataDoc
: DOMDocument
-
getRarityPath()
public
static getRarityPath(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getRarityURL()
public
static getRarityURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getSetFragment()
public
static getSetFragment(DOMDocument $dataDoc) : mixed
Parameters
-
$dataDoc
: DOMDocument
-
getSetImageURL()
public
static getSetImageURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getSetList()
public
static getSetList() : mixed
getSetURL()
public
static getSetURL(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
getStandardLegalList()
public
static getStandardLegalList() : mixed
getTypeFragment()
public
static getTypeFragment(DOMDocument $dataDoc) : mixed
Parameters
-
$dataDoc
: DOMDocument
-
getVintageLegalList()
public
static getVintageLegalList() : mixed
isCardToken()
public
static isCardToken(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
isCommanderLegal()
public
static isCommanderLegal(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
isModernLegal()
public
static isModernLegal(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
isStandardLegal()
public
static isStandardLegal(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
isVintageLegal()
public
static isVintageLegal(array<string|int, mixed> &$card) : mixed
Parameters
-
$card
: array<string|int, mixed>
-
translateSetName()
public
static translateSetName(mixed $setName) : mixed
Parameters
-
$setName
: mixed
-
_initLegalityModernList()
protected
static _initLegalityModernList() : mixed
_initLegalityVintageList()
protected
static _initLegalityVintageList() : mixed
_initOracleImageGallery()
protected
static _initOracleImageGallery() : mixed
_initOracleXSLT()
protected
static _initOracleXSLT() : mixed
_initSetList()
protected
static _initSetList() : mixed