39 protected $host = null;
46 protected $timer = null;
60 protected $block = array(
"help");
69 protected function syn()
72 $this->transport->setAdapter($this);
116 if(strstr($cmd,
"\r") || strstr($cmd,
"\n"))
120 elseif(in_array($query, $this->block))
129 $this->timer = time();
175 public function prepare($cmd, array $params = array())
180 foreach($params as $ident => $value)
186 $value = array_values($value);
188 for($i = 0; $i < count($value); $i++)
190 if($value[$i] === null)
continue;
191 elseif($value[$i] === FALSE) $value[$i] = 0x00;
192 elseif($value[$i] === TRUE) $value[$i] = 0x01;
200 if($value === null)
continue;
201 elseif($value === FALSE) $value = 0x00;
202 elseif($value === TRUE) $value = 0x01;
254 if($this->host === null)