Attila/core/Model.php
public function delete($oEntityCriteria)
	{
		$this->_checkEntity($oEntityCriteria);

		$aEntity = LibEntity::getAllEntity($oEntityCriteria, true);

		$this->orm
		 	 ->delete($this->_sTableName)
		 	 ->where($aEntity)
		 	 ->save();
		
		return $this;
	}
public function delete($oEntityCriteria)
	{
		$this->_checkEntity($oEntityCriteria);

		$aEntity = LibEntity::getAllEntity($oEntityCriteria, true);

		$this->orm
		 	 ->delete($this->_sTableName)
		 	 ->where($aEntity)
		 	 ->save();
		
		return $this;
	}
public function delete ( $ oEntityCriteria ) { $ this -> _checkEntity ( $ oEntityCriteria ) ; $ aEntity = LibEntity :: getAllEntity ( $ oEntityCriteria , true ) ; $ this -> orm -> delete ( $ this -> _sTableName ) -> where ( $ aEntity ) -> save ( ) ; return $ this ; }
classic method to delete one entities

@access public
@param  object $oEntityCriteria
@return object
classic method to delete one entities