1
0
mirror of https://github.com/Rogiel/predb synced 2025-12-06 07:32:47 +00:00
Files
predb/Examples/Example_AlternativeAdapter.php
Rogiel 737e743709 Adds the initial files
This commit adds the initial pre-database files to the repository
2011-10-01 19:58:13 -03:00

27 lines
926 B
PHP

<?php
/*
* This file is part of predb <gitgub.com/Rogiel/predb>.
*
* predb 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 3 of the License, or
* (at your option) any later version.
*
* predb 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 predb. If not, see <http://www.gnu.org/licenses/>.
*/
// This example does a simple search for an pre release
require_once '../PreDatabase_Library.php';
require_once '../Adapter/Pre_ScnSrc_Adapter.php';
$db = new Pre_DB(new Pre_ScnSrc_Adapter());
print_r($db->search("Microsoft Windows"));
?>