Class: Doctrine_AuditLog

Source Location: /Doctrine/AuditLog.php

Class Doctrine_AuditLog

Class Overview

Doctrine_AuditLog

Located in /Doctrine/AuditLog.php [line 32]



		
				Author(s):
		
		
		
Information Tags:
Version:  $Revision$
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Properties

Methods

[ Top ]
Property Summary
mixed   $_auditTable  
mixed   $_options  

[ Top ]
Method Summary
Doctrine_AuditLog   __construct()  
void   buildDefinition()  
mixed   getOption()   getOption returns the value of given option
array   getOptions()   getOptions returns all options of this table and the associated values
void   getVersion()  
Doctrine_AuditLog   setOption()   setOption sets an option and returns this object in order to allow flexible method chaining
void   __get()   __get an alias for getOption
void   __isset()   __isset

[ Top ]
Properties
mixed   $_auditTable [line 41]
API Tags:
Access:  protected


[ Top ]
mixed   $_options = array(
'className' => '%CLASS%Version',
'versionColumn' => 'version',
'generateFiles' => false,
'table' => false,
)
[line 34]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 43]

  Doctrine_AuditLog __construct( $options  )

Parameters:
   $options: 

API Tags:
Access:  public


[ Top ]
buildDefinition  [line 131]

  void buildDefinition( Doctrine_Table $table  )

Parameters:
Doctrine_Table   $table: 

API Tags:
Access:  public


[ Top ]
getOption  [line 103]

  mixed getOption( string $name  )

getOption returns the value of given option

Parameters:
string   $name:  the name of the option

API Tags:
Return:  the value of given option
Access:  public


[ Top ]
getOptions  [line 75]

  array getOptions( )

getOptions returns all options of this table and the associated values


API Tags:
Return:  all options and their values
Access:  public


[ Top ]
getVersion  [line 111]

  void getVersion( Doctrine_Record $record, $version  )

Parameters:
Doctrine_Record   $record: 
   $version: 

API Tags:
Access:  public


[ Top ]
setOption  [line 89]

  Doctrine_AuditLog setOption( string $name, mixed $value  )

setOption sets an option and returns this object in order to allow flexible method chaining

Parameters:
string   $name:  the name of the option to set
mixed   $value:  the value of the option

API Tags:
Return:  this object
See:  slef::$_options for available options
Access:  public


[ Top ]
__get  [line 53]

  void __get( string $option  )

__get an alias for getOption

Parameters:
string   $option: 

API Tags:
Access:  public


[ Top ]
__isset  [line 65]

  void __isset( string $option  )

__isset

Parameters:
string   $option: 

API Tags:
Access:  public


[ Top ]