public function getRelations()
    {
        if (!$this->relationsBuilt) {
            $this->buildRelations();
            $this->relationsBuilt = true;
        }

        return $this->relations;
    }
public function getRelations()
    {
        if (!$this->relationsBuilt) {
            $this->buildRelations();
            $this->relationsBuilt = true;
        }

        return $this->relations;
    }
public function getRelations ( ) { if ( ! $ this -> relationsBuilt ) { $ this -> buildRelations ( ) ; $ this -> relationsBuilt = true ; } return $ this -> relations ; }
Gets the RelationMap objects of the table
This method will build the relations if they are not built yet

@return RelationMap[] list of RelationMap objects
Gets the RelationMap objects of the table This method will build the relations if they are not built yet