From: <var...@us...> - 2016-10-07 16:33:49
|
Revision: 9947 http://sourceforge.net/p/phpwiki/code/9947 Author: vargenau Date: 2016-10-07 16:33:46 +0000 (Fri, 07 Oct 2016) Log Message: ----------- Add SPDX-License-Identifier Modified Paths: -------------- trunk/lib/WikiDB/ADODB.php trunk/lib/WikiDB/PDO.php trunk/lib/WikiDB/SQL.php trunk/lib/WikiDB/backend.php trunk/lib/WikiDB/dba.php trunk/lib/WikiDB/file.php trunk/lib/WikiDB/flatfile.php Modified: trunk/lib/WikiDB/ADODB.php =================================================================== --- trunk/lib/WikiDB/ADODB.php 2016-10-07 16:32:07 UTC (rev 9946) +++ trunk/lib/WikiDB/ADODB.php 2016-10-07 16:33:46 UTC (rev 9947) @@ -1,4 +1,26 @@ <?php +/** + * Copyright © 2004-2010 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki 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 PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/WikiDB.php'; @@ -10,6 +32,7 @@ * * @author: Lawrence Akka, Reini Urban */ + class WikiDB_ADODB extends WikiDB { function __construct($dbparams) Modified: trunk/lib/WikiDB/PDO.php =================================================================== --- trunk/lib/WikiDB/PDO.php 2016-10-07 16:32:07 UTC (rev 9946) +++ trunk/lib/WikiDB/PDO.php 2016-10-07 16:33:46 UTC (rev 9947) @@ -1,4 +1,26 @@ <?php +/** + * Copyright © 2004-2010 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki 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 PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/WikiDB.php'; @@ -16,6 +38,7 @@ * * @author: Reini Urban */ + class WikiDB_PDO extends WikiDB { function __construct($dbparams) Modified: trunk/lib/WikiDB/SQL.php =================================================================== --- trunk/lib/WikiDB/SQL.php 2016-10-07 16:32:07 UTC (rev 9946) +++ trunk/lib/WikiDB/SQL.php 2016-10-07 16:33:46 UTC (rev 9947) @@ -1,4 +1,26 @@ <?php +/** + * Copyright © 2004-2010 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki 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 PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/WikiDB.php'; Modified: trunk/lib/WikiDB/backend.php =================================================================== --- trunk/lib/WikiDB/backend.php 2016-10-07 16:32:07 UTC (rev 9946) +++ trunk/lib/WikiDB/backend.php 2016-10-07 16:33:46 UTC (rev 9947) @@ -1,7 +1,6 @@ <?php - -/* - * Copyright 2004-2010 Reini Urban +/** + * Copyright © 2004-2010 Reini Urban * * This file is part of PhpWiki. * @@ -18,40 +17,43 @@ * You should have received a copy of the GNU General Public License along * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: GPL-2.0+ + * */ /* - Pagedata + * Pagedata + * + * maintained by WikiPage + * //:latestversion + * //:deleted (*) (Set if latest content is empty.) + * //:pagename (*) + * + * hits + * is_locked + * + * Versiondata + * + * %content (?should this be here?) + * _supplanted : Time version ceased to be the current version + * + * mtime (*) : Time of version edit. + * orig_mtime + * is_minor_edit (*) + * author : nominal author + * author_id : authenticated author + * summary + * + * //version + * //created (*) + * //%superceded + * + * //:serial + * + * (types are scalars: strings, ints, bools) + */ - maintained by WikiPage - //:latestversion - //:deleted (*) (Set if latest content is empty.) - //:pagename (*) - - hits - is_locked - - Versiondata - - %content (?should this be here?) - _supplanted : Time version ceased to be the current version - - mtime (*) : Time of version edit. - orig_mtime - is_minor_edit (*) - author : nominal author - author_id : authenticated author - summary - - //version - //created (*) - //%superceded - - //:serial - - (types are scalars: strings, ints, bools) -*/ - /** * A WikiDB_backend handles the storage and retrieval of data for a WikiDB. * @@ -69,6 +71,7 @@ * @access protected * @see WikiDB */ + abstract class WikiDB_backend { public $_sortby; Modified: trunk/lib/WikiDB/dba.php =================================================================== --- trunk/lib/WikiDB/dba.php 2016-10-07 16:32:07 UTC (rev 9946) +++ trunk/lib/WikiDB/dba.php 2016-10-07 16:33:46 UTC (rev 9947) @@ -1,4 +1,26 @@ <?php +/** + * Copyright © 2004-2010 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki 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 PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/WikiDB.php'; require_once 'lib/WikiDB/backend/dba.php'; Modified: trunk/lib/WikiDB/file.php =================================================================== --- trunk/lib/WikiDB/file.php 2016-10-07 16:32:07 UTC (rev 9946) +++ trunk/lib/WikiDB/file.php 2016-10-07 16:33:46 UTC (rev 9947) @@ -1,7 +1,6 @@ <?php - /** - * Copyright 1999, 2000, 2001, 2002, 2003 $ThePhpWikiProgrammingTeam + * Copyright © 1999, 2000, 2001, 2002, 2003 $ThePhpWikiProgrammingTeam * * This file is part of PhpWiki. * @@ -18,6 +17,9 @@ * You should have received a copy of the GNU General Public License along * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: GPL-2.0+ + * */ require_once 'lib/WikiDB.php'; @@ -29,6 +31,7 @@ * Authors: Gerrit Riessen, ger...@op... * Jochen Kalmbach <Jo...@Ka...> */ + class WikiDB_file extends WikiDB { function __construct($dbparams) Modified: trunk/lib/WikiDB/flatfile.php =================================================================== --- trunk/lib/WikiDB/flatfile.php 2016-10-07 16:32:07 UTC (rev 9946) +++ trunk/lib/WikiDB/flatfile.php 2016-10-07 16:33:46 UTC (rev 9947) @@ -1,7 +1,6 @@ <?php - /** - * Copyright 1999, 2005 $ThePhpWikiProgrammingTeam + * Copyright © 1999, 2005 $ThePhpWikiProgrammingTeam * * This file is part of PhpWiki. * @@ -18,6 +17,9 @@ * You should have received a copy of the GNU General Public License along * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: GPL-2.0+ + * */ require_once 'lib/WikiDB.php'; @@ -28,6 +30,7 @@ * flatfile has readable (mimified) page_data files, the rest is the * same as in the file backend (serialized arrays). */ + class WikiDB_flatfile extends WikiDB { function __construct($dbparams) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |