...应的 XSCommand 对象 源码: sdk/php/lib/XSServer.class.php#L279 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ // create command object if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } // just cache the cmd for tho...
...置文件字符串 源码: sdk/php/lib/XSFieldScheme.class.php#L452 (显示) public function toConfig(){ // type $str = "[" . $this->name . "]\n"; if ($this->type === self::TYPE_NUMERIC) { $str .= "type = numeric\n"; } elseif ($this->type === self::TYPE_DATE) { $str .=...
...对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L85 (显示) public function update(XSDocument $doc, $add = false){ // before submit if ($doc->beforeSubmit($this) === false) { return $this; } // check primary key of document $fid = $this->xs->getFieldId()...
...象,可以集成到 debug 模块中, 可在调试工具条和面板中显示 `xunsearch` 有关的查询以及耗时情况。 要想启用这个很容易,只要在主配置文件中加入以下代码: ```php // ... 'bootstrap' => ['debug'], 'modules' => [ 'debug' => [ ...