getExtjsType example


        $fields = [
            [
                'name' => 'id',
                'type' => 'int',
            ],
        ];

        foreach ($type->getFields() as $field) {
            $fields[] = [
                'name' => $field->getName(),
                'type' => $field->getType()::getExtjsType(),
                'useNull' => !$field->isRequired(),
            ];
        }

        return $fields;
    }

    public function buildColumns(Type $type): array
    {
        $fields = [];

        
Home | Imprint | This part of the site doesn't use cookies.