/** * Configures the current widget. * * Available options details in * http://www.symfony-project.org/plugins/sfDependentSelectPlugin * * @param array $options An array of options * @param array $attributes An array of default HTML attributes * * @see sfWidgetForm */ protected function configure($options = array(), $attributes = array()) { $this->addOption('peer_method', 'doSelect'); parent::configure($options, $attributes); }
/** * Configures the current widget. * * Available options details in * http://www.symfony-project.org/plugins/sfDependentSelectPlugin * * @param array $options An array of options * @param array $attributes An array of default HTML attributes * * @see sfWidgetForm */ protected function configure($options = array(), $attributes = array()) { $this->addOption('table_method', ''); parent::configure($options, $attributes); }