PHP Класс Sulu\Bundle\ContactBundle\Api\ContactAddress

Наследование: extends Sulu\Component\Rest\ApiWrapper
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ContactAddress $address )
getAddress ( ) : Address Get address.
getId ( ) : integer Returns the id of the product.
getMain ( ) : boolean Get main.
setAddress ( Address $address ) : ContactAddress Set address.
setMain ( boolean $main ) : ContactAddress Set main.

Описание методов

__construct() публичный метод

public __construct ( ContactAddress $address )
$address Sulu\Bundle\ContactBundle\Entity\ContactAddress

getAddress() публичный метод

Get address.
public getAddress ( ) : Address
Результат Sulu\Bundle\ContactBundle\Entity\Address

getId() публичный метод

Returns the id of the product.
public getId ( ) : integer
Результат integer

getMain() публичный метод

Get main.
public getMain ( ) : boolean
Результат boolean

setAddress() публичный метод

Set address.
public setAddress ( Address $address ) : ContactAddress
$address Sulu\Bundle\ContactBundle\Entity\Address
Результат ContactAddress

setMain() публичный метод

Set main.
public setMain ( boolean $main ) : ContactAddress
$main boolean
Результат ContactAddress