Commit 9990dde1 by Alexander Makarov

Merge pull request #151 from lucianobaraglia/master

Fix in docs
parents a4cf52c6 6b9a0531
...@@ -195,7 +195,7 @@ A new method called `populate()` is introduced to simplify the data population f ...@@ -195,7 +195,7 @@ A new method called `populate()` is introduced to simplify the data population f
to a model. For example, to a model. For example,
~~~ ~~~
$post = new Post; $model = new Post;
if ($this->populate($_POST, $model)) {...} if ($this->populate($_POST, $model)) {...}
// which is equivalent to: // which is equivalent to:
if (isset($_POST['Post'])) { if (isset($_POST['Post'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment