| @@ 174-183 (lines=10) @@ | ||
| 171 | * @param string $col If supplied, only the specified column is reset. |
|
| 172 | * @return void |
|
| 173 | */ |
|
| 174 | public function resetModified($col = null) |
|
| 175 | { |
|
| 176 | if (null !== $col) { |
|
| 177 | if (isset($this->modifiedColumns[$col])) { |
|
| 178 | unset($this->modifiedColumns[$col]); |
|
| 179 | } |
|
| 180 | } else { |
|
| 181 | $this->modifiedColumns = array(); |
|
| 182 | } |
|
| 183 | } |
|
| 184 | ||
| 185 | /** |
|
| 186 | * Compares this with another <code>Task</code> instance. If |
|
| @@ 225-234 (lines=10) @@ | ||
| 222 | * @param string $col If supplied, only the specified column is reset. |
|
| 223 | * @return void |
|
| 224 | */ |
|
| 225 | public function resetModified($col = null) |
|
| 226 | { |
|
| 227 | if (null !== $col) { |
|
| 228 | if (isset($this->modifiedColumns[$col])) { |
|
| 229 | unset($this->modifiedColumns[$col]); |
|
| 230 | } |
|
| 231 | } else { |
|
| 232 | $this->modifiedColumns = array(); |
|
| 233 | } |
|
| 234 | } |
|
| 235 | ||
| 236 | /** |
|
| 237 | * Compares this with another <code>User</code> instance. If |
|
| @@ 180-189 (lines=10) @@ | ||
| 177 | * @param string $col If supplied, only the specified column is reset. |
|
| 178 | * @return void |
|
| 179 | */ |
|
| 180 | public function resetModified($col = null) |
|
| 181 | { |
|
| 182 | if (null !== $col) { |
|
| 183 | if (isset($this->modifiedColumns[$col])) { |
|
| 184 | unset($this->modifiedColumns[$col]); |
|
| 185 | } |
|
| 186 | } else { |
|
| 187 | $this->modifiedColumns = array(); |
|
| 188 | } |
|
| 189 | } |
|
| 190 | ||
| 191 | /** |
|
| 192 | * Compares this with another <code>Selfprice</code> instance. If |
|