Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Included code block into the tip box #274

Merged
merged 1 commit into from

2 participants

Wouter J Robin Dupret
Wouter J

No description provided.

Robin Dupret robin850 merged commit f86b42a into from
Robin Dupret
Collaborator

Thank you! :+1:

Wouter J WouterJ deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2014
  1. Wouter J
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 documentation/03-basic-crud.markdown
8 documentation/03-basic-crud.markdown
View
@@ -88,10 +88,10 @@ When the primary key consists of more than one column, `findPK()` accepts multip
>**Tip**<br />Every generated Query objects offers a factory method called `create()`. This methods creates a new instance of the query, and allows you to write queries in a single line:
-```php
-<?php
-$firstAuthor = AuthorQuery::create()->findPK(1);
-```
+>```php
+><?php
+>$firstAuthor = AuthorQuery::create()->findPK(1);
+>```
You can also select multiple objects based on their primary keys, by calling the generated `findPKs()` method. It takes an array of primary keys as a parameter:
Something went wrong with that request. Please try again.