Simplified switch statements

removed duplicate code and unneeded default case

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5980 7882d7ee-46e0-0310-a255-a28a61b628e4
don't exit on empty command and fixed unused variables

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5981 7882d7ee-46e0-0310-a255-a28a61b628e4
$realName doesn't exist as variable, renamed to $name

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5982 7882d7ee-46e0-0310-a255-a28a61b628e4
Removed unused variables

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5983 7882d7ee-46e0-0310-a255-a28a61b628e4
Renamed variable to it's real name

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5984 7882d7ee-46e0-0310-a255-a28a61b628e4
corrected case of variable name, removed unused variable

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5985 7882d7ee-46e0-0310-a255-a28a61b628e4
Removed unused variable

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5986 7882d7ee-46e0-0310-a255-a28a61b628e4
Added missing return statement

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5987 7882d7ee-46e0-0310-a255-a28a61b628e4
use the class field options, instead of the undefined local one

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5988 7882d7ee-46e0-0310-a255-a28a61b628e4
removed unused variable $counter

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5989 7882d7ee-46e0-0310-a255-a28a61b628e4