Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FOF30
Model
DataModel
Relation
rebase
FOF30\Model\DataModel\Relation::rebase PHP Method
Relation Class Documentation
Show file
Open project: akeeba/fof
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(); }
Relation
__construct
filterForeignModel
getCountSubquery
getData
getForeignKeyMap
getForeignModel
getLocalKey
getNew
rebase
reset
saveAll
setDataFromCollection