WIKINDX API trunk

RESOURCEMAP
in package

RESOURCEMAP

Provides mappings between resource types and the database tables.

Table of Contents

Properties

$artwork  : mixed
$audiovisual  : mixed
$bill  : mixed
$book  : mixed
$book_article  : mixed
$book_chapter  : mixed
$broadcast  : mixed
$brochure  : mixed
$case  : mixed
$chart  : mixed
$classical  : mixed
$conference_paper  : mixed
$conference_poster  : mixed
$database  : mixed
$film  : mixed
$government_report  : mixed
$hearing  : mixed
$journal_article  : mixed
$legal_ruling  : mixed
$magazine_article  : mixed
$manuscript  : mixed
$map  : mixed
$miscellaneous  : mixed
$miscellaneous_section  : mixed
$music_album  : mixed
$music_score  : mixed
$music_track  : mixed
$newspaper_article  : mixed
$patent  : mixed
$personal  : mixed
$proceedings  : mixed
$proceedings_article  : mixed
$report  : mixed
$software  : mixed
$statute  : mixed
$thesis  : mixed
$unpublished  : mixed
$web_article  : mixed
$web_encyclopedia  : mixed
$web_encyclopedia_article  : mixed
$web_site  : mixed

Methods

__construct()  : mixed
RESOURCEMAP
getMsgKeys()  : array<string|int, mixed>
Get keys of resource type messages from array
getOptional()  : array<string|int, mixed>
Get optional array
getRequired()  : array<string|int, mixed>
Return list of all required fields for each resource type
getTables()  : array<string|int, mixed>
Return list of db tables used for each resource type.
getTypeMap()  : array<string|int, mixed>
Return array of resource types' mapping and perform some optimization and error checking.
getTypes()  : array<string|int, mixed>
Get getTypes array with deactivation of types
getTypesRaw()  : array<string|int, mixed>
Return array of types without any deactivation of types
lookupDBfield()  : string
Get database field from readable name of resource type
lookupReadableName()  : string
Get readable name of resource type from database field

Properties

$miscellaneous_section

public mixed $miscellaneous_section

$proceedings_article

public mixed $proceedings_article

$web_encyclopedia_article

public mixed $web_encyclopedia_article

Methods

__construct()

RESOURCEMAP

public __construct([mixed $exception = false ]) : mixed
Parameters
$exception : mixed = false

getMsgKeys()

Get keys of resource type messages from array

public getMsgKeys(string $type) : array<string|int, mixed>
Parameters
$type : string
Return values
array<string|int, mixed>

getOptional()

Get optional array

public getOptional() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRequired()

Return list of all required fields for each resource type

public getRequired() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTables()

Return list of db tables used for each resource type.

public getTables(string $type) : array<string|int, mixed>

Ensure the resource table exists and always comes first.

Parameters
$type : string
Return values
array<string|int, mixed>

of db tables

getTypeMap()

Return array of resource types' mapping and perform some optimization and error checking.

public getTypeMap() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTypes()

Get getTypes array with deactivation of types

public getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTypesRaw()

Return array of types without any deactivation of types

public getTypesRaw() : array<string|int, mixed>
Return values
array<string|int, mixed>

lookupDBfield()

Get database field from readable name of resource type

public lookupDBfield(string $type, string $readableName) : string
Parameters
$type : string
$readableName : string
Return values
string

lookupReadableName()

Get readable name of resource type from database field

public lookupReadableName(string $type, string $tableName, string $dbName) : string
Parameters
$type : string
$tableName : string
$dbName : string
Return values
string

        
On this page

Search results