Report abuse


			

 * @copyright  (c) Authors
 * @since      0.9.0
 *
 * @version    $Id$
 */
abstract class Agavi_Doctrine_Record extends Doctrine_Record implements AgaviIModel
{
  /**
   * @var        AgaviContext An AgaviContext instance.
   */
  private $context = null;

  /**
   * Retrieve the current application context.
   *
   * @return     AgaviContext The current AgaviContext instance.
   *
   * @author     Sean Kerr 
   * @since      0.9.0
   */
  public final function getContext()
  {
    return $this->context;
  }

  /**
   * Initialize this model.
   *
   * @param      AgaviContext The current application context.
   *
   * @author     Sean Kerr 
   * @since      0.9.0
   */
  public function initialize(AgaviContext $context, array $parameters = array())
  {
    $this->context = $context;
  }
}

?>