PHP Class Swiftriver\Core\ObjectModel\Content

Author: mg[at]swiftly[dot]org
Show file Open project: ushahidi/Swiftriver-2011 Class Usage Examples

Public Properties

Property Type Description
$date timestamp the publish date of the content
$difs DuplicationIdentificationFieldCollection[] The array of DIFs
$extensions array This is the primary mechnisum for extending the product item class, You can use this associative array in any way you can imagine! All you need to be aware of is how the data will be used later on.
$gisData GisData; The global positioning data for this content
$id sytring The unique Id of the content
$link string The hyperlink to the original content
$source Source The source of the content
$state string The current state of the content
$tags Tag[] An array of tags for the content
$text LanguageSpecificText[] A none-assisative array of language specific text associated with the content. Each element of the array is an instance of the Core\ObjectModel\LanguageSpecificText class

Property Details

$date public property

the publish date of the content
public timestamp $date
return timestamp

$difs public property

The array of DIFs
public DuplicationIdentificationFieldCollection[],Swiftriver\Core\ObjectModel $difs
return DuplicationIdentificationFieldCollection[]

$extensions public property

This is the primary mechnisum for extending the product item class, You can use this associative array in any way you can imagine! All you need to be aware of is how the data will be used later on.
public array $extensions
return array

$gisData public property

The global positioning data for this content
public GisData; $gisData
return GisData;

$id public property

The unique Id of the content
public sytring $id
return sytring

$source public property

The source of the content
public Source,Swiftriver\Core\ObjectModel $source
return Source

$state public property

The current state of the content
public string $state
return string

$tags public property

An array of tags for the content
public Tag[],Swiftriver\Core\ObjectModel $tags
return Tag[]

$text public property

A none-assisative array of language specific text associated with the content. Each element of the array is an instance of the Core\ObjectModel\LanguageSpecificText class
public LanguageSpecificText[],Swiftriver\Core\ObjectModel $text
return LanguageSpecificText[]