{"id":19571780,"url":"https://github.com/loadsys/dynamicfind","last_synced_at":"2026-05-15T00:10:25.344Z","repository":{"id":1488392,"uuid":"1736462","full_name":"loadsys/dynamicFind","owner":"loadsys","description":"CakePHP Dynamic Find Behavior","archived":false,"fork":false,"pushed_at":"2011-09-06T00:59:11.000Z","size":108,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-09T03:14:49.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loadsys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-12T02:39:35.000Z","updated_at":"2017-05-21T05:30:19.000Z","dependencies_parsed_at":"2022-08-16T13:25:08.156Z","dependency_job_id":null,"html_url":"https://github.com/loadsys/dynamicFind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsys%2FdynamicFind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsys%2FdynamicFind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsys%2FdynamicFind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsys%2FdynamicFind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loadsys","download_url":"https://codeload.github.com/loadsys/dynamicFind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840036,"owners_count":19866164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T06:20:00.648Z","updated_at":"2026-05-15T00:10:25.306Z","avatar_url":"https://github.com/loadsys.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic Find Behavior\n\n## Installation\n\t\n\tcd app/plugins\n\tgit clone git://github.com/joeytrapp/Dynamic-Find-Behavior.git dynamic_find\n\n## Usage\n\nThis behavior allows you to use more convenience methods on your models. Methods like $this-\u003eModelName-\u003efindNameById($id), where Name can be any field or virtual field in the database table, and Id can be any field or virtual field in the same table.\n\nMultiple methods are available, but all can take a second parameter, which is an array of additions query information. You could pass in any of the keys you would pass into the Model::find() second parameter and they will merge with what the behavior creates.\n\nThe possible methods available are:\n\n* findFieldNameByOtherField($condition);\n* findListFieldNameByOtherField($condition);\n* findAllFieldNameByOtherField($condition);\n\nAll of these methods can also be used by replacing the By with For if that makes the method name more readable.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadsys%2Fdynamicfind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floadsys%2Fdynamicfind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadsys%2Fdynamicfind/lists"}