Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SESP\Definition\DefinitionReader Class Reference

Public Member Functions

 __construct ($definitionFile=null)
 
 getDefinitions ()
 
 getModificationTime ()
 

Protected Member Functions

 getDefaultDefinitionFile ()
 
 isReadableOrThrowException ($definitionFile)
 
 decodeJsonFile ($file)
 

Protected Attributes

 $definitionFile = null
 
 $definitions = null
 

Detailed Description

GNU GPL v2+

Since
1.2.0
Author
mwjames

Constructor & Destructor Documentation

SESP\Definition\DefinitionReader::__construct (   $definitionFile = null)
Since
1.2.0
Parameters
string | null$definitionFile

Member Function Documentation

SESP\Definition\DefinitionReader::decodeJsonFile (   $file)
protected
SESP\Definition\DefinitionReader::getDefaultDefinitionFile ( )
protected
SESP\Definition\DefinitionReader::getDefinitions ( )
Since
1.2.0
Returns
array
Exceptions
RuntimeException
UnexpectedValueException
SESP\Definition\DefinitionReader::getModificationTime ( )
Since
1.2.0
Returns
integer
SESP\Definition\DefinitionReader::isReadableOrThrowException (   $definitionFile)
protected

Member Data Documentation

SESP\Definition\DefinitionReader::$definitionFile = null
protected
SESP\Definition\DefinitionReader::$definitions = null
protected

The documentation for this class was generated from the following file: