21 include_once (
'Class.DbObj.php');
26 var
$Class =
'$Id: Class.Pop.php,v 1.4 2005/10/05 16:28:42 eric Exp $';
45 iddomain int not null,
48 create index pop_idx on pop(popname);
49 create sequence seq_idpop start 10;
50 grant all on seq_idpop to anakeen;
57 $this->idpop = $arr[
"nextval"];
58 $this->popname = strtolower($this->popname);
59 $this->log->info(
"Adding pop name : {$this->popname} master={$this->master} domaid id = {$this->iddomain}");
64 $this->popname = strtolower($this->popname);
70 $query->basic_elem->sup_where = array(
81 if ($dom != - 1)
$query->basic_elem->sup_where = array(
92 if ($dom != - 1)
$query->basic_elem->sup_where = array(
101 if (
$name == NULL &&
$id == NULL)
return FALSE;
104 $query->basic_elem->sup_where = array(
108 $query->basic_elem->sup_where = array(
117 $this->log->warning(
"No such pop host {$query->string}");