PHP Classes

File: libs/Raptor/Component/systemBundle/Views/ui/templates/model/model.js.twig

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Raptor/Component/systemBundle/Views/ui/templates/model/model.js.twig   Download  
File: libs/Raptor/Component/systemBundle/Views/ui/templates/model/model.js.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 461 bytes
 

Contents

Class file image Download
Ext.define('{{ name }}.model.GenericModel', { extend: 'Ext.data.Model', fields: ['id'], proxy: { type: 'ajax', api:{ create : 'action/insert', read : 'action/list', update : 'action/edit', destroy : 'action/delete' }, actionMethods: { //POST or GET read: 'POST' }, reader: { type: 'json' } } });