Changeset 3855
- Timestamp:
- 02/20/08 16:10:41 (17 months ago)
- Files:
-
- 1 modified
-
branches/0.10/lib/Doctrine/Query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Query.php
r3791 r3855 468 468 469 469 /** 470 * contains 471 * 472 * Method to check if a arbitrary piece of dql exists 473 * 474 * @param string $dql Arbitrary piece of dql to check for 475 * @return boolean 476 */ 477 public function contains($dql) 478 { 479 return stripos($this->getDql(), $dql) === false ? false : true; 480 } 481 482 /** 470 483 * processPendingFields 471 484 * the fields in SELECT clause cannot be parsed until the components