Trait luya\web\jsonld\PersonTrait

Implemented byluya\web\jsonld\Person
Available since version1.0.0

JsonLd - Person trait

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

Public Methods

Hide inherited methods

Method Description Defined By
getAdditionalName() luya\web\jsonld\PersonTrait
getAddress() luya\web\jsonld\PersonTrait
getAffiliation() luya\web\jsonld\PersonTrait
getAward() luya\web\jsonld\PersonTrait
getBirthDate() luya\web\jsonld\PersonTrait
getBirthPlace() luya\web\jsonld\PersonTrait
getBrand() luya\web\jsonld\PersonTrait
getChildren() luya\web\jsonld\PersonTrait
getColleague() luya\web\jsonld\PersonTrait
getContactPoint() luya\web\jsonld\PersonTrait
getDeathDate() luya\web\jsonld\PersonTrait
getDeathPlace() luya\web\jsonld\PersonTrait
getDuns() luya\web\jsonld\PersonTrait
getEmail() luya\web\jsonld\PersonTrait
getFamilyName() luya\web\jsonld\PersonTrait
getFaxNumber() luya\web\jsonld\PersonTrait
getFollows() luya\web\jsonld\PersonTrait
getFunder() luya\web\jsonld\PersonTrait
getGender() luya\web\jsonld\PersonTrait
getGivenName() luya\web\jsonld\PersonTrait
getGlobalLocationNumber() luya\web\jsonld\PersonTrait
getHasPOS() luya\web\jsonld\PersonTrait
getHeight() luya\web\jsonld\PersonTrait
getHomeLocation() luya\web\jsonld\PersonTrait
getHonorificPrefix() luya\web\jsonld\PersonTrait
getHonorificSuffix() luya\web\jsonld\PersonTrait
getIsicV4() luya\web\jsonld\PersonTrait
getJobTitle() luya\web\jsonld\PersonTrait
getKnows() luya\web\jsonld\PersonTrait
getMakesOffer() luya\web\jsonld\PersonTrait
getMemberOf() luya\web\jsonld\PersonTrait
getNaics() luya\web\jsonld\PersonTrait
getNationality() luya\web\jsonld\PersonTrait
getParent() luya\web\jsonld\PersonTrait
getPerformerIn() luya\web\jsonld\PersonTrait
getPublishingPrinciples() luya\web\jsonld\PersonTrait
getRelatedTo() luya\web\jsonld\PersonTrait
getSibling() luya\web\jsonld\PersonTrait
getSponsor() luya\web\jsonld\PersonTrait
getSpouse() luya\web\jsonld\PersonTrait
getTaxID() luya\web\jsonld\PersonTrait
getTelephone() luya\web\jsonld\PersonTrait
getVatID() luya\web\jsonld\PersonTrait
getWorkLocation() luya\web\jsonld\PersonTrait
getWorksFor() luya\web\jsonld\PersonTrait
setAdditionalName() An additional name for a Person, can be used for a middle name. luya\web\jsonld\PersonTrait
setAddress() Physical address of the item. luya\web\jsonld\PersonTrait
setAffiliation() An organization that this person is affiliated with. For example, a school/university, a club, or a team. luya\web\jsonld\PersonTrait
setAward() An award won by or for this item. luya\web\jsonld\PersonTrait
setBirthDate() Date of birth. luya\web\jsonld\PersonTrait
setBirthPlace() The place where the person was born. luya\web\jsonld\PersonTrait
setBrand() The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person. luya\web\jsonld\PersonTrait
setChildren() A child of the person. luya\web\jsonld\PersonTrait
setColleague() A colleague of the person. luya\web\jsonld\PersonTrait
setContactPoint() A contact point for a person or organization. luya\web\jsonld\PersonTrait
setDeathDate() Date of death. luya\web\jsonld\PersonTrait
setDeathPlace() The place where the person died. luya\web\jsonld\PersonTrait
setDuns() The Dun & Bradstreet DUNS number for identifying an organization or business person. luya\web\jsonld\PersonTrait
setEmail() Email address. luya\web\jsonld\PersonTrait
setFamilyName() Family name. In the U.S., the last name of an Person. luya\web\jsonld\PersonTrait
setFaxNumber() The fax number. luya\web\jsonld\PersonTrait
setFollows() The most generic uni-directional social relation. luya\web\jsonld\PersonTrait
setFunder() A person or organization that supports (sponsors) something through some kind of financial contribution. luya\web\jsonld\PersonTrait
setGender() Gender of the person. While http://schema.org/Male and http://schema.org/Female may be used, text strings are also acceptable for people who do not identify as a binary gender. luya\web\jsonld\PersonTrait
setGivenName() Given name. In the U.S., the first name of a Person. luya\web\jsonld\PersonTrait
setGlobalLocationNumber() The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. luya\web\jsonld\PersonTrait
setHasPOS() Points-of-Sales operated by the organization or person. luya\web\jsonld\PersonTrait
setHeight() The height of the item. luya\web\jsonld\PersonTrait
setHomeLocation() A contact location for a person's residence. luya\web\jsonld\PersonTrait
setHonorificPrefix() An honorific prefix preceding a Person's name such as Dr/Mrs/Mr. luya\web\jsonld\PersonTrait
setHonorificSuffix() An honorific suffix preceding a Person's name such as M.D. /PhD/MSCSW. luya\web\jsonld\PersonTrait
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\PersonTrait
setJobTitle() The job title of the person (for example, Financial Manager). luya\web\jsonld\PersonTrait
setKnows() The most generic bi-directional social/work relation. luya\web\jsonld\PersonTrait
setMakesOffer() A pointer to products or services offered by the organization or person. luya\web\jsonld\PersonTrait
setMemberOf() An Organization (or ProgramMembership) to which this Person or Organization belongs. luya\web\jsonld\PersonTrait
setNaics() The North American Industry Classification System (NAICS) code for a particular organization or business person. luya\web\jsonld\PersonTrait
setNationality() Nationality of the person. luya\web\jsonld\PersonTrait
setParent() A parent of this person. Supersedes parents. luya\web\jsonld\PersonTrait
setPerformerIn() Event that this person is a performer or participant in. luya\web\jsonld\PersonTrait
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\PersonTrait
setRelatedTo() The most generic familial relation. luya\web\jsonld\PersonTrait
setSibling() A sibling of the person. Supersedes siblings. luya\web\jsonld\PersonTrait
setSponsor() A person or organization that supports a thing through a pledge, promise, or financial contribution. luya\web\jsonld\PersonTrait
setSpouse() The person's spouse. luya\web\jsonld\PersonTrait
setTaxID() The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain. luya\web\jsonld\PersonTrait
setTelephone() The telephone number. luya\web\jsonld\PersonTrait
setVatID() The Value-added Tax ID of the organization or person. luya\web\jsonld\PersonTrait
setWorkLocation() A contact location for a person's place of work. luya\web\jsonld\PersonTrait
setWorksFor() Organizations that the person works for. luya\web\jsonld\PersonTrait

