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

Public Member Functions

 __construct (array $options=[])
 
 set ($key, $value)
 
 has ($key)
 
 get ($key)
 

Detailed Description

GNU GPL v2+

Since
1.0
Author
mwjames

Constructor & Destructor Documentation

SMT\Options::__construct ( array  $options = [])
Since
1.0

Member Function Documentation

SMT\Options::get (   $key)
Since
1.0
Parameters
string$key
Returns
string
Exceptions
InvalidArgumentException
SMT\Options::has (   $key)
Since
1.0
Parameters
string$key
Returns
boolean
SMT\Options::set (   $key,
  $value 
)
Since
1.0
Parameters
string$key
mixed$value

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