PHP Class PartKeepr\ManufacturerBundle\Entity\Manufacturer

Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Show file Open project: partkeepr/PartKeepr Class Usage Examples

Public Methods

Method Description
__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.

Method Details

__construct() public method

Creates a new manufacturer instance.
public __construct ( )

getAddress() public method

Returns the address.
public getAddress ( ) : string
return string The address

getComment() public method

Returns the comment.
public getComment ( ) : string
return string The comment

getEmail() public method

Returns the email.
public getEmail ( ) : string
return string The email

getFax() public method

Returns the fax number.
public getFax ( ) : string
return string The fax number

getIcLogos() public method

Returns the ic logos.
public getIcLogos ( ) : ArrayCollection
return Doctrine\Common\Collections\ArrayCollection The array with all ic logos

getName() public method

Returns the name.
public getName ( ) : string
return string The name

getPhone() public method

Returns the phone number.
public getPhone ( ) : string
return string The phone number

getURL() public method

Returns the URL.
public getURL ( ) : string
return string The url

setAddress() public method

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

setComment() public method

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

setEmail() public method

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

setFax() public method

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

setName() public method

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

setPhone() public method

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

setURL() public method

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