contao/import — Issue #216: Email Priorität kann nicht gewählt werden.
Author: importer
Created: 2011-11-29 15:53:15+00:00
State: open
Labels: Defect, framework

Theoretisch sollte folgendes Funktionieren:

```
$this->Email->priority	= 1;
```

```
public function +set($strKey, $varValue)
{
switch ($strKey)
{
### ... ###
case 'priority':
switch ($strKey)
{
case 1:
case 'low':
$this->intPriority = 1;
break;
case 3:
case 'normal':
$this->intPriority = 3;
break;
case 5:
case 'high':
$this->intPriority = 5;
break;
}
break;

### ... ###

default:
throw new Exception(sprintf('Invalid argument "%s"', $strKey));
break;
}
}
```

--- _Originally created by scube on November 1st, 2008, at 05:56pm (ID 216)_