if (isset($type['menuPosition'
])) { $class->
setMenuPosition($type['menuPosition'
]);
} if (isset($type['menuParent'
])) { $class->
setMenuParent($type['menuParent'
]);
} if (isset($type['custom'
])) { $class->
setCustom($type['custom'
]);
} if (isset($type['viewTitleFieldName'
])) { $class->
setViewTitleFieldName($type['viewTitleFieldName'
]);
} if (isset($type['viewDescriptionFieldName'
])) { $class->
setViewDescriptionFieldName($type['viewDescriptionFieldName'
]);
} if (isset($type['viewImageFieldName'
])) {