Sha256: f570c3a8efecd157b21ae835ff7cf3d44e6bd18784a544aa5458738e6e4ce42f

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
//            Portions ©2008-2009 Apple, Inc. All rights reserved.
// License:   Licened under MIT license (see license.js)
// ==========================================================================

sc_require('models/record');
sc_require('models/record_attribute');

/** @class

  TODO: Describe
  
  @extends SC.RecordAttribute
  @since SproutCore 1.0
*/
SC.ManyAttribute = SC.RecordAttribute.extend(
  /** @scipe SC.ManyAttribute.prototype */ {
  
  // ..........................................................
  // LOW-LEVEL METHODS
  // 
  
  /**  @private - adapted for to many relationship */
  toType: function(record, key, value) {
    // TODO: Implement ManyAttribute
    return value ;
  },

  /** @private - adapted for to many relationship */
  fromType: function(record, key, value) {
    // TODO: Implement ManyAttribute
    return value;
  }
  
}) ;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sproutit-sproutcore-1.0.0.20090408130025 frameworks/sproutcore/frameworks/datastore/models/many_attribute.js
sproutit-sproutcore-1.0.0.20090416161445 frameworks/sproutcore/frameworks/datastore/models/many_attribute.js