Page 403 of 211,273, showing 20 records out of 4,225,455 total, starting on record 8,041, ending on 8,060
# | Username | Text | |
---|---|---|---|
# | Aug 9th 2008, 20:58 | JD__ | for example: http://bin.cakephp.org/view/1336178153 |
# | Aug 9th 2008, 20:58 | markstory | app::import doesn't build objects just loads classes. |
# | Aug 9th 2008, 20:58 | JD__ | well im starting a REALLY big project, so I dont want to use stuff that is depricated |
# | Aug 9th 2008, 20:59 | markstory | that won't work at all. |
# | Aug 9th 2008, 20:59 | JD__ | ooohhh |
# | Aug 9th 2008, 20:59 | markstory | for components do var $components = array('Email'); |
# | Aug 9th 2008, 20:59 | markstory | and models you can get to via relationships or use var $uses = array('UserProfile') in your controller. |
# | Aug 9th 2008, 20:59 | JD__ | ok, I saw that was going to be depricated |
# | Aug 9th 2008, 21:00 | markstory | what uses and $components? |
# | Aug 9th 2008, 21:00 | markstory | whoever said that was smoking bad stuff. :) |
# | Aug 9th 2008, 21:00 | markstory | use of loadModel() and loadComponent() is depricated and removed. |
# | Aug 9th 2008, 21:01 | JD__ | ok I must have not read carefull yenough :P |
# | Aug 9th 2008, 21:01 | markstory | App::import is just for loading class files. If you app::import a file you still need to construct the object :) |
# | Aug 9th 2008, 21:01 | JD__ | http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/ |
# | Aug 9th 2008, 21:01 | JD__ | that makes sense :) |
# | Aug 9th 2008, 21:02 | markstory | this just mentions that app::import replaces the various load**() functions. |
# | Aug 9th 2008, 21:03 | JD__ | ug |
# | Aug 9th 2008, 21:03 | JD__ | I understand now |
# | Aug 9th 2008, 21:03 | JD__ | I totally missed the point thanks |
# | Aug 9th 2008, 21:04 | markstory | no worries :) |