Ember.GUID_PREFIX

GUID_PREFIXStringprivateconstant Defined in packages/ember-metal/lib/utils.js:30 Prefix used for guids through out Ember.

Ember.GUID_KEY

GUID_KEYStringprivateconstant Defined in packages/ember-metal/lib/utils.js:94 A unique key used to assign guids and other private metadata to objects. If you inspect an object in your browser debugger you will often see these. They can be safely ignored. On browsers that support it, these properties are added with enumeration disabled so they won't show up when you iterate over your properties.

Ember.guidFor()

guidFor (obj) Stringpublic Defined in packages/ember-metal/lib/utils.js:167 Returns a unique id for the object. If the object does not yet have a guid, one will be assigned to it. You can call this on any object, Ember.Object-based or not, but be aware that it will add a _guid property. You can also use this method on DOM Element objects. Parameters: obj Object any object, string, number, Element, or primitive Returns: String the unique guid for this instance.

Ember.getWithDefault()

getWithDefault (obj, keyName, defaultValue) Objectpublic Defined in packages/ember-metal/lib/property_get.js:106 Retrieves the value of a property from an Object, or a default value in the case that the property returns undefined. Ember.getWithDefault(person, 'lastName', 'Doe'); Parameters: obj Object The object to retrieve from. keyName String The name of the property to retrieve defaultValue Object The value to return if the property value is undefined Returns: Object

Ember.getProperties()

getProperties (obj, list) Objectpublic Defined in packages/ember-metal/lib/get_properties.js:3 To get multiple properties at once, call Ember.getProperties with an object followed by a list of strings or an array: Ember.getProperties(record, 'firstName', 'lastName', 'zipCode'); // { firstName: 'John', lastName: 'Doe', zipCode: '10011' } is equivalent to: Ember.getProperties(record, ['firstName', 'lastName', 'zipCode']); // { firstName: 'John', lastName: 'Doe', zipCode: '10011' } Paramet

Ember.getOwner()

getOwner (object) Objectpublic Defined in packages/container/lib/owner.js:10 Available since 2.3.0 Framework objects in an Ember application (components, services, routes, etc.) are created via a factory and dependency injection system. Each of these objects is the responsibility of an "owner", which handled its instantiation and manages its lifetime. getOwner fetches the owner object responsible for an instance. This can be used to lookup or resolve other class instances, or register new f

Ember.getEngineParent()

getEngineParent (engine) EngineInstancepublic Defined in packages/ember-application/lib/system/engine-parent.js:10 getEngineParent retrieves an engine instance's parent instance. Parameters: engine EngineInstance An engine instance. Returns: EngineInstance The parent engine instance.

Ember.get()

get (obj, keyName) Objectpublic Defined in packages/ember-metal/lib/property_get.js:21 Gets the value of a property on an object. If the property is computed, the function will be invoked. If the property is not defined but the object implements the unknownProperty method then that will be invoked. If you plan to run on IE8 and older browsers then you should use this method anytime you want to retrieve a property on an object that you don't know for sure is private. (Properties beginning wi

Ember.generateGuid()

generateGuid (obj, prefix) Stringprivate Defined in packages/ember-metal/lib/utils.js:129 Generates a new guid, optionally saving the guid to the object that you pass in. You will rarely need to use this method. Instead you should call Ember.guidFor(obj), which return an existing guid if available. Parameters: obj [Object] Object the guid will be used for. If passed in, the guid will be saved on the object and reused whenever you pass the same object again. If no object is passed, just

Ember.generateControllerFactory()

generateControllerFactoryprivate Defined in packages/ember-routing/lib/system/generate_controller.js:9 Generates a controller factory