src/DB/TableWriter.php
public function deleteDataWhere( $where = array(), $debug = 1 )
	{
		$conditions	= $this->getConditionQuery( $where );
		if( $conditions )
		{
			$query	= "DELETE FROM ".$this->getTableName()." WHERE ".$conditions;
			$result	= $this->dbc->Execute( $query, $debug );
			$this->defocus();
			return $result;
		}
	}
public function deleteDataWhere( $where = array(), $debug = 1 )
	{
		$conditions	= $this->getConditionQuery( $where );
		if( $conditions )
		{
			$query	= "DELETE FROM ".$this->getTableName()." WHERE ".$conditions;
			$result	= $this->dbc->Execute( $query, $debug );
			$this->defocus();
			return $result;
		}
	}
public function deleteDataWhere ( $ where = array ( ) , $ debug = 1 ) { $ conditions = $ this -> getConditionQuery ( $ where ) ; if ( $ conditions ) { $ query = "DELETE FROM " . $ this -> getTableName ( ) . " WHERE " . $ conditions ; $ result = $ this -> dbc -> Execute ( $ query , $ debug ) ; $ this -> defocus ( ) ; return $ result ; } }
Deletes data of focused id in table.
@access		public
@param		array	$where		associative Array of Condition Strings
@param		int		$debug		deBug Level (16:die after, 8:die before, 4:remark, 2:echo, 1:count[default])
@return		bool
Deletes data of focused id in table .