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

Public Member Functions

 get ( $key, $default=null)
 
 info ( $key, $default=null)
 
 getName ()
 

Public Attributes

const SCHEMA_TYPE = 'type'
 
const SCHEMA_DESCRIPTION = 'description'
 
const SCHEMA_TAG = 'tags'
 
const SCHEMA_VALIDATION_FILE = 'validation_file'
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
mwjames

Member Function Documentation

◆ get()

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

◆ getName()

SMW\Schema\Schema::getName ( )

Returns the name of the schema which is equivalent with the page name without the namespace prefix.

Since
3.0
Returns
string

Implemented in SMW\Schema\SchemaDefinition.

◆ info()

SMW\Schema\Schema::info (   $key,
  $default = null 
)
Since
3.0
Returns
string

Implemented in SMW\Schema\SchemaDefinition.


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

About | General disclaimer | Privacy policy