{"issue":{"state":"open","created_at":"2011-11-29T17:28:50Z","updated_at":"2011-11-29T17:28:54Z","user":{"gravatar_id":"9994df352157ae1b778b792744bdbf05","id":1073273,"url":"https://api.github.com/users/aschempp","avatar_url":"https://secure.gravatar.com/avatar/9994df352157ae1b778b792744bdbf05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"aschempp"},"comments":4,"body":"Gibt es einen spezifischen Grund weshalb die Model-Klasse nicht auf dem Controller basiert?\nIm Online-Shop Projekt \"Isotope\" setzen wir die Model Klasse vermehrt ein, und nun habe ich das Problem das ein Model-Objekt z.B. keine Bilder generieren kann (getImage()).\n\n--- _Originally created on November 21st, 2009, at 12:52pm (ID 1171)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":1171,"id":2388332,"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/framework"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"class Model extends Controller","closed_at":null,"html_url":"https://github.com/contao/import/issues/1171","url":"https://api.github.com/repos/contao/import/issues/1171","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T17:28:54Z","updated_at":"2011-11-29T17:28:54Z","user":{"gravatar_id":"9994df352157ae1b778b792744bdbf05","id":1073273,"url":"https://api.github.com/users/aschempp","avatar_url":"https://secure.gravatar.com/avatar/9994df352157ae1b778b792744bdbf05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"aschempp"},"body":"OK... Ich habe es nun so gelöst dass meine globale Klasse (Singleton) die benötigten Funktionen (getImage, generateFrontendUrl) als public zur Verfügung stellt...\n\n--- _Originally created on November 21st, 2009, at 01:22pm_","id":2937160,"url":"https://api.github.com/repos/contao/import/issues/comments/2937160"}}