23 if (!isset($data[3])) {
26 $this->tagAction = $data[3];
27 $this->
docid = $data[1];
28 if (isset($data[4])) {
29 $this->firstATag = $data[4];
49 $this->doc = new_doc(
"", $this->
docid);
50 if (!$this->doc->isAlive()) {
61 $allowedAction = [
"ADD",
"DELETE",
"SET"];
62 if ($this->tagAction && !in_array($this->tagAction, $allowedAction)) {
70 while (!empty(
$data[$i])) {
71 if (strpos(
$data[$i],
"\n") !==
false) {
static getError($code, $args=null)
check(array $data, &$doc=null)