Trait luya\web\jsonld\ImageObjectTrait

Uses Traitsluya\web\jsonld\MediaObjectTrait
Implemented byluya\web\jsonld\ImageObject
Available since version1.0.3
Source Code https://github.com/luyadev/luya/blob/master/core/web/jsonld/ImageObjectTrait.php

JsonLd ImageObject.

See also http://schema.org/ImageObject.

Method Details

Hide inherited methods

getCaption() public method

Getter method for Caption.

public void getCaption ( )

                public function getCaption()
{
    return $this->_caption;
}

            
getExifData() public method

Getter method for exit data.

public void getExifData ( )

                public function getExifData()
{
    return $this->_exifData;
}

            
getRepresentativeOfPage() public method

Getter method for representative of page value

public void getRepresentativeOfPage ( )

                public function getRepresentativeOfPage()
{
    return $this->_representativeOfPage;
}

            
getThumbnail() public method

Getter method for thumbnail.

public void getThumbnail ( )

                public function getThumbnail()
{
    return $this->_thumbnail;
}

            
setCaption() public method

public static setCaption ( $caption )
$caption

                public function setCaption($caption)
{
    $this->_caption = $caption;
    return $this;
}

            
setExifData() public method

public static setExifData ( luya\web\jsonld\PropertyValue $propertyValue )
$propertyValue

                public function setExifData(PropertyValue $propertyValue)
{
    $this->_exifData = $propertyValue;
   
    return $this;
}

            
setRepresentativeOfPage() public method

public static setRepresentativeOfPage ( $representativeOfPage )
$representativeOfPage

                public function setRepresentativeOfPage($representativeOfPage)
{
    $this->_representativeOfPage = $representativeOfPage;
   
    return $this;
}

            
setThumbnail() public method

public static setThumbnail ( luya\web\jsonld\ImageObject $imageObject )
$imageObject

                public function setThumbnail(ImageObject $imageObject)
{
    $this->_thumbnail = $imageObject;
    
    return $this;
}