#862: Multiple errors in documentation
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: mikeseth
Type: defect | Status: new
Priority: normal | Milestone: 1.0
Component: documentation | Version: 1.0-HEAD
Severity: normal | Resolution:
Keywords: | Has_patch: 0
-----------------------------------------+----------------------------------
Comment(by [EMAIL PROTECTED]):
In http://agavi.org/docs/tutorial/topics/creating-models.html a project
model 'Posts' is created:
{{{
bloggie$ agavi project-model-create
Model name: Posts
[copy] Copying 1 file to /home/nfontes/bloggie/app/models
}}}
Later in this tutorial (http://agavi.org/docs/tutorial/topics/setting-up-
actions.html) the code tries to use the 'Posts' model from the module
'Public' - which is does not exist.
{{{
// Obtain the Posts model from this module
$m = $this->context->getModel('Posts', 'Public');
}}}
--
Ticket URL: <http://trac.agavi.org/ticket/862#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets