BibTeX PAGE import class

version 1
package wikindx4\core\importexport
author Mark Grimshaw

 Methods

BIBTEXPAGEPARSE

__construct() 

calls the page parser and returns an array with first- and lastpage

init(string $item) : array

Parameters

$item

string

Returns

array

parsePages tries to split on '--' or '-' (in case no valid split on '--' is possible.

parsePages(string $pages) : mixed

if the split results in 2 elements, the split is considered valid.

Parameters

$pages

string

Returns

mixedBOOLEAN|array(start, end)

 Properties

 

$completeField