public function setRelation()
    {
        if (!in_array(null, $this->tables) && !in_array(null, $this->keys))
        {
            $this->addRelation();
            return true;
        }
        else
        {
            throw new LazerException('Tables names or keys missing');
        }
    }
public function setRelation()
    {
        if (!in_array(null, $this->tables) && !in_array(null, $this->keys))
        {
            $this->addRelation();
            return true;
        }
        else
        {
            throw new LazerException('Tables names or keys missing');
        }
    }
public function setRelation ( ) { if ( ! in_array ( null , $ this -> tables ) && ! in_array ( null , $ this -> keys ) ) { $ this -> addRelation ( ) ; return true ; } else { throw new LazerException ( 'Tables names or keys missing' ) ; } }
Set specified relation
@throws LazerException Tables names or keys missing
Set specified relation