public function getFormFields($model, $multiple = false)
    {
        $formFields[] = [
            'table' => [
                'attribute' => 'table',
                'formMethod' => 'dropDownList',
                'arguments' => [
                    'items' => call_user_func(['nineinchnick\audit\models\AuditForm', 'getAuditTables'])
                ],
            ]
        ];
        foreach (Yii::$app->controller->module->filters as $propety => $params) {
            $formFields[] = static::addFormField($model, $propety, $params);
        }
        return $formFields;
    }
public function getFormFields($model, $multiple = false)
    {
        $formFields[] = [
            'table' => [
                'attribute' => 'table',
                'formMethod' => 'dropDownList',
                'arguments' => [
                    'items' => call_user_func(['nineinchnick\audit\models\AuditForm', 'getAuditTables'])
                ],
            ]
        ];
        foreach (Yii::$app->controller->module->filters as $propety => $params) {
            $formFields[] = static::addFormField($model, $propety, $params);
        }
        return $formFields;
    }
public function getFormFields ( $ model , $ multiple = false ) { $ formFields [ ] = [ 'table' => [ 'attribute' => 'table' , 'formMethod' => 'dropDownList' , 'arguments' => [ 'items' => call_user_func ( [ 'nineinchnick\audit\models\AuditForm' , 'getAuditTables' ] ) ] , ] ] ; foreach ( Yii :: $ app -> controller -> module -> filters as $ propety => $ params ) { $ formFields [ ] = static :: addFormField ( $ model , $ propety , $ params ) ; } return $ formFields ; }
Retrieves form fields configuration.

@param \yii\base\Model $model
@param bool $multiple true for multiple values inputs, usually used for search forms
@return array form fields
Retrieves form fields configuration .