Class: Doctrine_Plugin

Source Location: /Doctrine/Plugin.php

Class Doctrine_Plugin

Class Overview

Doctrine_Plugin

Located in /Doctrine/Plugin.php [line 33]



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

Properties

Methods

[ Top ]
Property Summary
array   $_options  

[ Top ]
Method Summary
mixed   getOption()   returns the value of an option
array   getOptions()   returns all options and their associated values
Doctrine_Plugin   setOption()   sets given value to an option

[ Top ]
Properties
array   $_options = array() [line 38]
API Tags:
Access:  protected


[ Top ]
Methods
getOption  [line 45]

  mixed getOption( $option $name  )

returns the value of an option

Parameters:
$option   $name:  the name of the option to retrieve

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


[ Top ]
getOptions  [line 75]

  array getOptions( )

returns all options and their associated values


API Tags:
Return:  all options as an associative array
Access:  public


[ Top ]
setOption  [line 60]

  Doctrine_Plugin setOption( $option $name, $value $value  )

sets given value to an option

Parameters:
$option   $name:  the name of the option to be changed
$value   $value:  the value of the option

API Tags:
Return:  this object
Access:  public


[ Top ]