Trait luya\web\jsonld\ImageObjectTrait
| Uses Traits | luya\web\jsonld\MediaObjectTrait |
|---|---|
| Implemented by | luya\web\jsonld\ImageObject |
| Available since version | 1.0.3 |
| Source Code | https://github.com/luyadev/luya/blob/master/core/web/jsonld/ImageObjectTrait.php |
JsonLd ImageObject.
See also http://schema.org/ImageObject.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getCaption() | Getter method for Caption. | luya\web\jsonld\ImageObjectTrait |
| getExifData() | Getter method for exit data. | luya\web\jsonld\ImageObjectTrait |
| getRepresentativeOfPage() | Getter method for representative of page value | luya\web\jsonld\ImageObjectTrait |
| getThumbnail() | Getter method for thumbnail. | luya\web\jsonld\ImageObjectTrait |
| setCaption() | luya\web\jsonld\ImageObjectTrait | |
| setExifData() | luya\web\jsonld\ImageObjectTrait | |
| setRepresentativeOfPage() | luya\web\jsonld\ImageObjectTrait | |
| setThumbnail() | luya\web\jsonld\ImageObjectTrait |
Method Details
Getter method for Caption.
| public void getCaption ( ) |
public function getCaption()
{
return $this->_caption;
}
Getter method for exit data.
| public void getExifData ( ) |
public function getExifData()
{
return $this->_exifData;
}
Getter method for representative of page value
| public void getRepresentativeOfPage ( ) |
public function getRepresentativeOfPage()
{
return $this->_representativeOfPage;
}
Getter method for thumbnail.
| public void getThumbnail ( ) |
public function getThumbnail()
{
return $this->_thumbnail;
}
| public static setCaption ( $caption ) | ||
| $caption | ||
public function setCaption($caption)
{
$this->_caption = $caption;
return $this;
}
| public static setExifData ( luya\web\jsonld\PropertyValue $propertyValue ) | ||
| $propertyValue | ||
public function setExifData(PropertyValue $propertyValue)
{
$this->_exifData = $propertyValue;
return $this;
}
| public static setRepresentativeOfPage ( $representativeOfPage ) | ||
| $representativeOfPage | ||
public function setRepresentativeOfPage($representativeOfPage)
{
$this->_representativeOfPage = $representativeOfPage;
return $this;
}
| public static setThumbnail ( luya\web\jsonld\ImageObject $imageObject ) | ||
| $imageObject | ||
public function setThumbnail(ImageObject $imageObject)
{
$this->_thumbnail = $imageObject;
return $this;
}