Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rouffj authored and weaverryan committed Apr 24, 2012
1 parent 38f8fc0 commit b6a23a8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions book/propel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Databases and Propel ("The model")

Let's face it, one of the most common and challenging tasks for any application involves persisting and reading
information to and from a database. Unfortunately, Symfony2 does not come integrated with Propel but it's really
easy to integrate Propel into Symfony2. To get started, read [how to set up Propel into Symfony2](working-with-symfony2.html#installation).
easy to integrate Propel into Symfony2. To get started, read `how to set up Propel into Symfony2
<http://www.propelorm.org/cookbook/symfony2/working-with-symfony2.html#installation>`_.

A Simple Example: A Product
---------------------------
Expand Down Expand Up @@ -200,21 +201,21 @@ Updating an object involves just three steps:
Deleting an Object
~~~~~~~~~~~~~~~~~~

Deleting an object is very similar, but requires a call to the `delete()` method on the object:
Deleting an object is very similar, but requires a call to the ``delete()`` method on the object:

.. code-block:: php
<?php
$product->delete();
{% endhighlight %}
## Querying for Objects ##
Querying for Objects
--------------------

Propel provides `Query` classes to run both basic and complex queries without any work:
{% highlight php %}
Propel provides ``Query`` classes to run both basic and complex queries without any work:

.. code-block:: php
<?php
\Acme\StoreBundle\Model\ProductQuery::create()->findPk($id);
Expand Down

0 comments on commit b6a23a8

Please sign in to comment.