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

Public Member Functions

 __construct ( $name, array $if, array $then, array $dependencies=[])
 
 getName ()
 
 getDependencies ()
 
 when ( $key=null)
 
 then ( $key=null)
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Rule\Rule::__construct (   $name,
array  $if,
array  $then,
array  $dependencies = [] 
)
Since
3.0
Parameters
string$name

Member Function Documentation

◆ getDependencies()

SMW\Rule\Rule::getDependencies ( )
Since
3.0
Returns
[]

◆ getName()

SMW\Rule\Rule::getName ( )
Since
3.0
Returns
string

◆ then()

SMW\Rule\Rule::then (   $key = null)
Since
3.0
Returns
[]

◆ when()

SMW\Rule\Rule::when (   $key = null)
Note
< 7.1 unexpected 'if' (T_IF), expecting identifier (T_STRING) ...
Since
3.0
Returns
[]

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

About | General disclaimer | Privacy policy