PHP Класс PartKeepr\FootprintBundle\Entity\Footprint

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

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

Метод Описание
__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.

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

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

Constructs a new Footprint entity.
public __construct ( )

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

Adds an IC Logo.
public addAttachment ( FootprintAttachment | TempUploadedFile $attachment ) : void
$attachment FootprintAttachment | TempUploadedFile Either a FootprintAttachment or a TempUploadedFile
Результат void

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

Returns the attachments for this footprint.
public getAttachments ( ) : ArrayCollection
Результат Doctrine\Common\Collections\ArrayCollection The attachments

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

Returns the category of this footprint.
public getCategory ( ) : FootprintCategory
Результат FootprintCategory The footprint category

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

Returns the category path.
public getCategoryPath ( ) : string
Результат string

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

Returns the description of this footprint.
public getDescription ( ) : string
Результат string The description

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

Returns the footprint image.
public getImage ( ) : FootprintImage
Результат FootprintImage The footprint image

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

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

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

Removes an IC Logo.
public removeAttachment ( FootprintAttachment $attachment ) : void
$attachment FootprintAttachment
Результат void

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

Sets the category for this footprint.
public setCategory ( FootprintCategory $category ) : void
$category FootprintCategory The category
Результат void

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

Sets the description of this footprint.
public setDescription ( string $description ) : void
$description string The description
Результат void

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

Sets the footprint image.
public setImage ( FootprintImage $image ) : void
$image FootprintImage The footprint image
Результат void

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

Sets the name of this footprint.
public setName ( string $name ) : void
$name string The footprint name
Результат void