batch_example.module

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

Версия 1.3 (checked in on 2007/10/05 at 16:11:36 by drewish)

This is an example outlining how a module can define batches.

Batches allow heavy processing to be spread out over several page requests, thus ensuring that the processing does not get interrupted because of a PHP timeout, while allowing the user to receive feedback on the progress of the ongoing operations.

Функции

ИмяОписание
batch_example_batch_1Batch 1 : Load 100 times the node with the lowest nid
batch_example_batch_2Batch 2 : load all nodes 5 by 5, 20 times (Multipart operation)
batch_example_finishedBatch 'finished' callback used by both batch 1 and batch 2
batch_example_menuРеализация hook_menu().
batch_example_multistep_formМногошаговая форма.
batch_example_multistep_form_submit
batch_example_op_1Batch operation for batch 1 : lode a node...
batch_example_op_2Batch operation for batch 2 : load all nodes, 5 by five This is a multipart operation, using the
batch_example_page
batch_example_simple_formTest 1 : Simple form
batch_example_simple_form_submit
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему