示例#1
0
 /**
  * __construct
  *
  * @param array $options
  * @return void
  */
 public function __construct(array $options = array())
 {
     if (!class_exists($this->_options['listener'], true)) {
         throw new Exception('Class: ' . $this->_options['listener'] . ' not found');
     }
     parent::__construct($options);
 }
 /**
  * Constructor
  * 
  * @param   array   $options    I18n options
  * @return  void
  * @author  relo_san
  * @since   january 11, 2010
  */
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->_plugin = new Doctrine_I18n($this->_options);
 }
 /**
  * Override the setInvoker() method to allow us to generate the event name
  *
  * @param Doctrine_Record_Abstract $invoker 
  * @return void
  */
 public function setInvoker(Doctrine_Record_Abstract $invoker)
 {
     parent::setInvoker($invoker);
     $this->_eventName = sfInflector::tableize(get_class($invoker));
 }
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->_plugin = new opCommunityWikiPluginImagesRecordGenerator($this->getOptions());
 }
示例#5
0
 /**
  * Constructor.
  *
  * Options:
  *   oldColumnPrefix: all columns will be prefixed this string e.g. z_
  *
  * @param array $options Options.
  */
 public function __construct(array $options = array())
 {
     parent::__construct($options);
 }