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 ()
 
 getFixedPropertyValByField ( $field)
 
 getFixedPropertyValueBy ( $field)
 
 hasChangeOp ( $opType)
 
 getFieldChangeOps ( $opType=null, $filter=[])
 
 __toString ()
 
 toArray ()
 

Public Attributes

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

Detailed Description

GNU GPL v2+

Since
2.4
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ __toString()

SMW\SQLStore\ChangeOp\TableChangeOp::__toString ( )
Since
3.0
Returns
string

◆ getFieldChangeOps()

SMW\SQLStore\ChangeOp\TableChangeOp::getFieldChangeOps (   $opType = null,
  $filter = [] 
)
Since
2.4
Parameters
string | null$opType
array$filter
Returns
FieldChangeOp[]|[]

◆ getFixedPropertyValByField()

SMW\SQLStore\ChangeOp\TableChangeOp::getFixedPropertyValByField (   $field)
Since
3.0
Parameters
string$field
Returns
null|string

◆ getFixedPropertyValueBy()

SMW\SQLStore\ChangeOp\TableChangeOp::getFixedPropertyValueBy (   $field)
Deprecated:
since 3.0, use TableChangeOp::getFixedPropertyValByField
Since
2.4
Parameters
string$field
Returns
null|string

◆ getTableName()

SMW\SQLStore\ChangeOp\TableChangeOp::getTableName ( )
Since
2.4
Returns
string

◆ hasChangeOp()

SMW\SQLStore\ChangeOp\TableChangeOp::hasChangeOp (   $opType)
Since
2.4
Parameters
string$opType
Returns
boolean

◆ isFixedPropertyOp()

SMW\SQLStore\ChangeOp\TableChangeOp::isFixedPropertyOp ( )
Since
2.4
Returns
boolean

◆ toArray()

SMW\SQLStore\ChangeOp\TableChangeOp::toArray ( )
Since
3.0
Returns
array

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

About | General disclaimer | Privacy policy