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

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

        if (isset($entityDefs[$entityName]) && isset($entityDefs[$entityName]['fields'][$fieldName])) {
            return $entityDefs[$entityName]['fields'][$fieldName];
        }

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

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

        if (isset($entityDefs[$entityName]) && isset($entityDefs[$entityName]['fields'][$fieldName])) {
            return $entityDefs[$entityName]['fields'][$fieldName];
        }

        return $returns;
    }
protected function getFieldParams ( $ fieldName = null , $ entityName = null , $ isOrmEntityDefs = false , $ returns = null ) { if ( ! isset ( $ fieldName ) ) { $ fieldName = $ this -> getFieldName ( ) ; } if ( ! isset ( $ entityName ) ) { $ entityName = $ this -> getEntityName ( ) ; } $ entityDefs = $ this -> getDefs ( $ isOrmEntityDefs ) ; if ( isset ( $ entityDefs [ $ entityName ] ) && isset ( $ entityDefs [ $ entityName ] [ 'fields' ] [ $ fieldName ] ) ) { return $ entityDefs [ $ entityName ] [ 'fields' ] [ $ fieldName ] ; } return $ returns ; }
Get field params by name for a specified entity

@param  string $fieldName
@param  string $entityName
@param  bool $isOrmEntityDefs
@param  mixed $returns
@return mixed
Get field params by name for a specified entity