WIKINDX API 6.9.1

UPGRADE_XML2JSONSTYLE
in package

Parse the bibliographic style's XML

Conversion to use with PHP's simpleXML by Ritesh Agrawal and Mark Grimshaw-Aagaard 2007/2008

Table of Contents

Properties

$bibliography  : mixed
array
$citation  : mixed
array
$common  : mixed
array
$creators  : mixed
array
$footnote  : mixed
array
$info  : mixed
array
$styleMap  : mixed
object
$types  : mixed
array

Methods

findAlternateFields()  : array<string|int, mixed>
Find alternate fields
getFootnoteResources()  : mixed
Cycle through XML
getStyleTypes()  : mixed
Cycle through XML
parseStringToArray()  : array<string|int, mixed>
parse input into array
sort_style()  : mixed
upgradeTo100()  : mixed
Upgrade database schema to version 100 (6.6.0)
upgradeTo104()  : mixed
Upgrade database schema to version 104 (6.6.0)
upgradeTo105()  : mixed
Upgrade database schema to version 105 (6.6.0)
upgradeTo107()  : mixed
Upgrade database schema to version 107 (6.6.0)
upgradeTo32()  : mixed
Upgrade database schema to version 3.2.2
upgradeTo39()  : mixed
Upgrade database schema to version 39 (6.4.1)
upgradeTo75()  : mixed
Upgrade database schema to version 75 (6.6.0)
upgradeTo76()  : mixed
Upgrade database schema to version 76 (6.6.0)
upgradeTo77()  : mixed
Upgrade database schema to version 77 (6.6.0)
upgradeTo78()  : mixed
Upgrade database schema to version 78 (6.6.0)
upgradeTo79()  : mixed
Upgrade database schema to version 79 (6.6.0)
upgradeTo80()  : mixed
Upgrade database schema to version 80 (6.6.0)
upgradeTo81()  : mixed
Upgrade database schema to version 81 (6.6.0)
upgradeTo82()  : mixed
Upgrade database schema to version 82 (6.6.0)
upgradeTo84()  : mixed
Upgrade database schema to version 84 (6.6.0)
upgradeTo85()  : mixed
Upgrade database schema to version 85 (6.6.0)
upgradeTo86()  : mixed
Upgrade database schema to version 86 (6.6.0)
upgradeTo87()  : mixed
Upgrade database schema to version 87 (6.6.0)
upgradeTo88()  : mixed
Upgrade database schema to version 89 (6.6.0)
upgradeTo99()  : mixed
Upgrade database schema to version 99 (6.6.0)
XMLToArray()  : mixed
Convert XML to array

Properties

$creators

array

private mixed $creators = ['creator1', 'creator2', 'creator3', 'creator4', 'creator5']

Methods

findAlternateFields()

Find alternate fields

private findAlternateFields(array<string|int, mixed> $subjectArray, string $search) : array<string|int, mixed>
Parameters
$subjectArray : array<string|int, mixed>
$search : string
Return values
array<string|int, mixed>

getFootnoteResources()

Cycle through XML

private getFootnoteResources(string $xmlString) : mixed
Parameters
$xmlString : string

getStyleTypes()

Cycle through XML

private getStyleTypes(string $xmlString) : mixed
Parameters
$xmlString : string

parseStringToArray()

parse input into array

private parseStringToArray(string $type, string $subject[, bool $map = FALSE ][, bool $date = FALSE ]) : array<string|int, mixed>
Parameters
$type : string
$subject : string
$map : bool = FALSE

Default is FALSE

$date : bool = FALSE

Default is FALSE

Return values
array<string|int, mixed>

sort_style()

private sort_style(mixed $JsonStructure) : mixed
Parameters
$JsonStructure : mixed

upgradeTo100()

Upgrade database schema to version 100 (6.6.0)

