CodeExplorer getAssociatedModelByProperty example
public function searchAssociation($search,
$association,
$offset,
$limit,
$id = null,
$filter =
[],
$sort =
[]) { $associationModel =
$this->
getAssociatedModelByProperty($this->model,
$association);
$builder =
$this->
getSearchAssociationQuery( $association,
$associationModel,
$search );
$filter =
$this->
getFilterConditions( $filter,
$associationModel,
$association );