Login   Register  
PHP Classes
elePHPant
Icontem

File: guide/ordit/usage.md

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stefan Jibrail Froelich  >  Ordit Kohana ORM Audit  >  guide/ordit/usage.md  >  Download  
File: guide/ordit/usage.md
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Ordit Kohana ORM Audit
Track calls to Kohana framework ORM classes
Author: By
Last change:
Date: 1 year ago
Size: 470 bytes
 

Contents

Class file image Download
# Auditing Your Models

To enable auditing of your ORM models, you simple extend `Ordit`.

	class Model_Model extends Ordit
	{
		...
	}

Any CREATE, UPDATE and DELETE actions are automatically and transparently logged.
You don't have to do anything else.

# Viewing Your Logs
The module includes a log viewer. 

You can view logs at (http://site_root/ordit)

[!!]The log viewer was modified from [Kohana Log Viewer](https://github.com/ajaxray/Kohana-Log-Viewer) viewer.