The join table is created for you by Akelos the first time you load the association
class Player extends ActiveRecord{
public $habtm = 'news';
}
class News extends ActiveRecord{
public $habtm = 'players';
}
There is one concern here, News is irregular and its singular is the same as it's plural, so try to manage this association from the Player association handler.
$News = new News();
$News->player; // is the association handler
$News->player->load(); // loads associated elements. At this point it will create a news_players table for you
$News->players; // holds associated elements
I hope you find it useful
1 to 4 of 4