FOF30\Model\DataModel\Relation::rebase PHP Method

rebase() public method

Rebase the relation to a different model
public rebase ( DataModel $model )
$model FOF30\Model\DataModel
    public function rebase(DataModel $model)
    {
        $this->parentModel = $model;
        return $this->reset();
    }