Class luya\web\jsonld\Review

Inheritanceluya\web\jsonld\Review » luya\web\jsonld\CreativeWork » luya\web\jsonld\BaseThing » yii\base\BaseObject
Implementsluya\web\jsonld\CreativeWorkInterface, luya\web\jsonld\ThingInterface, yii\base\Arrayable, yii\base\Configurable
Uses Traitsluya\web\jsonld\CreativeWorkTrait, luya\web\jsonld\ThingTrait, yii\base\ArrayableTrait
Available since version1.0.14

Review

Public Properties

Hide inherited properties

Property Type Description Defined By
$about luya\web\jsonld\Thing luya\web\jsonld\CreativeWorkTrait
$accessMode string luya\web\jsonld\CreativeWorkTrait
$accessModeSufficient string luya\web\jsonld\CreativeWorkTrait
$accessibilityAPI string luya\web\jsonld\CreativeWorkTrait
$accessibilityControl string luya\web\jsonld\CreativeWorkTrait
$accessibilityFeature string luya\web\jsonld\CreativeWorkTrait
$accessibilityHazard string luya\web\jsonld\CreativeWorkTrait
$accessibilitySummary string luya\web\jsonld\CreativeWorkTrait
$accountablePerson luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$additionalType string luya\web\jsonld\ThingTrait
$alternateName string luya\web\jsonld\ThingTrait
$alternativeHeadline string luya\web\jsonld\CreativeWorkTrait
$associatedMedia luya\web\jsonld\MediaObject luya\web\jsonld\CreativeWorkTrait
$author luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$award string luya\web\jsonld\CreativeWorkTrait
$character luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$citation luya\web\jsonld\CreativeWork luya\web\jsonld\CreativeWorkTrait
$comment luya\web\jsonld\Comment luya\web\jsonld\CreativeWorkTrait
$commentCount integer luya\web\jsonld\CreativeWorkTrait
$contentLocation luya\web\jsonld\Place luya\web\jsonld\CreativeWorkTrait
$contentRating string luya\web\jsonld\CreativeWorkTrait
$contentReferenceTime string luya\web\jsonld\CreativeWorkTrait
$contributor luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$copyrightHolder luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$copyrightYear mixed luya\web\jsonld\CreativeWorkTrait
$creator luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$dateCreated string luya\web\jsonld\CreativeWorkTrait
$dateModified string luya\web\jsonld\CreativeWorkTrait
$datePublished string luya\web\jsonld\CreativeWorkTrait
$description string luya\web\jsonld\ThingTrait
$disambiguatingDescription string luya\web\jsonld\ThingTrait
$discussionUrl string luya\web\jsonld\CreativeWorkTrait
$editor luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$educationalUse string luya\web\jsonld\CreativeWorkTrait
$encoding luya\web\jsonld\MediaObject luya\web\jsonld\CreativeWorkTrait
$exampleOfWork luya\web\jsonld\CreativeWork luya\web\jsonld\CreativeWorkTrait
$expires string luya\web\jsonld\CreativeWorkTrait
$fileFormat \luya\web\jsonld\URL|string luya\web\jsonld\CreativeWorkTrait
$funder luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$genre \luya\web\jsonld\URL|string luya\web\jsonld\CreativeWorkTrait
$hasPart luya\web\jsonld\CreativeWork luya\web\jsonld\CreativeWorkTrait
$headline string luya\web\jsonld\CreativeWorkTrait
$identifier luya\web\jsonld\PropertyValue luya\web\jsonld\ThingTrait
$image luya\web\jsonld\ImageObject luya\web\jsonld\ThingTrait
$interactivityType string luya\web\jsonld\CreativeWorkTrait
$isAccessibleForFree boolean luya\web\jsonld\CreativeWorkTrait
$isFamilyFriendly boolean luya\web\jsonld\CreativeWorkTrait
$isPartOf luya\web\jsonld\CreativeWork luya\web\jsonld\CreativeWorkTrait
$itemReviewed string luya\web\jsonld\Review
$keywords string luya\web\jsonld\CreativeWorkTrait
$learningResourceType string luya\web\jsonld\CreativeWorkTrait
$locationCreated luya\web\jsonld\Place luya\web\jsonld\CreativeWorkTrait
$mainEntity luya\web\jsonld\Thing luya\web\jsonld\CreativeWorkTrait
$mainEntityOfPage luya\web\jsonld\CreativeWork luya\web\jsonld\ThingTrait
$mentions luya\web\jsonld\Thing luya\web\jsonld\CreativeWorkTrait
$name string luya\web\jsonld\ThingTrait
$offers luya\web\jsonld\Offer luya\web\jsonld\ThingTrait
$position integer|string luya\web\jsonld\CreativeWorkTrait
$producer luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$provider luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$publisher luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$publisherImprint luya\web\jsonld\Organization luya\web\jsonld\CreativeWorkTrait
$publishingPrinciples luya\web\jsonld\CreativeWork|\luya\web\jsonld\URL luya\web\jsonld\CreativeWorkTrait
$recordedAt luya\web\jsonld\Event luya\web\jsonld\CreativeWorkTrait
$reviewAspect string luya\web\jsonld\Review
$reviewBody string luya\web\jsonld\Review
$reviewRating luya\web\jsonld\Rating luya\web\jsonld\Review
$sameAs string luya\web\jsonld\ThingTrait
$schemaVersion string luya\web\jsonld\CreativeWorkTrait
$sourceOrganization luya\web\jsonld\Organization luya\web\jsonld\CreativeWorkTrait
$spatialCoverage luya\web\jsonld\Place luya\web\jsonld\CreativeWorkTrait
$sponsor luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$subjectOf luya\web\jsonld\CreativeWork|luya\web\jsonld\Event luya\web\jsonld\ThingTrait
$temporalCoverage \luya\web\jsonld\DateTime|\luya\web\jsonld\URL|string luya\web\jsonld\CreativeWorkTrait
$text string luya\web\jsonld\CreativeWorkTrait
$thumbnailUrl \luya\web\jsonld\URL luya\web\jsonld\CreativeWorkTrait
$translationOfWork luya\web\jsonld\CreativeWork luya\web\jsonld\CreativeWorkTrait
$translator luya\web\jsonld\Organization|luya\web\jsonld\Person luya\web\jsonld\CreativeWorkTrait
$typicalAgeRange string luya\web\jsonld\CreativeWorkTrait
$url string luya\web\jsonld\ThingTrait
$version integer|string luya\web\jsonld\CreativeWorkTrait
$workExample luya\web\jsonld\CreativeWork luya\web\jsonld\CreativeWorkTrait
$workTranslation luya\web\jsonld\CreativeWork luya\web\jsonld\CreativeWorkTrait

Public Methods

Hide inherited methods

