Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SMW\Tests\Utils\Runners\XmlImportRunner Class Reference

Public Member Functions

 __construct ($file=null)
 
 setFile ($file)
 
 setVerbose ($verbose=true)
 
 setRequestContext (RequestContext $requestContext)
 
 run ()
 
 reportFailedImport ()
 
 getElapsedImportTimeInSeconds ()
 

Protected Member Functions

 acquireRequestContext ()
 

Protected Attributes

 $file = null
 
 $requestContext = null
 
 $exception = false
 
 $result = null
 
 $verbose = false
 

Detailed Description

SMW SMWExtension

GNU GPL v2+

Since
1.9.1
Author
mwjames

Constructor & Destructor Documentation

SMW\Tests\Utils\Runners\XmlImportRunner::__construct (   $file = null)

Member Function Documentation

SMW\Tests\Utils\Runners\XmlImportRunner::acquireRequestContext ( )
protected
SMW\Tests\Utils\Runners\XmlImportRunner::getElapsedImportTimeInSeconds ( )
Returns
integer
SMW\Tests\Utils\Runners\XmlImportRunner::reportFailedImport ( )
Exceptions
RuntimeException
SMW\Tests\Utils\Runners\XmlImportRunner::run ( )
Exceptions
RuntimeException
Returns
boolean
SMW\Tests\Utils\Runners\XmlImportRunner::setFile (   $file)
Parameters
string$file
SMW\Tests\Utils\Runners\XmlImportRunner::setRequestContext ( RequestContext  $requestContext)
Parameters
RequestContext$requestContext
SMW\Tests\Utils\Runners\XmlImportRunner::setVerbose (   $verbose = true)
Parameters
boolean$verbose
Returns
XmlImportRunner

Member Data Documentation

SMW\Tests\Utils\Runners\XmlImportRunner::$exception = false
protected
SMW\Tests\Utils\Runners\XmlImportRunner::$file = null
protected
SMW\Tests\Utils\Runners\XmlImportRunner::$requestContext = null
protected
SMW\Tests\Utils\Runners\XmlImportRunner::$result = null
protected
SMW\Tests\Utils\Runners\XmlImportRunner::$verbose = false
protected

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