You can use the $config array to pass some configuration values to the object:
state stdClass|array. The state variables of the Model.
use_populate Boolean. When true the model will set its state from populateState() instead of the request.
ignore_request Boolean. When true getState will not automatically load state data from the request.
public __construct ( |
||
$container | The configuration variables to this model | |
$config | array | Configuration values for this model |