batch

Batch API - Làm sao để lặp không giới hạn ?

Hi,

Drupal 6 có Batch API khá thuận tiện. Nhưng nó chỉ cho phép tạo một danh sách các hàm để lần lượt thực hiện. Dù có thể gọi cùng một hàm thực hiện 1, 2, 3 lần nhưng làm cách nào để gọi nó n lần (n không biết trước khi chạy). Có ai biết làm không ?

Một ứng dụng cụ thể là cái converter. Làm sao để mỗi lần convert xong 100 mục nó sẽ tự load lại và tiếp tục để tránh timeout ?

Thanks.

4 comments
doc2@drupalfr.org's picture

Drupal Developer | Ballet Preljocaj - Aix-en-Provence

Employment type: 
Contract
Telecommute: 
Allowed

We're looking for a drupal 5 feature/development which will allow us to edit multiple images at once, using different types of cck fields and taxonomy terms.

NB.: We're using, between others, the image.module (v.1.6), the contributed image_import.module, the cck_taxonomy_ssu.module

If you're interested, please contact us through my contact form with an approximate price for your service.

Greetings,

Arsène

> Same offer on http://drupal.org/node/240846

Syndicate content