PHP Class Neos\Flow\Package\MetaData\AbstractParty

Mostrar archivo Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$email string Email of the party
$name string Name of the party
$role string The party role
$website string Website of the party

Public Methods

Method Description
__construct ( string $role, string $name, string $email = null, string $website = null ) Meta data party model constructor
getEmail ( ) : string
getName ( ) : string
getPartyType ( ) : string Get the party type (MetaData\PARTY_TYPE_PERSON, MetaData\PARTY_TYPE_COMPANY)
getRole ( ) : string
getWebsite ( ) : string

Method Details

__construct() public method

Meta data party model constructor
public __construct ( string $role, string $name, string $email = null, string $website = null )
$role string
$name string
$email string
$website string

getEmail() public method

public getEmail ( ) : string
return string The email of the party

getName() public method

public getName ( ) : string
return string The name of the party

getPartyType() abstract public method

Get the party type (MetaData\PARTY_TYPE_PERSON, MetaData\PARTY_TYPE_COMPANY)
abstract public getPartyType ( ) : string
return string The type of the party (person, company)

getRole() public method

public getRole ( ) : string
return string The role of the party

getWebsite() public method

public getWebsite ( ) : string
return string The website of the party

Property Details

$email protected_oe property

Email of the party
protected string $email
return string

$name protected_oe property

Name of the party
protected string $name
return string

$role protected_oe property

The party role
protected string $role
return string

$website protected_oe property

Website of the party
protected string $website
return string