PHP 클래스 PartKeepr\ProjectBundle\Entity\Project

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

공개 메소드들

메소드 설명
__construct ( )
addAttachment ( ProjectAttachment $projectAttachment ) Adds a Project Attachment.
addPart ( ProjectPart $projectPart ) Adds a Project Part.
getAttachments ( ) : ProjectAttachment[] Returns the attachments for this project.
getDescription ( ) : string Returns the description of this project.
getName ( ) : string Returns the name of this project.
getParts ( ) : ProjectPart[] Returns the project parts array.
getUser ( ) : User Gets the user for this project.
removeAttachment ( ProjectAttachment $projectAttachment ) Removes a Project Attachment.
removePart ( ProjectPart $projectPart ) Removes a Project Part.
setDescription ( string $description ) Sets the description of this project.
setName ( string $name ) Sets the name for this project.
setUser ( User $user ) Sets the user for this project.

메소드 상세

__construct() 공개 메소드

public __construct ( )

addAttachment() 공개 메소드

Adds a Project Attachment.
public addAttachment ( ProjectAttachment $projectAttachment )
$projectAttachment ProjectAttachment An attachment to add

addPart() 공개 메소드

Adds a Project Part.
public addPart ( ProjectPart $projectPart )
$projectPart ProjectPart A part to add

getAttachments() 공개 메소드

Returns the attachments for this project.
public getAttachments ( ) : ProjectAttachment[]
리턴 ProjectAttachment[] The attachments

getDescription() 공개 메소드

Returns the description of this project.
public getDescription ( ) : string
리턴 string The description

getName() 공개 메소드

Returns the name of this project.
public getName ( ) : string
리턴 string

getParts() 공개 메소드

Returns the project parts array.
public getParts ( ) : ProjectPart[]
리턴 ProjectPart[] An array of ProjectPart objects

getUser() 공개 메소드

Gets the user for this project.
public getUser ( ) : User
리턴 PartKeepr\AuthBundle\Entity\User

removeAttachment() 공개 메소드

Removes a Project Attachment.
public removeAttachment ( ProjectAttachment $projectAttachment )
$projectAttachment ProjectAttachment An attachment to remove

removePart() 공개 메소드

Removes a Project Part.
public removePart ( ProjectPart $projectPart )
$projectPart ProjectPart A part to remove

setDescription() 공개 메소드

Sets the description of this project.
public setDescription ( string $description )
$description string The description to set

setName() 공개 메소드

Sets the name for this project.
public setName ( string $name )
$name string

setUser() 공개 메소드

Sets the user for this project.
public setUser ( User $user )
$user PartKeepr\AuthBundle\Entity\User