PHP 클래스 JiraRestApi\Issue\Worklog

파일 보기 프로젝트 열기: lesstif/php-jira-rest-client 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$author details about author
$comment string
$id id of worklog
$self api link of worklog
$started string
$timeSpent string
$timeSpentSeconds integer
$updateAuthor array
$updated string
$visibility array

공개 메소드들

메소드 설명
jsonSerialize ( ) : array Function to serialize obj vars.
setComment ( string $comment ) Function to set comments.
setStarted ( mixed $started ) Function to set start time of worklog.
setStartedDateTime ( DateTime $started ) Function to set start time of worklog.
setTimeSpent ( string $timeSpent ) Function to set worklog time in string.
setTimeSpentSeconds ( integer $timeSpentSeconds ) Function to set worklog time in seconds.
setVisibility ( string $type, string $value ) Function to set visibility of worklog.

메소드 상세

jsonSerialize() 공개 메소드

Function to serialize obj vars.
public jsonSerialize ( ) : array
리턴 array

setComment() 공개 메소드

Function to set comments.
public setComment ( string $comment )
$comment string

setStarted() 공개 메소드

Function to set start time of worklog.
public setStarted ( mixed $started )
$started mixed started time value(\DateTime|string) e.g. - new DateTime("2016-03-17 11:15:34") or "2016-03-17 11:15:34"

setStartedDateTime() 공개 메소드

Function to set start time of worklog.
public setStartedDateTime ( DateTime $started )
$started DateTime e.g. - new DateTime("2014-04-05 16:00:00")

setTimeSpent() 공개 메소드

Function to set worklog time in string.
public setTimeSpent ( string $timeSpent )
$timeSpent string

setTimeSpentSeconds() 공개 메소드

Function to set worklog time in seconds.
public setTimeSpentSeconds ( integer $timeSpentSeconds )
$timeSpentSeconds integer

setVisibility() 공개 메소드

Function to set visibility of worklog.
public setVisibility ( string $type, string $value )
$type string value can be group or role
$value string

프로퍼티 상세

$author 공개적으로 프로퍼티

details about author
public $author

$comment 공개적으로 프로퍼티

public string $comment
리턴 string

$id 공개적으로 프로퍼티

id of worklog
public $id

$self 공개적으로 프로퍼티

api link of worklog
public $self

$started 공개적으로 프로퍼티

public string $started
리턴 string

$timeSpent 공개적으로 프로퍼티

public string $timeSpent
리턴 string

$timeSpentSeconds 공개적으로 프로퍼티

public int $timeSpentSeconds
리턴 integer

$updateAuthor 공개적으로 프로퍼티

public array $updateAuthor
리턴 array

$updated 공개적으로 프로퍼티

public string $updated
리턴 string

$visibility 공개적으로 프로퍼티

public array $visibility
리턴 array