{"action":"created","issue":{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/issues/130","labels_url":"https://api.github.com/repos/Jonnycake/SimpleSite/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/Jonnycake/SimpleSite/issues/130/comments","events_url":"https://api.github.com/repos/Jonnycake/SimpleSite/issues/130/events","html_url":"https://github.com/Jonnycake/SimpleSite/issues/130","id":63558260,"number":130,"title":"Autoload Components","user":{"login":"Jonnycake","id":3747493,"avatar_url":"https://avatars.githubusercontent.com/u/3747493?v=3","gravatar_id":"","url":"https://api.github.com/users/Jonnycake","html_url":"https://github.com/Jonnycake","followers_url":"https://api.github.com/users/Jonnycake/followers","following_url":"https://api.github.com/users/Jonnycake/following{/other_user}","gists_url":"https://api.github.com/users/Jonnycake/gists{/gist_id}","starred_url":"https://api.github.com/users/Jonnycake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jonnycake/subscriptions","organizations_url":"https://api.github.com/users/Jonnycake/orgs","repos_url":"https://api.github.com/users/Jonnycake/repos","events_url":"https://api.github.com/users/Jonnycake/events{/privacy}","received_events_url":"https://api.github.com/users/Jonnycake/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/labels/1.0.0-Development","name":"1.0.0-Development","color":"0052cc"},{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/labels/BLOCKER","name":"BLOCKER","color":"e11d21"},{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/labels/Complexity:%204","name":"Complexity: 4","color":"d4c5f9"},{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/labels/Helper%20Classes","name":"Helper Classes","color":"fbca04"},{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/labels/Priority:%201","name":"Priority: 1","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"Jonnycake","id":3747493,"avatar_url":"https://avatars.githubusercontent.com/u/3747493?v=3","gravatar_id":"","url":"https://api.github.com/users/Jonnycake","html_url":"https://github.com/Jonnycake","followers_url":"https://api.github.com/users/Jonnycake/followers","following_url":"https://api.github.com/users/Jonnycake/following{/other_user}","gists_url":"https://api.github.com/users/Jonnycake/gists{/gist_id}","starred_url":"https://api.github.com/users/Jonnycake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jonnycake/subscriptions","organizations_url":"https://api.github.com/users/Jonnycake/orgs","repos_url":"https://api.github.com/users/Jonnycake/repos","events_url":"https://api.github.com/users/Jonnycake/events{/privacy}","received_events_url":"https://api.github.com/users/Jonnycake/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/milestones/10","html_url":"https://github.com/Jonnycake/SimpleSite/milestones/Major%20Enhancements%20Completed","labels_url":"https://api.github.com/repos/Jonnycake/SimpleSite/milestones/10/labels","id":783010,"number":10,"title":"Major Enhancements Completed","description":"All breaking enhancements should be made by this time.","creator":{"login":"Jonnycake","id":3747493,"avatar_url":"https://avatars.githubusercontent.com/u/3747493?v=3","gravatar_id":"","url":"https://api.github.com/users/Jonnycake","html_url":"https://github.com/Jonnycake","followers_url":"https://api.github.com/users/Jonnycake/followers","following_url":"https://api.github.com/users/Jonnycake/following{/other_user}","gists_url":"https://api.github.com/users/Jonnycake/gists{/gist_id}","starred_url":"https://api.github.com/users/Jonnycake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jonnycake/subscriptions","organizations_url":"https://api.github.com/users/Jonnycake/orgs","repos_url":"https://api.github.com/users/Jonnycake/repos","events_url":"https://api.github.com/users/Jonnycake/events{/privacy}","received_events_url":"https://api.github.com/users/Jonnycake/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":5,"state":"open","created_at":"2014-09-09T03:06:38Z","updated_at":"2015-10-17T13:49:09Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-03-22T17:49:19Z","updated_at":"2015-10-17T21:27:38Z","closed_at":null,"body":"We should find a way for helper classes to be autoloaded.  Because of the current directory structure this could prove to be difficult.  We could change the includes directory in the following way:\r\n\r\n     includes/\r\n          abstracts/\r\n               SimpleRole/\r\n                    simplerole.abstract.php\r\n          classes/\r\n               SimpleRole/\r\n                    simplerole.class.php\r\n          helpers/\r\n               SimpleRole.include.php\r\n          interfaces/\r\n               SimpleRole/\r\n                    simplerole.interface.php\r\n          mods/\r\n               disabled/\r\n               enabled/\r\n          sites/\r\n\r\nWe can then build functions for the helper class php files to use like this:\r\n\r\n`SimpleUtils::loadHelper(\"SimpleRole\");`\r\n\r\nto include the simplerole.include.php file, which should execute the following function:\r\n\r\n`SimpleUtils::loadHelperFiles(\"SimpleRole\", array( \"interfaces\" => array(\"simplerole\"), \"abstracts\" => array(\"simplerole\"), \"classes\" => array(\"simplerole\"));`"},"comment":{"url":"https://api.github.com/repos/Jonnycake/SimpleSite/issues/comments/148953320","html_url":"https://github.com/Jonnycake/SimpleSite/issues/130#issuecomment-148953320","issue_url":"https://api.github.com/repos/Jonnycake/SimpleSite/issues/130","id":148953320,"user":{"login":"Jonnycake","id":3747493,"avatar_url":"https://avatars.githubusercontent.com/u/3747493?v=3","gravatar_id":"","url":"https://api.github.com/users/Jonnycake","html_url":"https://github.com/Jonnycake","followers_url":"https://api.github.com/users/Jonnycake/followers","following_url":"https://api.github.com/users/Jonnycake/following{/other_user}","gists_url":"https://api.github.com/users/Jonnycake/gists{/gist_id}","starred_url":"https://api.github.com/users/Jonnycake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jonnycake/subscriptions","organizations_url":"https://api.github.com/users/Jonnycake/orgs","repos_url":"https://api.github.com/users/Jonnycake/repos","events_url":"https://api.github.com/users/Jonnycake/events{/privacy}","received_events_url":"https://api.github.com/users/Jonnycake/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T21:27:38Z","updated_at":"2015-10-17T21:27:38Z","body":"Should be all set besides PHPDocBlock comments."}}