Class Manufacturer

Class Manufacturer

Manufacturer implements ManufacturerInterface

Methods summary

public __construct( EditableKeyValueCollection $urls )

Manufacturer constructor.

public getId( void ) : integer

Returns the id.

public setId( IdType $manufacturerId ) :

Sets the id.

public getName( void ) : string

Returns the manufacturer name.

public setName( StringType $name ) :

Sets the manufacturer name.

public getImage( void ) : string

Returns the manufacturer image path.

public setImage( StringType $imagePath ) :

Sets the image path.

public getDateAdded( void ) : DateTime

Returns the datetime.

public setDateAdded( DateTime $date ) :

Sets the datetime.

public getLastModified( void ) : DateTime

Returns the last modified datetime.

public setLastModified( DateTime $date ) :

Sets the last modified datetime.

public getUrl( LanguageCode $languageCode ) : string

Returns the url.

public setUrl( StringType $title, LanguageCode $languageCode ) :

Sets the url.

public getUrls( void ) : array

Returns all language specific title.

Properties summary

protected $id : integer
0
protected $name : string
''
protected $image : string
''
protected $dateAdded : DateTime

		
protected $lastModified : DateTime