mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
missed a spot in https://github.com/opnsense/core/issues/2670 leading to basemodel to being able to find iterateItems(), previous functionality used a specialized property which was passed using __get()
This commit is contained in:
parent
b27a62b7f5
commit
239e89fd5f
@ -366,6 +366,15 @@ abstract class BaseModel
|
||||
return $this->internalData->setNodes($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* iterate (non virtual) child nodes
|
||||
* @return mixed
|
||||
*/
|
||||
public function iterateItems()
|
||||
{
|
||||
return $this->internalData->iterateItems();
|
||||
}
|
||||
|
||||
/**
|
||||
* validate full model using all fields and data in a single (1 deep) array
|
||||
* @param bool $validateFullModel validate full model or only changed fields
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user