diff options
author | momo-i <webmaster@momo-i.org> | 2011-02-02 16:48:45 +0900 |
---|---|---|
committer | momo-i <webmaster@momo-i.org> | 2011-02-02 16:48:45 +0900 |
commit | add54bc23069222b5f02f60256f13e4791fb0b33 (patch) | |
tree | d6a4dc282796f673f004942fb846d55cf421c0ce /lib/batch.lib.php | |
parent | bc7344c9f5d6810b8330474a69687f1c3fae961e (diff) | |
download | ampache-add54bc23069222b5f02f60256f13e4791fb0b33.tar.gz ampache-add54bc23069222b5f02f60256f13e4791fb0b33.tar.bz2 ampache-add54bc23069222b5f02f60256f13e4791fb0b33.zip |
test header for phpdoc. now using only classes and libraries.
Diffstat (limited to 'lib/batch.lib.php')
-rw-r--r-- | lib/batch.lib.php | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/lib/batch.lib.php b/lib/batch.lib.php index 088055fa..84ebd8ec 100644 --- a/lib/batch.lib.php +++ b/lib/batch.lib.php @@ -1,29 +1,34 @@ <?php /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* - - Copyright (c) Ampache.org - All Rights Reserved - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License v2 - as published by the Free Software Foundation. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -*/ - + * Batch Library + * + * PHP version 5 + * + * LICENSE: GNU General Public License, version 2 (GPLv2) + * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License v2 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ /** * get_song_files + * * Takes an array of song ids and returns an array of the actual filenames + * + * @param array $media_ids Media IDs. */ function get_song_files($media_ids) { @@ -46,13 +51,14 @@ function get_song_files($media_ids) { return array($media_files,$total_size); } //get_song_files - /** * send_zip + * * takes array of full paths to songs * zips them and sends them - * @param $name name of the zip file to be created - * @param $song_files array of full paths to songs to zip create w/ call to get_song_files + * + * @param string $name name of the zip file to be created + * @param string $song_files array of full paths to songs to zip create w/ call to get_song_files */ function send_zip( $name, $song_files ) { |