DS.Store#_load()

_load (type, data) private Defined in addon/-private/system/store.js:1864 This internal method is used by push. Parameters: type (String|DS.Model) data Object

Instrumentation#instrument()

instrument (name, _payload, callback, binding) private Defined in packages/ember-metal/lib/instrumentation.js:78 Notifies event's subscribers, calls before and after hooks. Parameters: name [String] Namespaced event name. _payload Object callback Function Function that you're instrumenting. binding Object Context that instrument function is called with.

Redirecting

Redirecting Sometimes you want to redirect a user to a different page than what they requested for. For example, if they're not logged in, you might want to prevent them from editing their profile, accessing private information, or checking out items in their shopping cart. Usually you want to redirect them to the login page, and after they have successfully logged in, take them back to the page they originally wanted to access. There are many other reasons you probably want to have the last

CoreView#getViewBoundingClientRect()

getViewBoundingClientRect (view) private Defined in packages/ember-views/lib/system/utils.js:47 getViewBoundingClientRect provides information about the position of the bounding border box edges of a view relative to the viewport. It is only intended to be used by development tools like the Ember Inpsector and may not work on older browsers. Parameters: view Ember.View

DataAdapter

Ember.DataAdapter Class PUBLIC Extends: EmberObject Defined in: packages/ember-extension-support/lib/data_adapter.js:20 Module: ember-extension-support The DataAdapter helps a data persistence library interface with tools that debug Ember such as the Ember Extension for Chrome and Firefox. This class will be extended by a persistence library which will override some of the methods with library-specific code. The methods likely to be overridden are: getFilters detect columnsForType getRecor

String#classify()

classify (str) Stringpublic Defined in packages/ember-runtime/lib/system/string.js:282 Returns the UpperCamelCase form of a string. 'innerHTML'.classify(); // 'InnerHTML' 'action_name'.classify(); // 'ActionName' 'css-class-name'.classify(); // 'CssClassName' 'my favorite items'.classify(); // 'MyFavoriteItems' 'private-docs/owner-invoice'.classify(); // 'PrivateDocs/OwnerInvoice' Parameters: str String the string to classify Returns: String the classified s

MutableEnumerable

Ember.MutableEnumerable Class PUBLIC Uses: Ember.Enumerable Defined in: packages/ember-runtime/lib/mixins/mutable_enumerable.js:10 Module: ember-runtime This mixin defines the API for modifying generic enumerables. These methods can be applied to an object regardless of whether it is ordered or unordered. Note that an Enumerable can change even if it does not implement this mixin. For example, a MappedEnumerable cannot be directly modified but if its underlying enumerable changes, it will

DS.Model.relationships

relationshipsEmber.Mapstatic Defined in addon/-private/system/relationships/ext.js:325 The model's relationships as a map, keyed on the type of the relationship. The value of each entry is an array containing a descriptor for each relationship with that type, describing the name of the relationship as well as the type. For example, given the following model definition: app/models/blog.js import DS from 'ember-data'; export default DS.Model.extend({ users: DS.hasMany('user'), owner: DS.

DS.BuildURLMixin#pathForType()

pathForType (modelName) String Defined in addon/-private/adapters/build-url-mixin.js:410 Determines the pathname for a given type. By default, it pluralizes the type's name (for example, 'post' becomes 'posts' and 'person' becomes 'people'). Pathname customization For example if you have an object LineItem with an endpoint of "/line_items/". app/adapters/application.js import DS from 'ember-data'; export default DS.RESTAdapter.extend({ pathForType: function(modelName) { var decameliz

CoreObject#destroy()

destroyEmber.Objectpublic Defined in packages/ember-runtime/lib/system/core_object.js:417 Destroys an object by setting the isDestroyed flag and removing its metadata, which effectively destroys observers and bindings. If you try to set a property on a destroyed object, an exception will be raised. Note that destruction is scheduled for the end of the run loop and does not happen immediately. It will set an isDestroying flag immediately. Returns: Ember.Object receiver