On 29-07-2010 at 20:47:05 Klederson Bueno wrote:
Tks for everything, now up and running:
class BurnModelIterator implements Iterator
{
protected $obj, $current;
public function __construct(PhpBURN_Core $obj) {
$this->obj = &$obj;
You shouldn't use &$obj in PHP5. $this->obj =
Hi,
Tks for everything, now up and running:
class BurnModelIterator implements Iterator
{
protected $obj, $current;
public function __construct(PhpBURN_Core $obj) {
$this->obj = &$obj;
}
function rewind() {
$this->obj->_moveFirst();
}
function current()
On 29-07-2010 at 16:09:52 Klederson Bueno wrote:
I have this framework ( www.phpburn.com ) and while i do: $obj->fetch()
it
returns true or false until while ends... however repeat works more as a
foreach and then i cant use this... how can i work with repeat working
as a while ?
You can
I have this framework ( www.phpburn.com ) and while i do: $obj->fetch() it
returns true or false until while ends... however repeat works more as a
foreach and then i cant use this... how can i work with repeat working as a
while ?
Best Regards,
Klederson Bueno
www.phpburn.com
___