| 1 | <?php |
||
| 19 | class PlaylistMapper extends BaseMapper { |
||
| 20 | |||
| 21 | public function __construct(IDBConnection $db){ |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $condition |
||
| 27 | */ |
||
| 28 | private function makeSelectQuery($condition=null){ |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $userId |
||
| 36 | * @param integer $limit |
||
| 37 | * @param integer $offset |
||
| 38 | * @return Playlist[] |
||
| 39 | */ |
||
| 40 | public function findAll($userId, $limit=null, $offset=null){ |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param int $trackId |
||
| 48 | * @return Playlist[] |
||
| 49 | */ |
||
| 50 | public function findListsContainingTrack($trackId) { |
||
| 57 | } |
||
| 58 |