(Yaf >=1.0.0)
Yaf_Config_Simple::next — Advance to next entry
Moves the internal iterator to the next configuration entry.
Bu işlevin bağımsız değişkeni yoktur.
No value is returned.
Örnek 1 Yaf_Config_Simple::next() example
<?php
$config = new Yaf_Config_Simple([
'application' => ['name' => 'MyApp'],
'database' => ['host' => 'localhost'],
]);
$config->rewind();
echo $config->key(), "\n";
$config->next();
echo $config->key(), "\n";
$config->next(); // past the last entry
var_dump($config->valid());
?>Yukarıdaki örnek şuna benzer bir çıktı üretir:
application database bool(false)