Method Details

Hide inherited methods

getAdditionalName() public method

public string getAdditionalName ( )

                public function getAdditionalName()
{
    return $this->_additionalName;
}

            
getAddress() public method

public luya\web\jsonld\PostalAddress|string getAddress ( )

                public function getAddress()
{
    return $this->_address;
}

            
getAffiliation() public method

public luya\web\jsonld\Organization getAffiliation ( )

                public function getAffiliation()
{
    return $this->_affiliation;
}

            
getAward() public method

public string getAward ( )

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

            
getBirthDate() public method

public string getBirthDate ( )

                public function getBirthDate()
{
    return $this->_birthDate;
}

            
getBirthPlace() public method

public luya\web\jsonld\Place getBirthPlace ( )

                public function getBirthPlace()
{
    return $this->_birthPlace;
}

            
getBrand() public method

public \luya\web\jsonld\Brand|luya\web\jsonld\Organization getBrand ( )

                public function getBrand()
{
    return $this->_brand;
}

            
getChildren() public method

public luya\web\jsonld\Person getChildren ( )

                public function getChildren()
{
    return $this->_children;
}

            
getColleague() public method

public luya\web\jsonld\Person getColleague ( )

                public function getColleague()
{
    return $this->_colleague;
}

            
getContactPoint() public method

