Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
d23bd2d85b
6 changed files with 155 additions and 96 deletions
|
@ -899,6 +899,19 @@ SQL;
|
|||
CcPlaylistcontentsQuery::create()->findByDbPlaylistId($this->id)->delete();
|
||||
}
|
||||
|
||||
public static function getObjInfo($p_type)
|
||||
{
|
||||
$info = array();
|
||||
|
||||
if (strcmp($p_type, 'playlist')==0) {
|
||||
$info['className'] = 'Application_Model_Playlist';
|
||||
} else {
|
||||
$info['className'] = 'Application_Model_Block';
|
||||
}
|
||||
|
||||
return $info;
|
||||
}
|
||||
|
||||
} // class Playlist
|
||||
|
||||
class PlaylistNotFoundException extends Exception {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue