private function getPlayedStatus($ps_id, $pl_id) { $song = new playlistSong(); $song->getSongByPlaylist($ps_id); echo $song->renderPlayedStatusEdit(); }