Inherits Doctrine_Record_Listener.
Definition at line 33 of file Listener.php.
| Doctrine_Record_Listener::getOption |
( |
|
$name | ) |
|
|
inherited |
getOption returns the value of given option
- Parameters
-
| string | $name | the name of the option |
- Returns
- mixed the value of given option
Definition at line 74 of file Listener.php.
{
if (isset($this->_options[$name])) {
return $this->_options[$name];
}
return null;
}
| Doctrine_Record_Listener::getOptions |
( |
| ) |
|
|
inherited |
getOptions returns all options of this template and the associated values
- Returns
- array all options and their values
Definition at line 62 of file Listener.php.
{
return $this->_options;
}
| Doctrine_Record_Listener::setOption |
( |
|
$name, |
|
|
|
$value = null |
|
) |
| |
|
inherited |
setOption sets an option in order to allow flexible listener
- Parameters
-
| mixed | $name | the name of the option to set |
| mixed | $value | the value of the option |
Definition at line 47 of file Listener.php.
{
if (is_array($name)) {
$this->_options = Doctrine_Lib::arrayDeepMerge($this->_options, $name);
} else {
$this->_options[$name] = $value;
}
}
The documentation for this class was generated from the following file: