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
        );
Home | Imprint | This part of the site doesn't use cookies.