Mercurial > lada > lada-client
view app/model/Base.js @ 337:39297b8e5ba2
Added docstring
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 09:13:26 +0200 |
parents | 7f5f74e62658 |
children | 8bc067b5f9c5 |
line wrap: on
line source
/** * Base class for models */ Ext.define('Lada.model.Base', { extend: 'Ext.data.Model', requires: ['Lada.lib.Helpers'], /** * Helper function to build an ID which is used in the proxy calls. This * function is a workaround for * https://roundup-intern.intevation.de/bfs/issue30 * as some items can not be identified with a singe id. */ getEidi: function() { return "/" + idProperty; } });