Author: hugo.hamon
Date: 2010-02-11 20:50:46 +0100 (Thu, 11 Feb 2010)
New Revision: 27921
Modified:
doc/branches/1.4/jobeet/en/07.markdown
doc/branches/1.4/jobeet/es/07.markdown
doc/branches/1.4/jobeet/fr/07.markdown
doc/branches/1.4/jobeet/it/07.markdown
doc/branches/1.4/jobeet/ja/07.markdown
doc/branches/1.4/jobeet/ru/07.markdown
Log:
[doc] updated chapter 7 of Jobeet tutorial
Modified: doc/branches/1.4/jobeet/en/07.markdown
===================================================================
--- doc/branches/1.4/jobeet/en/07.markdown 2010-02-11 19:38:56 UTC (rev
27920)
+++ doc/branches/1.4/jobeet/en/07.markdown 2010-02-11 19:50:46 UTC (rev
27921)
@@ -3,9 +3,9 @@
Yesterday you expanded your knowledge of symfony in a lot of different areas:
querying with ##ORM##, fixtures, routing, debugging, and custom configuration.
-And we finished with a little challenge for today.
+And we finished with a little challenge to start this chapter.
-I hope you worked on the Jobeet category page as today's tutorial will then be
+We hope you worked on the Jobeet category page as today's tutorial will then be
much more valuable for you.
Ready? Let's talk about a possible implementation.
@@ -104,7 +104,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->countActiveJobs($q);
+ return Doctrine_Core::getTable('JobeetJob')->countActiveJobs($q);
}
The `countActiveJobs()` method uses a `countActiveJobs()` method that does not
@@ -453,8 +453,7 @@
when selecting the items from the database.
</propel>
<doctrine>
-The `sfDoctrinePager::setQuery()` method takes a `Doctrine_Query` object to
use when
-selecting the items from the database.
+The `sfDoctrinePager::setQuery()` method takes a `Doctrine_Query` object to
use when selecting items from the database.
</doctrine>
<propel>
@@ -484,7 +483,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->addActiveJobsQuery($q);
+ return Doctrine_Core::getTable('JobeetJob')->addActiveJobsQuery($q);
}
</doctrine>
Modified: doc/branches/1.4/jobeet/es/07.markdown
===================================================================
--- doc/branches/1.4/jobeet/es/07.markdown 2010-02-11 19:38:56 UTC (rev
27920)
+++ doc/branches/1.4/jobeet/es/07.markdown 2010-02-11 19:50:46 UTC (rev
27921)
@@ -94,7 +94,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->countActiveJobs($q);
+ return Doctrine_Core::getTable('JobeetJob')->countActiveJobs($q);
}
El método `countActiveJobs()` emplea un método `countActiveJobs()` que aún no
existe en
@@ -440,7 +440,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->addActiveJobsQuery($q);
+ return Doctrine_Core::getTable('JobeetJob')->addActiveJobsQuery($q);
}
</doctrine>
Modified: doc/branches/1.4/jobeet/fr/07.markdown
===================================================================
--- doc/branches/1.4/jobeet/fr/07.markdown 2010-02-11 19:38:56 UTC (rev
27920)
+++ doc/branches/1.4/jobeet/fr/07.markdown 2010-02-11 19:50:46 UTC (rev
27921)
@@ -104,7 +104,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->countActiveJobs($q);
+ return Doctrine_Core::getTable('JobeetJob')->countActiveJobs($q);
}
La méthode `countActiveJobs()` utilise la méthode `countActiveJobs()` qui
n'existe
@@ -484,7 +484,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->addActiveJobsQuery($q);
+ return Doctrine_Core::getTable('JobeetJob')->addActiveJobsQuery($q);
}
</doctrine>
Modified: doc/branches/1.4/jobeet/it/07.markdown
===================================================================
--- doc/branches/1.4/jobeet/it/07.markdown 2010-02-11 19:38:56 UTC (rev
27920)
+++ doc/branches/1.4/jobeet/it/07.markdown 2010-02-11 19:50:46 UTC (rev
27921)
@@ -107,7 +107,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->countActiveJobs($q);
+ return Doctrine_Core::getTable('JobeetJob')->countActiveJobs($q);
}
Il metodo `countActiveJobs()` usa un metodo `countActiveJobs()`
@@ -492,7 +492,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->addActiveJobsQuery($q);
+ return Doctrine_Core::getTable('JobeetJob')->addActiveJobsQuery($q);
}
</doctrine>
Modified: doc/branches/1.4/jobeet/ja/07.markdown
===================================================================
--- doc/branches/1.4/jobeet/ja/07.markdown 2010-02-11 19:38:56 UTC (rev
27920)
+++ doc/branches/1.4/jobeet/ja/07.markdown 2010-02-11 19:50:46 UTC (rev
27921)
@@ -89,7 +89,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->countActiveJobs($q);
+ return Doctrine_Core::getTable('JobeetJob')->countActiveJobs($q);
}
`countActiveJobs()` メソッドは `JobeetJobTable` にまだ存在しない `countActiveJobs()`
メソッドを使用します。`JobeetJobTable.php` ファイルの内容を次のコードで置き換えます:
@@ -419,7 +419,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->addActiveJobsQuery($q);
+ return Doctrine_Core::getTable('JobeetJob')->addActiveJobsQuery($q);
}
</doctrine>
Modified: doc/branches/1.4/jobeet/ru/07.markdown
===================================================================
--- doc/branches/1.4/jobeet/ru/07.markdown 2010-02-11 19:38:56 UTC (rev
27920)
+++ doc/branches/1.4/jobeet/ru/07.markdown 2010-02-11 19:50:46 UTC (rev
27921)
@@ -98,7 +98,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->countActiveJobs($q);
+ return Doctrine_Core::getTable('JobeetJob')->countActiveJobs($q);
}
Метод `JobeetCategory::countActiveJobs()` использует не существующий пока метод
@@ -468,7 +468,7 @@
->from('JobeetJob j')
->where('j.category_id = ?', $this->getId());
- return Doctrine::getTable('JobeetJob')->addActiveJobsQuery($q);
+ return Doctrine_Core::getTable('JobeetJob')->addActiveJobsQuery($q);
}
</doctrine>
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.