Sorry to bug you, but if you can elaborate it would be most helpful. I can't understand lines like
PHP Code:
pre_save($doquery = true)
It was called as pre_save() so what is the value of $doquery?
PHP Code:
if ($this->presave_called !== null)
{
return $this->presave_called;
}
if (!parent::pre_save($doquery))
{
$this->presave_called = false;
return false;
}
if (!$this->pre_save_post($doquery))
{
$this->presave_called = false;
return false;
}
Totally lost on this?
PHP Code:
if (!$this->condition)
{
$this->set('lastpost', $this->fetch_field('dateline'));
$this->set('lastposter', $this->fetch_field('username', 'post'));
$this->set('replycount', 0);
$this->set('hiddencount', 0);
}
dateline? username? post? Where are they getting all this from?
PHP Code:
if (!$this->condition AND $this->fetch_field('open') === null)
{
fetch_field? From where? The database? The existing arrays?
No clue in the slightest what's going on here.