public luya\web\jsonld\ContactPoint getContactPoint ( )

                public function getContactPoint()
{
    return $this->_contactPoint;
}

            
getDeathDate() public method

public string getDeathDate ( )

                public function getDeathDate()
{
    return $this->_deathDate;
}

            
getDeathPlace() public method

public luya\web\jsonld\Place getDeathPlace ( )

                public function getDeathPlace()
{
    return $this->_deathPlace;
}

            
getDuns() public method

public string getDuns ( )

                public function getDuns()
{
    return $this->_duns;
}

            
getEmail() public method

public string getEmail ( )

                public function getEmail()
{
    return $this->_email;
}

            
getFamilyName() public method

public string getFamilyName ( )

                public function getFamilyName()
{
    return $this->_familyName;
}

            
getFaxNumber() public method

public string getFaxNumber ( )

                public function getFaxNumber()
{
    return $this->_faxNumber;
}

            
getFollows() public method

public luya\web\jsonld\Person getFollows ( )

                public function getFollows()
{
    return $this->_follows;
}

            
getFunder() public method

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

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

            
getGender() public method

public \luya\web\jsonld\GenderType|string getGender ( )

                public function getGender()
{
    return $this->_gender;
}

            
getGivenName() public method

public string getGivenName ( )

                public function getGivenName()
{
    return $this->_givenName;
}

            
getGlobalLocationNumber() public method

public string getGlobalLocationNumber ( )

                public function getGlobalLocationNumber()
{
    return $this->_globalLocationNumber;
}

            
getHasPOS() public method

public luya\web\jsonld\Place getHasPOS ( )

                public function getHasPOS()
{
    return $this->_hasPOS;
}

            
getHeight() public method

public \luya\web\jsonld\Distance|\luya\web\jsonld\QuantitativeValue getHeight ( )

                public function getHeight()
{
    return $this->_height;
}

            
getHomeLocation() public method

public luya\web\jsonld\ContactPoint|luya\web\jsonld\Place getHomeLocation ( )

                public function getHomeLocation()
{
    return $this->_homeLocation;
}

            
getHonorificPrefix() public method

public string getHonorificPrefix ( )

                public function getHonorificPrefix()
{
    return $this->_honorificPrefix;
}

            
getHonorificSuffix() public method

public string getHonorificSuffix ( )

                public function getHonorificSuffix()
{
    return $this->_honorificSuffix;
}

            
getIsicV4() public method

public string getIsicV4 ( )

                public function getIsicV4()
{
    return $this->_isicV4;
}

            
getJobTitle() public method

public string getJobTitle ( )

                public function getJobTitle()
{
    return $this->_jobTitle;
}

            
getKnows() public method

public luya\web\jsonld\Person getKnows ( )

                public function getKnows()
{
    return $this->_knows;
}

            
getMakesOffer() public method

public luya\web\jsonld\Offer getMakesOffer ( )

                public function getMakesOffer()
{
    return $this->_makesOffer;
}

            
getMemberOf() public method

public luya\web\jsonld\Organization|\luya\web\jsonld\ProgramMembership getMemberOf ( )

                public function getMemberOf()
{
    return $this->_memberOf;
}

            
getNaics() public method

public string getNaics ( )

                public function getNaics()
{
    return $this->_naics;
}

            
getNationality() public method

public luya\web\jsonld\Country getNationality ( )

                public function getNationality()
{
    return $this->_nationality;
}

            
getParent() public method

public luya\web\jsonld\Person getParent ( )

                public function getParent()
{
    return $this->_parent;
}

            
getPerformerIn() public method

public luya\web\jsonld\Event getPerformerIn ( )

                public function getPerformerIn()
{
    return $this->_performerIn;
}

            
getPublishingPrinciples() public method

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

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

            
getRelatedTo() public method

