Interface luya\web\jsonld\ThingInterface

Implemented byluya\web\jsonld\AggregateRating, luya\web\jsonld\Article, luya\web\jsonld\BarOrPub, luya\web\jsonld\BaseThing, luya\web\jsonld\BlogPosting, luya\web\jsonld\CafeOrCoffeeShop, luya\web\jsonld\Comment, luya\web\jsonld\ContactPoint, luya\web\jsonld\Country, luya\web\jsonld\CreativeWork, luya\web\jsonld\CreativeWorkInterface, luya\web\jsonld\EntertainmentBusiness, luya\web\jsonld\Event, luya\web\jsonld\FoodEstablishment, luya\web\jsonld\GeoCoordinates, luya\web\jsonld\ImageObject, luya\web\jsonld\LiveBlogPosting, luya\web\jsonld\LocalBusiness, luya\web\jsonld\MediaObject, luya\web\jsonld\NightClub, luya\web\jsonld\Offer, luya\web\jsonld\OfferInterface, luya\web\jsonld\Organization, luya\web\jsonld\Person, luya\web\jsonld\Place, luya\web\jsonld\PostalAddress, luya\web\jsonld\PropertyValue, luya\web\jsonld\PropertyValueInterface, luya\web\jsonld\Rating, luya\web\jsonld\Restaurant, luya\web\jsonld\Review, luya\web\jsonld\SocialMediaPosting, luya\web\jsonld\Thing
Available since version1.0.0
Source Code https://github.com/luyadev/luya/blob/master/core/web/jsonld/ThingInterface.php

JsonLd - Thing interface

Method Details

Hide inherited methods

getAdditionalType() public abstract method

public abstract string getAdditionalType ( )

                public function getAdditionalType();

            
getAlternateName() public abstract method

public abstract string getAlternateName ( )

                public function getAlternateName();

            
getDescription() public abstract method

public abstract string getDescription ( )

                public function getDescription();

            
getDisambiguatingDescription() public abstract method

public abstract string getDisambiguatingDescription ( )

                public function getDisambiguatingDescription();

            
getIdentifier() public abstract method

public abstract luya\web\jsonld\PropertyValue getIdentifier ( )

                public function getIdentifier();

            
getImage() public abstract method

public abstract luya\web\jsonld\ImageObject getImage ( )

                public function getImage();

            
getMainEntityOfPage() public abstract method

public abstract luya\web\jsonld\CreativeWork getMainEntityOfPage ( )

                public function getMainEntityOfPage();

            
getName() public abstract method

public abstract string getName ( )

                public function getName();

            
getOffers() public abstract method (available since version 1.2.2)

Get Offer

public abstract luya\web\jsonld\Offer getOffers ( )

                public function getOffers();

            
getSameAs() public abstract method

public abstract string getSameAs ( )

                public function getSameAs();

            
getSubjectOf() public abstract method

public abstract luya\web\jsonld\CreativeWork|luya\web\jsonld\Event getSubjectOf ( )

                public function getSubjectOf();

            
getUrl() public abstract method

public abstract string getUrl ( )

                public function getUrl();

            
setAdditionalType() public abstract method

public abstract static setAdditionalType ( luya\web\jsonld\UrlValue $additionalType )
$additionalType luya\web\jsonld\UrlValue

                public function setAdditionalType(UrlValue $additionalType);

            
setAlternateName() public abstract method

public abstract static setAlternateName ( $alternateName )
$alternateName string

                public function setAlternateName($alternateName);

            
setDescription() public abstract method

public abstract static setDescription ( $description )
$description string

                public function setDescription($description);

            
setDisambiguatingDescription() public abstract method

public abstract static setDisambiguatingDescription ( $disambiguatingDescription )
$disambiguatingDescription string

                public function setDisambiguatingDescription($disambiguatingDescription);

            
setIdentifier() public abstract method

public abstract static setIdentifier ( luya\web\jsonld\PropertyValue $identifier )
$identifier

                public function setIdentifier(PropertyValue $identifier);

            
setImage() public abstract method

public abstract static setImage ( luya\web\jsonld\ImageObject $image )
$image luya\web\jsonld\ImageObject

                public function setImage(ImageObject $image);

            
setMainEntityOfPage() public abstract method

public abstract static setMainEntityOfPage ( luya\web\jsonld\CreativeWork $mainEntityOfPage )
$mainEntityOfPage luya\web\jsonld\CreativeWork

                public function setMainEntityOfPage(CreativeWork $mainEntityOfPage);

            
setName() public abstract method

public abstract static setName ( $name )
$name string

                public function setName($name);

            
setOffers() public abstract method (available since version 1.2.2)

Set Offer

public abstract void setOffers ( luya\web\jsonld\Offer $offers )
$offers

                public function setOffers(Offer $offers);

            
setSameAs() public abstract method

public abstract static setSameAs ( luya\web\jsonld\UrlValue $sameAs )
$sameAs luya\web\jsonld\UrlValue

                public function setSameAs(UrlValue $sameAs);

            
setSubjectOf() public abstract method

public abstract static setSubjectOf ( $subjectOf )
$subjectOf luya\web\jsonld\CreativeWork|luya\web\jsonld\Event

                public function setSubjectOf($subjectOf);

            
setUrl() public abstract method

public abstract static setUrl ( luya\web\jsonld\UrlValue $url )
$url luya\web\jsonld\UrlValue

                public function setUrl(UrlValue $url);