PHP Интерфейс Elgg\Upgrade\Batch

С версии: 3.0.0
Показать файл Открыть проект

Открытые методы

Метод Описание
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