public function ini($related, $model, $local = null, $remote = null)
    {
        $this->setCurrent($model);
        $this->checkModels($related);
        //
        if ($this->isOneToOne($related, $model, $local, $remote)) {
            return $this->prepare($this->OneToOne($related, $model, $local, $remote));
        } elseif ($this->isOneToMany($related, $model, $local, $remote)) {
            return $this->prepare($this->OneToMany($related, $model, $local, $remote));
        }
    }