public luya\web\jsonld\Person getRelatedTo ( )

                public function getRelatedTo()
{
    return $this->_relatedTo;
}

            
getSibling() public method

public luya\web\jsonld\Person getSibling ( )

                public function getSibling()
{
    return $this->_sibling;
}

            
getSponsor() public method

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

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

            
getSpouse() public method

public luya\web\jsonld\Person getSpouse ( )

                public function getSpouse()
{
    return $this->_spouse;
}

            
getTaxID() public method

public string getTaxID ( )

                public function getTaxID()
{
    return $this->_taxID;
}

            
getTelephone() public method

public string getTelephone ( )

                public function getTelephone()
{
    return $this->_telephone;
}

            
getVatID() public method

public string getVatID ( )

                public function getVatID()
{
    return $this->_vatID;
}

            
getWorkLocation() public method

public luya\web\jsonld\ContactPoint|luya\web\jsonld\Place getWorkLocation ( )

                public function getWorkLocation()
{
    return $this->_workLocation;
}

            
getWorksFor() public method

public luya\web\jsonld\Organization getWorksFor ( )

                public function getWorksFor()
{
    return $this->_worksFor;
}

            
setAdditionalName() public method

An additional name for a Person, can be used for a middle name.

public static setAdditionalName ( $additionalName )
$additionalName string

                public function setAdditionalName($additionalName)
{
    $this->_additionalName = $additionalName;
    return $this;
}

            
setAddress() public method

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;
}

            
setAffiliation() public method

An organization that this person is affiliated with. For example, a school/university, a club, or a team.

public static setAffiliation ( luya\web\jsonld\Organization $affiliation )
$affiliation luya\web\jsonld\Organization

                public function setAffiliation(Organization $affiliation)
{
    $this->_affiliation = $affiliation;
    return $this;
}

            
setAward() public method

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;
}

            
setBirthDate() public method

Date of birth.

public static setBirthDate ( luya\web\jsonld\DateValue $birthDate )
$birthDate luya\web\jsonld\DateValue

                public function setBirthDate(DateValue $birthDate)
{
    $this->_birthDate = $birthDate->getValue();
    return $this;
}

            
setBirthPlace() public method

The place where the person was born.

public static setBirthPlace ( $birthPlace )
$birthPlace luya\web\jsonld\Place

                public function setBirthPlace($birthPlace)
{
    $this->_birthPlace = $birthPlace;
    return $this;
}

            
setBrand() public method

The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.

public static setBrand ( $brand )
$brand \luya\web\jsonld\Brand|luya\web\jsonld\Organization

                public function setBrand($brand)
{
    $this->_brand = $brand;
    return $this;
}

            
setChildren() public method

A child of the person.

public static setChildren ( luya\web\jsonld\Person $children )
$children luya\web\jsonld\Person

                public function setChildren(Person $children)
{
    $this->_children = $children;
    return $this;
}

            
setColleague() public method

A colleague of the person.

Supersedes colleagues.

public static setColleague ( luya\web\jsonld\Person $colleague )
$colleague luya\web\jsonld\Person

                public function setColleague(Person $colleague)
{
    $this->_colleague = $colleague;
    return $this;
}

            
setContactPoint() public method

A contact point for a person or organization.

Supersedes contactPoints.

public static setContactPoint ( luya\web\jsonld\ContactPoint $contactPoint )
$contactPoint luya\web\jsonld\ContactPoint

                public function setContactPoint(ContactPoint $contactPoint)
{
    $this->_contactPoint = $contactPoint;
    return $this;
}

            
setDeathDate() public method

Date of death.

public static setDeathDate ( luya\web\jsonld\DateValue $deathDate )
$deathDate luya\web\jsonld\DateValue

                public function setDeathDate(DateValue $deathDate)
{
    $this->_deathDate = $deathDate->getValue();
    return $this;
}

            
setDeathPlace() public method

The place where the person died.

public static setDeathPlace ( luya\web\jsonld\Place $deathPlace )
$deathPlace luya\web\jsonld\Place

                public function setDeathPlace(Place $deathPlace)
{
    $this->_deathPlace = $deathPlace;
    return $this;
}

            
setDuns() public method

