PHP 클래스 chobie\Jira\Issues\Walker

상속: implements Iterator
파일 보기 프로젝트 열기: chobie/jira-api-restclient 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$api chobie\Jira\Api API.
$callback callable Callback.
$current integer Current record index.
$executed boolean Was JQL executed.
$fields string | array | null List of fields to query.
$issues array Result.
$jql string JQL.
$max integer Issue count on current page.
$offset integer Offset.
$perPage integer Issues per page.
$startAt integer Index of issue in issue list (across all issue pages).
$total integer Total issue count.

공개 메소드들

메소드 설명
__construct ( Api $api, integer | null $per_page = null ) Creates walker instance.
count ( ) : integer Count elements of an object.
current ( ) : mixed Return the current element.
key ( ) : mixed Return the key of the current element.
next ( ) : void Move forward to next element.
push ( string $jql, string | array | null $fields = null ) : void Pushes JQL.
rewind ( ) : void Rewind the Iterator to the first element.
setDelegate ( callable $callable ) : void Sets callable.
valid ( ) : boolean Checks if current position is valid.

보호된 메소드들

메소드 설명
getQuery ( ) : string Returns JQL.
setResult ( Result $result ) : void Sets result.

메소드 상세

__construct() 공개 메소드

Creates walker instance.
public __construct ( Api $api, integer | null $per_page = null )
$api chobie\Jira\Api API.
$per_page integer | null Per page.

count() 공개 메소드

Count elements of an object.
public count ( ) : integer
리턴 integer The custom count as an integer.

current() 공개 메소드

Return the current element.
public current ( ) : mixed
리턴 mixed Can return any type.

getQuery() 보호된 메소드

Returns JQL.
protected getQuery ( ) : string
리턴 string

key() 공개 메소드

Return the key of the current element.
public key ( ) : mixed
리턴 mixed scalar on success, or null on failure.

next() 공개 메소드

Move forward to next element.
public next ( ) : void
리턴 void Any returned value is ignored.

push() 공개 메소드

Pushes JQL.
public push ( string $jql, string | array | null $fields = null ) : void
$jql string JQL.
$fields string | array | null Fields.
리턴 void

rewind() 공개 메소드

Rewind the Iterator to the first element.
public rewind ( ) : void
리턴 void Any returned value is ignored.

setDelegate() 공개 메소드

Sets callable.
public setDelegate ( callable $callable ) : void
$callable callable Callable.
리턴 void

setResult() 보호된 메소드

Sets result.
protected setResult ( Result $result ) : void
$result chobie\Jira\Api\Result Result.
리턴 void

valid() 공개 메소드

Checks if current position is valid.
public valid ( ) : boolean
리턴 boolean The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

프로퍼티 상세

$api 보호되어 있는 프로퍼티

API.
protected Api,chobie\Jira $api
리턴 chobie\Jira\Api

$callback 보호되어 있는 프로퍼티

Callback.
protected callable $callback
리턴 callable

$current 보호되어 있는 프로퍼티

Current record index.
protected int $current
리턴 integer

$executed 보호되어 있는 프로퍼티

Was JQL executed.
protected bool $executed
리턴 boolean

$fields 보호되어 있는 프로퍼티

List of fields to query.
protected string|array|null $fields
리턴 string | array | null

$issues 보호되어 있는 프로퍼티

Result.
protected array $issues
리턴 array

$jql 보호되어 있는 프로퍼티

JQL.
protected string $jql
리턴 string

$max 보호되어 있는 프로퍼티

Issue count on current page.
protected int $max
리턴 integer

$offset 보호되어 있는 프로퍼티

Offset.
protected int $offset
리턴 integer

$perPage 보호되어 있는 프로퍼티

Issues per page.
protected int $perPage
리턴 integer

$startAt 보호되어 있는 프로퍼티

Index of issue in issue list (across all issue pages).
protected int $startAt
리턴 integer

$total 보호되어 있는 프로퍼티

Total issue count.
protected int $total
리턴 integer