Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/lib/internal/Customweb/Database/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/old/lib/internal/Customweb/Database/IDriver.php
<?php



interface Customweb_Database_IDriver {

	/**
	 * Starts a database transaction.
	 * 
	 * @return void
	 */
	public function beginTransaction();

	/**
	 * Commits the database transaction.
	 * 
	 * @return void
	 */
	public function commit();

	/**
	 * Abords the current database transaction.
	 * 
	 * @return void
	 */
	public function rollBack();
	
	/**
	 * Returns true, when a database transaction is 
	 * running. Hence the calling of beginTransaction()
	 * will throw an exception.
	 * 
	 * @return boolean
	 */
	public function isTransactionRunning();

	/**
	 *
	 * @param string $query        	
	 * @return Customweb_Database_IStatement
	 */
	public function query($query);

	public function quote($string);

	public function insert($tableName, $data);

	/**
	 * @param string $tableName
	 * @param map $values  Map of the values to store (columnName => value)
	 * @param map/String $whereClause The where clause as string or as map (columnName => value)
	 * @return int Returns the number of rows affected
	 */
	public function update($tableName, $values, $whereClause);

	public function remove($tableName, $whereClause);
}

Spamworldpro Mini