DataAdapter#acceptsModelName

acceptsModelNamepublic Defined in packages/ember-extension-support/lib/data_adapter.js:91 Ember Data > v1.0.0-beta.18 requires string model names to be passed around instead of the actual factories. This is a stamp for the Ember Inspector to differentiate between the versions to be able to support older versions too.

DataAdapter#columnsForType()

columnsForType (type) Arrayprivate Defined in packages/ember-extension-support/lib/data_adapter.js:264 Get the columns for a given model type. Parameters: type Class The model type. Returns: Array An array of columns of the following format: name: {String} The name of the column. desc: {String} Humanized description (what would show in a table column name).

DS.Model#rollbackAttributes()

rollbackAttributes Defined in addon/-private/system/model/model.js:671 Available since 1.13.0 If the model hasDirtyAttributes this function will discard any unsaved changes. If the model isNew it will be removed from the store. Example record.get('name'); // 'Untitled Document' record.set('name', 'Doc 1'); record.get('name'); // 'Doc 1' record.rollbackAttributes(); record.get('name'); // 'Untitled Document'

DS.RESTSerializer#keyForPolymorphicType()

keyForPolymorphicType (key, typeClass, method) String Defined in addon/serializers/rest.js:60 keyForPolymorphicType can be used to define a custom key when serializing and deserializing a polymorphic type. By default, the returned key is ${key}Type. Example app/serializers/post.js import DS from 'ember-data'; export default DS.RESTSerializer.extend({ keyForPolymorphicType: function(key, relationship) { var relationshipKey = this.keyForRelationship(key); return 'type-' + rel

DS.Model#_debugInfo()

_debugInfoprivate Defined in addon/-private/system/debug/debug-info.js:5 Provides info about the model for debugging purposes by grouping the properties into more semantic groups. Meant to be used by debugging tools such as the Chrome Ember Extension. Groups all attributes in "Attributes" group. Groups all belongsTo relationships in "Belongs To" group. Groups all hasMany relationships in "Has Many" group. Groups all flags in "Flags" group. Flags relationship CPs as expensive properties.

DS.JSONSerializer#extractMeta()

extractMeta (store, modelClass, payload) Defined in addon/serializers/json.js:1288 extractMeta is used to deserialize any meta information in the adapter payload. By default Ember Data expects meta information to be located on the meta property of the payload object. Example app/serializers/post.js import DS from 'ember-data'; export default DS.JSONSerializer.extend({ extractMeta: function(store, typeClass, payload) { if (payload && payload.hasOwnProperty('_pagination')) {

Checkbox

Ember.Checkbox Class PUBLIC Extends: Ember.Component Defined in: packages/ember-htmlbars/lib/components/checkbox.js:10 Module: ember-views The internal class used to create text inputs when the {{input}} helper is used with type of checkbox. See Ember.Templates.helpers.input for usage details. Direct manipulation of checked The checked attribute of an Ember.Checkbox object should always be set through the Ember object or by interacting with its rendered element representation via the mous

DS.RESTAdapter#findBelongsTo()

findBelongsTo (store, snapshot, url) Promise Defined in addon/adapters/rest.js:648 Called by the store in order to fetch the JSON for the unloaded record in a belongs-to relationship that was originally specified as a URL (inside of links). For example, if your original payload looks like this: { "person": { "id": 1, "name": "Tom Dale", "links": { "group": "/people/1/group" } } } This method will be called with the parent record and /people/1/group. The findBelongsTo method

Evented#has()

has (name) Booleanpublic Defined in packages/ember-runtime/lib/mixins/evented.js:142 Checks to see if object has any subscriptions for named event. Parameters: name String The name of the event Returns: Boolean does the object have a subscription for event

RegistryProxyMixin#registeredOption()

registeredOption (fullName, optionName) Objectpublic Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:131 Return a specific registered option for a particular factory. Parameters: fullName String optionName String Returns: Object options