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.hasListeners()

hasListeners (obj, eventName) private Defined in packages/ember-metal/lib/events.js:244 Parameters: obj eventName String

Ember.GUID_PREFIX

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

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.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.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.generateControllerFactory()

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

Ember.generateController()

generateControllerprivate Defined in packages/ember-routing/lib/system/generate_controller.js:32 Available since 1.3.0 Generates and instantiates a controller. The type of the generated controller factory is derived from the context. If the context is an array an array controller is generated, if an object, an object controller otherwise, a basic controller is generated.