Class JMicrodata

Description

Joomla Platform class for interacting with Microdata semantics.

  • since: 3.2

Located in /libraries/joomla/microdata/microdata.php (line 19)


	
			
Variable Summary
 static array $types
 string $content
 boolean $enabled
 string $fallback
 string $fallbackType
 string $property
 string $type
Method Summary
 static void loadTypes ()
 JMicrodata __construct ([string $type = ''], [boolean $flag = true])
Variables
static array $types = null (line 27)

Array with all available Types and Properties

  • since: 3.2
  • access: protected
string $content = null (line 51)

The Human value or Machine value

  • since: 3.2
  • access: protected
boolean $enabled = true (line 91)

Used to check if the Microdata semantics output are enabled or disabled

  • since: 3.2
  • access: protected
string $fallback = false (line 83)

Used to check if a Fallback must be used

  • since: 3.2
  • access: protected
string $fallbackProperty = null (line 75)

Fallback Property

  • since: 3.2
  • access: protected
string $fallbackType = null (line 67)

Fallback Type

  • since: 3.2
  • access: protected
string $machineContent = null (line 59)

The Machine value

  • since: 3.2
  • access: protected
string $property = null (line 43)

The Property

  • since: 3.2
  • access: protected
string $type = null (line 35)

The Schema.org Type

  • since: 3.2
  • access: protected
Methods
static loadTypes (line 122)

Load all Types and Properties from the types.json file

  • since: 3.2
  • access: protected
static void loadTypes ()
Constructor __construct (line 101)

Initialize the class and setup the default Type

  • since: 3.2
  • access: public
JMicrodata __construct ([string $type = ''], [boolean $flag = true])
  • string $type: Optional, Fallback to Thing Type
  • boolean $flag: Enable or disable microdata output

Documentation generated on Tue, 19 Nov 2013 15:08:12 +0100 by phpDocumentor 1.4.3