Re: model relation problem

2011-02-25 Thread yi fu
I set my Friend model with following relationship setting, it still doesn't work. var $belongsTo = array( 'Follower' => array( 'className' => 'User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '' ), 'Following' => array( 'className' => 'User', 'foreignKey' => 'friend

fetch view content to controller

2010-09-17 Thread yi fu
Hi, I wonder is it possible to fetch view content to controller and then wrap it to json format, then send back to user? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the G