[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/extensions/LocalisationUpdate/ -> QuickArrayReader.php (summary)

(no description)

File Size: 204 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

QuickArrayReader:: (4 methods):
  __construct()
  except()
  parseScalar()
  getVar()


Class: QuickArrayReader  - X-Ref

Quickie parser class that can happily read the subset of PHP we need
for our localization arrays safely.

Still an order of magnitude slower than eval().
__construct( $string )   X-Ref

param: $string string

except( $got, $expected )   X-Ref

param: $got string
param: $expected string
return: Exception

parseScalar( $token )   X-Ref
Parse a scalar value in PHP

param: $token string
return: mixed Parsed value

getVar( $varname )   X-Ref

param: $varname string
return: null|string



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1