Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\Importer\ImportContents Class Reference

Public Member Functions

 setVersion ( $version)
 
 getVersion ()
 
 setDescription ( $description)
 
 getDescription ()
 
 setContentType ( $contentType)
 
 getContentType ()
 
 setName ( $name)
 
 getName ()
 
 setNamespace ( $namespace)
 
 getNamespace ()
 
 setContentsFile ( $contentsFile)
 
 getContentsFile ()
 
 setContents ( $contents)
 
 getContents ()
 
 addError ( $error)
 
 getErrors ()
 
 setOptions ( $options)
 
 getOptions ()
 
 getOption ( $key)
 

Public Attributes

const CONTENT_TEXT = 'text/plain'
 
const CONTENT_XML = 'text/xml'
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Member Function Documentation

◆ addError()

SMW\Importer\ImportContents::addError (   $error)
Since
2.5
Parameters
string$error

◆ getContents()

SMW\Importer\ImportContents::getContents ( )
Since
2.5
Returns
string

◆ getContentsFile()

SMW\Importer\ImportContents::getContentsFile ( )
Since
3.0
Returns
string

◆ getContentType()

SMW\Importer\ImportContents::getContentType ( )
Since
3.0
Returns
string

◆ getDescription()

SMW\Importer\ImportContents::getDescription ( )
Since
2.5
Returns
string

◆ getErrors()

SMW\Importer\ImportContents::getErrors ( )
Since
2.5
Returns
array

◆ getName()

SMW\Importer\ImportContents::getName ( )
Since
2.5
Returns
string

◆ getNamespace()

SMW\Importer\ImportContents::getNamespace ( )
Since
2.5
Returns
string

◆ getOption()

SMW\Importer\ImportContents::getOption (   $key)
Since
2.5
Parameters
string$key
Returns
mixed

◆ getOptions()

SMW\Importer\ImportContents::getOptions ( )
Since
2.5
Returns
array

◆ getVersion()

SMW\Importer\ImportContents::getVersion ( )
Since
2.5
Returns
string

◆ setContents()

SMW\Importer\ImportContents::setContents (   $contents)
Since
2.5
Parameters
string$contents

◆ setContentsFile()

SMW\Importer\ImportContents::setContentsFile (   $contentsFile)
Since
3.0
Parameters
string$contentsFile

◆ setContentType()

SMW\Importer\ImportContents::setContentType (   $contentType)
Since
3.0
Parameters
string$contentType

◆ setDescription()

SMW\Importer\ImportContents::setDescription (   $description)
Since
2.5
Parameters
string$description

◆ setName()

SMW\Importer\ImportContents::setName (   $name)
Since
2.5
Parameters
string$name

◆ setNamespace()

SMW\Importer\ImportContents::setNamespace (   $namespace)
Since
2.5
Parameters
integer$namespace

◆ setOptions()

SMW\Importer\ImportContents::setOptions (   $options)
Since
2.5
Parameters
array$options

◆ setVersion()

SMW\Importer\ImportContents::setVersion (   $version)
Since
2.5
Parameters
string$version

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

About | General disclaimer | Privacy policy