Location: PHPKode > scripts > Bookmarks class > bookmarkQueries.php
<?php
/**
 * Bookmark queries
 * 
 * @package be.nauta.booby.plugins.bookmarks.database
 * @author Barry Nauta
 * @copyright
 *
 * Booby - Copyright (c) 2003 - 2004 Barry Nauta
 *
 * The Booby project is released under the General Public License
 * More detailes in the file 'gpl.html' or on the following
 * website: <code>http://www.gnu.org</code> and look for licenses
 */
$tableName = "booby_bookmarks";
include ("base/sql/itemQueries.php");
$queries['addItem']=
		"INSERT INTO ".$tableName." VALUES (".
		"'', '%s', %d, %d, '%s', '%s', '%s', '%s', '%s', '', '', '%s', 0)";	
// changed by Michael to add visibility
$queries['modifyItem']=
		"UPDATE ".$tableName." SET ".
		"when_modified='%s', name='%s', parentId=%d, description='%s', ".
		"locator='%s', visibility='%s' WHERE itemId=%d";
$queries['updateVisitedInformation']=
		"UPDATE ".$tableName." SET ".
		"when_visited='%s' WHERE itemId=%d";
Return current item: Bookmarks class