Exemplo n.º 1
0
 /**
  * Load editor
  *
  * @param ServiceManager $serviceManager Service manager
  * @param PropertyModel  $property       Property
  *
  * @return mixed
  */
 public static function loadEditor(ServiceManager $serviceManager, PropertyModel $property)
 {
     $datatype = self::loadDatatype($serviceManager, $property->getDatatypeId(), $property->getDocumentId());
     return $datatype->getEditor($property)->load();
 }