src/FlexiPeeHP/FlexiBeeRO.php
public function getVazby($id = null)
    {
        if (is_null($id)) {
            $id = $this->getRecordID();
        }
        if (!empty($id)) {
            $vazbyRaw = $this->getColumnsFromFlexibee(['vazby'],
                ['relations' => 'vazby', 'id' => $id]);
            $vazby    = array_key_exists('vazby', $vazbyRaw[0]) ? $vazbyRaw[0]['vazby']
                    : null;
        } else {
            throw new \Exception(_('ID requied to get record relations '));
        }
        return $vazby;
    }
public function getVazby($id = null)
    {
        if (is_null($id)) {
            $id = $this->getRecordID();
        }
        if (!empty($id)) {
            $vazbyRaw = $this->getColumnsFromFlexibee(['vazby'],
                ['relations' => 'vazby', 'id' => $id]);
            $vazby    = array_key_exists('vazby', $vazbyRaw[0]) ? $vazbyRaw[0]['vazby']
                    : null;
        } else {
            throw new \Exception(_('ID requied to get record relations '));
        }
        return $vazby;
    }
public function getVazby ( $ id = null ) { if ( is_null ( $ id ) ) { $ id = $ this -> getRecordID ( ) ; } if ( ! empty ( $ id ) ) { $ vazbyRaw = $ this -> getColumnsFromFlexibee ( [ 'vazby' ] , [ 'relations' => 'vazby' , 'id' => $ id ] ) ; $ vazby = array_key_exists ( 'vazby' , $ vazbyRaw [ 0 ] ) ? $ vazbyRaw [ 0 ] [ 'vazby' ] : null ; } else { throw new \ Exception ( _ ( 'ID requied to get record relations ' ) ) ; } return $ vazby ; }
Obtain established relations listing

@return array Null or Relations
Obtain established relations listing