Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | Protected Attributes | List of all members
SMW\Schema\Compartment Class Reference
Inheritance diagram for SMW\Schema\Compartment:
Inheritance graph
[legend]
Collaboration diagram for SMW\Schema\Compartment:
Collaboration graph
[legend]

Public Member Functions

 __construct (array $data=[])
 
 isEmpty ()
 
 has ( $key)
 
 get ( $key, $default=null)
 
 jsonSerialize ()
 
 __toString ()
 
 getFingerprint ()
 
 getIterator ()
 

Public Attributes

const ASSOCIATED_SCHEMA = '___assoc_schema'
 
const ASSOCIATED_SECTION = '___assoc_section'
 

Protected Attributes

 $data = []
 

Detailed Description

GNU GPL v2+

Since
3.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Schema\Compartment::__construct ( array  $data = [])
Since
3.1
Parameters
array$data

Member Function Documentation

◆ __toString()

SMW\Schema\Compartment::__toString ( )
Since
3.1
Returns
string

◆ get()

SMW\Schema\Compartment::get (   $key,
  $default = null 
)
Since
3.1
Parameters
string$key
mixed$default
Returns
mixed|null

◆ getFingerprint()

SMW\Schema\Compartment::getFingerprint ( )
Since
3.2
Returns
string

◆ getIterator()

SMW\Schema\Compartment::getIterator ( )
See also
IteratorAggregate::getIterator
Since
3.2
Returns
Iterator

◆ has()

SMW\Schema\Compartment::has (   $key)
Since
3.1
Parameters
string$key
Returns
boolean

◆ isEmpty()

SMW\Schema\Compartment::isEmpty ( )
Since
3.2
Returns
boolean

◆ jsonSerialize()

SMW\Schema\Compartment::jsonSerialize ( )
Since
3.1
Returns
string

Member Data Documentation

◆ ASSOCIATED_SCHEMA

const SMW\Schema\Compartment::ASSOCIATED_SCHEMA = '___assoc_schema'

An internal key to track the association to a schema the compartment is part of.

◆ ASSOCIATED_SECTION

const SMW\Schema\Compartment::ASSOCIATED_SECTION = '___assoc_section'

An internal key to identify a possible section the compartment is part of.


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

About | General disclaimer | Privacy policy