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

Public Member Functions

 __construct ($tableName, array $changeOps)
 
 getTableName ()
 
 isFixedPropertyOp ()
 
 getFixedPropertyValueBy ($id)
 
 hasChangeOp ($opType)
 
 getFieldChangeOps ($opType=null)
 

Public Attributes

const OP_INSERT = 'insert'
 
const OP_DELETE = 'delete'
 

Detailed Description

GNU GPL v2+

Since
2.4
Author
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\ChangeOp\TableChangeOp::__construct (   $tableName,
array  $changeOps 
)
Since
2.4
Parameters
string$tableName
array$changeOps

Member Function Documentation

SMW\SQLStore\ChangeOp\TableChangeOp::getFieldChangeOps (   $opType = null)
Since
2.4
Parameters
string | null$opType
Returns
FieldChangeOp[]|[]
SMW\SQLStore\ChangeOp\TableChangeOp::getFixedPropertyValueBy (   $id)
Since
2.4
Parameters
string$id
Returns
null|string
SMW\SQLStore\ChangeOp\TableChangeOp::getTableName ( )
Since
2.4
Returns
string
SMW\SQLStore\ChangeOp\TableChangeOp::hasChangeOp (   $opType)
Since
2.4
Parameters
string$opType
Returns
boolean
SMW\SQLStore\ChangeOp\TableChangeOp::isFixedPropertyOp ( )
Since
2.4
Returns
boolean

Member Data Documentation

const SMW\SQLStore\ChangeOp\TableChangeOp::OP_DELETE = 'delete'
const SMW\SQLStore\ChangeOp\TableChangeOp::OP_INSERT = 'insert'

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