DS.Model.transformedAttributes

transformedAttributes{Ember.Map}static Defined in addon/-private/system/model/attr.js:71 A map whose keys are the attributes of the model (properties described by DS.attr) and whose values are type of transformation applied to each attribute. This map does not include any attributes that do not have an transformation type. Example app/models/person.js import DS from 'ember-data'; export default DS.Model.extend({ firstName: attr(), lastName: attr('string'), birthday: attr('date') });

DS.EmbeddedRecordsMixin#serializeBelongsTo()

serializeBelongsTo (snapshot, json, relationship) Defined in addon/serializers/embedded-records-mixin.js:141 Serialize belongsTo relationship when it is configured as an embedded object. This example of an author model belongs to a post model: Post = DS.Model.extend({ title: DS.attr('string'), body: DS.attr('string'), author: DS.belongsTo('author') }); Author = DS.Model.extend({ name: DS.attr('string'), post: DS.belongsTo('post') }); Use a custom (type) seriali

VisibilitySupport#_isVisibleDidChange()

_isVisibleDidChangeprivate Defined in packages/ember-views/lib/mixins/visibility_support.js:33 When the view's isVisible property changes, toggle the visibility element of the actual DOM element.

Route#redirect()

redirect (model, transition) public Defined in packages/ember-routing/lib/system/route.js:1368 A hook you can implement to optionally redirect to another route. If you call this.transitionTo from inside of this hook, this route will not be entered in favor of the other hook. redirect and afterModel behave very similarly and are called almost at the same time, but they have an important distinction in the case that, from one of these hooks, a redirect into a child route of this route occurs:

DS.ManyArray#save()

saveDS.PromiseArray Defined in addon/-private/system/many-array.js:244 Saves all of the records in the ManyArray. Example store.findRecord('inbox', 1).then(function(inbox) { inbox.get('messages').then(function(messages) { messages.forEach(function(message) { message.set('isRead', true); }); messages.save() }); }); Returns: DS.PromiseArray promise

DS.RootState

DS.RootState Class Defined in: addon/-private/system/model/states.js:12 Module: ember-data State Each record has a currentState property that explicitly tracks what state a record is in at any given time. For instance, if a record is newly created and has not yet been sent to the adapter to be saved, it would be in the root.loaded.created.uncommitted state. If a record has had local modifications made to it that are in the process of being saved, the record would be in the root.loaded.upda

DS.Errors#_add()

_addprivate Defined in addon/-private/system/model/errors.js:241 Adds error messages to a given attribute without sending event.

Ember.inject

Ember.inject Namespace PUBLIC Defined in: packages/ember-runtime/lib/inject.js:4 Module: ember-runtime Namespace for injection helper methods.

Ember.deprecateFunc()

deprecateFunc (message, options, func) Functionprivate Defined in packages/ember-debug/lib/index.js:91 Alias an old, deprecated method with its new counterpart. Display a deprecation warning with the provided message and a stack trace (Chrome and Firefox only) when the assigned method is called. In a production build, this method is defined as an empty function (NOP). Ember.oldMethod = Ember.deprecateFunc('Please use the new, updated method', Ember.newMethod); Parameters: message String

DefaultResolver#translateToContainerFullname()

translateToContainerFullname (type, name) private Defined in packages/ember-application/lib/system/resolver.js:450 Converts provided name from the backing namespace into a container lookup name. Examples: App.FooBarHelper -> helper:foo-bar App.THelper -> helper:t Parameters: type String name String