$sql->db_Select() is deprecated. Use $sql->select() or $sql->retrieve() instead.', E_USER_DEPRECATED); return $this->select($table, $fields, $arg, $mode !== 'default', $debug, $log_type, $log_remark); } public function db_Insert($tableName, $arg, $debug = false, $log_type = '', $log_remark = '') { trigger_error('$sql->db_Insert() is deprecated. Use $sql->insert() instead.', E_USER_DEPRECATED); return $this->insert($tableName, $arg, $debug, $log_type, $log_remark); } function db_Update($tableName, $arg, $debug = false, $log_type = '', $log_remark = '') { trigger_error('$sql->db_Update() is deprecated. Use $sql->update() instead.', E_USER_DEPRECATED); return $this->update($tableName, $arg, $debug, $log_type, $log_remark); } public function db_Close() { $this->close(); } public function db_Fetch($type = null) { trigger_error('$sql->db_Fetch() is deprecated. Use $sql->fetch() instead.', E_USER_DEPRECATED); return $this->fetch($type); } public function db_Delete($table, $arg = '', $debug = false, $log_type = '', $log_remark = '') { trigger_error('$sql->db_Delete() is deprecated. Use $sql->delete() instead.', E_USER_DEPRECATED); return $this->delete($table, $arg, $debug, $log_type, $log_remark); } function db_Replace($table, $arg, $debug = false, $log_type = '', $log_remark = '') { trigger_error('$sql->db_Replace() is deprecated. Use $sql->replace() instead.', E_USER_DEPRECATED); return $this->replace($table, $arg, $debug, $log_type, $log_remark); } function db_Count($table, $fields = '(*)', $arg = '', $debug = false, $log_type = '', $log_remark = '') { trigger_error('$sql->db_Count is deprecated. Use $sql->count() instead.', E_USER_DEPRECATED); return $this->count($table, $fields, $arg, $debug, $log_type, $log_remark); } function db_Rows() { return $this->rowCount(); } public function db_Select_gen($query, $debug = false, $log_type = '', $log_remark = '') { trigger_error('$sql->db_Select_gen() is deprecated. Use $sql->gen() instead.', E_USER_DEPRECATED); return $this->gen($query, $debug, $log_type, $log_remark); } public function db_Table_exists($table,$language='') { return $this->isTable($table, $language); } public function db_TableList($mode='all') { return $this->tables($mode); } function db_Field($table, $fieldid = "", $key = "", $retinfo = false) { return $this->field($table, $fieldid, $key, $retinfo); } function db_getList($fields = 'ALL', $amount = false, $maximum = false, $ordermode=false) { return $this->rows($fields, $amount, $maximum, $ordermode); } function db_IsLang($table, $multiple=false) { trigger_error('$sql->db_IsLang() is deprecated. Use $sql->hasLanguage() instead.', E_USER_DEPRECATED); return $this->hasLanguage($table, $multiple); } public function db_Connect($mySQLserver, $mySQLuser, $mySQLpassword, $mySQLdefaultdb, $newLink = false, $mySQLPrefix = MPREFIX) { if(!$this->connect($mySQLserver, $mySQLuser, $mySQLpassword, $newLink)) { return 'e1'; } if (!$this->database($mySQLdefaultdb,$mySQLPrefix)) { return 'e2'; } return true; } public function db_UpdateArray($table, $vars=array(), $arg='', $debug = false, $log_type = '', $log_remark = '') { trigger_error('$sql->db_UpdateArray() is deprecated. Use $sql->update() with "WHERE" instead.', E_USER_DEPRECATED); $vars['WHERE'] = str_replace('WHERE', '', $arg); return $this->update($table,$vars,$debug,$log_type,$log_remark); } /** * @deprecated * @param $table * @param string $fields * @param string $args * @return mixed */ public function db_CopyRow($table, $fields = '*', $args='') { trigger_error('$sql->db_CopyRow() is deprecated.Use $sql->copyRow() instead.', E_USER_DEPRECATED); // NO LAN return $this->copyRow($table,$fields,$args); } public function db_CopyTable($oldtable, $newtable, $drop = false, $data = false) { return $this->copyTable($oldtable, $newtable, $drop, $data); } public function db_FieldList($table, $prefix = '', $retinfo = FALSE) { return $this->fields($table, $prefix, $retinfo); } public function db_ResetTableList() { return $this->resetTableList(); } public function db_QueryCount() { return $this->queryCount(); } public function db_Write_log($log_type = '', $log_remark = '', $log_query = '') { $this->log($log_type, $log_remark, $log_query); } public function db_SetErrorReporting($mode) { $this->setErrorReporting($mode); } public function db_Mark_Time($sMarker) { return $this->markTime($sMarker); } /** * @deprecated 2.1.9 Used only to provide $mySQLaccess to other instances of e_db_mysql scattered around * @return PDO */ public function get_mySQLaccess() { return $this->mySQLaccess; } }