1 | <?php |
||
20 | class PlaylistMapper extends BaseMapper { |
||
21 | |||
22 | public function __construct(IDBConnection $db){ |
||
25 | |||
26 | /** |
||
27 | * @param string $condition |
||
28 | */ |
||
29 | private function makeSelectQuery($condition=null){ |
||
34 | |||
35 | /** |
||
36 | * @param string $userId |
||
37 | * @param integer $limit |
||
38 | * @param integer $offset |
||
39 | * @return Playlist[] |
||
40 | */ |
||
41 | public function findAll($userId, $limit=null, $offset=null){ |
||
46 | |||
47 | /** |
||
48 | * @param integer $id |
||
49 | * @param string $userId |
||
50 | * @return Playlist |
||
51 | */ |
||
52 | public function find($id, $userId){ |
||
57 | |||
58 | /** |
||
59 | * @param int $trackId |
||
60 | * @return Playlist[] |
||
61 | */ |
||
62 | public function findListsContainingTrack($trackId) { |
||
69 | } |
||
70 |