PHP Class PartKeepr\FootprintBundle\Entity\Footprint

Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Afficher le fichier Open project: partkeepr/PartKeepr Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Constructs a new Footprint entity.
addAttachment ( FootprintAttachment | TempUploadedFile $attachment ) : void Adds an IC Logo.
getAttachments ( ) : ArrayCollection Returns the attachments for this footprint.
getCategory ( ) : FootprintCategory Returns the category of this footprint.
getCategoryPath ( ) : string Returns the category path.
getDescription ( ) : string Returns the description of this footprint.
getImage ( ) : FootprintImage Returns the footprint image.
getName ( ) : string Returns the name of this footprint.
removeAttachment ( FootprintAttachment $attachment ) : void Removes an IC Logo.
setCategory ( FootprintCategory $category ) : void Sets the category for this footprint.
setDescription ( string $description ) : void Sets the description of this footprint.
setImage ( FootprintImage $image ) : void Sets the footprint image.
setName ( string $name ) : void Sets the name of this footprint.

Method Details

__construct() public méthode

Constructs a new Footprint entity.
public __construct ( )

addAttachment() public méthode

Adds an IC Logo.
public addAttachment ( FootprintAttachment | TempUploadedFile $attachment ) : void
$attachment FootprintAttachment | TempUploadedFile Either a FootprintAttachment or a TempUploadedFile
Résultat void

getAttachments() public méthode

Returns the attachments for this footprint.
public getAttachments ( ) : ArrayCollection
Résultat Doctrine\Common\Collections\ArrayCollection The attachments

getCategory() public méthode

Returns the category of this footprint.
public getCategory ( ) : FootprintCategory
Résultat FootprintCategory The footprint category

getCategoryPath() public méthode

Returns the category path.
public getCategoryPath ( ) : string
Résultat string

getDescription() public méthode

Returns the description of this footprint.
public getDescription ( ) : string
Résultat string The description

getImage() public méthode

Returns the footprint image.
public getImage ( ) : FootprintImage
Résultat FootprintImage The footprint image

getName() public méthode

Returns the name of this footprint.
public getName ( ) : string
Résultat string The name of this footprint

removeAttachment() public méthode

Removes an IC Logo.
public removeAttachment ( FootprintAttachment $attachment ) : void
$attachment FootprintAttachment
Résultat void

setCategory() public méthode

Sets the category for this footprint.
public setCategory ( FootprintCategory $category ) : void
$category FootprintCategory The category
Résultat void

setDescription() public méthode

Sets the description of this footprint.
public setDescription ( string $description ) : void
$description string The description
Résultat void

setImage() public méthode

Sets the footprint image.
public setImage ( FootprintImage $image ) : void
$image FootprintImage The footprint image
Résultat void

setName() public méthode

Sets the name of this footprint.
public setName ( string $name ) : void
$name string The footprint name
Résultat void