| @@ 257-278 (lines=22) @@ | ||
| 254 | * |
|
| 255 | * @return $this|ChildSelfpriceQuery The current query, for fluid interface |
|
| 256 | */ |
|
| 257 | public function filterById($id = null, $comparison = null) |
|
| 258 | { |
|
| 259 | if (is_array($id)) { |
|
| 260 | $useMinMax = false; |
|
| 261 | if (isset($id['min'])) { |
|
| 262 | $this->addUsingAlias(SelfpriceTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 263 | $useMinMax = true; |
|
| 264 | } |
|
| 265 | if (isset($id['max'])) { |
|
| 266 | $this->addUsingAlias(SelfpriceTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 267 | $useMinMax = true; |
|
| 268 | } |
|
| 269 | if ($useMinMax) { |
|
| 270 | return $this; |
|
| 271 | } |
|
| 272 | if (null === $comparison) { |
|
| 273 | $comparison = Criteria::IN; |
|
| 274 | } |
|
| 275 | } |
|
| 276 | ||
| 277 | return $this->addUsingAlias(SelfpriceTableMap::COL_ID, $id, $comparison); |
|
| 278 | } |
|
| 279 | ||
| 280 | /** |
|
| 281 | * Filter the query on the name column |
|
| @@ 329-350 (lines=22) @@ | ||
| 326 | * |
|
| 327 | * @return $this|ChildSelfpriceQuery The current query, for fluid interface |
|
| 328 | */ |
|
| 329 | public function filterByDatecreate($datecreate = null, $comparison = null) |
|
| 330 | { |
|
| 331 | if (is_array($datecreate)) { |
|
| 332 | $useMinMax = false; |
|
| 333 | if (isset($datecreate['min'])) { |
|
| 334 | $this->addUsingAlias(SelfpriceTableMap::COL_DATECREATE, $datecreate['min'], Criteria::GREATER_EQUAL); |
|
| 335 | $useMinMax = true; |
|
| 336 | } |
|
| 337 | if (isset($datecreate['max'])) { |
|
| 338 | $this->addUsingAlias(SelfpriceTableMap::COL_DATECREATE, $datecreate['max'], Criteria::LESS_EQUAL); |
|
| 339 | $useMinMax = true; |
|
| 340 | } |
|
| 341 | if ($useMinMax) { |
|
| 342 | return $this; |
|
| 343 | } |
|
| 344 | if (null === $comparison) { |
|
| 345 | $comparison = Criteria::IN; |
|
| 346 | } |
|
| 347 | } |
|
| 348 | ||
| 349 | return $this->addUsingAlias(SelfpriceTableMap::COL_DATECREATE, $datecreate, $comparison); |
|
| 350 | } |
|
| 351 | ||
| 352 | /** |
|
| 353 | * Filter the query on the desc column |
|
| @@ 262-283 (lines=22) @@ | ||
| 259 | * |
|
| 260 | * @return $this|ChildTaskQuery The current query, for fluid interface |
|
| 261 | */ |
|
| 262 | public function filterById($id = null, $comparison = null) |
|
| 263 | { |
|
| 264 | if (is_array($id)) { |
|
| 265 | $useMinMax = false; |
|
| 266 | if (isset($id['min'])) { |
|
| 267 | $this->addUsingAlias(TaskTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 268 | $useMinMax = true; |
|
| 269 | } |
|
| 270 | if (isset($id['max'])) { |
|
| 271 | $this->addUsingAlias(TaskTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 272 | $useMinMax = true; |
|
| 273 | } |
|
| 274 | if ($useMinMax) { |
|
| 275 | return $this; |
|
| 276 | } |
|
| 277 | if (null === $comparison) { |
|
| 278 | $comparison = Criteria::IN; |
|
| 279 | } |
|
| 280 | } |
|
| 281 | ||
| 282 | return $this->addUsingAlias(TaskTableMap::COL_ID, $id, $comparison); |
|
| 283 | } |
|
| 284 | ||
| 285 | /** |
|
| 286 | * Filter the query on the created_at column |
|
| @@ 305-326 (lines=22) @@ | ||
| 302 | * |
|
| 303 | * @return $this|ChildTaskQuery The current query, for fluid interface |
|
| 304 | */ |
|
| 305 | public function filterByCreatedAt($createdAt = null, $comparison = null) |
|
| 306 | { |
|
| 307 | if (is_array($createdAt)) { |
|
| 308 | $useMinMax = false; |
|
| 309 | if (isset($createdAt['min'])) { |
|
| 310 | $this->addUsingAlias(TaskTableMap::COL_CREATED_AT, $createdAt['min'], Criteria::GREATER_EQUAL); |
|
| 311 | $useMinMax = true; |
|
| 312 | } |
|
| 313 | if (isset($createdAt['max'])) { |
|
| 314 | $this->addUsingAlias(TaskTableMap::COL_CREATED_AT, $createdAt['max'], Criteria::LESS_EQUAL); |
|
| 315 | $useMinMax = true; |
|
| 316 | } |
|
| 317 | if ($useMinMax) { |
|
| 318 | return $this; |
|
| 319 | } |
|
| 320 | if (null === $comparison) { |
|
| 321 | $comparison = Criteria::IN; |
|
| 322 | } |
|
| 323 | } |
|
| 324 | ||
| 325 | return $this->addUsingAlias(TaskTableMap::COL_CREATED_AT, $createdAt, $comparison); |
|
| 326 | } |
|
| 327 | ||
| 328 | /** |
|
| 329 | * Filter the query on the updated_at column |
|
| @@ 348-369 (lines=22) @@ | ||
| 345 | * |
|
| 346 | * @return $this|ChildTaskQuery The current query, for fluid interface |
|
| 347 | */ |
|
| 348 | public function filterByUpdatedAt($updatedAt = null, $comparison = null) |
|
| 349 | { |
|
| 350 | if (is_array($updatedAt)) { |
|
| 351 | $useMinMax = false; |
|
| 352 | if (isset($updatedAt['min'])) { |
|
| 353 | $this->addUsingAlias(TaskTableMap::COL_UPDATED_AT, $updatedAt['min'], Criteria::GREATER_EQUAL); |
|
| 354 | $useMinMax = true; |
|
| 355 | } |
|
| 356 | if (isset($updatedAt['max'])) { |
|
| 357 | $this->addUsingAlias(TaskTableMap::COL_UPDATED_AT, $updatedAt['max'], Criteria::LESS_EQUAL); |
|
| 358 | $useMinMax = true; |
|
| 359 | } |
|
| 360 | if ($useMinMax) { |
|
| 361 | return $this; |
|
| 362 | } |
|
| 363 | if (null === $comparison) { |
|
| 364 | $comparison = Criteria::IN; |
|
| 365 | } |
|
| 366 | } |
|
| 367 | ||
| 368 | return $this->addUsingAlias(TaskTableMap::COL_UPDATED_AT, $updatedAt, $comparison); |
|
| 369 | } |
|
| 370 | ||
| 371 | /** |
|
| 372 | * Exclude object from result |
|
| @@ 282-303 (lines=22) @@ | ||
| 279 | * |
|
| 280 | * @return $this|ChildUserQuery The current query, for fluid interface |
|
| 281 | */ |
|
| 282 | public function filterById($id = null, $comparison = null) |
|
| 283 | { |
|
| 284 | if (is_array($id)) { |
|
| 285 | $useMinMax = false; |
|
| 286 | if (isset($id['min'])) { |
|
| 287 | $this->addUsingAlias(UserTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 288 | $useMinMax = true; |
|
| 289 | } |
|
| 290 | if (isset($id['max'])) { |
|
| 291 | $this->addUsingAlias(UserTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 292 | $useMinMax = true; |
|
| 293 | } |
|
| 294 | if ($useMinMax) { |
|
| 295 | return $this; |
|
| 296 | } |
|
| 297 | if (null === $comparison) { |
|
| 298 | $comparison = Criteria::IN; |
|
| 299 | } |
|
| 300 | } |
|
| 301 | ||
| 302 | return $this->addUsingAlias(UserTableMap::COL_ID, $id, $comparison); |
|
| 303 | } |
|
| 304 | ||
| 305 | /** |
|
| 306 | * Filter the query on the name column |
|
| @@ 441-462 (lines=22) @@ | ||
| 438 | * |
|
| 439 | * @return $this|ChildUserQuery The current query, for fluid interface |
|
| 440 | */ |
|
| 441 | public function filterByCreatedAt($createdAt = null, $comparison = null) |
|
| 442 | { |
|
| 443 | if (is_array($createdAt)) { |
|
| 444 | $useMinMax = false; |
|
| 445 | if (isset($createdAt['min'])) { |
|
| 446 | $this->addUsingAlias(UserTableMap::COL_CREATED_AT, $createdAt['min'], Criteria::GREATER_EQUAL); |
|
| 447 | $useMinMax = true; |
|
| 448 | } |
|
| 449 | if (isset($createdAt['max'])) { |
|
| 450 | $this->addUsingAlias(UserTableMap::COL_CREATED_AT, $createdAt['max'], Criteria::LESS_EQUAL); |
|
| 451 | $useMinMax = true; |
|
| 452 | } |
|
| 453 | if ($useMinMax) { |
|
| 454 | return $this; |
|
| 455 | } |
|
| 456 | if (null === $comparison) { |
|
| 457 | $comparison = Criteria::IN; |
|
| 458 | } |
|
| 459 | } |
|
| 460 | ||
| 461 | return $this->addUsingAlias(UserTableMap::COL_CREATED_AT, $createdAt, $comparison); |
|
| 462 | } |
|
| 463 | ||
| 464 | /** |
|
| 465 | * Filter the query on the updated_at column |
|
| @@ 484-505 (lines=22) @@ | ||
| 481 | * |
|
| 482 | * @return $this|ChildUserQuery The current query, for fluid interface |
|
| 483 | */ |
|
| 484 | public function filterByUpdatedAt($updatedAt = null, $comparison = null) |
|
| 485 | { |
|
| 486 | if (is_array($updatedAt)) { |
|
| 487 | $useMinMax = false; |
|
| 488 | if (isset($updatedAt['min'])) { |
|
| 489 | $this->addUsingAlias(UserTableMap::COL_UPDATED_AT, $updatedAt['min'], Criteria::GREATER_EQUAL); |
|
| 490 | $useMinMax = true; |
|
| 491 | } |
|
| 492 | if (isset($updatedAt['max'])) { |
|
| 493 | $this->addUsingAlias(UserTableMap::COL_UPDATED_AT, $updatedAt['max'], Criteria::LESS_EQUAL); |
|
| 494 | $useMinMax = true; |
|
| 495 | } |
|
| 496 | if ($useMinMax) { |
|
| 497 | return $this; |
|
| 498 | } |
|
| 499 | if (null === $comparison) { |
|
| 500 | $comparison = Criteria::IN; |
|
| 501 | } |
|
| 502 | } |
|
| 503 | ||
| 504 | return $this->addUsingAlias(UserTableMap::COL_UPDATED_AT, $updatedAt, $comparison); |
|
| 505 | } |
|
| 506 | ||
| 507 | /** |
|
| 508 | * Exclude object from result |
|