PHP Class Neos\Flow\Package\MetaData\AbstractParty

Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

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 méthode

public getEmail ( ) : string
Résultat string The email of the party

getName() public méthode

public getName ( ) : string
Résultat string The name of the party

getPartyType() abstract public méthode

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

getRole() public méthode

public getRole ( ) : string
Résultat string The role of the party

getWebsite() public méthode

public getWebsite ( ) : string
Résultat string The website of the party

Property Details

$email protected_oe property

Email of the party
protected string $email
Résultat string

$name protected_oe property

Name of the party
protected string $name
Résultat string

$role protected_oe property

The party role
protected string $role
Résultat string

$website protected_oe property

Website of the party
protected string $website
Résultat string