function _writeAndControl($data)
{
$result = $this->_write($data);
if (is_object($result)) {
return $result;
# We return the PEAR_Error object
}
$dataRead = $this->_read();
if (is_object($dataRead)) {
return $result;
# We return the PEAR_Error object
}
if (is_bool($dataRead) && !$dataRead) {
return false;
}
return $dataRead == $data;
}