Team:

Can I do something like this?

namespace demo\instrument;

use demo\InstrumentDB; use koolreport\dashboard\widgets\SimpleCard; use \koolreport\dashboard\fields\Date; use \koolreport\dashboard\fields\Number;

class InstrumentChack1 extends SimpleCard {

public function search_value(array $par) {

	//Code to search an set correct value
}

}

Or Can I set params from a class that extends SimpleCard class?

After, I want to do somethin like:

InstrumentCheck1::create()->search_value(["param1"=>"2022","param2"=>"store1"]),

Thanks