You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
585 B
PHTML
19 lines
585 B
PHTML
12 years ago
|
<?php
|
||
|
|
||
|
interface Db_Interface
|
||
|
{
|
||
|
public function connect($host, $user, $pass, $db);
|
||
|
public function getLink();
|
||
|
public function init();
|
||
|
public function escape_string($s, $strip_tags = true);
|
||
|
public function query($query, $die_on_error = true);
|
||
|
public function fetch_assoc($result);
|
||
|
public function num_rows($result);
|
||
|
public function fetch_result($result, $row, $param);
|
||
|
public function unescape_string($str);
|
||
|
public function close();
|
||
|
public function affected_rows($result);
|
||
|
public function last_error();
|
||
|
public function quote($str);
|
||
|
}
|