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

Public Member Functions

 __construct (Store $store, Cache $cache=null)
 
 setCommandLineMode ( $isCommandLineMode)
 
 setEqualitySupportFlag ( $equalitySupport)
 
 isRedirect ( $title, $namespace)
 
 findRedirect ( $title, $namespace)
 
 addRedirect ( $id, $title, $namespace)
 
 updateRedirect ( $id, $title, $namespace)
 
 deleteRedirect ( $title, $namespace)
 

Public Attributes

const TABLE_NAME = 'smw_fpt_redi'
 

Detailed Description

GNU GPL v2+

Since
2.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\SQLStore\RedirectStore::__construct ( Store  $store,
Cache  $cache = null 
)
Since
2.1
Parameters
Store$store
Cache | null$cache

Member Function Documentation

◆ addRedirect()

SMW\SQLStore\RedirectStore::addRedirect (   $id,
  $title,
  $namespace 
)
Since
2.1
Parameters
integer$id
string$title
integer$namespace

◆ deleteRedirect()

SMW\SQLStore\RedirectStore::deleteRedirect (   $title,
  $namespace 
)
Since
2.1
Parameters
string$title
integer$namespace

◆ findRedirect()

SMW\SQLStore\RedirectStore::findRedirect (   $title,
  $namespace 
)

Returns an id for a redirect if no redirect is found 0 is returned

Since
2.1
Parameters
string$titleDB key
integer$namespace
Returns
integer

◆ isRedirect()

SMW\SQLStore\RedirectStore::isRedirect (   $title,
  $namespace 
)
Since
3.0
Parameters
string$titleDB key
integer$namespace
Returns
boolean

◆ setCommandLineMode()

SMW\SQLStore\RedirectStore::setCommandLineMode (   $isCommandLineMode)
Since
3.1
Parameters
boolean$isCommandLineMode

◆ setEqualitySupportFlag()

SMW\SQLStore\RedirectStore::setEqualitySupportFlag (   $equalitySupport)
Since
3.0
Parameters
integer$equalitySupport

◆ updateRedirect()

SMW\SQLStore\RedirectStore::updateRedirect (   $id,
  $title,
  $namespace 
)
Since
3.0
Parameters
string$id
string$title
integer$namespace

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

About | General disclaimer | Privacy policy