Value 'Development' is a not valid enumeration value (Off | Debug | Normal | Performance).
/var/www/prado_mod/framework/TComponent.php (621)
0610: */
0611: public static function ensureEnum($value,$enums)
0612: {
0613: static $types=array();
0614: if(func_num_args()===2 && is_string($enums))
0615: {
0616: if(!isset($types[$enums]))
0617: $types[$enums]=new ReflectionClass($enums);
0618: if($types[$enums]->hasConstant($value))
0619: return $value;
0620: else
0621: throw new TInvalidDataValueException(
0622: 'propertyvalue_enumvalue_invalid',$value,
0623: implode(' | ',$types[$enums]->getConstants()));
0624: }
0625: else if(!is_array($enums))
0626: {
0627: $enums=func_get_args();
0628: array_shift($enums);
0629: }
0630: if(in_array($value,$enums,true))
0631: return $value;
0632: else
0633: throw new TInvalidDataValueException('propertyvalue_enumvalue_invalid',$value,implode(' | ',$enums));
#0 /var/www/prado_mod/framework/TApplication.php(509): TPropertyValue::ensureEnum('Development', 'TApplicationMod...')
#1 /var/www/prado_mod/framework/TComponent.php(135): TApplication->setMode('Development')
#2 /var/www/prado_mod/framework/TComponent.php(221): TComponent->__set('mode', 'Development')
#3 /var/www/prado_mod/framework/TApplication.php(845): TComponent->setSubProperty('mode', 'Development')
#4 /var/www/prado_mod/framework/TApplication.php(927): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#5 /var/www/prado_mod/framework/TApplication.php(364): TApplication->initApplication()
#6 /var/www/taradqw/index.php(23): TApplication->run()
#7 {main}