WIKINDX API 6.6.8

PARSEXML
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

Methods

createCache()  : mixed
Create style cache
getFootnoteResources()  : mixed
Cycle through XML
getStyle()  : mixed
Get the bibliographic style file
getStyleTypes()  : mixed
Cycle through XML
loadCache()  : bool
Load style cache file if available
sanitizeHtml()  : mixed
Sanitize '<' '>' etc.
XMLToArray()  : mixed
Convert XML to array

Methods

createCache()

Create style cache

private createCache(string $style) : mixed
Parameters
$style : string

A style name

getFootnoteResources()

Cycle through XML

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

getStyle()

Get the bibliographic style file

private getStyle(mixed $style) : mixed
Parameters
$style : mixed

getStyleTypes()

Cycle through XML

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

loadCache()

Load style cache file if available

private loadCache(string $style) : bool
Parameters
$style : string

A style name

Return values
bool

sanitizeHtml()

Sanitize '<' '>' etc.

private sanitizeHtml(mixed &$array) : mixed
Parameters
$array : 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