db = new DB_Sql(); // $this->debug = true; } /** * Find the item by item ID. * @param integer $i Item ID * @return integer 1: found yet; * 0: not found. * @access public */ function find_by_id($i) { } /** * Find the items by item name. * @param string $n Item ID * @param boolean $p Flag of precision * @return integer 1: found yet; * 0: not found. * @access public */ function find_by_name($n, $p = false) { } /** * Find the items by item name. * @param string $d Item description * @param boolean $p Flag of precision * @return integer 1: found yet; * 0: not found. * @access public */ function find_by_descr($d, $p = false) { } } ?>