public function getHasOnes()
    {
        $modelNameSpace = $this->relation->getReferencedModel();
        $list = [];
        $relationships = $this->modelManager->getRelations($modelNameSpace);
        foreach ($relationships as $relation) {
            $refType = $relation->getType();
            if ($refType == 1) {
                $list[] = $relation->getReferencedModel();
            }
        }

        return $list;
    }
public function getHasOnes()
    {
        $modelNameSpace = $this->relation->getReferencedModel();
        $list = [];
        $relationships = $this->modelManager->getRelations($modelNameSpace);
        foreach ($relationships as $relation) {
            $refType = $relation->getType();
            if ($refType == 1) {
                $list[] = $relation->getReferencedModel();
            }
        }

        return $list;
    }
public function getHasOnes ( ) { $ modelNameSpace = $ this -> relation -> getReferencedModel ( ) ; $ list = [ ] ; $ relationships = $ this -> modelManager -> getRelations ( $ modelNameSpace ) ; foreach ( $ relationships as $ relation ) { $ refType = $ relation -> getType ( ) ; if ( $ refType == 1 ) { $ list [ ] = $ relation -> getReferencedModel ( ) ; } } return $ list ; }
get a list of hasOne tables, similar to getParent but more inclusive

@return string or false
get a list of hasOne tables similar to getParent but more inclusive