public function IPAccess($p_userId = null, $p_startIP = null, $p_addresses = null)
{
parent::DatabaseObject($this->m_columnNames);
$this->m_data['IdUser'] = $p_userId;
$startIP = null;
if (!is_null($p_startIP)) {
$startIP = $p_startIP;
if (!is_array($startIP)) {
$startIP = $this->__string2array($startIP);
}
$startIP = $this->__array2int($startIP);
}
$this->m_data['StartIP'] = $startIP;
$this->m_data['Addresses'] = $p_addresses;
if ($this->keyValuesExist()) {
$this->fetch();
}
}