<?php $hook = new Doctrine_Hook($table, $fields); ?>