{"action":"created","issue":{"url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/issues/9","labels_url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/issues/9/comments","events_url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/issues/9/events","html_url":"https://github.com/nazar-pc/CleverStyle-CMS/issues/9","id":67850238,"number":9,"title":"Drop CRUD::*_simple(), use CRUD::*() methods with the same syntax instead","user":{"login":"nazar-pc","id":928965,"avatar_url":"https://avatars.githubusercontent.com/u/928965?v=3","gravatar_id":"","url":"https://api.github.com/users/nazar-pc","html_url":"https://github.com/nazar-pc","followers_url":"https://api.github.com/users/nazar-pc/followers","following_url":"https://api.github.com/users/nazar-pc/following{/other_user}","gists_url":"https://api.github.com/users/nazar-pc/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-pc/subscriptions","organizations_url":"https://api.github.com/users/nazar-pc/orgs","repos_url":"https://api.github.com/users/nazar-pc/repos","events_url":"https://api.github.com/users/nazar-pc/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-pc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/labels/bc%20break","name":"bc break","color":"eb6420"},{"url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/labels/system","name":"system","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/milestones/3","html_url":"https://github.com/nazar-pc/CleverStyle-CMS/milestones/3.0","labels_url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/milestones/3/labels","id":1063455,"number":3,"title":"3.0","description":"","creator":{"login":"nazar-pc","id":928965,"avatar_url":"https://avatars.githubusercontent.com/u/928965?v=3","gravatar_id":"","url":"https://api.github.com/users/nazar-pc","html_url":"https://github.com/nazar-pc","followers_url":"https://api.github.com/users/nazar-pc/followers","following_url":"https://api.github.com/users/nazar-pc/following{/other_user}","gists_url":"https://api.github.com/users/nazar-pc/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-pc/subscriptions","organizations_url":"https://api.github.com/users/nazar-pc/orgs","repos_url":"https://api.github.com/users/nazar-pc/repos","events_url":"https://api.github.com/users/nazar-pc/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-pc/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2015-04-12T00:18:29Z","updated_at":"2015-08-11T19:37:20Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-04-12T00:22:21Z","updated_at":"2015-08-11T19:37:20Z","closed_at":"2015-08-11T19:37:20Z","body":"Because most likely no one will pass `$table` and `$data_module` arguments in each call, `\\cs\\CRUD` trait might be simplified to drop `read_simple()` in favor of `read()` method (the same for all other methods) while keping the same set of arguments as `read_simple()`.\r\n\r\nAlso it is a good idea to deal with only single table and single data model when using `CRUD` trait.\r\n\r\nFor transitional state we can check number of supplied arguments and cal internally method according to new or old syntax."},"comment":{"url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/issues/comments/130035474","html_url":"https://github.com/nazar-pc/CleverStyle-CMS/issues/9#issuecomment-130035474","issue_url":"https://api.github.com/repos/nazar-pc/CleverStyle-CMS/issues/9","id":130035474,"user":{"login":"nazar-pc","id":928965,"avatar_url":"https://avatars.githubusercontent.com/u/928965?v=3","gravatar_id":"","url":"https://api.github.com/users/nazar-pc","html_url":"https://github.com/nazar-pc","followers_url":"https://api.github.com/users/nazar-pc/followers","following_url":"https://api.github.com/users/nazar-pc/following{/other_user}","gists_url":"https://api.github.com/users/nazar-pc/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-pc/subscriptions","organizations_url":"https://api.github.com/users/nazar-pc/orgs","repos_url":"https://api.github.com/users/nazar-pc/repos","events_url":"https://api.github.com/users/nazar-pc/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-pc/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T19:37:20Z","updated_at":"2015-08-11T19:37:20Z","body":"Fixed by 5756931"}}