'MockDynamicAssignmentDBField(1,0)', // This field tries to emit dynamic assignment but will fail because of scalar only 'DynamicScalarOnlyField' => 'MockDynamicAssignmentDBField(1,1)', // This field does dynamic assignment and will pass 'DynamicField' => 'MockDynamicAssignmentDBField(0,1)', ); private static $many_many = array( "MockManyMany" => 'MockDynamicAssignmentDataObject' ); private static $belongs_many_many = array( "MockBelongsManyMany" => 'MockDynamicAssignmentDataObject' ); private static $many_many_extraFields = array( 'MockManyMany' => array( // This field only emits scalar value and will save 'ManyManyStaticScalarOnlyField' => 'MockDynamicAssignmentDBField(1,0)', // This field tries to emit dynamic assignment but will fail because of scalar only 'ManyManyDynamicScalarOnlyField' => 'MockDynamicAssignmentDBField(1,1)', // This field does dynamic assignment and will pass 'ManyManyDynamicField' => 'MockDynamicAssignmentDBField(0,1)', ) ); }