PHP Класс PartKeepr\ManufacturerBundle\Entity\Manufacturer

Наследование: extends PartKeepr\CoreBundle\Entity\BaseEntity
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( ) Creates a new manufacturer instance.
addIcLogo ( object $icLogo ) Adds an IC Logo.
getAddress ( ) : string Returns the address.
getComment ( ) : string Returns the comment.
getEmail ( ) : string Returns the email.
getFax ( ) : string Returns the fax number.
getIcLogos ( ) : ArrayCollection Returns the ic logos.
getName ( ) : string Returns the name.
getPhone ( ) : string Returns the phone number.
getURL ( ) : string Returns the URL.
removeIcLogo ( ManufacturerICLogo $icLogo ) Removes an IC Logo.
setAddress ( string $address ) Sets the address.
setComment ( string $comment ) Sets the comment.
setEmail ( string $email ) Sets the email.
setFax ( string $fax ) Sets the fax number.
setName ( string $name ) Sets the name.
setPhone ( string $phone ) Sets the phone number.
setURL ( string $url ) Sets the URL.

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

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

Creates a new manufacturer instance.
public __construct ( )

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

Returns the address.
public getAddress ( ) : string
Результат string The address

getComment() публичный Метод

Returns the comment.
public getComment ( ) : string
Результат string The comment

getEmail() публичный Метод

Returns the email.
public getEmail ( ) : string
Результат string The email

getFax() публичный Метод

Returns the fax number.
public getFax ( ) : string
Результат string The fax number

getIcLogos() публичный Метод

Returns the ic logos.
public getIcLogos ( ) : ArrayCollection
Результат Doctrine\Common\Collections\ArrayCollection The array with all ic logos

getName() публичный Метод

Returns the name.
public getName ( ) : string
Результат string The name

getPhone() публичный Метод

Returns the phone number.
public getPhone ( ) : string
Результат string The phone number

getURL() публичный Метод

Returns the URL.
public getURL ( ) : string
Результат string The url

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

Sets the address.
public setAddress ( string $address )
$address string The address

setComment() публичный Метод

Sets the comment.
public setComment ( string $comment )
$comment string The comment

setEmail() публичный Метод

Sets the email.
public setEmail ( string $email )
$email string The email

setFax() публичный Метод

Sets the fax number.
public setFax ( string $fax )
$fax string The fax number

setName() публичный Метод

Sets the name.
public setName ( string $name )
$name string The name

setPhone() публичный Метод

Sets the phone number.
public setPhone ( string $phone )
$phone string The phone number

setURL() публичный Метод

Sets the URL.
public setURL ( string $url )
$url string The URL