The Dun & Bradstreet DUNS number for identifying an organization or business person.

public static setDuns ( luya\web\jsonld\Person $duns )
$duns string

                public function setDuns(Person $duns)
{
    $this->_duns = $duns;
    return $this;
}

            
setEmail() public method

Email address.

public static setEmail ( $email )
$email string

                public function setEmail($email)
{
    $this->_email = $email;
    return $this;
}

            
setFamilyName() public method

Family name. In the U.S., the last name of an Person.

This can be used along with givenName instead of the name property.

public static setFamilyName ( $familyName )
$familyName string

                public function setFamilyName($familyName)
{
    $this->_familyName = $familyName;
    return $this;
}

            
setFaxNumber() public method

The fax number.

public static setFaxNumber ( $faxNumber )
$faxNumber string

                public function setFaxNumber($faxNumber)
{
    $this->_faxNumber = $faxNumber;
    return $this;
}

            
setFollows() public method

The most generic uni-directional social relation.

public static setFollows ( luya\web\jsonld\Person $follows )
$follows luya\web\jsonld\Person

                public function setFollows(Person $follows)
{
    $this->_follows = $follows;
    return $this;
}

            
setFunder() public method

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;
}

            
setGender() public method

Gender of the person. While http://schema.org/Male and http://schema.org/Female may be used, text strings are also acceptable for people who do not identify as a binary gender.

public static setGender ( $gender )
$gender \luya\web\jsonld\GenderType|string

                public function setGender($gender)
{
    $this->_gender = $gender;
    return $this;
}

            
setGivenName() public method

Given name. In the U.S., the first name of a Person.

This can be used along with familyName instead of the name property.

public static setGivenName ( $givenName )
$givenName string

                public function setGivenName($givenName)
{
    $this->_givenName = $givenName;
    return $this;
}

            
setGlobalLocationNumber() public method

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;
}

            
setHasPOS() public method

Points-of-Sales operated by the organization or person.

public static setHasPOS ( $hasPOS )
$hasPOS luya\web\jsonld\Place

                public function setHasPOS($hasPOS)
{
    $this->_hasPOS = $hasPOS;
    return $this;
}

            
setHeight() public method

The height of the item.

public static setHeight ( $height )
$height \luya\web\jsonld\Distance|\luya\web\jsonld\QuantitativeValue

                public function setHeight($height)
{
    $this->_height = $height;
    return $this;
}

            
setHomeLocation() public method

A contact location for a person's residence.

public static setHomeLocation ( $homeLocation )
$homeLocation luya\web\jsonld\ContactPoint|luya\web\jsonld\Place

                public function setHomeLocation($homeLocation)
{
    $this->_homeLocation = $homeLocation;
    return $this;
}

            
setHonorificPrefix() public method

An honorific prefix preceding a Person's name such as Dr/Mrs/Mr.

public static setHonorificPrefix ( $honorificPrefix )
$honorificPrefix string

                public function setHonorificPrefix($honorificPrefix)
{
    $this->_honorificPrefix = $honorificPrefix;
    return $this;
}

            
setHonorificSuffix() public method

An honorific suffix preceding a Person's name such as M.D. /PhD/MSCSW.

public static setHonorificSuffix ( $honorificSuffix )
$honorificSuffix string

                public function setHonorificSuffix($honorificSuffix)
{
    $this->_honorificSuffix = $honorificSuffix;
    return $this;
}

            
setIsicV4() public method

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;
}

            
setJobTitle() public method

The job title of the person (for example, Financial Manager).

public static setJobTitle ( $jobTitle )
$jobTitle string

                public function setJobTitle($jobTitle)
{
    $this->_jobTitle = $jobTitle;
    return $this;
}

            
setKnows() public method

The most generic bi-directional social/work relation.

public static setKnows ( luya\web\jsonld\Person $knows )
$knows luya\web\jsonld\Person

                public function setKnows(Person $knows)
{
    $this->_knows = $knows;
    return $this;
}

            
setMakesOffer() public method

