Trait luya\web\jsonld\PlaceTrait
JsonLd - Place trait
See also http://schema.org/Event.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getAdditionalProperty() | luya\web\jsonld\PlaceTrait | |
| getAddress() | luya\web\jsonld\PlaceTrait | |
| getAggregateRating() | luya\web\jsonld\PlaceTrait | |
| getAmenityFeature() | luya\web\jsonld\PlaceTrait | |
| getBranchCode() | luya\web\jsonld\PlaceTrait | |
| getContainedInPlace() | luya\web\jsonld\PlaceTrait | |
| getContainsPlace() | luya\web\jsonld\PlaceTrait | |
| getEvent() | luya\web\jsonld\PlaceTrait | |
| getFaxNumber() | luya\web\jsonld\PlaceTrait | |
| getGeo() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyContains() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyCoveredBy() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyCovers() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyCrosses() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyDisjoint() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyEquals() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyIntersects() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyOverlaps() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyTouches() | luya\web\jsonld\PlaceTrait | |
| getGeospatiallyWithin() | luya\web\jsonld\PlaceTrait | |
| getGlobalLocationNumber() | luya\web\jsonld\PlaceTrait | |
| getHasMap() | luya\web\jsonld\PlaceTrait | |
| getIsicV4() | luya\web\jsonld\PlaceTrait | |
| getLogo() | luya\web\jsonld\PlaceTrait | |
| getMaximumAttendeeCapacity() | luya\web\jsonld\PlaceTrait | |
| getOpeningHoursSpecification() | luya\web\jsonld\PlaceTrait | |
| getPhoto() | luya\web\jsonld\PlaceTrait | |
| getReview() | luya\web\jsonld\PlaceTrait | |
| getSpecialOpeningHoursSpecification() | luya\web\jsonld\PlaceTrait | |
| getTelephone() | luya\web\jsonld\PlaceTrait | |
| isAccessibleForFree() | luya\web\jsonld\PlaceTrait | |
| isPublicAccess() | luya\web\jsonld\PlaceTrait | |
| isSmokingAllowed() | luya\web\jsonld\PlaceTrait | |
| setAdditionalProperty() | A property-value pair representing an additional characteristics of the entitity, e.g. a product feature or another characteristic for which there is no matching property in schema.org. | luya\web\jsonld\PlaceTrait |
| setAddress() | Physical address of the item. | luya\web\jsonld\PlaceTrait |
| setAggregateRating() | The overall rating, based on a collection of reviews or ratings, of the item. | luya\web\jsonld\PlaceTrait |
| setAmenityFeature() | An amenity feature (e.g. a characteristic or service) of the Accommodation. | luya\web\jsonld\PlaceTrait |
| setBranchCode() | A short textual code (also called "store code") that uniquely identifies a place of business. | luya\web\jsonld\PlaceTrait |
| setContainedInPlace() | The basic containment relation between a place and one that contains it. | luya\web\jsonld\PlaceTrait |
| setContainsPlace() | The basic containment relation between a place and another that it contains. | luya\web\jsonld\PlaceTrait |
| setEvent() | Upcoming or past event associated with this place, organization, or action. | luya\web\jsonld\PlaceTrait |
| setFaxNumber() | The fax number. | luya\web\jsonld\PlaceTrait |
| setGeo() | The geo coordinates of the place. | luya\web\jsonld\PlaceTrait |
| setGeospatiallyContains() | Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in DE-9IM. | luya\web\jsonld\PlaceTrait |
| setGeospatiallyCoveredBy() | Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in DE-9IM. | luya\web\jsonld\PlaceTrait |
| setGeospatiallyCovers() | Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in DE-9IM. | luya\web\jsonld\PlaceTrait |
| setGeospatiallyCrosses() | Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in DE-9IM. | luya\web\jsonld\PlaceTrait |
| setGeospatiallyDisjoint() | Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: they have no point in common. They form a set of disconnected geometries." (a symmetric relationship, as defined in DE-9IM) | luya\web\jsonld\PlaceTrait |
| setGeospatiallyEquals() | Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in DE-9IM. "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship) | luya\web\jsonld\PlaceTrait |
| setGeospatiallyIntersects() | Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in DE-9IM. | luya\web\jsonld\PlaceTrait |
| setGeospatiallyOverlaps() | Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in DE-9IM. | luya\web\jsonld\PlaceTrait |
| setGeospatiallyTouches() | Represents spatial relations in which two geometries (or the places they represent) touch: they have at least one boundary point in common, but no interior points." (a symmetric relationship, as defined in DE-9IM ) | luya\web\jsonld\PlaceTrait |
| setGeospatiallyWithin() | Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in DE-9IM. | luya\web\jsonld\PlaceTrait |
| setGlobalLocationNumber() | The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations. | luya\web\jsonld\PlaceTrait |
| setHasMap() | A URL to a map of the place. | luya\web\jsonld\PlaceTrait |
| setIsAccessibleForFree() | A flag to signal that the item, event, or place is accessible for free. | luya\web\jsonld\PlaceTrait |
| setIsicV4() | The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place. | luya\web\jsonld\PlaceTrait |
| setLogo() | An associated logo. | luya\web\jsonld\PlaceTrait |
| setMaximumAttendeeCapacity() | The total number of individuals that may attend an event or venue. | luya\web\jsonld\PlaceTrait |
| setOpeningHoursSpecification() | The opening hours of a certain place. | luya\web\jsonld\PlaceTrait |
| setPhoto() | A photograph of this place. Supersedes photos. | luya\web\jsonld\PlaceTrait |
| setPublicAccess() | A flag to signal that the Place is open to public visitors. | luya\web\jsonld\PlaceTrait |
| setReview() | A review of the item. Supersedes reviews. | luya\web\jsonld\PlaceTrait |
| setSmokingAllowed() | Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room. | luya\web\jsonld\PlaceTrait |
| setSpecialOpeningHoursSpecification() | The special opening hours of a certain place. | luya\web\jsonld\PlaceTrait |
| setTelephone() | The telephone number. | luya\web\jsonld\PlaceTrait |
Method Details
| public luya\web\jsonld\PropertyValue getAdditionalProperty ( ) |
public function getAdditionalProperty()
{
return $this->_additionalProperty;
}
| public luya\web\jsonld\PostalAddress|string getAddress ( ) |
public function getAddress()
{
return $this->_address;
}
| public luya\web\jsonld\AggregateRating getAggregateRating ( ) |
public function getAggregateRating()
{
return $this->_aggregateRating;
}
| public \luya\web\jsonld\LocationFeatureSpecification getAmenityFeature ( ) |
public function getAmenityFeature()
{
return $this->_amenityFeature;
}
| public luya\web\jsonld\Place getContainedInPlace ( ) |
public function getContainedInPlace()
{
return $this->_containedInPlace;
}
| public luya\web\jsonld\Place getContainsPlace ( ) |
public function getContainsPlace()
{
return $this->_containsPlace;
}
| public mixed getGeospatiallyContains ( ) |
public function getGeospatiallyContains()
{
return $this->_geospatiallyContains;
}
| public mixed getGeospatiallyCoveredBy ( ) |
public function getGeospatiallyCoveredBy()
{
return $this->_geospatiallyCoveredBy;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyCovers ( ) |
public function getGeospatiallyCovers()
{
return $this->_geospatiallyCovers;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyCrosses ( ) |
public function getGeospatiallyCrosses()
{
return $this->_geospatiallyCrosses;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyDisjoint ( ) |
public function getGeospatiallyDisjoint()
{
return $this->_geospatiallyDisjoint;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyEquals ( ) |
public function getGeospatiallyEquals()
{
return $this->_geospatiallyEquals;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyIntersects ( ) |
public function getGeospatiallyIntersects()
{
return $this->_geospatiallyIntersects;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyOverlaps ( ) |
public function getGeospatiallyOverlaps()
{
return $this->_geospatiallyOverlaps;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyTouches ( ) |
public function getGeospatiallyTouches()
{
return $this->_geospatiallyTouches;
}
| public \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place getGeospatiallyWithin ( ) |
public function getGeospatiallyWithin()
{
return $this->_geospatiallyWithin;
}
| public string getGlobalLocationNumber ( ) |
public function getGlobalLocationNumber()
{
return $this->_globalLocationNumber;
}
| public integer getMaximumAttendeeCapacity ( ) |
public function getMaximumAttendeeCapacity()
{
return $this->_maximumAttendeeCapacity;
}
| public \luya\web\jsonld\OpeningHoursSpecification getOpeningHoursSpecification ( ) |
public function getOpeningHoursSpecification()
{
return $this->_openingHoursSpecification;
}
| public luya\web\jsonld\ImageObject|\luya\web\jsonld\Photograph getPhoto ( ) |
public function getPhoto()
{
return $this->_photo;
}
| public \luya\web\jsonld\OpeningHoursSpecification getSpecialOpeningHoursSpecification ( ) |
public function getSpecialOpeningHoursSpecification()
{
return $this->_specialOpeningHoursSpecification;
}
| public boolean isAccessibleForFree ( ) |
public function isAccessibleForFree()
{
return $this->_isAccessibleForFree;
}
| public boolean isSmokingAllowed ( ) |
public function isSmokingAllowed()
{
return $this->_smokingAllowed;
}
A property-value pair representing an additional characteristics of the entitity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.
Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. http://schema.org/width, http://schema.org/color, http://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic
| public static setAdditionalProperty ( luya\web\jsonld\PropertyValue $additionalProperty ) | ||
| $additionalProperty | luya\web\jsonld\PropertyValue | |
public function setAdditionalProperty(PropertyValue $additionalProperty)
{
$this->_additionalProperty = $additionalProperty;
return $this;
}
Physical address of the item.
| public static setAddress ( luya\web\jsonld\PostalAddress $address ) | ||
| $address | luya\web\jsonld\PostalAddress|string | |
public function setAddress(PostalAddress $address)
{
$this->_address = $address;
return $this;
}
The overall rating, based on a collection of reviews or ratings, of the item.
| public static setAggregateRating ( luya\web\jsonld\AggregateRating $aggregateRating ) | ||
| $aggregateRating | luya\web\jsonld\AggregateRating | |
public function setAggregateRating(AggregateRating $aggregateRating)
{
$this->_aggregateRating = $aggregateRating;
return $this;
}
An amenity feature (e.g. a characteristic or service) of the Accommodation.
This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.
| public static setAmenityFeature ( $amenityFeature ) | ||
| $amenityFeature | \luya\web\jsonld\LocationFeatureSpecification | |
public function setAmenityFeature($amenityFeature)
{
$this->_amenityFeature = $amenityFeature;
return $this;
}
A short textual code (also called "store code") that uniquely identifies a place of business.
The code is typically assigned by the parentOrganization and used in structured URLs. For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.
| public static setBranchCode ( $branchCode ) | ||
| $branchCode | string | |
public function setBranchCode($branchCode)
{
$this->_branchCode = $branchCode;
return $this;
}
The basic containment relation between a place and one that contains it.
Supersedes containedIn. Inverse property: containsPlace.
| public static setContainedInPlace ( luya\web\jsonld\Place $containedInPlace ) | ||
| $containedInPlace | luya\web\jsonld\Place | |
public function setContainedInPlace(Place $containedInPlace)
{
$this->_containedInPlace = $containedInPlace;
return $this;
}
The basic containment relation between a place and another that it contains.
Inverse property: containedInPlace.
| public static setContainsPlace ( luya\web\jsonld\Place $containsPlace ) | ||
| $containsPlace | luya\web\jsonld\Place | |
public function setContainsPlace(Place $containsPlace)
{
$this->_containsPlace = $containsPlace;
return $this;
}
Upcoming or past event associated with this place, organization, or action.
Supersedes events.
| public static setEvent ( luya\web\jsonld\Event $event ) | ||
| $event | luya\web\jsonld\Event | |
public function setEvent(Event $event)
{
$this->_event[] = $event;
return $this;
}
The fax number.
| public static setFaxNumber ( $faxNumber ) | ||
| $faxNumber | string | |
public function setFaxNumber($faxNumber)
{
$this->_faxNumber = $faxNumber;
return $this;
}
The geo coordinates of the place.
| public static setGeo ( luya\web\jsonld\GeoCoordinates $geo ) | ||
| $geo | luya\web\jsonld\GeoCoordinates | |
public function setGeo(GeoCoordinates $geo)
{
$this->_geo = $geo;
return $this;
}
Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in DE-9IM.
| public static setGeospatiallyContains ( $geospatiallyContains ) | ||
| $geospatiallyContains | mixed | |
public function setGeospatiallyContains($geospatiallyContains)
{
$this->_geospatiallyContains = $geospatiallyContains;
return $this;
}
Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in DE-9IM.
| public static setGeospatiallyCoveredBy ( $geospatiallyCoveredBy ) | ||
| $geospatiallyCoveredBy | mixed | |
public function setGeospatiallyCoveredBy($geospatiallyCoveredBy)
{
$this->_geospatiallyCoveredBy = $geospatiallyCoveredBy;
return $this;
}
Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in DE-9IM.
| public static setGeospatiallyCovers ( $geospatiallyCovers ) | ||
| $geospatiallyCovers | \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place | |
public function setGeospatiallyCovers($geospatiallyCovers)
{
$this->_geospatiallyCovers = $geospatiallyCovers;
return $this;
}
Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in DE-9IM.
| public static setGeospatiallyCrosses ( $geospatiallyCrosses ) | ||
| $geospatiallyCrosses | \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place | |
public function setGeospatiallyCrosses($geospatiallyCrosses)
{
$this->_geospatiallyCrosses = $geospatiallyCrosses;
return $this;
}
Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: they have no point in common. They form a set of disconnected geometries." (a symmetric relationship, as defined in DE-9IM)
| public static setGeospatiallyDisjoint ( $geospatiallyDisjoint ) | ||
| $geospatiallyDisjoint | \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place | |
public function setGeospatiallyDisjoint($geospatiallyDisjoint)
{
$this->_geospatiallyDisjoint = $geospatiallyDisjoint;
return $this;
}
Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in DE-9IM. "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship)
| public static setGeospatiallyEquals ( $geospatiallyEquals ) | ||
| $geospatiallyEquals | \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place | |
public function setGeospatiallyEquals($geospatiallyEquals)
{
$this->_geospatiallyEquals = $geospatiallyEquals;
return $this;
}
Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in DE-9IM.
| public static setGeospatiallyIntersects ( $geospatiallyIntersects ) | ||
| $geospatiallyIntersects | mixed | |
public function setGeospatiallyIntersects($geospatiallyIntersects)
{
$this->_geospatiallyIntersects = $geospatiallyIntersects;
return $this;
}
Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in DE-9IM.
| public static setGeospatiallyOverlaps ( $geospatiallyOverlaps ) | ||
| $geospatiallyOverlaps | \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place | |
public function setGeospatiallyOverlaps($geospatiallyOverlaps)
{
$this->_geospatiallyOverlaps = $geospatiallyOverlaps;
return $this;
}
Represents spatial relations in which two geometries (or the places they represent) touch: they have at least one boundary point in common, but no interior points." (a symmetric relationship, as defined in DE-9IM )
| public static setGeospatiallyTouches ( $geospatiallyTouches ) | ||
| $geospatiallyTouches | \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place | |
public function setGeospatiallyTouches($geospatiallyTouches)
{
$this->_geospatiallyTouches = $geospatiallyTouches;
return $this;
}
Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in DE-9IM.
| public static setGeospatiallyWithin ( $geospatiallyWithin ) | ||
| $geospatiallyWithin | \luya\web\jsonld\GeospatialGeometry|luya\web\jsonld\Place | |
public function setGeospatiallyWithin($geospatiallyWithin)
{
$this->_geospatiallyWithin = $geospatiallyWithin;
return $this;
}
The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.
| public static setGlobalLocationNumber ( $globalLocationNumber ) | ||
| $globalLocationNumber | string | |
public function setGlobalLocationNumber($globalLocationNumber)
{
$this->_globalLocationNumber = $globalLocationNumber;
return $this;
}
A URL to a map of the place.
Supersedes map, maps.
| public static setHasMap ( $hasMap ) | ||
| $hasMap | \luya\web\jsonld\Map | |
public function setHasMap($hasMap)
{
$this->_hasMap = $hasMap;
return $this;
}
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;
}
The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.
| public static setIsicV4 ( $isicV4 ) | ||
| $isicV4 | string | |
public function setIsicV4($isicV4)
{
$this->_isicV4 = $isicV4;
return $this;
}
An associated logo.
| public static setLogo ( luya\web\jsonld\ImageObject $logo ) | ||
| $logo | luya\web\jsonld\ImageObject | |
public function setLogo(ImageObject $logo)
{
$this->_logo = $logo;
return $this;
}
The total number of individuals that may attend an event or venue.
| public static setMaximumAttendeeCapacity ( $maximumAttendeeCapacity ) | ||
| $maximumAttendeeCapacity | integer | |
public function setMaximumAttendeeCapacity($maximumAttendeeCapacity)
{
$this->_maximumAttendeeCapacity = $maximumAttendeeCapacity;
return $this;
}
The opening hours of a certain place.
| public static setOpeningHoursSpecification ( $openingHoursSpecification ) | ||
| $openingHoursSpecification | \luya\web\jsonld\OpeningHoursSpecification | |
public function setOpeningHoursSpecification($openingHoursSpecification)
{
$this->_openingHoursSpecification = $openingHoursSpecification;
return $this;
}
A photograph of this place. Supersedes photos.
| public static setPhoto ( $photo ) | ||
| $photo | luya\web\jsonld\ImageObject|\luya\web\jsonld\Photograph | |
public function setPhoto($photo)
{
$this->_photo = $photo;
return $this;
}
A flag to signal that the Place is open to public visitors.
If this property is omitted there is no assumed default boolean value
| public static setPublicAccess ( $publicAccess ) | ||
| $publicAccess | boolean | |
public function setPublicAccess($publicAccess)
{
$this->_publicAccess = $publicAccess;
return $this;
}
A review of the item. Supersedes reviews.
| public static setReview ( luya\web\jsonld\Review $review ) | ||
| $review | luya\web\jsonld\Review | |
public function setReview(Review $review)
{
$this->_review[] = $review;
return $this;
}
Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.
| public static setSmokingAllowed ( $smokingAllowed ) | ||
| $smokingAllowed | boolean | |
public function setSmokingAllowed($smokingAllowed)
{
$this->_smokingAllowed = $smokingAllowed;
return $this;
}
The special opening hours of a certain place.
Use this to explicitly override general opening hours brought in scope by openingHoursSpecification or openingHours.
| public static setSpecialOpeningHoursSpecification ( $specialOpeningHoursSpecification ) | ||
| $specialOpeningHoursSpecification | \luya\web\jsonld\OpeningHoursSpecification | |
public function setSpecialOpeningHoursSpecification($specialOpeningHoursSpecification)
{
$this->_specialOpeningHoursSpecification = $specialOpeningHoursSpecification;
return $this;
}
The telephone number.
| public static setTelephone ( $telephone ) | ||
| $telephone | string | |
public function setTelephone($telephone)
{
$this->_telephone = $telephone;
return $this;
}