Location: PHPKode > projects > Simple Way to Usenet > libs/core/langs/dico/dico_db.class.php
<?php
/**
 *  
 * @author  Benjamin Gillissen <hide@address.com>
 * 
 *	**************************************************************

	Copyright (C) 2009  Benjamin Gillissen
	
	This program 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.
	
	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 at:
	http://www.gnu.org/copyleft/gpl.html

 *	**************************************************************
 */

class dico_db extends dbobject {
	
	public function __construct($cnf){ parent::__construct($cnf); }

	public function get_databyinfos($obj, $objid, $field, $lang){
		$arg=Array('obj'=>$obj, 'objid'=>$objid, 'field'=>$field, 'lang'=>$lang);
		return $this->dbquery($arg, __FUNCTION__, 'data');
	}
	
	
}	
Return current item: Simple Way to Usenet