Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Analytics for Zend Framework
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
application
docs
library/Maa
public
tests
.zf.ini
.zfproject.xml
README
README.md

README.md

Setup

Requirements

Zend_Framework 1.11.3 (hope that newer versions also works with this code:)

  • Requires PHP 5.3.x
  • Small modifications to Bootstrap and application.ini

Bootstrap

There are few things that needed for this to run

In our application/Bootstrap.php we need to add this method

protected function _initConfig() { $config = new Zend_Config($this->getOptions(), true); Zend_Registry::set('config', $config); return $config; }

Thats because I dont see any other .shortcuts. to get the Zend_Config application.ini data

application.ini

In our application/configs/application.ini we need the following

autoloadernamespaces[] = Maa

So the Directory can be found

Examples

Now library/Maa/_examples/application.ini.sample for more configuration

For a an working example see application/layouts/scripts/layout.phtml

For documentation see public/doc/index.html

Something went wrong with that request. Please try again.