input('type')) { case 'all': return User::FILTER_LEVEL_ALL; break; case 'admin': return User::FILTER_LEVEL_ADMIN; break; case 'owner': return User::FILTER_LEVEL_OWNER; break; case 'subuser-of': default: return User::FILTER_LEVEL_SUBUSER; break; } } }