From: <var...@us...> - 2016-10-07 13:27:17
|
Revision: 9944 http://sourceforge.net/p/phpwiki/code/9944 Author: vargenau Date: 2016-10-07 13:27:15 +0000 (Fri, 07 Oct 2016) Log Message: ----------- Add standard file header Modified Paths: -------------- trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php trunk/lib/WikiDB/backend/dumb/BackLinkIter.php trunk/lib/WikiDB/backend/dumb/MostPopularIter.php trunk/lib/WikiDB/backend/dumb/MostRecentIter.php trunk/lib/WikiDB/backend/dumb/TextSearchIter.php trunk/lib/WikiDB/backend/dumb/WantedPagesIter.php Modified: trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php =================================================================== --- trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php 2016-10-07 13:01:46 UTC (rev 9943) +++ trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php 2016-10-07 13:27:15 UTC (rev 9944) @@ -1,4 +1,27 @@ <?php +/** + * Copyright © 2001 Jeff Dairiki + * Copyright © 2004,2008 Reini Urban + * + * 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+ + * + */ /** * An iterator which returns all revisions of page. @@ -6,6 +29,7 @@ * This iterator uses only the WikiDB_backend::get_versiondata interface * of a WikiDB_backend, and so it should work with all backends. */ + class WikiDB_backend_dumb_AllRevisionsIter extends WikiDB_backend_iterator { Modified: trunk/lib/WikiDB/backend/dumb/BackLinkIter.php =================================================================== --- trunk/lib/WikiDB/backend/dumb/BackLinkIter.php 2016-10-07 13:01:46 UTC (rev 9943) +++ trunk/lib/WikiDB/backend/dumb/BackLinkIter.php 2016-10-07 13:27:15 UTC (rev 9944) @@ -1,4 +1,26 @@ <?php +/** + * Copyright © 2001 Jeff Dairiki + * + * 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/backend.php'; @@ -8,6 +30,7 @@ * * This is mostly here for testing, 'cause it's slow,slow,slow. */ + class WikiDB_backend_dumb_BackLinkIter extends WikiDB_backend_iterator { Modified: trunk/lib/WikiDB/backend/dumb/MostPopularIter.php =================================================================== --- trunk/lib/WikiDB/backend/dumb/MostPopularIter.php 2016-10-07 13:01:46 UTC (rev 9943) +++ trunk/lib/WikiDB/backend/dumb/MostPopularIter.php 2016-10-07 13:27:15 UTC (rev 9944) @@ -1,4 +1,29 @@ <?php +/** + * Copyright © 2001-2002 Jeff Dairiki + * Copyright © 2002 Lawrence Akka + * Copyright © 2004,2006 Reini Urban + * + * 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/backend.php'; /** @@ -8,6 +33,7 @@ * backend::get_all_pages() and backend::get_pagedata() * methods. */ + class WikiDB_backend_dumb_MostPopularIter extends WikiDB_backend_iterator { Modified: trunk/lib/WikiDB/backend/dumb/MostRecentIter.php =================================================================== --- trunk/lib/WikiDB/backend/dumb/MostRecentIter.php 2016-10-07 13:01:46 UTC (rev 9943) +++ trunk/lib/WikiDB/backend/dumb/MostRecentIter.php 2016-10-07 13:27:15 UTC (rev 9944) @@ -1,4 +1,29 @@ <?php +/** + * Copyright © 2001 Jeff Dairiki + * Copyright © 2002 Lawrence Akka + * Copyright © 2004-2007 Reini Urban + * + * 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/backend.php'; /** @@ -6,6 +31,7 @@ * * This iterator will work with any backends. */ + class WikiDB_backend_dumb_MostRecentIter extends WikiDB_backend_iterator { Modified: trunk/lib/WikiDB/backend/dumb/TextSearchIter.php =================================================================== --- trunk/lib/WikiDB/backend/dumb/TextSearchIter.php 2016-10-07 13:01:46 UTC (rev 9943) +++ trunk/lib/WikiDB/backend/dumb/TextSearchIter.php 2016-10-07 13:27:15 UTC (rev 9944) @@ -1,4 +1,28 @@ <?php +/** + * Copyright © 2001 Jeff Dairiki + * Copyright © 2004-2005,2007 Reini Urban + * + * 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+ + * + */ + class WikiDB_backend_dumb_TextSearchIter extends WikiDB_backend_iterator { Modified: trunk/lib/WikiDB/backend/dumb/WantedPagesIter.php =================================================================== --- trunk/lib/WikiDB/backend/dumb/WantedPagesIter.php 2016-10-07 13:01:46 UTC (rev 9943) +++ trunk/lib/WikiDB/backend/dumb/WantedPagesIter.php 2016-10-07 13:27:15 UTC (rev 9944) @@ -1,10 +1,34 @@ <?php /** + * Copyright © 2004,2007 Reini Urban + * + * 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+ + * + */ + +/** * This iterator will work with any WikiDB_backend * which has a working get_links(,'links_from') method. * * This is mostly here for testing, 'cause it's slow,slow,slow. */ + class WikiDB_backend_dumb_WantedPagesIter extends WikiDB_backend_iterator { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |