Hi.
I'm trying to extend a fActiveRecord model with...
class Immobilien2daten extends fActiveRecord implements Iterator
{
protected function configure()
{
fORM::registerActiveRecordMethod($this, 'getCheckboxes', 'Immobilien2daten::getCheckboxes');
}
public function getCheckboxes($object, &$value, &$old_values, &$related_records, &$cache, $method_name, &$parameters)
{
// [...]
}
// [...]
}
Trying...
$immo_daten->getCheckboxes();
ends in...
Warning: Missing argument 1 for Immobilien2daten::getCheckboxes(), called in [...]object.php on line 58 and defined in [...]/models/Immobilien2daten.php on line 58
... and so on, the warning comes for all arguments of 'getCheckboxes'.
Any ideas?
Thanking you in anticipation,
Volker