application/Espo/Core/Utils/Metadata.php
public function getObjects($key = null, $default = null)
    {
        $objData = $this->getObjData();

        return Util::getValueByKey($objData, $key, $default);
    }
public function getObjects($key = null, $default = null)
    {
        $objData = $this->getObjData();

        return Util::getValueByKey($objData, $key, $default);
    }
public function getObjects ( $ key = null , $ default = null ) { $ objData = $ this -> getObjData ( ) ; return Util :: getValueByKey ( $ objData , $ key , $ default ) ; }
Get Object Metadata

@param mixed string|array $key
@param mixed $default

@return object
Get Object Metadata