private upgradeTo100(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles: change the way dates are handled upgrading osbibVersion to 24.

Corresponds to the osbibVersion v24

Parameters
$JsonStructure : mixed

upgradeTo104()

Upgrade database schema to version 104 (6.6.0)

private upgradeTo104(mixed $JsonStructure) : mixed

Transcode system locale codes to Intl locale codes

Corresponds to the osbibVersion v25

Parameters
$JsonStructure : mixed

upgradeTo105()

Upgrade database schema to version 105 (6.6.0)

private upgradeTo105(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding trueFootnotes (cite_) variable. upgrading osbibVersion.

Corresponds to the osbibVersion v26

Parameters
$JsonStructure : mixed

upgradeTo107()

Upgrade database schema to version 107 (6.6.0)

private upgradeTo107(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding footnoteBibPosition (cite_) variable. endnoteRestart (cite_) variable. upgrading osbibVersion.

Corresponds to the osbibVersion v27

Parameters
$JsonStructure : mixed

upgradeTo32()

Upgrade database schema to version 3.2.2

private upgradeTo32(mixed $JsonStructure) : mixed

Add seasons to date format

Parameters
$JsonStructure : mixed

upgradeTo39()

Upgrade database schema to version 39 (6.4.1)

private upgradeTo39(mixed $JsonStructure) : mixed

Flush temp_storage table and fix locale in style XML files

Corresponds to the osbibVersion v8

Parameters
$JsonStructure : mixed

upgradeTo75()

Upgrade database schema to version 75 (6.6.0)

private upgradeTo75(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding cite_citationYearsTypes and cite_citationYearsTemplate and upgrading osbibVersion.

Corresponds to the osbibVersion v9

Parameters
$JsonStructure : mixed

upgradeTo76()

Upgrade database schema to version 76 (6.6.0)

private upgradeTo76(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding cite_citationYearsTypes and cite_citationYearsTemplate and upgrading osbibVersion.

Corresponds to the osbibVersion v10

Parameters
$JsonStructure : mixed

upgradeTo77()

Upgrade database schema to version 77 (6.6.0)

private upgradeTo77(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding cite_pageFormatDelimiter, style_pageFormatDelimiter, style_dayOrdinalStyle, style_editionOrdinalStyle and upgrading osbibVersion.

Corresponds to the osbibVersion v11

Parameters
$JsonStructure : mixed

upgradeTo78()

Upgrade database schema to version 78 (6.6.0)

private upgradeTo78(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding cite_quotationMarkers and setting style_language to default 'en' upgrading osbibVersion.

Corresponds to the osbibVersion v12

Parameters
$JsonStructure : mixed

upgradeTo79()

Upgrade database schema to version 79 (6.6.0)

private upgradeTo79(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles removing in favour of upgrading osbibVersion.

Corresponds to the osbibVersion v13

Parameters
$JsonStructure : mixed

upgradeTo80()

Upgrade database schema to version 80 (6.6.0)

private upgradeTo80(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles removing quotationMarkers and replacing localisation by citeLocalisation and styleLocalisation upgrading osbibVersion.

Corresponds to the osbibVersion v14

Parameters
$JsonStructure : mixed

upgradeTo81()

Upgrade database schema to version 81 (6.6.0)

private upgradeTo81(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding citationPosition and citationPositionSpace upgrading osbibVersion.

Corresponds to the osbibVersion v15

Parameters
$JsonStructure : mixed

upgradeTo82()

Upgrade database schema to version 82 (6.6.0)

private upgradeTo82(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles removing citationPosition and adding citationPosition1, citationPosition2, and citationPosition3. upgrading osbibVersion.

Corresponds to the osbibVersion v16

Parameters
$JsonStructure : mixed

upgradeTo84()

Upgrade database schema to version 84 (6.6.0)

private upgradeTo84(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding citePositionPunctuation variable. upgrading osbibVersion.

Corresponds to the osbibVersion v18

Parameters
$JsonStructure : mixed

upgradeTo85()

Upgrade database schema to version 85 (6.6.0)

private upgradeTo85(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding noCreatorAfterQuotation variable. upgrading osbibVersion.

Corresponds to the osbibVersion v19

Parameters
$JsonStructure : mixed

upgradeTo86()

Upgrade database schema to version 86 (6.6.0)

private upgradeTo86(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding subtitleCapitalization (style_ and cite_) variables. upgrading osbibVersion.

Corresponds to the osbibVersion v20

Parameters
$JsonStructure : mixed

upgradeTo87()

Upgrade database schema to version 87 (6.6.0)

private upgradeTo87(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding creatorRepeatOverrideFormat, noMultiplePunctuation, orderUsePrefix (style_) variables. upgrading osbibVersion.

Corresponds to the osbibVersion v21

Parameters
$JsonStructure : mixed

upgradeTo88()

Upgrade database schema to version 89 (6.6.0)

private upgradeTo88(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles adding creatorRepeatOverrideFormat (footnote_) variable. upgrading osbibVersion.

Corresponds to the osbibVersion v22

Parameters
$JsonStructure : mixed

upgradeTo99()

Upgrade database schema to version 99 (6.6.0)

private upgradeTo99(mixed $JsonStructure) : mixed

Not a database upgrade but an upgrade to citation styles: change the way runningtime is handled upgrading osbibVersion to 23.

Corresponds to the osbibVersion v23

Parameters
$JsonStructure : mixed

XMLToArray()

Convert XML to array

private XMLToArray(string $xml) : mixed

code borrowed from http://php.net

Parameters
$xml : string

        
On this page

Search results