A pointer to products or services offered by the organization or person.

Inverse property: offeredBy.

public static setMakesOffer ( luya\web\jsonld\Offer $makesOffer )
$makesOffer luya\web\jsonld\Offer

                public function setMakesOffer(Offer $makesOffer)
{
    $this->_makesOffer = $makesOffer;
    return $this;
}

            
setMemberOf() public method

An Organization (or ProgramMembership) to which this Person or Organization belongs.

Inverse property: member.

public static setMemberOf ( $memberOf )
$memberOf luya\web\jsonld\Organization|\luya\web\jsonld\ProgramMembership

                public function setMemberOf($memberOf)
{
    $this->_memberOf = $memberOf;
    return $this;
}

            
setNaics() public method

The North American Industry Classification System (NAICS) code for a particular organization or business person.

public static setNaics ( $naics )
$naics string

                public function setNaics($naics)
{
    $this->_naics = $naics;
    return $this;
}

            
setNationality() public method

Nationality of the person.

public static setNationality ( luya\web\jsonld\Country $nationality )
$nationality luya\web\jsonld\Country

                public function setNationality(Country $nationality)
{
    $this->_nationality = $nationality;
    return $this;
}

            
setParent() public method

A parent of this person. Supersedes parents.

public static setParent ( luya\web\jsonld\Person $parent )
$parent luya\web\jsonld\Person

                public function setParent(Person $parent)
{
    $this->_parent = $parent;
    return $this;
}

            
setPerformerIn() public method

Event that this person is a performer or participant in.

public static setPerformerIn ( luya\web\jsonld\Event $performerIn )
$performerIn luya\web\jsonld\Event

                public function setPerformerIn(Event $performerIn)
{
    $this->_performerIn = $performerIn;
    return $this;
}

            
setPublishingPrinciples() public method

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 ( $publishingPrinciples )
$publishingPrinciples luya\web\jsonld\CreativeWork|\luya\web\jsonld\URL

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

            
setRelatedTo() public method

The most generic familial relation.

public static setRelatedTo ( luya\web\jsonld\Person $relatedTo )
$relatedTo luya\web\jsonld\Person

                public function setRelatedTo(Person $relatedTo)
{
    $this->_relatedTo = $relatedTo;
    return $this;
}

            
setSibling() public method

A sibling of the person. Supersedes siblings.

public static setSibling ( luya\web\jsonld\Person $sibling )
$sibling luya\web\jsonld\Person

                public function setSibling(Person $sibling)
{
    $this->_sibling = $sibling;
    return $this;
}

            
setSponsor() public method

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;
}

            
setSpouse() public method

The person's spouse.

public static setSpouse ( luya\web\jsonld\Person $spouse )
$spouse luya\web\jsonld\Person

                public function setSpouse(Person $spouse)
{
    $this->_spouse = $spouse;
    return $this;
}

            
setTaxID() public method

The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.

public static setTaxID ( $taxID )
$taxID string

                public function setTaxID($taxID)
{
    $this->_taxID = $taxID;
    return $this;
}

            
setTelephone() public method

The telephone number.

public static setTelephone ( $telephone )
$telephone string

                public function setTelephone($telephone)
{
    $this->_telephone = $telephone;
    return $this;
}

            
setVatID() public method

The Value-added Tax ID of the organization or person.

public static setVatID ( $vatID )
$vatID string

                public function setVatID($vatID)
{
    $this->_vatID = $vatID;
    return $this;
}

            
setWorkLocation() public method

A contact location for a person's place of work.

public static setWorkLocation ( $workLocation )
$workLocation luya\web\jsonld\ContactPoint|luya\web\jsonld\Place

                public function setWorkLocation($workLocation)
{
    $this->_workLocation = $workLocation;
    return $this;
}

            
setWorksFor() public method

Organizations that the person works for.

public static setWorksFor ( luya\web\jsonld\Organization $worksFor )
$worksFor luya\web\jsonld\Organization

                public function setWorksFor(Organization $worksFor)
{
    $this->_worksFor = $worksFor;
    return $this;
}