function get($index = null) { if (is_string($index)) { $temptx = $this->txFp === false && $this->autocommit; if ($temptx) { $this->begin(); } if ($this->data === null) { $this->txReadData(); } $v = new GBComment(); $v->post = $this->post; $v->comments =& $this->data; $v = $this->resolveIndexPath(explode('.', $index), $v); if ($temptx) { $this->txEnd(); } return $v; } else { return parent::get($index); } }