1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00

Cosmetics: clean up heads in lib/

This commit is contained in:
Paul Arthur 2013-01-25 18:38:22 -05:00
parent 83dc27dcce
commit 16c3ba34fd
63 changed files with 135 additions and 658 deletions

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Batch Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Access Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,14 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* Access Class * Access Class
* *
* This class handles the access list mojo for Ampache, it is ment to restrict * This class handles the access list mojo for Ampache, it is meant to restrict
* access based on IP and maybe something else in the future * access based on IP and maybe something else in the future
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Access { class Access {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Ajax Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All rights reserved. * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,9 +27,6 @@
* elements onto a page. It takes care of the observing and all that * elements onto a page. It takes care of the observing and all that
* raz-a-ma-taz. * raz-a-ma-taz.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @link http://www.ampache.org/
*/ */
class Ajax { class Ajax {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Access Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -21,10 +19,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,10 +27,6 @@
* This is the class responsible for handling the Album object * This is the class responsible for handling the Album object
* it is related to the album table in the database. * it is related to the album table in the database.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Album extends database_object { class Album extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* AmpacheMail Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,11 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @authro Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -32,10 +25,6 @@
* *
* This class handles the Mail * This class handles the Mail
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class AmpacheMail { class AmpacheMail {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* AmpacheRSS Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -21,22 +19,11 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* AmpacheRSS Class * AmpacheRSS Class
* *
* This is not currently used by the stable version of ampache, really here for future use and
* due to the fact it was back-ported from /trunk
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class AmpacheRSS { class AmpacheRSS {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Api Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,10 +27,6 @@
* this is very focused on providing functionality for Amarok so it can * this is very focused on providing functionality for Amarok so it can
* integrate with Ampache. * integrate with Ampache.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Api { class Api {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Art Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -31,12 +25,7 @@
* *
* This class handles the images / artwork in ampache * This class handles the images / artwork in ampache
* This was initially in the album class, but was pulled out * This was initially in the album class, but was pulled out
* to be more general, and apply to albums, artists, movies etc * to be more general and potentially apply to albums, artists, movies etc
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Art extends database_object { class Art extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Artist Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* Artist Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class Artist extends database_object { class Artist extends database_object {
/* Variables from DB */ /* Variables from DB */

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Browse Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -34,10 +28,6 @@
* it also handles pulling back the object_ids and then * it also handles pulling back the object_ids and then
* calling the correct template for the object we are displaying * calling the correct template for the object we are displaying
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Browse extends Query { class Browse extends Query {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Catalog Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -32,10 +26,6 @@
* This class handles all actual work in regards to the catalog, * This class handles all actual work in regards to the catalog,
* it contains functions for creating/listing/updated the catalogs. * it contains functions for creating/listing/updated the catalogs.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Catalog extends database_object { class Catalog extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Config Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
@ -38,10 +32,6 @@
* config overides and/or local configs (for like dba) * config overides and/or local configs (for like dba)
* The class should be a static var in the other classes * The class should be a static var in the other classes
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Config { class Config {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Core Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -32,10 +26,6 @@
* This is really just a namespace class, it's full of static functions * This is really just a namespace class, it's full of static functions
* would be replaced by a namespace library once that exists in php * would be replaced by a namespace library once that exists in php
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Core { class Core {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* database_object Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,11 +27,6 @@
* database based objects in ampache. It attempts to do some standard * database based objects in ampache. It attempts to do some standard
* caching for all of the objects to cut down on the database calls * caching for all of the objects to cut down on the database calls
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
* @abstract
*/ */
abstract class database_object { abstract class database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Dba Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/* Make sure they aren't directly accessing it */ /* Make sure they aren't directly accessing it */
@ -39,10 +33,6 @@ if (!defined('INIT_LOADED') || INIT_LOADED != '1') { exit; }
* it will also auto-connect as needed, and has a default * it will also auto-connect as needed, and has a default
* database simplifying queries in most cases. * database simplifying queries in most cases.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Dba { class Dba {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Democratic Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,14 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* Democratic Class * Democratic Class
* *
* This class handles democratic play, which is a fancy * This class handles democratic play, which is a fancy
* name for voting based playback. This extends the tmpplaylist * name for voting based playback.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Democratic extends tmpPlaylist { class Democratic extends tmpPlaylist {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Error Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -32,10 +26,6 @@
* This is the baic error class, its better now that we can use php5 * This is the baic error class, its better now that we can use php5
* hello static functions and variables * hello static functions and variables
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Error { class Error {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Flag Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -21,10 +19,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -32,10 +26,6 @@
* *
* This handles flagging of songs, albums and artists * This handles flagging of songs, albums and artists
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Flag extends database_object { class Flag extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Localplay Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* Localplay Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class Localplay { class Localplay {
/* Base Variables */ /* Base Variables */

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* localplay_controller Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/* /*
@ -31,11 +25,6 @@
* *
* This is the abstract class for any localplay controller * This is the abstract class for any localplay controller
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
* @abstract
*/ */
abstract class localplay_controller { abstract class localplay_controller {

View file

@ -3,7 +3,7 @@
/** /**
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2

View file

@ -3,7 +3,7 @@
/** /**
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Playlist Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -21,10 +19,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -32,10 +26,6 @@
* *
* This class handles playlists in ampache. it references the playlist* tables * This class handles playlists in ampache. it references the playlist* tables
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Playlist extends playlist_object { class Playlist extends playlist_object {

View file

@ -1,23 +1,24 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /**
*
Copyright (c) Ampache.org * LICENSE: GNU General Public License, version 2 (GPLv2)
All rights reserved. * Copyright 2001 - 2013 Ampache.org
*
This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
as published by the Free Software Foundation. * as published by the Free Software Foundation
*
This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. * GNU General Public License for more details.
*
You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ *
*/
/** /**
* playlist_object * playlist_object

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Plugin Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* Plugin Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class Plugin { class Plugin {
/* Base Variables */ /* Base Variables */

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Preference Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -21,23 +19,13 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* Preference Class * Preference Class
* *
* This handles all of the preference stuff for ampache it replaces * This handles all of the preference stuff for Ampache
* /lib/preference.lib.php
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
* @see /lib/preference.lib.php
*/ */
class Preference { class Preference {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Query Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,15 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* Query Class * Query Class
* *
* This handles all of the sql/filtering for the ampache database * This handles all of the sql/filtering for the ampache database
* this was seperated out from browse to accomodate Dynamic Playlists * FIXME: flowerysong didn't know about this when he wrote all the fancy stuff
* for newsearch, and they should be merged if possible.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Query { class Query {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Radio Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -21,10 +19,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,10 +27,6 @@
* This handles the internet radio stuff, that is inserted into live_stream * This handles the internet radio stuff, that is inserted into live_stream
* this can include podcasts or what-have-you * this can include podcasts or what-have-you
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Radio extends database_object implements media { class Radio extends database_object implements media {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Random Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -21,23 +19,14 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* Random Class * Random Class
* *
* All of the 'random' type events, elements, voodoo done by ampache is done * All of the 'random' type events, elements, voodoo done by Ampache is done
* by this class, there isn't a table for this class so most of it's functions * by this class. There isn't a table for this class so most of its functions
* are static * are static.
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Random implements media { class Random implements media {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Rating Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -31,10 +25,6 @@
* *
* This tracks ratings for songs, albums and artists. * This tracks ratings for songs, albums and artists.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Rating extends database_object { class Rating extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Recommendation Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* Recommendation Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class Recommendation { class Recommendation {
/** /**

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Registration Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,13 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* Registration Class * Registration Class
* *
* This class handles all the doodlys for the registration * This class handles all the doodlys for the registration
* stuff in ampache * stuff in Ampache
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Registration { class Registration {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* scrobbler Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* scrobbler Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class scrobbler { class scrobbler {
public $error_msg; public $error_msg;

View file

@ -1,24 +1,24 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /**
*
Copyright (c) Ampache.org * LICENSE: GNU General Public License, version 2 (GPLv2)
All rights reserved. * Copyright 2001 - 2013 Ampache.org
*
This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
as published by the Free Software Foundation. * as published by the Free Software Foundation
*
This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. * GNU General Public License for more details.
*
You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/ */
/** /**
* Search Class * Search Class

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* shoutBox Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* shoutBox Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class shoutBox { class shoutBox {
public $id; public $id;

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Song Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* Song Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class Song extends database_object implements media { class Song extends database_object implements media {
/* Variables from DB */ /* Variables from DB */

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Stats Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,23 +18,15 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* Stats Class * Stats Class
* *
* this class handles the object_count * this class handles the object_count
* Stuff, before this was done in the user class * stuff, before this was done in the user class
* but that's not good, all done through here. * but that's not good, all done through here.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Stats { class Stats {

View file

@ -3,7 +3,7 @@
/** /**
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2

View file

@ -3,7 +3,7 @@
/** /**
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -24,7 +24,7 @@
* Stream_Playlist Class * Stream_Playlist Class
* *
* This class is used to generate the Playlists and pass them on * This class is used to generate the Playlists and pass them on
* With Localplay this actually just sends the commands to the localplay * For localplay this actually just sends the commands to the localplay
* module in question. * module in question.
*/ */

View file

@ -3,7 +3,7 @@
/** /**
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Tag Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -31,10 +25,6 @@
* *
* This class hnadles all of the tag relation operations * This class hnadles all of the tag relation operations
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Tag extends database_object { class Tag extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* TmpPlaylist Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,23 +18,15 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* TempPlaylist Class * TempPlaylist Class
* *
* This class handles the temporary playlists in ampache, it handles the * This class handles the temporary playlists in Ampache. It handles the
* tmp_playlist and tmp_playlist_data tables, and sneaks out at night to * tmp_playlist and tmp_playlist_data tables, and sneaks out at night to
* visit user_vote from time to time * visit user_vote from time to time.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class tmpPlaylist extends database_object { class tmpPlaylist extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Update Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -44,10 +38,6 @@
* The last 4 digits are a build number... * The last 4 digits are a build number...
* If Minor can't go over 9 Major can go as high as we want * If Minor can't go over 9 Major can go as high as we want
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class Update { class Update {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* User Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,10 +27,6 @@
* and deletion of the user objects from the database by defualt you constrcut it * and deletion of the user objects from the database by defualt you constrcut it
* with a user_id from user.id * with a user_id from user.id
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class User extends database_object { class User extends database_object {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* vainfo Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,16 +18,12 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
* *
* This class takes the information pulled from getID3 and returns it in a * This class takes the information pulled from getID3 and returns it in a
* Ampache friendly way. * Ampache-friendly way.
* *
*/ */
class vainfo { class vainfo {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* vauth Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,10 +27,6 @@
* it takes over for the vauth libs, and takes some stuff out of other * it takes over for the vauth libs, and takes some stuff out of other
* classes where it didn't belong * classes where it didn't belong
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class vauth { class vauth {

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Video Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,22 +18,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/**
* Video Class
*
* Description here...
*
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/
class Video extends database_object implements media { class Video extends database_object implements media {
public $id; public $id;

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* xmlData Class
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -21,10 +19,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**
@ -33,10 +27,6 @@
* This class takes care of all of the xml document stuff in Ampache these * This class takes care of all of the xml document stuff in Ampache these
* are all static calls * are all static calls
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
class xmlData { class xmlData {

View file

@ -1,15 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Debug Library
*
* This library is loaded when somehow our mojo has
* been lost, it contains functions for checking sql
* connections, web paths etc..
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -24,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* General Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Gettext Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**

View file

@ -1,10 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Minimal init for use in install
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2012 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -19,12 +18,10 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2012 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
// Minimal init for use in install
// Do a check for PHP5 because nothing will work without it // Do a check for PHP5 because nothing will work without it
if (floatval(phpversion()) < 5) { if (floatval(phpversion()) < 5) {
echo "ERROR: Ampache requires PHP5"; echo "ERROR: Ampache requires PHP5";

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Init Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
// Use output buffering, this gains us a few things and // Use output buffering, this gains us a few things and

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Install Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**

View file

@ -1,7 +1,6 @@
// vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: // vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab:
// //
// Copyright (c) Ampache.org // Copyright 2001 - 2013 Ampache.org
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License v2 // modify it under the terms of the GNU General Public License v2
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Softwar // along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// Some cutesy flashing thing while we run // Some cutesy flashing thing while we run

View file

@ -1,5 +1,6 @@
// vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab:
// //
// Copyright (c) Ampache.org // Copyright 2001 - 2013 Ampache.org
// All rights reserved. // All rights reserved.
// //
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View file

@ -1,24 +1,25 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright 2001 - 2013 Ampache.org
*
* 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.
*
*/
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.
*/
require_once '../init.php'; require_once '../init.php';
function arrayToJSON($array) { function arrayToJSON($array) {

View file

@ -1,6 +1,6 @@
// vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: // vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab:
// //
// Copyright (c) Ampache.org // Copyright 2010 - 2013 Ampache.org
// All rights reserved. // All rights reserved.
// //
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Logging Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/* /*

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Preference Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/* /*

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Rating Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**

View file

@ -1,11 +1,9 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* Theme Library
*
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -20,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**

View file

@ -1,14 +1,13 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/** /**
* UI Function Library
* *
* This contains functions that are generic, and display information * This contains functions that are generic, and display information
* things like a confirmation box, etc and so forth * things like a confirmation box, etc and so forth
* *
* *
* LICENSE: GNU General Public License, version 2 (GPLv2) * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved * Copyright 2001 - 2013 Ampache.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2 * modify it under the terms of the GNU General Public License v2
@ -23,10 +22,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* @package Ampache
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @link http://www.ampache.org/
*/ */
/** /**