Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Analytics for Zend Framework

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 application
Octocat-spinner-32 docs
Octocat-spinner-32 library
Octocat-spinner-32 public
Octocat-spinner-32 tests
Octocat-spinner-32 .zf.ini
Octocat-spinner-32 .zfproject.xml
Octocat-spinner-32 README
Octocat-spinner-32 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.