Call reset() each time before looping through the tasks:
$tasks->reset();
while ($task = $tasks->each() {
...
}
public each ( )
文件:
Driver.php
项目:
DSNS-LAB/Dmail
文件:
List.php
项目:
jubinpatel/horde