/**
  * Gets the options for the model field
  * @param zibo\library\orm\ModelManager $modelManager Manager of the models
  * @return array Array with the name of the model as key and as value
  */
 protected function getModelOptions(ModelManager $modelManager)
 {
     $models = $modelManager->getModels(true);
     ksort($models);
     $options = array();
     foreach ($models as $modelName => $model) {
         $options[$modelName] = $modelName;
     }
     return $options;
 }