Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SRF\BibTex\Item Class Reference

Public Member Functions

 __construct ()
 
 setFormatterCallback (callable $formatterCallback)
 
 replace ( $key, $text)
 
 set ( $key, $value)
 
 text ()
 

Protected Member Functions

 buildURI ()
 

Protected Attributes

 $fields
 

Detailed Description

See also
http://www.semantic-mediawiki.org/wiki/BibTex

GNU GPL v2+

Since
3.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SRF\BibTex\Item::__construct ( )
Since
3.1

Member Function Documentation

◆ buildURI()

SRF\BibTex\Item::buildURI ( )
protected

Consist of author last name + year + first word of title

Returns
string

◆ replace()

SRF\BibTex\Item::replace (   $key,
  $text 
)
Since
3.1
Parameters
$key
string$text
Returns
string

◆ set()

SRF\BibTex\Item::set (   $key,
  $value 
)
Since
3.1
Parameters
$key
mixed$value

◆ setFormatterCallback()

SRF\BibTex\Item::setFormatterCallback ( callable  $formatterCallback)
Since
3.1
Parameters
callable$compoundLabelCallback

◆ text()

SRF\BibTex\Item::text ( )
Since
3.1
Returns
string

Member Data Documentation

◆ $fields

SRF\BibTex\Item::$fields
protected
Initial value:
= [
'address' => ''

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

About | General disclaimer | Privacy policy