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 = 'content.text'
 
const CONTENT_XML = 'content.xml'
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Member Function Documentation

SMW\Importer\ImportContents::addError (   $error)
Since
2.5
Parameters
string$error
SMW\Importer\ImportContents::getContents ( )
Since
2.5
Returns
string
SMW\Importer\ImportContents::getContentsFile ( )
Since
3.0
Returns
string
SMW\Importer\ImportContents::getContentType ( )
Since
3.0
Returns
string
SMW\Importer\ImportContents::getDescription ( )
Since
2.5
Returns
string
SMW\Importer\ImportContents::getErrors ( )
Since
2.5
Returns
array
SMW\Importer\ImportContents::getName ( )
Since
2.5
Returns
string
SMW\Importer\ImportContents::getNamespace ( )
Since
2.5
Returns
string
SMW\Importer\ImportContents::getOption (   $key)
Since
2.5
Parameters
string$key
Returns
mixed
SMW\Importer\ImportContents::getOptions ( )
Since
2.5
Returns
array
SMW\Importer\ImportContents::getVersion ( )
Since
2.5
Returns
string
SMW\Importer\ImportContents::setContents (   $contents)
Since
2.5
Parameters
string$contents
SMW\Importer\ImportContents::setContentsFile (   $contentsFile)
Since
3.0
Parameters
string$contentsFile
SMW\Importer\ImportContents::setContentType (   $contentType)
Since
3.0
Parameters
string$contentType
SMW\Importer\ImportContents::setDescription (   $description)
Since
2.5
Parameters
string$description
SMW\Importer\ImportContents::setName (   $name)
Since
2.5
Parameters
string$name
SMW\Importer\ImportContents::setNamespace (   $namespace)
Since
2.5
Parameters
integer$namespace
SMW\Importer\ImportContents::setOptions (   $options)
Since
2.5
Parameters
array$options
SMW\Importer\ImportContents::setVersion (   $version)
Since
2.5
Parameters
string$version

Member Data Documentation

const SMW\Importer\ImportContents::CONTENT_TEXT = 'content.text'
const SMW\Importer\ImportContents::CONTENT_XML = 'content.xml'

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