Yii join activ record?

Friends , help in Yii1 activ record to connect 2 tables: write

$criteria->join = 'LEFT JOIN application ON application.perent_id=user.id';
return application::model()->findAll($criteria);
Gives an error, but the essence tocava - I output on the screen of the application from the application table and field application.perent_id want to hang out all users from table user's id
July 2nd 19 at 13:53
0 answer

Find more questions by tags PHPYiiOOPActive Record