Zend Framework

Quickstart documentation confusion: namespace Default_ or Default?

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.10.0
  • Component/s: None
  • Labels:
    None
  • Language:
    English

Description

On this documentation page:

http://framework.zend.com/docs/quickstart/create-a-model-and-database-table

It says to add, among other things, this line to application/Bootstrap.php:

'namespace' => 'Default_',

But in the next code block, where it shows how the complete file should look, the line reads:

'namespace' => 'Default',

Which is correct? The one that isn't should be changed.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Actually, namespace registry now happens by default in even the application bootstrap – and uses the "Application" prefix instead of our previously suggested "Default". I've updated the docs to reflect this.

Show
Matthew Weier O'Phinney added a comment - Actually, namespace registry now happens by default in even the application bootstrap – and uses the "Application" prefix instead of our previously suggested "Default". I've updated the docs to reflect this.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: