PHP 클래스 PartKeepr\FootprintBundle\Entity\Footprint

상속: extends PartKeepr\CoreBundle\Entity\BaseEntity
파일 보기 프로젝트 열기: partkeepr/PartKeepr 1 사용 예제들

공개 메소드들

메소드 설명
__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