AOOSModel::_fixDataProps
commitbb62263bb811774465eee8aef546acb795e51ae9
authorSebastian Skejø <sebastian@07yssk.(none)>
Fri, 1 May 2009 19:39:58 +0000 (1 21:39 +0200)
committerSebastian Skejø <sebastian@07yssk.(none)>
Fri, 1 May 2009 19:39:58 +0000 (1 21:39 +0200)
treee80a1a02a289e9e1037eba081aee84413eb794ff
parent90271c9478e5b69ebd7a7b9b650eb153f2f33e5d
AOOSModel::_fixDataProps

- If $value == "" quotes should still be added
- AOOSMODEL_PROP_DATA_INCREASING should come before AOOSMODEL_PROP_UNIQUE
- Also, if we add a first row with AOOSMODEL_PROP_DATA_INCREASING set and the value isn't 0, we want to use this value
  and not 0
- When creating an AOOSModelRow, we should fill the data with null instead of 0
AOOSModel.php