... class Demo extends \hightman\xunsearch\ActiveRecord { /*public static function projectName() { return 'another_name'; // 这将使用 @app/config/another_name.ini 作为项目名 }*/ } ``` 由此可见,如果命名规范模型类几乎不需要任何额外代码,上述代码会...
...接操作 源码: 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(); $key = $doc->...
...ing a blend of amazing systems and are wrapped with a continuum of top end functions.