application/Espo/Core/Utils/Database/Orm/Base.php
protected function getEntityParams($entityName = null, $isOrmEntityDefs = false, $returns = null)
    {
        if (!isset($entityName)) {
            $entityName = $this->getEntityName();
        }

        $entityDefs = $this->getDefs($isOrmEntityDefs);

        if (isset($entityDefs[$entityName])) {
            return $entityDefs[$entityName];
        }

        return $returns;
    }
protected function getEntityParams($entityName = null, $isOrmEntityDefs = false, $returns = null)
    {
        if (!isset($entityName)) {
            $entityName = $this->getEntityName();
        }

        $entityDefs = $this->getDefs($isOrmEntityDefs);

        if (isset($entityDefs[$entityName])) {
            return $entityDefs[$entityName];
        }

        return $returns;
    }
protected function getEntityParams ( $ entityName = null , $ isOrmEntityDefs = false , $ returns = null ) { if ( ! isset ( $ entityName ) ) { $ entityName = $ this -> getEntityName ( ) ; } $ entityDefs = $ this -> getDefs ( $ isOrmEntityDefs ) ; if ( isset ( $ entityDefs [ $ entityName ] ) ) { return $ entityDefs [ $ entityName ] ; } return $ returns ; }
Get entity params by name

@param  string $entityName
@param  bool $isOrmEntityDefs
@param  mixed $returns
@return mixed
Get entity params by name