Beispiel #1
0
 public function __construct($attributes = array())
 {
     parent::__construct(array('attributes' => $attributes, 'hasMany' => array('accounts' => HasMany::module('Account'), 'contacts' => HasMany::module('Contact'), 'documents' => HasMany::module('Document'))));
 }
 public function __construct($attributes = array())
 {
     parent::__construct(array('attributes' => $attributes));
 }
 public function __construct($attributes = array())
 {
     parent::__construct(array('attributes' => $attributes, 'hasMany' => array('contacts' => HasMany::module('Contact'), 'leads' => HasMany::module('Lead'), 'opportunities' => HasMany::module('Opportunity'), 'documents' => HasMany::module('Document'), 'bugs' => HasMany::module('Bug'))));
 }
 public function __construct($attributes = array())
 {
     parent::__construct(array('attributes' => $attributes, 'belongsTo' => array('account' => BelongsTo::module('Account'), 'quote' => BelongsTo::module('AOS_Quotes'))));
 }
 public function __construct($attributes = array())
 {
     parent::__construct(array('attributes' => $attributes, 'belongsTo' => array('account' => BelongsTo::module('Account')), 'hasMany' => array('bugs' => HasMany::module('Bug'))));
 }