Sometimes it’s usefull to disable the web debug toolbar in dev mode manually, e.g. in an AJAX response.
sfConfig::set(‘sf_web_debug’,false);
Sometimes it’s usefull to disable the web debug toolbar in dev mode manually, e.g. in an AJAX response.
sfConfig::set(‘sf_web_debug’,false);
In release 1.2.7 there is no way to set the default values in generator.yml file. The workaround:
Override the method getFilterDefaults() in your <modulename>/lib/<modulename>GeneratorConfiguration.class.php and add your default values. An example:
public function getFilterDefaults()
{
return array('is_deleted' => array('text' => "0"));
}