WIKINDX API trunk

FUZZERMAP
in package

FUZZERMAP

Provides mappings between resource types and the database tables. Provides validation information on table column types

Table of Contents

Properties

$encodeArray  : mixed
array
$types  : mixed
array

Methods

__construct()  : mixed
FUZZERMAP
loadVars()  : mixed
Create a resource array that mirrors the $this->vars input to RESOURCEWRITE

Properties

$encodeArray

array

public mixed $encodeArray = [ // Fields that must be encoded as if they come from tinyMCE 'resourceTitle', 'resourceSubtitle', 'resourcetextAbstract', 'resourcetextNote', ]

$types

array

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

Methods

__construct()

FUZZERMAP

public __construct() : mixed

loadVars()

Create a resource array that mirrors the $this->vars input to RESOURCEWRITE

public loadVars(string $type) : mixed
Parameters
$type : string
Return values
mixed

(string on error, otherwise array)


        
On this page

Search results