This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$review = ReviewQuery::create() | |
->joinWith('Review.Book') | |
->joinWith('Book.Author') | |
->joinWith('Book.Publisher') | |
->findOne(); | |
$book = $review->getBook() // No additional query needed | |
$author = $book->getAuthor(); // No additional query needed | |
$publisher = $book->getPublisher(); // No additional query needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function save(PropelPDO $con = null) | |
{ | |
if ($this->isDeleted()) { | |
throw new PropelException("You cannot save an object that has been deleted."); | |
} | |
if ($con === null) { | |
$con = Propel::getConnection(SF_model_forum_postPeer::DATABASE_NAME, Propel::CONNECTION_WRITE); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$test_array = array( | |
'<a href="/test">' => | |
'<a href="/test">', | |
'<a href="path/relative">' => | |
'<a href="basepath/path/relative">', | |
'<a href="path/relative ">' => |
NewerOlder