{"action":"created","comment":{"url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/comments/23853826","id":23853826,"diff_hunk":"@@ -4,3 +4,9 @@ PLG_SYSTEM_MVC_OVERRIDE_MAKE_EXTENDABLE=\"Make Extendable\"\n PLG_SYSTEM_MVC_OVERRIDE_MAKE_EXTENDABLE_DESC=\"Extend core component class. Its better to use OOP to extend components. You will be able to extend your override classes extend a Component[Controller|Model|View][Name]Default\"\n PLG_SYSTEM_MVC_OVERRIDE_CHANGE_FUNCTIONS=\"Change functions\"\n PLG_SYSTEM_MVC_OVERRIDE_CHANGE_FUNCTIONS_DESC=\"Changes all private methods in the base class to protected methods which allows the subclass to extend the base class better. This is not recommended unless you really need it.\"\n+PLG_SYSTEM_MVC_OVERRIDE_PREFIX_LABEL=\"Prefix for extends classes\"\n+PLG_SYSTEM_MVC_OVERRIDE_PREFIX_DESC=\"Set prefix for exten classes. <br /><strong>Warning: at least one value must be set prefix or suffix or both</strong>\"","path":"plugins/system/mvcoverride/language/en-GB/en-GB.plg_system_mvcoverride.ini","position":5,"original_position":5,"commit_id":"793c697b7274fb831be6e8901742f595b5458746","original_commit_id":"793c697b7274fb831be6e8901742f595b5458746","user":{"login":"javigomez","id":1375475,"avatar_url":"https://avatars.githubusercontent.com/u/1375475?v=3","gravatar_id":"","url":"https://api.github.com/users/javigomez","html_url":"https://github.com/javigomez","followers_url":"https://api.github.com/users/javigomez/followers","following_url":"https://api.github.com/users/javigomez/following{/other_user}","gists_url":"https://api.github.com/users/javigomez/gists{/gist_id}","starred_url":"https://api.github.com/users/javigomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javigomez/subscriptions","organizations_url":"https://api.github.com/users/javigomez/orgs","repos_url":"https://api.github.com/users/javigomez/repos","events_url":"https://api.github.com/users/javigomez/events{/privacy}","received_events_url":"https://api.github.com/users/javigomez/received_events","type":"User","site_admin":false},"body":"+PLG_SYSTEM_MVC_OVERRIDE_PREFIX_DESC=\"Set prefix for extend classes. <br /><strong>Warning: at least one value must be set: prefix, suffix or both</strong>\"\r\n","created_at":"2015-01-30T16:42:07Z","updated_at":"2015-01-30T16:42:07Z","html_url":"https://github.com/redCOMPONENT-COM/redCORE/pull/383#discussion_r23853826","pull_request_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383","_links":{"self":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/comments/23853826"},"html":{"href":"https://github.com/redCOMPONENT-COM/redCORE/pull/383#discussion_r23853826"},"pull_request":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383"}}},"pull_request":{"url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383","id":28371791,"html_url":"https://github.com/redCOMPONENT-COM/redCORE/pull/383","diff_url":"https://github.com/redCOMPONENT-COM/redCORE/pull/383.diff","patch_url":"https://github.com/redCOMPONENT-COM/redCORE/pull/383.patch","issue_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/issues/383","number":383,"state":"open","locked":false,"title":"New level mvc overrides","user":{"login":"shandak","id":3428345,"avatar_url":"https://avatars.githubusercontent.com/u/3428345?v=3","gravatar_id":"","url":"https://api.github.com/users/shandak","html_url":"https://github.com/shandak","followers_url":"https://api.github.com/users/shandak/followers","following_url":"https://api.github.com/users/shandak/following{/other_user}","gists_url":"https://api.github.com/users/shandak/gists{/gist_id}","starred_url":"https://api.github.com/users/shandak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shandak/subscriptions","organizations_url":"https://api.github.com/users/shandak/orgs","repos_url":"https://api.github.com/users/shandak/repos","events_url":"https://api.github.com/users/shandak/events{/privacy}","received_events_url":"https://api.github.com/users/shandak/received_events","type":"User","site_admin":false},"body":"Now we can extends libraries classes too. Example extend class in redshop library just create file in code/libraries/redshop/controller/controller.php . Same work for joomla library too.\r\nNow extends MVC not relate with value in 'option' url.\r\nNow we can add new pathes for extend files in plugin configuration.\r\nNow we can set prefix and suffix for extend classes in plugin configuration.","created_at":"2015-01-30T16:05:52Z","updated_at":"2015-01-30T16:42:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0a557e76dc2ec31a55ba8e28ec08753beb238cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383/commits","review_comments_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383/comments","review_comment_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/comments/{number}","comments_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/issues/383/comments","statuses_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/statuses/793c697b7274fb831be6e8901742f595b5458746","head":{"label":"shandak:NewLevelMVCOverride","ref":"NewLevelMVCOverride","sha":"793c697b7274fb831be6e8901742f595b5458746","user":{"login":"shandak","id":3428345,"avatar_url":"https://avatars.githubusercontent.com/u/3428345?v=3","gravatar_id":"","url":"https://api.github.com/users/shandak","html_url":"https://github.com/shandak","followers_url":"https://api.github.com/users/shandak/followers","following_url":"https://api.github.com/users/shandak/following{/other_user}","gists_url":"https://api.github.com/users/shandak/gists{/gist_id}","starred_url":"https://api.github.com/users/shandak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shandak/subscriptions","organizations_url":"https://api.github.com/users/shandak/orgs","repos_url":"https://api.github.com/users/shandak/repos","events_url":"https://api.github.com/users/shandak/events{/privacy}","received_events_url":"https://api.github.com/users/shandak/received_events","type":"User","site_admin":false},"repo":{"id":19583541,"name":"redCORE","full_name":"shandak/redCORE","owner":{"login":"shandak","id":3428345,"avatar_url":"https://avatars.githubusercontent.com/u/3428345?v=3","gravatar_id":"","url":"https://api.github.com/users/shandak","html_url":"https://github.com/shandak","followers_url":"https://api.github.com/users/shandak/followers","following_url":"https://api.github.com/users/shandak/following{/other_user}","gists_url":"https://api.github.com/users/shandak/gists{/gist_id}","starred_url":"https://api.github.com/users/shandak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shandak/subscriptions","organizations_url":"https://api.github.com/users/shandak/orgs","repos_url":"https://api.github.com/users/shandak/repos","events_url":"https://api.github.com/users/shandak/events{/privacy}","received_events_url":"https://api.github.com/users/shandak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shandak/redCORE","description":"redCORE","fork":true,"url":"https://api.github.com/repos/shandak/redCORE","forks_url":"https://api.github.com/repos/shandak/redCORE/forks","keys_url":"https://api.github.com/repos/shandak/redCORE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shandak/redCORE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shandak/redCORE/teams","hooks_url":"https://api.github.com/repos/shandak/redCORE/hooks","issue_events_url":"https://api.github.com/repos/shandak/redCORE/issues/events{/number}","events_url":"https://api.github.com/repos/shandak/redCORE/events","assignees_url":"https://api.github.com/repos/shandak/redCORE/assignees{/user}","branches_url":"https://api.github.com/repos/shandak/redCORE/branches{/branch}","tags_url":"https://api.github.com/repos/shandak/redCORE/tags","blobs_url":"https://api.github.com/repos/shandak/redCORE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shandak/redCORE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shandak/redCORE/git/refs{/sha}","trees_url":"https://api.github.com/repos/shandak/redCORE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shandak/redCORE/statuses/{sha}","languages_url":"https://api.github.com/repos/shandak/redCORE/languages","stargazers_url":"https://api.github.com/repos/shandak/redCORE/stargazers","contributors_url":"https://api.github.com/repos/shandak/redCORE/contributors","subscribers_url":"https://api.github.com/repos/shandak/redCORE/subscribers","subscription_url":"https://api.github.com/repos/shandak/redCORE/subscription","commits_url":"https://api.github.com/repos/shandak/redCORE/commits{/sha}","git_commits_url":"https://api.github.com/repos/shandak/redCORE/git/commits{/sha}","comments_url":"https://api.github.com/repos/shandak/redCORE/comments{/number}","issue_comment_url":"https://api.github.com/repos/shandak/redCORE/issues/comments/{number}","contents_url":"https://api.github.com/repos/shandak/redCORE/contents/{+path}","compare_url":"https://api.github.com/repos/shandak/redCORE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shandak/redCORE/merges","archive_url":"https://api.github.com/repos/shandak/redCORE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shandak/redCORE/downloads","issues_url":"https://api.github.com/repos/shandak/redCORE/issues{/number}","pulls_url":"https://api.github.com/repos/shandak/redCORE/pulls{/number}","milestones_url":"https://api.github.com/repos/shandak/redCORE/milestones{/number}","notifications_url":"https://api.github.com/repos/shandak/redCORE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shandak/redCORE/labels{/name}","releases_url":"https://api.github.com/repos/shandak/redCORE/releases{/id}","created_at":"2014-05-08T18:06:05Z","updated_at":"2015-01-27T10:46:13Z","pushed_at":"2015-01-30T16:16:05Z","git_url":"git://github.com/shandak/redCORE.git","ssh_url":"git@github.com:shandak/redCORE.git","clone_url":"https://github.com/shandak/redCORE.git","svn_url":"https://github.com/shandak/redCORE","homepage":null,"size":18506,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"redCOMPONENT-COM:develop","ref":"develop","sha":"4eca60eb1116c999284a24915f1d3d3a2ff7b9e9","user":{"login":"redCOMPONENT-COM","id":2285432,"avatar_url":"https://avatars.githubusercontent.com/u/2285432?v=3","gravatar_id":"","url":"https://api.github.com/users/redCOMPONENT-COM","html_url":"https://github.com/redCOMPONENT-COM","followers_url":"https://api.github.com/users/redCOMPONENT-COM/followers","following_url":"https://api.github.com/users/redCOMPONENT-COM/following{/other_user}","gists_url":"https://api.github.com/users/redCOMPONENT-COM/gists{/gist_id}","starred_url":"https://api.github.com/users/redCOMPONENT-COM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redCOMPONENT-COM/subscriptions","organizations_url":"https://api.github.com/users/redCOMPONENT-COM/orgs","repos_url":"https://api.github.com/users/redCOMPONENT-COM/repos","events_url":"https://api.github.com/users/redCOMPONENT-COM/events{/privacy}","received_events_url":"https://api.github.com/users/redCOMPONENT-COM/received_events","type":"Organization","site_admin":false},"repo":{"id":13088951,"name":"redCORE","full_name":"redCOMPONENT-COM/redCORE","owner":{"login":"redCOMPONENT-COM","id":2285432,"avatar_url":"https://avatars.githubusercontent.com/u/2285432?v=3","gravatar_id":"","url":"https://api.github.com/users/redCOMPONENT-COM","html_url":"https://github.com/redCOMPONENT-COM","followers_url":"https://api.github.com/users/redCOMPONENT-COM/followers","following_url":"https://api.github.com/users/redCOMPONENT-COM/following{/other_user}","gists_url":"https://api.github.com/users/redCOMPONENT-COM/gists{/gist_id}","starred_url":"https://api.github.com/users/redCOMPONENT-COM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redCOMPONENT-COM/subscriptions","organizations_url":"https://api.github.com/users/redCOMPONENT-COM/orgs","repos_url":"https://api.github.com/users/redCOMPONENT-COM/repos","events_url":"https://api.github.com/users/redCOMPONENT-COM/events{/privacy}","received_events_url":"https://api.github.com/users/redCOMPONENT-COM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redCOMPONENT-COM/redCORE","description":"redCORE","fork":false,"url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE","forks_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/forks","keys_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/teams","hooks_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/hooks","issue_events_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/issues/events{/number}","events_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/events","assignees_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/assignees{/user}","branches_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/branches{/branch}","tags_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/tags","blobs_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/git/refs{/sha}","trees_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/statuses/{sha}","languages_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/languages","stargazers_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/stargazers","contributors_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/contributors","subscribers_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/subscribers","subscription_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/subscription","commits_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/commits{/sha}","git_commits_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/git/commits{/sha}","comments_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/comments{/number}","issue_comment_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/issues/comments/{number}","contents_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/contents/{+path}","compare_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/merges","archive_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/downloads","issues_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/issues{/number}","pulls_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls{/number}","milestones_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/milestones{/number}","notifications_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/labels{/name}","releases_url":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/releases{/id}","created_at":"2013-09-25T09:01:18Z","updated_at":"2015-01-28T20:25:44Z","pushed_at":"2015-01-28T20:25:43Z","git_url":"git://github.com/redCOMPONENT-COM/redCORE.git","ssh_url":"git@github.com:redCOMPONENT-COM/redCORE.git","clone_url":"https://github.com/redCOMPONENT-COM/redCORE.git","svn_url":"https://github.com/redCOMPONENT-COM/redCORE","homepage":"http://redcomponent-com.github.io/redCORE/","size":21097,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":28,"mirror_url":null,"open_issues_count":3,"forks":28,"open_issues":3,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383"},"html":{"href":"https://github.com/redCOMPONENT-COM/redCORE/pull/383"},"issue":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/issues/383"},"comments":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/issues/383/comments"},"review_comments":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383/comments"},"review_comment":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/pulls/383/commits"},"statuses":{"href":"https://api.github.com/repos/redCOMPONENT-COM/redCORE/statuses/793c697b7274fb831be6e8901742f595b5458746"}}}}