application/Espo/Core/Utils/Database/Orm/Converter.php
public function process()
    {
        $entityDefs = $this->getEntityDefs(true);

        $ormMetadata = array();
        foreach($entityDefs as $entityName => $entityMetadata) {

            if (empty($entityMetadata)) {
                $GLOBALS['log']->critical('Orm\Converter:process(), Entity:'.$entityName.' - metadata cannot be converted into ORM format');
                continue;
            }

            $ormMetadata = Util::merge($ormMetadata, $this->convertEntity($entityName, $entityMetadata));
        }

        $ormMetadata = $this->afterProcess($ormMetadata);

        return $ormMetadata;
    }
public function process()
    {
        $entityDefs = $this->getEntityDefs(true);

        $ormMetadata = array();
        foreach($entityDefs as $entityName => $entityMetadata) {

            if (empty($entityMetadata)) {
                $GLOBALS['log']->critical('Orm\Converter:process(), Entity:'.$entityName.' - metadata cannot be converted into ORM format');
                continue;
            }

            $ormMetadata = Util::merge($ormMetadata, $this->convertEntity($entityName, $entityMetadata));
        }

        $ormMetadata = $this->afterProcess($ormMetadata);

        return $ormMetadata;
    }
public function process ( ) { $ entityDefs = $ this -> getEntityDefs ( true ) ; $ ormMetadata = array ( ) ; foreach ( $ entityDefs as $ entityName => $ entityMetadata ) { if ( empty ( $ entityMetadata ) ) { $ GLOBALS [ 'log' ] -> critical ( 'Orm\Converter:process(), Entity:' . $ entityName . ' - metadata cannot be converted into ORM format' ) ; continue ; } $ ormMetadata = Util :: merge ( $ ormMetadata , $ this -> convertEntity ( $ entityName , $ entityMetadata ) ) ; } $ ormMetadata = $ this -> afterProcess ( $ ormMetadata ) ; return $ ormMetadata ; }
Orm metadata convertation process

@return array
Orm metadata convertation process