PHP 클래스 PartKeepr\StatisticBundle\Entity\StatisticSnapshot

파일 보기 프로젝트 열기: partkeepr/PartKeepr 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Creates a new statistic snapshot.
getCategories ( ) : integer Returns the amount of categories.
getDateTime ( ) : DateTime Returns the date+time for the snapshot.
getId ( ) : integer Returns the ID of this snapshot.
getParts ( ) : integer Returns the amount of overall parts for the snapshot.
getUnits ( )
setCategories ( integer $categories ) Sets the amount of categories for the snapshot.
setDateTime ( DateTime $dateTime ) Sets the date+time for the snapshot.
setParts ( integer $parts ) Sets the amount of overall parts for the snapshot.

메소드 상세

__construct() 공개 메소드

Creates a new statistic snapshot.
public __construct ( )

getCategories() 공개 메소드

Returns the amount of categories.
public getCategories ( ) : integer
리턴 integer The amount of categories

getDateTime() 공개 메소드

Returns the date+time for the snapshot.
public getDateTime ( ) : DateTime
리턴 DateTime The date+time for the snapshot

getId() 공개 메소드

Returns the ID of this snapshot.
public getId ( ) : integer
리턴 integer The ID of this snapshot

getParts() 공개 메소드

Returns the amount of overall parts for the snapshot.
public getParts ( ) : integer
리턴 integer The amount of parts

getUnits() 공개 메소드

public getUnits ( )

setCategories() 공개 메소드

Sets the amount of categories for the snapshot.
public setCategories ( integer $categories )
$categories integer The amount of categories

setDateTime() 공개 메소드

Sets the date+time for the snapshot.
public setDateTime ( DateTime $dateTime )
$dateTime DateTime The date+time for the snapshot

setParts() 공개 메소드

Sets the amount of overall parts for the snapshot.
public setParts ( integer $parts )
$parts integer The amount of parts