kartik\builder\Form::raise PHP Method

raise() protected method

Triggers an ActiveFormEvent.
protected raise ( string $event = '', string $attribute = '', integer | string $index = '', array $data = [] )
$event string the event name.
$attribute string the attribute name.
$index integer | string the row index.
$data array the event data to pass to the event.
    protected function raise($event = '', $attribute = '', $index = '', $data = [])
    {
        $this->trigger($event, new ActiveFormEvent(['attribute' => $attribute, 'index' => $index, 'eventData' => $data]));
    }