Custom Module Code where to put pieces
Posted 15 November 2013 - 01:53 PM
Once I have the key ID from the page, I want to use AJAX and Jquery to get some values from several mySQL tables...so that I can incrementally update the page with the graphics. No way that I can see to do it with the built in models, I have to write my own sql calls.
Question 2: Is this a situation where it is better to use DAO calls,instead of the built in Yii functions? I would rather be able to use the db object in the config file, which works fine in their own models with their one table, but what is the best strategy for doing custom sql searches?
Posted 15 November 2013 - 02:48 PM
It can be done using POS_READY value.
See this: http://www.yiiframew...erScript-detail
(btw I wonder if it's default value)
2. Yii already has built-in DAO: http://www.yiiframew...en/database.dao
Posted 15 November 2013 - 09:16 PM
Thank you, I'm working through those now.