PHP 인터페이스 Elgg\Upgrade\Batch

부터: 3.0.0
파일 보기 프로젝트 열기: elgg/elgg

공개 메소드들

메소드 설명
countItems ( ) : integer Gets the amount of items that need to be upgraded
isRequired ( ) : boolean Checks whether there are items that need to be upgraded.
run ( Result $result, integer $offset ) : Result Runs upgrade on a single batch of items

메소드 상세

countItems() 공개 메소드

Gets the amount of items that need to be upgraded
public countItems ( ) : integer
리턴 integer

isRequired() 공개 메소드

Checks whether there are items that need to be upgraded.
public isRequired ( ) : boolean
리턴 boolean

run() 공개 메소드

Runs upgrade on a single batch of items
public run ( Result $result, integer $offset ) : Result
$result Result Object that holds results of the batch
$offset integer Starting point of the batch
리턴 Result Instance of \Elgg\Upgrade\Result