Method Description Defined By
__call() Calls the named method which is not a class method. yii\base\BaseObject
__construct() Constructor. yii\base\BaseObject
__get() Returns the value of an object property. yii\base\BaseObject
__isset() Checks if a property is set, i.e. defined and not null. yii\base\BaseObject
__set() Sets value of an object property. yii\base\BaseObject
__unset() Sets an object property to null. yii\base\BaseObject
canGetProperty() Returns a value indicating whether a property can be read. yii\base\BaseObject
canSetProperty() Returns a value indicating whether a property can be set. yii\base\BaseObject
className() Returns the fully qualified name of this class. yii\base\BaseObject
extraFields() Returns the list of fields that can be expanded further and returned by toArray(). yii\base\ArrayableTrait
fields() Returns the list of fields that should be returned by default by toArray() when no specific fields are specified. yii\base\ArrayableTrait
getAbout() luya\web\jsonld\CreativeWorkTrait
getAccessMode() luya\web\jsonld\CreativeWorkTrait
getAccessModeSufficient() luya\web\jsonld\CreativeWorkTrait
getAccessibilityAPI() luya\web\jsonld\CreativeWorkTrait
getAccessibilityControl() luya\web\jsonld\CreativeWorkTrait
getAccessibilityFeature() luya\web\jsonld\CreativeWorkTrait
getAccessibilityHazard() luya\web\jsonld\CreativeWorkTrait
getAccessibilitySummary() luya\web\jsonld\CreativeWorkTrait
getAccountablePerson() luya\web\jsonld\CreativeWorkTrait
getAdditionalType() luya\web\jsonld\ThingTrait
getAlternateName() luya\web\jsonld\ThingTrait
getAlternativeHeadline() luya\web\jsonld\CreativeWorkTrait
getAssociatedMedia() luya\web\jsonld\CreativeWorkTrait
getAuthor() luya\web\jsonld\CreativeWorkTrait
getAward() luya\web\jsonld\CreativeWorkTrait
getCharacter() luya\web\jsonld\CreativeWorkTrait
getCitation() luya\web\jsonld\CreativeWorkTrait
getComment() luya\web\jsonld\CreativeWorkTrait
getCommentCount() luya\web\jsonld\CreativeWorkTrait
getContentLocation() luya\web\jsonld\CreativeWorkTrait
getContentRating() luya\web\jsonld\CreativeWorkTrait
getContentReferenceTime() luya\web\jsonld\CreativeWorkTrait
getContributor() luya\web\jsonld\CreativeWorkTrait
getCopyrightHolder() luya\web\jsonld\CreativeWorkTrait
getCopyrightYear() luya\web\jsonld\CreativeWorkTrait
getCreator() luya\web\jsonld\CreativeWorkTrait
getDateCreated() luya\web\jsonld\CreativeWorkTrait
getDateModified() luya\web\jsonld\CreativeWorkTrait
getDatePublished() luya\web\jsonld\CreativeWorkTrait
getDescription() luya\web\jsonld\ThingTrait
getDisambiguatingDescription() luya\web\jsonld\ThingTrait
getDiscussionUrl() luya\web\jsonld\CreativeWorkTrait
getEditor() luya\web\jsonld\CreativeWorkTrait
getEducationalUse() luya\web\jsonld\CreativeWorkTrait
getEncoding() luya\web\jsonld\CreativeWorkTrait
getExampleOfWork() luya\web\jsonld\CreativeWorkTrait
getExpires() luya\web\jsonld\CreativeWorkTrait
getFileFormat() luya\web\jsonld\CreativeWorkTrait
getFunder() luya\web\jsonld\CreativeWorkTrait
getGenre() luya\web\jsonld\CreativeWorkTrait
getHasPart() luya\web\jsonld\CreativeWorkTrait
getHeadline() luya\web\jsonld\CreativeWorkTrait
getIdentifier() luya\web\jsonld\ThingTrait
getImage() luya\web\jsonld\ThingTrait
getInteractivityType() luya\web\jsonld\CreativeWorkTrait
getItemReviewed() Get Item Reviewed luya\web\jsonld\Review
getKeywords() luya\web\jsonld\CreativeWorkTrait
getLearningResourceType() luya\web\jsonld\CreativeWorkTrait
getLocationCreated() luya\web\jsonld\CreativeWorkTrait
getMainEntity() luya\web\jsonld\CreativeWorkTrait
getMainEntityOfPage() luya\web\jsonld\ThingTrait
getMentions() luya\web\jsonld\CreativeWorkTrait
getName() luya\web\jsonld\ThingTrait
getOffers() Get Offer luya\web\jsonld\ThingTrait
getPosition() luya\web\jsonld\CreativeWorkTrait
getProducer() luya\web\jsonld\CreativeWorkTrait
getProvider() luya\web\jsonld\CreativeWorkTrait
getPublisher() luya\web\jsonld\CreativeWorkTrait
getPublisherImprint() luya\web\jsonld\CreativeWorkTrait
getPublishingPrinciples() luya\web\jsonld\CreativeWorkTrait
getRecordedAt() luya\web\jsonld\CreativeWorkTrait
getReviewAspect() Get review aspect luya\web\jsonld\Review
getReviewBody() Get review body luya\web\jsonld\Review
getReviewRating() Get Review Rating luya\web\jsonld\Review
getSameAs() luya\web\jsonld\ThingTrait
getSchemaVersion() luya\web\jsonld\CreativeWorkTrait
getSourceOrganization() luya\web\jsonld\CreativeWorkTrait
getSpatialCoverage() luya\web\jsonld\CreativeWorkTrait
getSponsor() luya\web\jsonld\CreativeWorkTrait
getSubjectOf() luya\web\jsonld\ThingTrait
getTemporalCoverage() luya\web\jsonld\CreativeWorkTrait
getText() luya\web\jsonld\CreativeWorkTrait
getThumbnailUrl() luya\web\jsonld\CreativeWorkTrait
getTranslationOfWork() luya\web\jsonld\CreativeWorkTrait
getTranslator() luya\web\jsonld\CreativeWorkTrait
getTypicalAgeRange() luya\web\jsonld\CreativeWorkTrait
getUrl() luya\web\jsonld\ThingTrait
getVersion() luya\web\jsonld\CreativeWorkTrait
getWorkExample() luya\web\jsonld\CreativeWorkTrait
getWorkTranslation() luya\web\jsonld\CreativeWorkTrait
getisPartOf() luya\web\jsonld\CreativeWorkTrait
hasMethod() Returns a value indicating whether a method is defined. yii\base\BaseObject
hasProperty() Returns a value indicating whether a property is defined. yii\base\BaseObject
init() Initializes the object. yii\base\BaseObject
isAccessibleForFree() luya\web\jsonld\CreativeWorkTrait
isFamilyFriendly() luya\web\jsonld\CreativeWorkTrait
resolveGetterMethods() Find all getter methods. luya\web\jsonld\BaseThing
setAbout() The subject matter of the content. luya\web\jsonld\CreativeWorkTrait
setAccessMode() The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. luya\web\jsonld\CreativeWorkTrait
setAccessModeSufficient() A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. luya\web\jsonld\CreativeWorkTrait
setAccessibilityAPI() Indicates that the resource is compatible with the referenced accessibility API (WebSchemas wiki lists possible values). luya\web\jsonld\CreativeWorkTrait
setAccessibilityControl() Identifies input methods that are sufficient to fully control the described resource (WebSchemas wiki lists possible values). luya\web\jsonld\CreativeWorkTrait
setAccessibilityFeature() Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility (WebSchemas wiki lists possible values). luya\web\jsonld\CreativeWorkTrait
setAccessibilityHazard() A characteristic of the described resource that is physiologically dangerous to some users. luya\web\jsonld\CreativeWorkTrait
setAccessibilitySummary() A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed." luya\web\jsonld\CreativeWorkTrait
setAccountablePerson() Specifies the Person that is legally accountable for the CreativeWork. luya\web\jsonld\CreativeWorkTrait
setAdditionalType() An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. luya\web\jsonld\ThingTrait
setAlternateName() An alias for the item luya\web\jsonld\ThingTrait
setAlternativeHeadline() A secondary title of the CreativeWork. luya\web\jsonld\CreativeWorkTrait
setAssociatedMedia() A media object that encodes this CreativeWork. This property is a synonym for encoding. luya\web\jsonld\CreativeWorkTrait
setAuthor() The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably. luya\web\jsonld\CreativeWorkTrait
setAward() An award won by or for this item. luya\web\jsonld\CreativeWorkTrait
setCharacter() Fictional person connected with a creative work. luya\web\jsonld\CreativeWorkTrait
setCitation() A citation or reference to another creative work, such as another publication, web page, scholarly article, etc. luya\web\jsonld\CreativeWorkTrait
setComment() Comments, typically from users. luya\web\jsonld\CreativeWorkTrait
setCommentCount() The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere. luya\web\jsonld\CreativeWorkTrait
setContentLocation() The location depicted or described in the content. For example, the location in a photograph or painting. luya\web\jsonld\CreativeWorkTrait
setContentRating() Official rating of a piece of content—for example,'MPAA PG-13'. luya\web\jsonld\CreativeWorkTrait
setContentReferenceTime() The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event. luya\web\jsonld\CreativeWorkTrait
setContributor() A secondary contributor to the CreativeWork or Event. luya\web\jsonld\CreativeWorkTrait
setCopyrightHolder() The party holding the legal copyright to the CreativeWork. luya\web\jsonld\CreativeWorkTrait
setCopyrightYear() The year during which the claimed copyright for the CreativeWork was first asserted. luya\web\jsonld\CreativeWorkTrait
setCreator() The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork. luya\web\jsonld\CreativeWorkTrait
setDateCreated() The date on which the CreativeWork was created or the item was added to a DataFeed. luya\web\jsonld\CreativeWorkTrait
setDateModified() The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed. luya\web\jsonld\CreativeWorkTrait
setDatePublished() Date of first broadcast/publication. luya\web\jsonld\CreativeWorkTrait
setDescription() A description of the item. luya\web\jsonld\ThingTrait
setDisambiguatingDescription() A sub property of description. A short description of the item used to disambiguate from other, similar items. luya\web\jsonld\ThingTrait
setDiscussionUrl() A link to the page containing the comments of the CreativeWork. luya\web\jsonld\CreativeWorkTrait
setEditor() Specifies the Person who edited the CreativeWork. luya\web\jsonld\CreativeWorkTrait
setEducationalUse() The purpose of a work in the context of education; for example, 'assignment', 'group work'. luya\web\jsonld\CreativeWorkTrait
setEncoding() A media object that encodes this CreativeWork. This property is a synonym for associatedMedia. luya\web\jsonld\CreativeWorkTrait
setExampleOfWork() A creative work that this work is an example/instance/realization/derivation of. luya\web\jsonld\CreativeWorkTrait
setExpires() Date the content expires and is no longer useful or available. For example a VideoObject or NewsArticle whose availability or relevance is time-limited, or a ClaimReview fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date. luya\web\jsonld\CreativeWorkTrait
setFileFormat() Media type, typically MIME format (see IANA site) of the content e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry. luya\web\jsonld\CreativeWorkTrait
setFunder() A person or organization that supports (sponsors) something through some kind of financial contribution. luya\web\jsonld\CreativeWorkTrait
setGenre() Genre of the creative work, broadcast channel or group. luya\web\jsonld\CreativeWorkTrait
setHasPart() Indicates a CreativeWork that is (in some sense) a part of this CreativeWork. luya\web\jsonld\CreativeWorkTrait
setHeadline() Headline of the article. luya\web\jsonld\CreativeWorkTrait
setIdentifier() The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details. luya\web\jsonld\ThingTrait
setImage() An image of the item. luya\web\jsonld\ThingTrait
setInteractivityType() The predominant mode of learning supported by the learning resource. luya\web\jsonld\CreativeWorkTrait
setIsAccessibleForFree() A flag to signal that the item, event, or place is accessible for free. luya\web\jsonld\CreativeWorkTrait
setIsFamilyFriendly() Indicates whether this content is family friendly. luya\web\jsonld\CreativeWorkTrait
setIsPartOf() Indicates a CreativeWork that this CreativeWork is (in some sense) part of. luya\web\jsonld\CreativeWorkTrait
setItemReviewed() Set Item Reviewed luya\web\jsonld\Review
setKeywords() Keywords or tags used to describe this content. luya\web\jsonld\CreativeWorkTrait
setLearningResourceType() The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'. luya\web\jsonld\CreativeWorkTrait
setLocationCreated() The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork. luya\web\jsonld\CreativeWorkTrait
setMainEntity() Indicates the primary entity described in some page or other CreativeWork. luya\web\jsonld\CreativeWorkTrait
setMainEntityOfPage() Indicates a page (or other CreativeWork) for which this thing is the main entity being described. luya\web\jsonld\ThingTrait
setMentions() Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept. luya\web\jsonld\CreativeWorkTrait
setName() The name of the item. luya\web\jsonld\ThingTrait
setOffers() Set Offer luya\web\jsonld\ThingTrait
setPosition() The position of an item in a series or sequence of items. luya\web\jsonld\CreativeWorkTrait
setProducer() The person or organization who produced the work (e.g. music album, movie, tv/radio series etc.). luya\web\jsonld\CreativeWorkTrait
setProvider() The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller. luya\web\jsonld\CreativeWorkTrait
setPublisher() The publisher of the creative work. luya\web\jsonld\CreativeWorkTrait
setPublisherImprint() The publishing division which published the comic. luya\web\jsonld\CreativeWorkTrait
setPublishingPrinciples() The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles of an Organization (or individual e.g. a Person writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a CreativeWork (e.g. NewsArticle) the principles are those of the party primarily responsible for the creation of the CreativeWork. luya\web\jsonld\CreativeWorkTrait
setRecordedAt() The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event. luya\web\jsonld\CreativeWorkTrait
setReviewAspect() Set review rating luya\web\jsonld\Review
setReviewBody() Set review body luya\web\jsonld\Review
setReviewRating() Set review rating luya\web\jsonld\Review
setSameAs() URL of a reference Web page that unambiguously indicates the item's identity. luya\web\jsonld\ThingTrait
setSchemaVersion() Indicates (by URL or string) a particular version of a schema used in some CreativeWork. luya\web\jsonld\CreativeWorkTrait
setSourceOrganization() The Organization on whose behalf the creator was working. luya\web\jsonld\CreativeWorkTrait
setSpatialCoverage() The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. luya\web\jsonld\CreativeWorkTrait
setSponsor() A person or organization that supports a thing through a pledge, promise, or financial contribution. luya\web\jsonld\CreativeWorkTrait
setSubjectOf() A CreativeWork or Event about this Thing. luya\web\jsonld\ThingTrait
setTemporalCoverage() The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in ISO 8601 time interval format. In the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content e.g. ScholarlyArticle, Book, TVSeries or TVEpisode may indicate their temporalCoverage in broader terms - textually or via well-known URL. Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945". luya\web\jsonld\CreativeWorkTrait
setText() The textual content of this CreativeWork. luya\web\jsonld\CreativeWorkTrait
setThumbnailUrl() A thumbnail image relevant to the Thing. luya\web\jsonld\CreativeWorkTrait
setTranslationOfWork() The work that this work has been translated from. e.g. 物种起源 is a translationOf “On the Origin of Species” Inverse property: workTranslation. luya\web\jsonld\CreativeWorkTrait
setTranslator() Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event. luya\web\jsonld\CreativeWorkTrait
setTypicalAgeRange() The typical expected age range, e.g. '7-9', '11-'. luya\web\jsonld\CreativeWorkTrait
setUrl() URL of the item. luya\web\jsonld\ThingTrait
setVersion() The version of the CreativeWork embodied by a specified resource. luya\web\jsonld\CreativeWorkTrait
setWorkExample() Example/instance/realization/derivation of the concept of this creative work. luya\web\jsonld\CreativeWorkTrait
setWorkTranslation() A work that is a translation of the content of this work. e.g. 西遊記 has an English workTranslation “Journey to the West”,a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo. luya\web\jsonld\CreativeWorkTrait
toArray() Converts the model into an array. yii\base\ArrayableTrait
typeDefintion() luya\web\jsonld\Review

Protected Methods

Hide inherited methods

Method Description Defined By
extractFieldsFor() Extract nested fields from a fields collection for a given root field Nested fields are separated with dots (.). e.g: "item.id" The previous example would extract "id". yii\base\ArrayableTrait
extractRootFields() Extracts the root field names from nested fields. yii\base\ArrayableTrait
resolveFields() Determines which fields can be returned by toArray(). yii\base\ArrayableTrait

Property Details

Hide inherited properties

$itemReviewed public property
public string getItemReviewed ( )
public static setItemReviewed ( luya\web\jsonld\Thing $itemReviewed )
$reviewAspect public property
public string getReviewAspect ( )
public static setReviewAspect ( $reviewAspect )
$reviewBody public property
public string getReviewBody ( )
public static setReviewBody ( $reviewBody )
$reviewRating public property

Method Details

Hide inherited methods

__call() public method

Defined in: yii\base\BaseObject::__call()

Calls the named method which is not a class method.

Do not call this method directly as it is a PHP magic method that will be implicitly called when an unknown method is being invoked.

public mixed __call ( $name, $params )
$name string

The method name

$params array

Method parameters

return mixed

The method return value

throws yii\base\UnknownMethodException

when calling unknown method

                public function __call($name, $params)
{
    throw new UnknownMethodException('Calling unknown method: ' . get_class($this) . "::$name()");
}

            
__construct() public method

Defined in: yii\base\BaseObject::__construct()

Constructor.

The default implementation does two things:

  • Initializes the object with the given configuration $config.
  • Call init().

If this method is overridden in a child class, it is recommended that

  • the last parameter of the constructor is a configuration array, like $config here.
  • call the parent implementation at the end of the constructor.
public void __construct ( $config = [] )
$config array

Name-value pairs that will be used to initialize the object properties

                public function __construct($config = [])
{
    if (!empty($config)) {
        Yii::configure($this, $config);
    }
    $this->init();
}

            
__get() public method

Defined in: yii\base\BaseObject::__get()

Returns the value of an object property.

Do not call this method directly as it is a PHP magic method that will be implicitly called when executing $value = $object->property;.

See also __set().

public mixed __get ( $name )
$name string

The property name

return mixed

The property value

throws yii\base\UnknownPropertyException

if the property is not defined

throws yii\base\InvalidCallException

if the property is write-only

                public function __get($name)
{
    $getter = 'get' . $name;
    if (method_exists($this, $getter)) {
        return $this->$getter();
    } elseif (method_exists($this, 'set' . $name)) {
        throw new InvalidCallException('Getting write-only property: ' . get_class($this) . '::' . $name);
    }
    throw new UnknownPropertyException('Getting unknown property: ' . get_class($this) . '::' . $name);
}

            
__isset() public method

Defined in: yii\base\BaseObject::__isset()

Checks if a property is set, i.e. defined and not null.

Do not call this method directly as it is a PHP magic method that will be implicitly called when executing isset($object->property).

Note that if the property is not defined, false will be returned.

See also https://www.php.net/manual/en/function.isset.php.

public boolean __isset ( $name )
$name string

The property name or the event name

return boolean

Whether the named property is set (not null).

                public function __isset($name)
{
    $getter = 'get' . $name;
    if (method_exists($this, $getter)) {
        return $this->$getter() !== null;
    }
    return false;
}

            
__set() public method

Defined in: yii\base\BaseObject::__set()

Sets value of an object property.

Do not call this method directly as it is a PHP magic method that will be implicitly called when executing $object->property = $value;.

See also __get().

public void __set ( $name, $value )
$name string

The property name or the event name

$value mixed

The property value

throws yii\base\UnknownPropertyException

if the property is not defined

throws yii\base\InvalidCallException

if the property is read-only

                public function __set($name, $value)
{
    $setter = 'set' . $name;
    if (method_exists($this, $setter)) {
        $this->$setter($value);
    } elseif (method_exists($this, 'get' . $name)) {
        throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::' . $name);
    } else {
        throw new UnknownPropertyException('Setting unknown property: ' . get_class($this) . '::' . $name);
    }
}

            
__unset() public method

Defined in: yii\base\BaseObject::__unset()

Sets an object property to null.

Do not call this method directly as it is a PHP magic method that will be implicitly called when executing unset($object->property).

Note that if the property is not defined, this method will do nothing. If the property is read-only, it will throw an exception.

See also https://www.php.net/manual/en/function.unset.php.

public void __unset ( $name )
$name string

The property name

throws yii\base\InvalidCallException

if the property is read only.

                public function __unset($name)
{
    $setter = 'set' . $name;
    if (method_exists($this, $setter)) {
        $this->$setter(null);
    } elseif (method_exists($this, 'get' . $name)) {
        throw new InvalidCallException('Unsetting read-only property: ' . get_class($this) . '::' . $name);
    }
}

            
canGetProperty() public method

Defined in: yii\base\BaseObject::canGetProperty()

Returns a value indicating whether a property can be read.

A property is readable if:

  • the class has a getter method associated with the specified name (in this case, property name is case-insensitive);
  • the class has a member variable with the specified name (when $checkVars is true);

See also canSetProperty().

public boolean canGetProperty ( $name, $checkVars true )
$name string

The property name

$checkVars boolean

Whether to treat member variables as properties

return boolean

Whether the property can be read

                public function canGetProperty($name, $checkVars = true)
{
    return method_exists($this, 'get' . $name) || $checkVars && property_exists($this, $name);
}

            
canSetProperty() public method

Defined in: yii\base\BaseObject::canSetProperty()

Returns a value indicating whether a property can be set.

A property is writable if:

  • the class has a setter method associated with the specified name (in this case, property name is case-insensitive);
  • the class has a member variable with the specified name (when $checkVars is true);

See also canGetProperty().

public boolean canSetProperty ( $name, $checkVars true )
$name string

The property name

$checkVars boolean

Whether to treat member variables as properties

return boolean

Whether the property can be written

                public function canSetProperty($name, $checkVars = true)
{
    return method_exists($this, 'set' . $name) || $checkVars && property_exists($this, $name);
}

            
className() public static method
Deprecated since 2.0.14. On PHP >=5.5, use ::class instead.

Defined in: yii\base\BaseObject::className()

Returns the fully qualified name of this class.

public static string className ( )
return string

The fully qualified name of this class.

                public static function className()
{
    return get_called_class();
}

            
extraFields() public method

Defined in: yii\base\ArrayableTrait::extraFields()

Returns the list of fields that can be expanded further and returned by toArray().

This method is similar to fields() except that the list of fields returned by this method are not returned by default by toArray(). Only when field names to be expanded are explicitly specified when calling toArray(), will their values be exported.

The default implementation returns an empty array.

You may override this method to return a list of expandable fields based on some context information (e.g. the current application user).

See also:

public array extraFields ( )
return array

The list of expandable field names or field definitions. Please refer to fields() on the format of the return value.

                public function extraFields()
{
    return [];
}

            
extractFieldsFor() protected method (available since version 2.0.14)

Defined in: yii\base\ArrayableTrait::extractFieldsFor()

Extract nested fields from a fields collection for a given root field Nested fields are separated with dots (.). e.g: "item.id" The previous example would extract "id".

protected array extractFieldsFor ( array $fields, $rootField )
$fields array

The fields requested for extraction

$rootField string

The root field for which we want to extract the nested fields

return array

Nested fields extracted for the given field

                protected function extractFieldsFor(array $fields, $rootField)
{
    $result = [];
    foreach ($fields as $field) {
        if (0 === strpos($field, "{$rootField}.")) {
            $result[] = preg_replace('/^' . preg_quote($rootField, '/') . '\./i', '', $field);
        }
    }
    return array_unique($result);
}

            
extractRootFields() protected method (available since version 2.0.14)

Defined in: yii\base\ArrayableTrait::extractRootFields()

Extracts the root field names from nested fields.

Nested fields are separated with dots (.). e.g: "item.id" The previous example would extract "item".

protected array extractRootFields ( array $fields )
$fields array

The fields requested for extraction

return array

Root fields extracted from the given nested fields

                protected function extractRootFields(array $fields)
{
    $result = [];
    foreach ($fields as $field) {
        $result[] = current(explode('.', $field, 2));
    }
    if (in_array('*', $result, true)) {
        $result = [];
    }
    return array_unique($result);
}

            
fields() public method

Defined in: yii\base\ArrayableTrait::fields()

Returns the list of fields that should be returned by default by toArray() when no specific fields are specified.

A field is a named element in the returned array by toArray().

This method should return an array of field names or field definitions. If the former, the field name will be treated as an object property name whose value will be used as the field value. If the latter, the array key should be the field name while the array value should be the corresponding field definition which can be either an object property name or a PHP callable returning the corresponding field value. The signature of the callable should be:

function ($model, $field) {
    // return field value
}

For example, the following code declares four fields:

  • email: the field name is the same as the property name email;
  • firstName and lastName: the field names are firstName and lastName, and their values are obtained from the first_name and last_name properties;
  • fullName: the field name is fullName. Its value is obtained by concatenating first_name and last_name.
return [
    'email',
    'firstName' => 'first_name',
    'lastName' => 'last_name',
    'fullName' => function () {
        return $this->first_name . ' ' . $this->last_name;
    },
];

In this method, you may also want to return different lists of fields based on some context information. For example, depending on the privilege of the current application user, you may return different sets of visible fields or filter out some fields.

The default implementation of this method returns the public object member variables indexed by themselves.

See also toArray().

public array fields ( )
return array

The list of field names or field definitions.

                public function fields()
{
    $fields = array_keys(Yii::getObjectVars($this));
    return array_combine($fields, $fields);
}

            
getAbout() public method
public luya\web\jsonld\Thing getAbout ( )

                public function getAbout()
{
    return $this->_about;
}

            
getAccessMode() public method
public string getAccessMode ( )

                public function getAccessMode()
{
    return $this->_accessMode;
}

            
getAccessModeSufficient() public method
public string getAccessModeSufficient ( )

                public function getAccessModeSufficient()
{
    return $this->_accessModeSufficient;
}

            
getAccessibilityAPI() public method
public string getAccessibilityAPI ( )

                public function getAccessibilityAPI()
{
    return $this->_accessibilityAPI;
}

            
getAccessibilityControl() public method
public string getAccessibilityControl ( )

                public function getAccessibilityControl()
{
    return $this->_accessibilityControl;
}

            
getAccessibilityFeature() public method
public string getAccessibilityFeature ( )

                public function getAccessibilityFeature()
{
    return $this->_accessibilityFeature;
}

            
getAccessibilityHazard() public method
public string getAccessibilityHazard ( )

                public function getAccessibilityHazard()
{
    return $this->_accessibilityHazard;
}

            
getAccessibilitySummary() public method
public string getAccessibilitySummary ( )

                public function getAccessibilitySummary()
{
    return $this->_accessibilitySummary;
}

            
getAccountablePerson() public method
public luya\web\jsonld\Person getAccountablePerson ( )

                public function getAccountablePerson()
{
    return $this->_accountablePerson;
}

            
getAdditionalType() public method
public string getAdditionalType ( )

                public function getAdditionalType()
{
    return $this->_additionalType;
}

            
getAlternateName() public method
public string getAlternateName ( )

                public function getAlternateName()
{
    return $this->_alternateName;
}

            
getAlternativeHeadline() public method
public string getAlternativeHeadline ( )

                public function getAlternativeHeadline()
{
    return $this->_alternativeHeadline;
}

            
getAssociatedMedia() public method
public luya\web\jsonld\MediaObject getAssociatedMedia ( )

                public function getAssociatedMedia()
{
    return $this->_associatedMedia;
}

            
getAuthor() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getAuthor ( )

                public function getAuthor()
{
    return $this->_author;
}

            
getAward() public method
public string getAward ( )

                public function getAward()
{
    return $this->_award;
}

            
getCharacter() public method
public luya\web\jsonld\Person getCharacter ( )

                public function getCharacter()
{
    return $this->_character;
}

            
getCitation() public method
public luya\web\jsonld\CreativeWork getCitation ( )

                public function getCitation()
{
    return $this->_citation;
}

            
getComment() public method
public luya\web\jsonld\Comment getComment ( )

                public function getComment()
{
    return $this->_comment;
}

            
getCommentCount() public method
public integer getCommentCount ( )

                public function getCommentCount()
{
    return $this->_commentCount;
}

            
getContentLocation() public method
public luya\web\jsonld\Place getContentLocation ( )

                public function getContentLocation()
{
    return $this->_contentLocation;
}

            
getContentRating() public method
public string getContentRating ( )

                public function getContentRating()
{
    return $this->_contentRating;
}

            
getContentReferenceTime() public method
public string getContentReferenceTime ( )

                public function getContentReferenceTime()
{
    return $this->_contentReferenceTime;
}

            
getContributor() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getContributor ( )

                public function getContributor()
{
    return $this->_contributor;
}

            
getCopyrightHolder() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getCopyrightHolder ( )

                public function getCopyrightHolder()
{
    return $this->_copyrightHolder;
}

            
getCopyrightYear() public method
public mixed getCopyrightYear ( )

                public function getCopyrightYear()
{
    return $this->_copyrightYear;
}

            
getCreator() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getCreator ( )

                public function getCreator()
{
    return $this->_creator;
}

            
getDateCreated() public method
public string getDateCreated ( )

                public function getDateCreated()
{
    return $this->_dateCreated;
}

            
getDateModified() public method
public string getDateModified ( )

                public function getDateModified()
{
    return $this->_dateModified;
}

            
getDatePublished() public method
public string getDatePublished ( )

                public function getDatePublished()
{
    return $this->_datePublished;
}

            
getDescription() public method
public string getDescription ( )

                public function getDescription()
{
    return $this->_description;
}

            
getDisambiguatingDescription() public method
public string getDisambiguatingDescription ( )

                public function getDisambiguatingDescription()
{
    return $this->_disambiguatingDescription;
}

            
getDiscussionUrl() public method
public string getDiscussionUrl ( )

                public function getDiscussionUrl()
{
    return $this->_discussionUrl;
}

            
getEditor() public method
public luya\web\jsonld\Person getEditor ( )

                public function getEditor()
{
    return $this->_editor;
}

            
getEducationalUse() public method
public string getEducationalUse ( )

                public function getEducationalUse()
{
    return $this->_educationalUse;
}

            
getEncoding() public method
public luya\web\jsonld\MediaObject getEncoding ( )

                public function getEncoding()
{
    return $this->_encoding;
}

            
getExampleOfWork() public method
public luya\web\jsonld\CreativeWork getExampleOfWork ( )

                public function getExampleOfWork()
{
    return $this->_exampleOfWork;
}

            
getExpires() public method
public string getExpires ( )

                public function getExpires()
{
    return $this->_expires;
}

            
getFileFormat() public method
public \luya\web\jsonld\URL|string getFileFormat ( )

                public function getFileFormat()
{
    return $this->_fileFormat;
}

            
getFunder() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getFunder ( )

                public function getFunder()
{
    return $this->_funder;
}

            
getGenre() public method
public \luya\web\jsonld\URL|string getGenre ( )

                public function getGenre()
{
    return $this->_genre;
}

            
getHasPart() public method
public luya\web\jsonld\CreativeWork getHasPart ( )

                public function getHasPart()
{
    return $this->_hasPart;
}

            
getHeadline() public method
public string getHeadline ( )

                public function getHeadline()
{
    return $this->_headline;
}

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

                public function getIdentifier()
{
    return $this->_identifier;
}

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

                public function getImage()
{
    return $this->_image;
}

            
getInteractivityType() public method
public string getInteractivityType ( )

                public function getInteractivityType()
{
    return $this->_interactivityType;
}

            
getItemReviewed() public method

Get Item Reviewed

public string getItemReviewed ( )

                public function getItemReviewed()
{
    return $this->_itemRevieved;
}

            
getKeywords() public method
public string getKeywords ( )

                public function getKeywords()
{
    return $this->_keywords;
}

            
getLearningResourceType() public method
public string getLearningResourceType ( )

                public function getLearningResourceType()
{
    return $this->_learningResourceType;
}

            
getLocationCreated() public method
public luya\web\jsonld\Place getLocationCreated ( )

                public function getLocationCreated()
{
    return $this->_locationCreated;
}

            
getMainEntity() public method
public luya\web\jsonld\Thing getMainEntity ( )

                public function getMainEntity()
{
    return $this->_mainEntity;
}

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

                public function getMainEntityOfPage()
{
    return $this->_mainEntityOfPage;
}

            
getMentions() public method
public luya\web\jsonld\Thing getMentions ( )

                public function getMentions()
{
    return $this->_mentions;
}

            
getName() public method
public string getName ( )

                public function getName()
{
    return $this->_name;
}

            
getOffers() public method (available since version 1.2.2)
public luya\web\jsonld\Offer getOffers ( )

                public function getOffers()
{
    return $this->_offers;
}

            
getPosition() public method
public integer|string getPosition ( )

                public function getPosition()
{
    return $this->_position;
}

            
getProducer() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getProducer ( )

                public function getProducer()
{
    return $this->_producer;
}

            
getProvider() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getProvider ( )

                public function getProvider()
{
    return $this->_provider;
}

            
getPublisher() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getPublisher ( )

                public function getPublisher()
{
    return $this->_publisher;
}

            
getPublisherImprint() public method
public luya\web\jsonld\Organization getPublisherImprint ( )

                public function getPublisherImprint()
{
    return $this->_publisherImprint;
}

            
getPublishingPrinciples() public method
public luya\web\jsonld\CreativeWork|\luya\web\jsonld\URL getPublishingPrinciples ( )

                public function getPublishingPrinciples()
{
    return $this->_publishingPrinciples;
}

            
getRecordedAt() public method
public luya\web\jsonld\Event getRecordedAt ( )

                public function getRecordedAt()
{
    return $this->_recordedAt;
}

            
getReviewAspect() public method

Get review aspect

public string getReviewAspect ( )

                public function getReviewAspect()
{
    return $this->_reviewAspect;
}

            
getReviewBody() public method

Get review body

public string getReviewBody ( )

                public function getReviewBody()
{
    return $this->_reviewBody;
}

            
getReviewRating() public method

Get Review Rating

public luya\web\jsonld\Rating getReviewRating ( )

                public function getReviewRating()
{
    return $this->_reviewRating;
}

            
getSameAs() public method
public string getSameAs ( )

                public function getSameAs()
{
    return $this->_sameAs;
}

            
getSchemaVersion() public method
public string getSchemaVersion ( )

                public function getSchemaVersion()
{
    return $this->_schemaVersion;
}

            
getSourceOrganization() public method
public luya\web\jsonld\Organization getSourceOrganization ( )

                public function getSourceOrganization()
{
    return $this->_sourceOrganization;
}

            
getSpatialCoverage() public method
public luya\web\jsonld\Place getSpatialCoverage ( )

                public function getSpatialCoverage()
{
    return $this->_spatialCoverage;
}

            
getSponsor() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getSponsor ( )

                public function getSponsor()
{
    return $this->_sponsor;
}

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

                public function getSubjectOf()
{
    return $this->_subjectOf;
}

            
getTemporalCoverage() public method
public \luya\web\jsonld\DateTime|\luya\web\jsonld\URL|string getTemporalCoverage ( )

                public function getTemporalCoverage()
{
    return $this->_temporalCoverage;
}

            
getText() public method
public string getText ( )

                public function getText()
{
    return $this->_text;
}

            
getThumbnailUrl() public method
public \luya\web\jsonld\URL getThumbnailUrl ( )

                public function getThumbnailUrl()
{
    return $this->_thumbnailUrl;
}

            
getTranslationOfWork() public method
public luya\web\jsonld\CreativeWork getTranslationOfWork ( )

                public function getTranslationOfWork()
{
    return $this->_translationOfWork;
}

            
getTranslator() public method
public luya\web\jsonld\Organization|luya\web\jsonld\Person getTranslator ( )

                public function getTranslator()
{
    return $this->_translator;
}

            
getTypicalAgeRange() public method
public string getTypicalAgeRange ( )

                public function getTypicalAgeRange()
{
    return $this->_typicalAgeRange;
}

            
getUrl() public method
public string getUrl ( )

                public function getUrl()
{
    return $this->_url;
}

            
getVersion() public method
public integer|string getVersion ( )

                public function getVersion()
{
    return $this->_version;
}

            
getWorkExample() public method
public luya\web\jsonld\CreativeWork getWorkExample ( )

                public function getWorkExample()
{
    return $this->_workExample;
}

            
getWorkTranslation() public method
public luya\web\jsonld\CreativeWork getWorkTranslation ( )

                public function getWorkTranslation()
{
    return $this->_workTranslation;
}

            
getisPartOf() public method
public luya\web\jsonld\CreativeWork getisPartOf ( )

                public function getisPartOf()
{
    return $this->_isPartOf;
}

            
hasMethod() public method

Defined in: yii\base\BaseObject::hasMethod()

Returns a value indicating whether a method is defined.

The default implementation is a call to php function method_exists(). You may override this method when you implemented the php magic method __call().

public boolean hasMethod ( $name )
$name string

The method name

return boolean

Whether the method is defined

                public function hasMethod($name)
{
    return method_exists($this, $name);
}

            
hasProperty() public method

Defined in: yii\base\BaseObject::hasProperty()

Returns a value indicating whether a property is defined.

A property is defined if:

  • the class has a getter or setter method associated with the specified name (in this case, property name is case-insensitive);
  • the class has a member variable with the specified name (when $checkVars is true);

See also:

public boolean hasProperty ( $name, $checkVars true )
$name string

The property name

$checkVars boolean

Whether to treat member variables as properties

return boolean

Whether the property is defined

                public function hasProperty($name, $checkVars = true)
{
    return $this->canGetProperty($name, $checkVars) || $this->canSetProperty($name, false);
}

            
init() public method

Defined in: yii\base\BaseObject::init()

Initializes the object.

This method is invoked at the end of the constructor after the object is initialized with the given configuration.

public void init ( )

                public function init()
{
}

            
isAccessibleForFree() public method
public boolean isAccessibleForFree ( )

                public function isAccessibleForFree()
{
    return $this->_isAccessibleForFree;
}

            
isFamilyFriendly() public method
public boolean isFamilyFriendly ( )

                public function isFamilyFriendly()
{
    return $this->_isFamilyFriendly;
}

            
resolveFields() protected method

Defined in: yii\base\ArrayableTrait::resolveFields()

Determines which fields can be returned by toArray().

This method will first extract the root fields from the given fields. Then it will check the requested root fields against those declared in fields() and extraFields() to determine which fields can be returned.

protected array resolveFields ( array $fields, array $expand )
$fields array

The fields being requested for exporting

$expand array

The additional fields being requested for exporting

return array

The list of fields to be exported. The array keys are the field names, and the array values are the corresponding object property names or PHP callables returning the field values.

                protected function resolveFields(array $fields, array $expand)
{
    $fields = $this->extractRootFields($fields);
    $expand = $this->extractRootFields($expand);
    $result = [];
    foreach ($this->fields() as $field => $definition) {
        if (is_int($field)) {
            $field = $definition;
        }
        if (empty($fields) || in_array($field, $fields, true)) {
            $result[$field] = $definition;
        }
    }
    if (empty($expand)) {
        return $result;
    }
    foreach ($this->extraFields() as $field => $definition) {
        if (is_int($field)) {
            $field = $definition;
        }
        if (in_array($field, $expand, true)) {
            $result[$field] = $definition;
        }
    }
    return $result;
}

            
resolveGetterMethods() public method

Defined in: luya\web\jsonld\BaseThing::resolveGetterMethods()

Find all getter methods.

public array resolveGetterMethods ( )

                public function resolveGetterMethods()
{
    $resolved = [];
    $methods = get_class_methods($this);
    
    if (!$methods) {
        return [];
    }
    
    foreach ($methods as $method) {
        if (StringHelper::startsWith($method, 'get', true)) {
            $resolved[] = lcfirst(StringHelper::replaceFirst('get', '', $method));
        }
    }
    
    asort($resolved);
    
    return $resolved;
}

            
setAbout() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAbout()

The subject matter of the content.

Inverse property: subjectOf.

public static setAbout ( luya\web\jsonld\Thing $about )
$about luya\web\jsonld\Thing

                public function setAbout(Thing $about)
{
    $this->_about = $about;
    return $this;
}

            
setAccessMode() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccessMode()

The human sensory perceptual system or cognitive faculty through which a person may process or perceive information.

Expected values include: auditory, tactile, textual, visual, colorDependent, chartOnVisual, chemOnVisual, diagramOnVisual, mathOnVisual, musicOnVisual, textOnVisual.

public static setAccessMode ( $accessMode )
$accessMode string

                public function setAccessMode($accessMode)
{
    $this->_accessMode = $accessMode;
    return $this;
}

            
setAccessModeSufficient() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccessModeSufficient()

A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource.

Expected values include: auditory, tactile, textual, visual.

public static setAccessModeSufficient ( $accessModeSufficient )
$accessModeSufficient string

                public function setAccessModeSufficient($accessModeSufficient)
{
    $this->_accessModeSufficient = $accessModeSufficient;
    return $this;
}

            
setAccessibilityAPI() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccessibilityAPI()

Indicates that the resource is compatible with the referenced accessibility API (WebSchemas wiki lists possible values).

public static setAccessibilityAPI ( $accessibilityAPI )
$accessibilityAPI string

                public function setAccessibilityAPI($accessibilityAPI)
{
    $this->_accessibilityAPI = $accessibilityAPI;
    return $this;
}

            
setAccessibilityControl() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccessibilityControl()

Identifies input methods that are sufficient to fully control the described resource (WebSchemas wiki lists possible values).

public static setAccessibilityControl ( $accessibilityControl )
$accessibilityControl string

                public function setAccessibilityControl($accessibilityControl)
{
    $this->_accessibilityControl = $accessibilityControl;
    return $this;
}

            
setAccessibilityFeature() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccessibilityFeature()

Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility (WebSchemas wiki lists possible values).

public static setAccessibilityFeature ( $accessibilityFeature )
$accessibilityFeature string

                public function setAccessibilityFeature($accessibilityFeature)
{
    $this->_accessibilityFeature = $accessibilityFeature;
    return $this;
}

            
setAccessibilityHazard() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccessibilityHazard()

A characteristic of the described resource that is physiologically dangerous to some users.

Related to WCAG 2.0 guideline 2.3 (WebSchemas wiki lists possible values).

public static setAccessibilityHazard ( $accessibilityHazard )
$accessibilityHazard string

                public function setAccessibilityHazard($accessibilityHazard)
{
    $this->_accessibilityHazard = $accessibilityHazard;
    return $this;
}

            
setAccessibilitySummary() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccessibilitySummary()

A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed."

public static setAccessibilitySummary ( $accessibilitySummary )
$accessibilitySummary string

                public function setAccessibilitySummary($accessibilitySummary)
{
    $this->_accessibilitySummary = $accessibilitySummary;
    return $this;
}

            
setAccountablePerson() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAccountablePerson()

Specifies the Person that is legally accountable for the CreativeWork.

public static setAccountablePerson ( luya\web\jsonld\Person $accountablePerson )
$accountablePerson luya\web\jsonld\Person

                public function setAccountablePerson(Person $accountablePerson)
{
    $this->_accountablePerson = $accountablePerson;
    return $this;
}

            
setAdditionalType() public method

Defined in: luya\web\jsonld\ThingTrait::setAdditionalType()

An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.

This is a relationship between something and a class that the thing is in.

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

                public function setAdditionalType(UrlValue $additionalType)
{
    $this->_additionalType = $additionalType->getValue();
    return $this;
}

            
setAlternateName() public method

Defined in: luya\web\jsonld\ThingTrait::setAlternateName()

An alias for the item

public static setAlternateName ( $alternateName )
$alternateName string

                public function setAlternateName($alternateName)
{
    $this->_alternateName = $alternateName;
    return $this;
}

            
setAlternativeHeadline() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAlternativeHeadline()

A secondary title of the CreativeWork.

public static setAlternativeHeadline ( $alternativeHeadline )
$alternativeHeadline string

                public function setAlternativeHeadline($alternativeHeadline)
{
    $this->_alternativeHeadline = $alternativeHeadline;
    return $this;
}

            
setAssociatedMedia() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAssociatedMedia()

A media object that encodes this CreativeWork. This property is a synonym for encoding.

public static setAssociatedMedia ( luya\web\jsonld\MediaObject $associatedMedia )
$associatedMedia luya\web\jsonld\MediaObject

                public function setAssociatedMedia(MediaObject $associatedMedia)
{
    $this->_associatedMedia = $associatedMedia;
    return $this;
}

            
setAuthor() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAuthor()

The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.

public static setAuthor ( $author )
$author luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setAuthor($author)
{
    ObjectHelper::isInstanceOf($author, [Organization::class, PersonInterface::class]);
    
    $this->_author = $author;
    return $this;
}

            
setAward() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setAward()

An award won by or for this item.

Supersedes awards.

public static setAward ( $award )
$award string

                public function setAward($award)
{
    $this->_award = $award;
    return $this;
}

            
setCharacter() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setCharacter()

Fictional person connected with a creative work.

public static setCharacter ( luya\web\jsonld\Person $character )
$character luya\web\jsonld\Person

                public function setCharacter(Person $character)
{
    $this->_character = $character;
    return $this;
}

            
setCitation() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setCitation()

A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.

public static setCitation ( luya\web\jsonld\CreativeWork $citation )
$citation luya\web\jsonld\CreativeWork

                public function setCitation(CreativeWork $citation)
{
    $this->_citation = $citation;
    return $this;
}

            
setComment() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setComment()

Comments, typically from users.

public static setComment ( luya\web\jsonld\Comment $comment )
$comment luya\web\jsonld\Comment

                public function setComment(Comment $comment)
{
    $this->_comment = $comment;
    return $this;
}

            
setCommentCount() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setCommentCount()

The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere.

public static setCommentCount ( $commentCount )
$commentCount integer

                public function setCommentCount($commentCount)
{
    $this->_commentCount = $commentCount;
    return $this;
}

            
setContentLocation() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setContentLocation()

The location depicted or described in the content. For example, the location in a photograph or painting.

public static setContentLocation ( luya\web\jsonld\Place $contentLocation )
$contentLocation luya\web\jsonld\Place

                public function setContentLocation(Place $contentLocation)
{
    $this->_contentLocation = $contentLocation;
    return $this;
}

            
setContentRating() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setContentRating()

Official rating of a piece of content—for example,'MPAA PG-13'.

public static setContentRating ( $contentRating )
$contentRating string

                public function setContentRating($contentRating)
{
    $this->_contentRating = $contentRating;
    return $this;
}

            
setContentReferenceTime() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setContentReferenceTime()

The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.

public static setContentReferenceTime ( luya\web\jsonld\DateTimeValue $contentReferenceTime )
$contentReferenceTime luya\web\jsonld\DateTimeValue

                public function setContentReferenceTime(DateTimeValue $contentReferenceTime)
{
    $this->_contentReferenceTime = $contentReferenceTime->getValue();
    return $this;
}

            
setContributor() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setContributor()

A secondary contributor to the CreativeWork or Event.

public static setContributor ( $contributor )
$contributor luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setContributor($contributor)
{
    ObjectHelper::isInstanceOf($contributor, [Organization::class, PersonInterface::class]);
    
    $this->_contributor = $contributor;
    return $this;
}

            
setCopyrightHolder() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setCopyrightHolder()

The party holding the legal copyright to the CreativeWork.

public static setCopyrightHolder ( $copyrightHolder )
$copyrightHolder luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setCopyrightHolder($copyrightHolder)
{
    ObjectHelper::isInstanceOf($copyrightHolder, [Organization::class, PersonInterface::class]);
    
    $this->_copyrightHolder = $copyrightHolder;
    return $this;
}

            
setCopyrightYear() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setCopyrightYear()

The year during which the claimed copyright for the CreativeWork was first asserted.

public static setCopyrightYear ( $copyrightYear )
$copyrightYear mixed

                public function setCopyrightYear($copyrightYear)
{
    $this->_copyrightYear = $copyrightYear;
    return $this;
}

            
setCreator() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setCreator()

The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.

public static setCreator ( $creator )
$creator luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setCreator($creator)
{
    ObjectHelper::isInstanceOf($creator, [Organization::class, PersonInterface::class]);
    
    $this->_creator = $creator;
    return $this;
}

            
setDateCreated() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setDateCreated()

The date on which the CreativeWork was created or the item was added to a DataFeed.

public static setDateCreated ( luya\web\jsonld\DateTimeValue $dateCreated )
$dateCreated luya\web\jsonld\DateTimeValue

                public function setDateCreated(DateTimeValue $dateCreated)
{
    $this->_dateCreated = $dateCreated->getValue();
    return $this;
}

            
setDateModified() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setDateModified()

The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.

public static setDateModified ( luya\web\jsonld\DateTimeValue $dateModified )
$dateModified luya\web\jsonld\DateTimeValue

                public function setDateModified(DateTimeValue $dateModified)
{
    $this->_dateModified = $dateModified->getValue();
    return $this;
}

            
setDatePublished() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setDatePublished()

Date of first broadcast/publication.

public static setDatePublished ( luya\web\jsonld\DateTimeValue $datePublished )
$datePublished luya\web\jsonld\DateTimeValue

                public function setDatePublished(DateTimeValue $datePublished)
{
    $this->_datePublished = $datePublished->getValue();
    return $this;
}

            
setDescription() public method

Defined in: luya\web\jsonld\ThingTrait::setDescription()

A description of the item.

public static setDescription ( $description )
$description string

                public function setDescription($description)
{
    $this->_description = $description;
    return $this;
}

            
setDisambiguatingDescription() public method

Defined in: luya\web\jsonld\ThingTrait::setDisambiguatingDescription()

A sub property of description. A short description of the item used to disambiguate from other, similar items.

Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.

public static setDisambiguatingDescription ( $disambiguatingDescription )
$disambiguatingDescription string

                public function setDisambiguatingDescription($disambiguatingDescription)
{
    $this->_disambiguatingDescription = $disambiguatingDescription;
    return $this;
}

            
setDiscussionUrl() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setDiscussionUrl()

A link to the page containing the comments of the CreativeWork.

public static setDiscussionUrl ( luya\web\jsonld\UrlValue $discussionUrl )
$discussionUrl luya\web\jsonld\UrlValue

                public function setDiscussionUrl(UrlValue $discussionUrl)
{
    $this->_discussionUrl = $discussionUrl->getValue();
    return $this;
}

            
setEditor() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setEditor()

Specifies the Person who edited the CreativeWork.

public void setEditor ( luya\web\jsonld\Person $editor )
$editor luya\web\jsonld\Person

                public function setEditor(Person $editor)
{
    $this->_editor = $editor;
}

            
setEducationalUse() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setEducationalUse()

The purpose of a work in the context of education; for example, 'assignment', 'group work'.

public static setEducationalUse ( luya\web\jsonld\CreativeWork $educationalUse )
$educationalUse string

                public function setEducationalUse(CreativeWork $educationalUse)
{
    $this->_educationalUse = $educationalUse;
    return $this;
}

            
setEncoding() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setEncoding()

A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.

Supersedes encodings.

public static setEncoding ( luya\web\jsonld\MediaObject $encoding )
$encoding luya\web\jsonld\MediaObject

                public function setEncoding(MediaObject $encoding)
{
    $this->_encoding = $encoding;
    return $this;
}

            
setExampleOfWork() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setExampleOfWork()

A creative work that this work is an example/instance/realization/derivation of.

Inverse property: workExample.

public static setExampleOfWork ( luya\web\jsonld\CreativeWork $exampleOfWork )
$exampleOfWork luya\web\jsonld\CreativeWork

                public function setExampleOfWork(CreativeWork $exampleOfWork)
{
    $this->_exampleOfWork = $exampleOfWork;
    return $this;
}

            
setExpires() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setExpires()

Date the content expires and is no longer useful or available. For example a VideoObject or NewsArticle whose availability or relevance is time-limited, or a ClaimReview fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date.

public static setExpires ( luya\web\jsonld\DateValue $expires )
$expires luya\web\jsonld\DateValue

                public function setExpires(DateValue $expires)
{
    $this->_expires = $expires->getValue();
    return $this;
}

            
setFileFormat() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setFileFormat()

Media type, typically MIME format (see IANA site) of the content e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry.

public static setFileFormat ( $fileFormat )
$fileFormat \luya\web\jsonld\URL|string

                public function setFileFormat($fileFormat)
{
    $this->_fileFormat = $fileFormat;
    return $this;
}

            
setFunder() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setFunder()

A person or organization that supports (sponsors) something through some kind of financial contribution.

public static setFunder ( $funder )
$funder luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setFunder($funder)
{
    ObjectHelper::isInstanceOf($funder, [Organization::class, PersonInterface::class]);
    
    $this->_funder = $funder;
    return $this;
}

            
setGenre() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setGenre()

Genre of the creative work, broadcast channel or group.

public static setGenre ( $genre )
$genre \luya\web\jsonld\URL|string

                public function setGenre($genre)
{
    $this->_genre = $genre;
    return $this;
}

            
setHasPart() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setHasPart()

Indicates a CreativeWork that is (in some sense) a part of this CreativeWork.

Inverse property: isPartOf.

public static setHasPart ( luya\web\jsonld\CreativeWork $hasPart )
$hasPart luya\web\jsonld\CreativeWork

                public function setHasPart(CreativeWork $hasPart)
{
    $this->_hasPart = $hasPart;
    return $this;
}

            
setHeadline() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setHeadline()

Headline of the article.

public static setHeadline ( luya\web\jsonld\TextValue $headline )
$headline luya\web\jsonld\TextValue

                public function setHeadline(TextValue $headline)
{
    $this->_headline = $headline->truncate(100)->getValue();
    return $this;
}

            
setIdentifier() public method

Defined in: luya\web\jsonld\ThingTrait::setIdentifier()

The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.

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

                public function setIdentifier(PropertyValue $identifier)
{
    $this->_identifier = $identifier;
    return $this;
}

            
setImage() public method

Defined in: luya\web\jsonld\ThingTrait::setImage()

An image of the item.

This can be a URL or a fully described ImageObject.

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

                public function setImage(ImageObject $image)
{
    $this->_image = $image;
    return $this;
}

            
setInteractivityType() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setInteractivityType()

The predominant mode of learning supported by the learning resource.

Acceptable values are 'active', 'expositive', or 'mixed'.

public static setInteractivityType ( $interactivityType )
$interactivityType string

                public function setInteractivityType($interactivityType)
{
    $this->_interactivityType = $interactivityType;
    return $this;
}

            
setIsAccessibleForFree() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setIsAccessibleForFree()

A flag to signal that the item, event, or place is accessible for free.

Supersedes free.

public static setIsAccessibleForFree ( $isAccessibleForFree )
$isAccessibleForFree boolean

                public function setIsAccessibleForFree($isAccessibleForFree)
{
    $this->_isAccessibleForFree = $isAccessibleForFree;
    return $this;
}

            
setIsFamilyFriendly() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setIsFamilyFriendly()

Indicates whether this content is family friendly.

public static setIsFamilyFriendly ( $isFamilyFriendly )
$isFamilyFriendly boolean

                public function setIsFamilyFriendly($isFamilyFriendly)
{
    $this->_isFamilyFriendly = $isFamilyFriendly;
    return $this;
}

            
setIsPartOf() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setIsPartOf()

Indicates a CreativeWork that this CreativeWork is (in some sense) part of.

Inverse property: hasPart.

public static setIsPartOf ( luya\web\jsonld\CreativeWork $isPartOf )
$isPartOf luya\web\jsonld\CreativeWork

                public function setIsPartOf(CreativeWork $isPartOf)
{
    $this->_isPartOf = $isPartOf;
    return $this;
}

            
setItemReviewed() public method

Set Item Reviewed

public static setItemReviewed ( luya\web\jsonld\Thing $itemReviewed )
$itemReviewed luya\web\jsonld\Thing

                public function setItemReviewed(Thing $itemReviewed)
{
    $this->_itemRevieved = $itemReviewed;
    return $this;
}

            
setKeywords() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setKeywords()

Keywords or tags used to describe this content.

Multiple entries in a keywords list are typically delimited by commas.

public static setKeywords ( $keywords )
$keywords string

                public function setKeywords($keywords)
{
    $this->_keywords = $keywords;
    return $this;
}

            
setLearningResourceType() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setLearningResourceType()

The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.

public static setLearningResourceType ( $learningResourceType )
$learningResourceType string

                public function setLearningResourceType($learningResourceType)
{
    $this->_learningResourceType = $learningResourceType;
    return $this;
}

            
setLocationCreated() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setLocationCreated()

The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.

public static setLocationCreated ( luya\web\jsonld\Place $locationCreated )
$locationCreated luya\web\jsonld\Place

                public function setLocationCreated(Place $locationCreated)
{
    $this->_locationCreated = $locationCreated;
    return $this;
}

            
setMainEntity() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setMainEntity()

Indicates the primary entity described in some page or other CreativeWork.

Inverse property: mainEntityOfPage.

public static setMainEntity ( luya\web\jsonld\Thing $mainEntity )
$mainEntity luya\web\jsonld\Thing

                public function setMainEntity(Thing $mainEntity)
{
    $this->_mainEntity = $mainEntity;
    return $this;
}

            
setMainEntityOfPage() public method

Defined in: luya\web\jsonld\ThingTrait::setMainEntityOfPage()

Indicates a page (or other CreativeWork) for which this thing is the main entity being described.

Inverse property: mainEntity.

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

                public function setMainEntityOfPage(CreativeWork $mainEntityOfPage)
{
    $this->_mainEntityOfPage = $mainEntityOfPage;
    return $this;
}

            
setMentions() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setMentions()

Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.

public static setMentions ( luya\web\jsonld\Thing $mentions )
$mentions luya\web\jsonld\Thing

                public function setMentions(Thing $mentions)
{
    $this->_mentions = $mentions;
    return $this;
}

            
setName() public method

Defined in: luya\web\jsonld\ThingTrait::setName()

The name of the item.

public static setName ( $name )
$name string

                public function setName($name)
{
    $this->_name = $name;
    return $this;
}

            
setOffers() public method
public static setOffers ( luya\web\jsonld\Offer $offers )
$offers

                public function setOffers(Offer $offers)
{
    $this->_offers = $offers;
    return $this;
}

            
setPosition() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setPosition()

The position of an item in a series or sequence of items.

public static setPosition ( $position )
$position integer|string

                public function setPosition($position)
{
    $this->_position = $position;
    return $this;
}

            
setProducer() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setProducer()

The person or organization who produced the work (e.g. music album, movie, tv/radio series etc.).

public static setProducer ( $producer )
$producer luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setProducer($producer)
{
    ObjectHelper::isInstanceOf($producer, [Organization::class, PersonInterface::class]);
    
    $this->_producer = $producer;
    return $this;
}

            
setProvider() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setProvider()

The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.

Supersedes carrier.

public static setProvider ( $provider )
$provider luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setProvider($provider)
{
    ObjectHelper::isInstanceOf($provider, [Organization::class, PersonInterface::class]);
    
    $this->_provider = $provider;
    return $this;
}

            
setPublisher() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setPublisher()

The publisher of the creative work.

public static setPublisher ( $publisher )
$publisher luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setPublisher($publisher)
{
    ObjectHelper::isInstanceOf($publisher, [Organization::class, Person::class]);
    
    $this->_publisher = $publisher;
    return $this;
}

            
setPublisherImprint() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setPublisherImprint()

The publishing division which published the comic.

public static setPublisherImprint ( luya\web\jsonld\Organization $publisherImprint )
$publisherImprint luya\web\jsonld\Organization

                public function setPublisherImprint(Organization $publisherImprint)
{
    $this->_publisherImprint = $publisherImprint;
    return $this;
}

            
setPublishingPrinciples() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setPublishingPrinciples()

The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles of an Organization (or individual e.g. a Person writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a CreativeWork (e.g. NewsArticle) the principles are those of the party primarily responsible for the creation of the CreativeWork.

While such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a funder) can be expressed using schema.org terminology.

public static setPublishingPrinciples ( luya\web\jsonld\CreativeWork $publishingPrinciples )
$publishingPrinciples luya\web\jsonld\CreativeWork|\luya\web\jsonld\URL

                public function setPublishingPrinciples(CreativeWork $publishingPrinciples)
{
    $this->_publishingPrinciples = $publishingPrinciples;
    return $this;
}

            
setRecordedAt() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setRecordedAt()

The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.

Inverse property: recordedIn.

public static setRecordedAt ( luya\web\jsonld\Event $recordedAt )
$recordedAt luya\web\jsonld\Event

                public function setRecordedAt(Event $recordedAt)
{
    $this->_recordedAt = $recordedAt;
    return $this;
}

            
setReviewAspect() public method

Set review rating

public static setReviewAspect ( $reviewAspect )
$reviewAspect string

                public function setReviewAspect($reviewAspect)
{
    $this->_reviewAspect = $reviewAspect;
    return $this;
}

            
setReviewBody() public method

Set review body

public static setReviewBody ( $reviewBody )
$reviewBody string

                public function setReviewBody($reviewBody)
{
    $this->_reviewBody = $reviewBody;
    return $this;
}

            
setReviewRating() public method

Set review rating

public static setReviewRating ( luya\web\jsonld\Rating $reviewRating )
$reviewRating luya\web\jsonld\Rating

                public function setReviewRating(Rating $reviewRating)
{
    $this->_reviewRating = $reviewRating;
    return $this;
}

            
setSameAs() public method

Defined in: luya\web\jsonld\ThingTrait::setSameAs()

URL of a reference Web page that unambiguously indicates the item's identity.

E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.

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

                public function setSameAs(UrlValue $sameAs)
{
    $this->_sameAs = $sameAs->getValue();
    return $this;
}

            
setSchemaVersion() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setSchemaVersion()

Indicates (by URL or string) a particular version of a schema used in some CreativeWork.

For example, a document could declare a schemaVersion using an URL such as http://schema.org/version/2.0/ if precise indication of schema version was required by some application.

public static setSchemaVersion ( luya\web\jsonld\UrlValue $schemaVersion )
$schemaVersion luya\web\jsonld\UrlValue

                public function setSchemaVersion(UrlValue $schemaVersion)
{
    $this->_schemaVersion = $schemaVersion->getValue();
    return $this;
}

            
setSourceOrganization() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setSourceOrganization()

The Organization on whose behalf the creator was working.

public static setSourceOrganization ( luya\web\jsonld\Organization $sourceOrganization )
$sourceOrganization luya\web\jsonld\Organization

                public function setSourceOrganization(Organization $sourceOrganization)
{
    $this->_sourceOrganization = $sourceOrganization;
    return $this;
}

            
setSpatialCoverage() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setSpatialCoverage()

The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content.

It is a subproperty of contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York. Supersedes spatial.

public static setSpatialCoverage ( luya\web\jsonld\Place $spatialCoverage )
$spatialCoverage luya\web\jsonld\Place

                public function setSpatialCoverage(Place $spatialCoverage)
{
    $this->_spatialCoverage = $spatialCoverage;
    return $this;
}

            
setSponsor() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setSponsor()

A person or organization that supports a thing through a pledge, promise, or financial contribution.

e.g. a sponsor of a Medical Study or a corporate sponsor of an event.

public static setSponsor ( $sponsor )
$sponsor luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setSponsor($sponsor)
{
    ObjectHelper::isInstanceOf($sponsor, [Organization::class, PersonInterface::class]);
    
    $this->_sponsor = $sponsor;
    return $this;
}

            
setSubjectOf() public method

Defined in: luya\web\jsonld\ThingTrait::setSubjectOf()

A CreativeWork or Event about this Thing.

Inverse property: about.

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

                public function setSubjectOf($subjectOf)
{
    $this->_subjectOf = $subjectOf;
    return $this;
}

            
setTemporalCoverage() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setTemporalCoverage()

The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in ISO 8601 time interval format. In the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content e.g. ScholarlyArticle, Book, TVSeries or TVEpisode may indicate their temporalCoverage in broader terms - textually or via well-known URL. Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945".

Supersedes datasetTimeInterval, temporal.

public static setTemporalCoverage ( $temporalCoverage )
$temporalCoverage \luya\web\jsonld\DateTime|\luya\web\jsonld\URL|string

                public function setTemporalCoverage($temporalCoverage)
{
    $this->_temporalCoverage = $temporalCoverage;
    return $this;
}

            
setText() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setText()

The textual content of this CreativeWork.

public static setText ( $text )
$text string

                public function setText($text)
{
    $this->_text = $text;
    return $this;
}

            
setThumbnailUrl() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setThumbnailUrl()

A thumbnail image relevant to the Thing.

public static setThumbnailUrl ( luya\web\jsonld\UrlValue $thumbnailUrl )
$thumbnailUrl luya\web\jsonld\UrlValue

                public function setThumbnailUrl(UrlValue $thumbnailUrl)
{
    $this->_thumbnailUrl = $thumbnailUrl;
    return $this;
}

            
setTranslationOfWork() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setTranslationOfWork()

The work that this work has been translated from. e.g. 物种起源 is a translationOf “On the Origin of Species” Inverse property: workTranslation.

public static setTranslationOfWork ( luya\web\jsonld\CreativeWork $translationOfWork )
$translationOfWork luya\web\jsonld\CreativeWork

                public function setTranslationOfWork(CreativeWork $translationOfWork)
{
    $this->_translationOfWork = $translationOfWork;
    return $this;
}

            
setTranslator() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setTranslator()

Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.

public static setTranslator ( $translator )
$translator luya\web\jsonld\Organization|luya\web\jsonld\Person

                public function setTranslator($translator)
{
    ObjectHelper::isInstanceOf($translator, [Organization::class, PersonInterface::class]);
    
    $this->_translator = $translator;
    return $this;
}

            
setTypicalAgeRange() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setTypicalAgeRange()

The typical expected age range, e.g. '7-9', '11-'.

public static setTypicalAgeRange ( $typicalAgeRange )
$typicalAgeRange string

                public function setTypicalAgeRange($typicalAgeRange)
{
    $this->_typicalAgeRange = $typicalAgeRange;
    return $this;
}

            
setUrl() public method

Defined in: luya\web\jsonld\ThingTrait::setUrl()

URL of the item.

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

                public function setUrl(UrlValue $url)
{
    $this->_url = $url->getValue();
    return $this;
}

            
setVersion() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setVersion()

The version of the CreativeWork embodied by a specified resource.

public static setVersion ( $version )
$version integer|string

                public function setVersion($version)
{
    $this->_version = $version;
    return $this;
}

            
setWorkExample() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setWorkExample()

Example/instance/realization/derivation of the concept of this creative work.

eg. The paperback edition, first edition, or eBook. Inverse property: exampleOfWork.

public static setWorkExample ( luya\web\jsonld\CreativeWork $workExample )
$workExample luya\web\jsonld\CreativeWork

                public function setWorkExample(CreativeWork $workExample)
{
    $this->_workExample = $workExample;
    return $this;
}

            
setWorkTranslation() public method

Defined in: luya\web\jsonld\CreativeWorkTrait::setWorkTranslation()

A work that is a translation of the content of this work. e.g. 西遊記 has an English workTranslation “Journey to the West”,a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.

Inverse property: translationOfWork.

public static setWorkTranslation ( luya\web\jsonld\CreativeWork $workTranslation )
$workTranslation luya\web\jsonld\CreativeWork

                public function setWorkTranslation(CreativeWork $workTranslation)
{
    $this->_workTranslation = $workTranslation;
    return $this;
}

            
toArray() public method

Defined in: yii\base\ArrayableTrait::toArray()

Converts the model into an array.

This method will first identify which fields to be included in the resulting array by calling resolveFields(). It will then turn the model into an array with these fields. If $recursive is true, any embedded objects will also be converted into arrays. When embedded objects are yii\base\Arrayable, their respective nested fields will be extracted and passed to toArray().

If the model implements the yii\web\Linkable interface, the resulting array will also have a _link element which refers to a list of links as specified by the interface.

public array toArray ( array $fields = [], array $expand = [], $recursive true )
$fields array

The fields being requested. If empty or if it contains '*', all fields as specified by fields() will be returned. Fields can be nested, separated with dots (.). e.g.: item.field.sub-field $recursive must be true for nested fields to be extracted. If $recursive is false, only the root fields will be extracted.

$expand array

The additional fields being requested for exporting. Only fields declared in extraFields() will be considered. Expand can also be nested, separated with dots (.). e.g.: item.expand1.expand2 $recursive must be true for nested expands to be extracted. If $recursive is false, only the root expands will be extracted.

$recursive boolean

Whether to recursively return array representation of embedded objects.

return array

The array representation of the object

                public function toArray(array $fields = [], array $expand = [], $recursive = true)
{
    $data = [];
    foreach ($this->resolveFields($fields, $expand) as $field => $definition) {
        $attribute = is_string($definition) ? $this->$definition : $definition($this, $field);
        if ($recursive) {
            $nestedFields = $this->extractFieldsFor($fields, $field);
            $nestedExpand = $this->extractFieldsFor($expand, $field);
            if ($attribute instanceof Arrayable) {
                $attribute = $attribute->toArray($nestedFields, $nestedExpand);
            } elseif ($attribute instanceof \JsonSerializable) {
                $attribute = $attribute->jsonSerialize();
            } elseif (is_array($attribute)) {
                $attribute = array_map(
                    function ($item) use ($nestedFields, $nestedExpand) {
                        if ($item instanceof Arrayable) {
                            return $item->toArray($nestedFields, $nestedExpand);
                        } elseif ($item instanceof \JsonSerializable) {
                            return $item->jsonSerialize();
                        }
                        return $item;
                    },
                    $attribute
                );
            }
        }
        $data[$field] = $attribute;
    }
    if ($this instanceof Linkable) {
        $data['_links'] = Link::serialize($this->getLinks());
    }
    return $recursive ? ArrayHelper::toArray($data) : $data;
}

            
typeDefintion() public method

public void typeDefintion ( )

                public function typeDefintion()
{
    return 'Review';
}